Hi Aloizio,

aloizio wrote:

I am trying to select all paragraph into the document. I am using the
following:

          // Get the XParagraphCursor interface of the document cursor
XParagraphCursor xParaCursor = (XParagraphCursor) UnoRuntime.queryInterface( XParagraphCursor.class, curText );

          // Select all  paragraphs inserted
xParaCursor. ??????????

I do not work with Java. I know in the Basic libraries under Tools, there are some useful examples. If you stil do not work with the praragraph style ;-) you could create a viewcursor at the start, and extend it to the end of the doc. Pls see the examples.

Greetings,
Cor

--

Cor Nouws
Arnhem - Netherlands
nl.OpenOffice.org - marketing contact

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to