OpenOffice.org Forum at OOoForum.orgThe OpenOffice.org Forum
 
 [Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register
 [Profile]   [Log in to check your private messages]   [Log in

Get a bookmark in a table

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Macros and API
View previous topic :: View next topic  
Author Message
vannux
Newbie
Newbie


Joined: 22 Nov 2005
Posts: 2

PostPosted: Tue Nov 22, 2005 7:14 am    Post subject: Get a bookmark in a table Reply with quote

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
View user's profile Send private message
pitonyak
Administrator
Administrator


Joined: 09 Mar 2004
Posts: 3655
Location: Columbus, Ohio, USA

PostPosted: Tue Nov 22, 2005 7:42 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website AIM Address
vannux
Newbie
Newbie


Joined: 22 Nov 2005
Posts: 2

PostPosted: Wed Nov 23, 2005 1:11 am    Post subject: Reply with quote

[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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Macros and API All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group