| View previous topic :: View next topic |
| Author |
Message |
vannux Newbie

Joined: 22 Nov 2005 Posts: 2
|
Posted: Tue Nov 22, 2005 7:14 am Post subject: Get a bookmark in a table |
|
|
I have a Writer document from MS Word with some tables.
In each table there are some named bookmarks.
I need to get a table by a bookmark's name contained in it.
This Java code
XBookmarksSupplier xBookmarksSupplier = (XBookmarksSupplier) UnoRuntime.queryInterface(XBookmarksSupplier.class, xTextDocument);
is used to get the collection of the bookmarks in the entire document, but I need only the bookmarks contained in a specified table.
Is it possible?
Thanks for your help. |
|
| Back to top |
|
 |
pitonyak Administrator


Joined: 09 Mar 2004 Posts: 3618 Location: Columbus, Ohio, USA
|
Posted: Tue Nov 22, 2005 7:42 pm Post subject: |
|
|
I am not checking my facts, but.... Assume that you have a bookmark, and assume that you have the anchor. Does the anchor support the TextTable property? _________________ --
Andrew Pitonyak
http://www.pitonyak.org/oo.php |
|
| Back to top |
|
 |
vannux Newbie

Joined: 22 Nov 2005 Posts: 2
|
Posted: Wed Nov 23, 2005 1:11 am Post subject: |
|
|
[quote="pitonyak"]Does the anchor support the TextTable property?[/quote]
The java class for the anchor doesn't seem to support the TextTable property.
Any other suggestions?
Thanks |
|
| Back to top |
|
 |
|