Re: Need Writer Painting Advice

2012-05-02 Thread Andrew Higginson
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
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://lists.freedesktop.org/mailman/listinfo

Re: Need Writer Painting Advice

2012-04-27 Thread Andrew Higginson
/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.freedesktop.org

[PATCH] Opengrok remote attribute

2012-04-17 Thread Andrew Higginson
) 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 one. C. Wow! thanks for the prompt reply

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 the info is this the bug report https://bugs.freedesktop.org

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 new Andrew Higginson About Box ? I

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:

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 +, 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://i.imgur.com/oAArn.png) Can you attach

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 Higginson

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 another

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

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 t...@documentfoundation.orgwrote: Andrew Higginson wrote: Sorry still don't understand, what class is the aSvgData? :/ Hi Andrew, ah, that was a somewhat made-up example - uno::Sequencesal_uInt8 for the methods I used there. But it really

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-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 the aSvgData? -- Andrew Higginson

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 t...@documentfoundation.orgwrote: 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. ;) Cheers

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,