Re: Need Writer Painting Advice

2012-05-02 Thread Andrew Higginson
hile (so if anyone wants to do it before me, go ahead :D ) -- Andrew Higginson ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice

Re: Need Writer Painting Advice

2012-04-27 Thread Andrew Higginson
sw/source/ui/docvw/HeaderFooterWin.cxx > Do you think that it is necessary to do that? Would adding some drawing code in the correct Paint() method not suffice? -- Andrew Higginson ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.fr

Re: Need Writer Painting Advice

2012-04-27 Thread Andrew Higginson
t to get rid of this :P But thanks anyway I shall have a deeper dig in the code, but if anyone can point to it before I find it, I would still appreciate it :) -- Andrew Higginson ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://list

[PATCH] Opengrok remote attribute

2012-04-17 Thread Andrew Higginson
der) This is useful as it allows us to move closer towards https://bugs.freedesktop.org/attachment.cgi?id=59591 Thanks -- Andrew Higginson ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice

Re: [PUSHED] Re: Patch review for About Dialog redesign

2012-04-11 Thread Andrew Higginson
On 10/04/12 12:51, Caolán McNamara wrote: > On Fri, 2012-04-06 at 09:01 +0100, Andrew Higginson wrote: >> Ack! Sorry, forgot about them :) >> They are now attached > > Seems to work, pushed now. I just tweaked the "website" button to be the > "default"

Re: Patch review for About Dialog redesign

2012-04-06 Thread Andrew Higginson
On 05/04/12 20:11, Caolán McNamara wrote: > On Fri, 2012-03-30 at 18:19 +0100, Andrew Higginson wrote: >> Hi, >> >> So this is my first time contributing to LibreOffice so I was wondering >> if I could have some critique on my patch. >> >> All t

License

2012-04-04 Thread Andrew Higginson
All my current and past contributions made to the LibreOffice project are done under MPL1.1+ / GPLv3+ / LGPLv3+. Until further notice, all my future contributions to the LibreOffice project are available under MPL1.1+ / GPLv3+ / LGPLv3+. -- Andrew Higginson

Re: [PATCH] Make LibreOffice waterproof

2012-04-02 Thread Andrew Higginson
On 02/04/12 11:31, Michael Meeks wrote: > > On Sun, 2012-04-01 at 19:08 +0200, Jesús Corrius wrote: >> * Resistance of operative parts. Immersion in 10 cm of water with a >> force of 5 N perpendicular to the About Box for 10 minutes. > > Is that the old, or the ne

Patch review for About Dialog redesign

2012-03-30 Thread Andrew Higginson
Hi, So this is my first time contributing to LibreOffice so I was wondering if I could have some critique on my patch. All the info is this the bug report https://bugs.freedesktop.org/show_bug.cgi?id=31022 but basically what it does is make the About Dialog look like this: https://bugs.freedeskto

Re: Issue with vcl Text Control

2012-03-26 Thread Andrew Higginson
Hi, On 26/03/12 15:38, Caolán McNamara wrote: > On Wed, 2012-03-14 at 09:08 +0000, Andrew Higginson wrote: >> Strangely, underneath this MultiLineEdit, there is now the same text as >> in the MultiLineEdit - like some 'ghost' text (you can see this here >> http://

Seeking advice on vcl sizing

2012-03-18 Thread Andrew Higginson
(and if not resize as appropriate) What I wanted to ask was, is basing the size of the about dialog on the size of the screen the best idea? Or should I be doing it another way, based on the font size for example? Thanks, -- Andrew Higg

Re: Issue with vcl Text Control

2012-03-14 Thread Andrew Higginson
Hi, >> So basically my question is, is there a way to wrap text on a FixedText, >> or make the background on a MultiLineEdit transparent (or is there a >> better text control I can use?) > Use SetPaintTransparent( sal_True ); > If I remember correctly :) Okay so that worked but now I have anothe

Issue with vcl Text Control

2012-03-12 Thread Andrew Higginson
Hi, In the about dialog I am working on, I have some text which needs to wrap over 2 or more lines. The control is a vcl::FixedText, however the issue is that this control (AFAIK) cannot wrap text. I have tried to therefore use a MultiLineEdit (svtools/inc/svtools/svmedit.hxx) however the issue

Positioning vcl Controls

2012-03-07 Thread Andrew Higginson
would be much appreciated :) -- Andrew Higginson ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice

Adding file to icon theme

2012-02-29 Thread Andrew Higginson
Hi, I want to add a file to the brand/ folder in the icon-themes, what files do I need to edit in order to add this new file and so it gets packed into the zips? Thanks -- Andrew Higginson ___ LibreOffice mailing list LibreOffice

Re: Question: How do I rasterize an SVG to a BitmapEx

2012-02-29 Thread Andrew Higginson
Hi, On 28 February 2012 14:55, Thorsten Behrens wrote: > Andrew Higginson wrote: > > Sorry still don't understand, what class is the aSvgData? :/ > > > Hi Andrew, > > ah, that was a somewhat made-up example - uno::Sequence > for the methods I used there. But it

Re: Question: How do I rasterize an SVG to a BitmapEx

2012-02-27 Thread Andrew Higginson
On 27 February 2012 15:04, Thorsten Behrens wrote: > Andrew Higginson wrote: > > Thanks, and finally, how do I get the aSvgData? > > > Just load your file into that - this RenderGraphic just wants a > const sal_uInt8* ptr with the utf-8 encoded xml stream. ;) > > Cheer

Re: Question: How do I rasterize an SVG to a BitmapEx

2012-02-27 Thread Andrew Higginson
Hi, > const ::vcl::RenderGraphicRasterizer aRaster( > "image/svg+xml", > aSvgData.getLength(), > aSvgData.getConstArray() ); > > BitmapEx aBmpEx = aRaster.Rasterize( Size(200,300) ); > > Thanks, and finally, how do I get t

Question: How do I rasterize an SVG to a BitmapEx

2012-02-25 Thread Andrew Higginson
Hi, I am trying to do some work on improving the About Dialog and I need to be able to rasterize an SVG (which I guess I would have to pack in the icon themes) to a vcl::BitmapEx I can see there are various classes (i.e. vcl::SVGReader and vcl::RenderGraphicRasterizer) which may do the job, howev