Re: [api-dev] DockingWindows Java

2009-08-20 Thread Carsten Driesner
Cristina Scheau wrote: Hi Carsten, On Mon, Aug 10, 2009 at 12:23 PM, Carsten Driesner wrote: Cristina Scheau wrote: Hi Carsten, Thank you very much for answering me. Hi Christina, I tried to give up on docking support and I've chosen the solution with UNO dialogs. My dialog with the

Re: [api-dev] How to enumerate text document by pages?

2009-08-20 Thread Bernard Marcelly
Hi Wei, Message de Wei Min Teo date 2009-08-21 05:50 : > > How can i enumerate through a text document by pages to check its individual > header? > Use interface com.sun.star.text.XPageCursor, from a com.sun.star.text.TextViewCursor. It provides, among others : boolean jumpToFirstPage() boole

[api-dev] How to enumerate text document by pages?

2009-08-20 Thread Wei Min Teo
Basically i want to get the header of every page. I can get HeaderText, HeaderTextLeft, and HeaderTextRight. However, there may be additional headers for different sections. How can i enumerate through a text document by pages to check its individual header? I tried using construct XIndex

[api-dev] Re: API for unique IDs?

2009-08-20 Thread Michael Stahl
Frank Schoenheit, Sun Microsystems Germany wrote: > Hi Michael, > >> in short, there is a xml:id registry and some abstract base classes in >> sfx2, and a interface com.sun.star.rdf.XMetadatatable for entities that >> may have xml:id. > > Unfortunately, this existing API is indeed coupled with me

Re: [api-dev] Re: API for unique IDs?

2009-08-20 Thread Frank Schoenheit, Sun Microsystems Germany
Hi Michael, > in short, there is a xml:id registry and some abstract base classes in > sfx2, and a interface com.sun.star.rdf.XMetadatatable for entities that > may have xml:id. Unfortunately, this existing API is indeed coupled with meta data. I don't need this for meta data: I just discovered t

[api-dev] Re: API for unique IDs?

2009-08-20 Thread Michael Stahl
Frank Schoenheit, Sun Microsystems Germany wrote: > Hi, > > do we have an API for document-wide (or "context-wide") unique string > identifiers? > > That is, I think there are ongoing implementations (or plans, at least) > to use xml:id in ODF documents more widely. This implies that at > runtime

[api-dev] API for unique IDs?

2009-08-20 Thread Frank Schoenheit, Sun Microsystems Germany
Hi, do we have an API for document-wide (or "context-wide") unique string identifiers? That is, I think there are ongoing implementations (or plans, at least) to use xml:id in ODF documents more widely. This implies that at runtime, we need a mechanism to manage such IDs, which need to be unique