[dev] writer: export pages as bitmaps (e.g. PNG)

2007-03-07 Thread Laurent Denoue
Hello, Is there an API to export each page of a Writer document as a picture? It's possible under Impress, as shown here: http://www.oesf.org/forums/lofiversion/index.php/t7790.html Thanks, Laurent.

Re: [dev] XTextRange Diff

2007-03-07 Thread Daniel Beck
Hello, I remember that I had once a similar problem. I solved it by creating a XTextRange ranging from "start" to "end" and then by getting the size of the text of that XTextRange. Here some pseudo code (I cannot post real code since I have no Java environment here) //Creates the XTextRang

Re: [dev] How to describe an "invalid" css.util.DateTime value

2007-03-07 Thread Mathias Bauer
Niklas Nebel wrote: > Mathias Bauer wrote: >> The whole magic behind that is that 01-01-1601 is taken as an invalid >> date. I don't know why this date was chosen but perhaps somebody else >> can shed some light on this. > > January 1, 1601 is the base of Windows file time, as used in OLE > Summ

Re: [dev] Adding support for overlined text in Writer

2007-03-07 Thread Martin Whitaker
Hello Frank, Frank Meies - Sun Germany - Development - Software Engineer wrote: Hi Martin, On 03/06/07 02:11, Martin Whitaker wrote: [cut] A way of significantly reducing the quantity of changes required would be to change the definition of the enumeration type FontUnderline so that it could

[dev] XTextRange Diff

2007-03-07 Thread Dyego Souza Dantas Leal
Hello Guys !!! I need some help... i have two XTextRange ... the Start and The END... exist way to return a position in the of this ranges ? ex: XTextRangeEND - XTextRangeSTART = 13 The Range have a 13 chars... exists way ? -

[dev] Detect a Paragraph Size

2007-03-07 Thread Dyego Souza Dantas Leal
I need to detect a size of paragraph (word count of paragraph) , how ? somebody ? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[dev] Sharing packages across products

2007-03-07 Thread Stephan Bergmann
Following up on my packaging blog entry at , today I want to concentrate on the details of sharing packages across products: OOo is conceptionally built on top of URE, so it would make sense to split OOo into URE plus current OOo's top half. Der

Re: [dev] How to describe an "invalid" css.util.DateTime value

2007-03-07 Thread Niklas Nebel
Mathias Bauer wrote: The whole magic behind that is that 01-01-1601 is taken as an invalid date. I don't know why this date was chosen but perhaps somebody else can shed some light on this. January 1, 1601 is the base of Windows file time, as used in OLE SummaryInformation. Niklas -

[dev] Insert a "ENTER" on Current Paragraph !

2007-03-07 Thread Dyego Souza Dantas Leal
I want to add a Listener on a Document to send a "ENTER" if the user use all paragraph ( is a limitation on openoffice of size on one paragraph ) Ok... I add a ModifyListener... but when i call: System.out.println("See the text "+mxDoc.getText()); The app freeze... exist a problem with my Code

[dev] How to describe an "invalid" css.util.DateTime value

2007-03-07 Thread Mathias Bauer
Hi, our ancient c++ class "TimeStamp" (describing who did something and when he did it) from the tools library has a special value for an invalid TimeStamp: #define TIMESTAMP_INVALID_DATETIME ( DateTime ( Date ( 1, 1, 1601 ), Time ( 0, 0, 0 ) ) ) The whole magic behind that is that 01-01-1601 is

Re: [dev] UNO bootstrap doesn't work with classes/ as a symlink

2007-03-07 Thread Rene Engelhard
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, Rene Engelhard wrote: > Nevermind, doing myself with this message. FWIW, for anyone interested, that's http://bugs.debian.org/413812 now. Regards, Rene -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFF7pRn+FmQsCSK63MRA

Re: [dev] Seeking help/ideas on making work on all (Linux) distributions ...

2007-03-07 Thread Stephan Bergmann
Rene Engelhard wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, Stephan Bergmann wrote: Rene Engelhard wrote: Well, it *might* be the cause that OOo doesn't grok that classes/ is a symlink. Yes, a symlink does not work here. Much OOo Java code (residing in jar files in program/clas

Re: [dev] Seeking help/ideas on making work on all (Linux) distributions ...

2007-03-07 Thread Rene Engelhard
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, Stephan Bergmann wrote: > Rene Engelhard wrote: > >Well, it *might* be the cause that OOo doesn't grok that classes/ is a > >symlink. > > Yes, a symlink does not work here. Much OOo Java code (residing in jar > files in program/classes) needs

Re: [dev] Seeking help/ideas on making work on all (Linux) distributions ...

2007-03-07 Thread Stephan Bergmann
Rene Engelhard wrote: Well, it *might* be the cause that OOo doesn't grok that classes/ is a symlink. Yes, a symlink does not work here. Much OOo Java code (residing in jar files in program/classes) needs to find other OOo files (native libraries etc.) and does so using NativeLibraryLoader

Re: [dev] Seeking help/ideas on making work on all (Linux) distributions ...

2007-03-07 Thread Rene Engelhard
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, Rene Engelhard wrote: > In any case, you better should read the mail; he doesn't tell anything > about Windows or accessing the library, but he just wants to run ^^^ registry,

Re: [dev] Preserving tags with different namespace

2007-03-07 Thread ashok _
Hello Barry: I think you could use either of the following approaches...: 1) use ParagraphUserDefinedAttributes these let you store (invisibly) custom attributes at the paragraph sty

Re: [dev] Configure warnings under cygwin , plz help

2007-03-07 Thread Rene Engelhard
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, Zaki wrote: > I'm new to openoffice, i lanched ./Configure under cygwin, i have warnings : ^ .org. ^ c > Internal freetype2 does not support emboldening Just ignore it. It's just that freetypes capabilities are checke

Re: [dev] Seeking help/ideas on making work on all (Linux) distributions ...

2007-03-07 Thread Rene Engelhard
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, Christian Lohmaier wrote: > On Tue, Mar 06, 2007 at 08:12:40PM +0100, Rony G. Flatscher wrote: > > > > it has been my understanding that the > > class and its bootstrap() method > > are meant to allow bootstrapping OpenOffice in an easy manner/f