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

Find bookmarks in same line ?

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Macros and API
View previous topic :: View next topic  
Author Message
martinjoseph@aol.in
General User
General User


Joined: 05 Dec 2008
Posts: 15

PostPosted: Tue May 11, 2010 10:50 pm    Post subject: Find bookmarks in same line ? Reply with quote

hai to all ,

i have been in and out of open office api , for some time. But still very new to it.
I have a java application which is used to insert bookmarks in an open office template
file. I had used the some of samples from OOOForum and some code from the sdk
examples to do it.

i was hoping to generate a form type Gui dynamically by parsing the template file' s
bookmarks. I was able to do it . But i need to know how many bookmarks are present
in each line of the document file so as to create the same number of controls in a row
in the gui.


I searched the forum and i did GOOGLE , but was not able to find much. I saw a refernce
about the XlineCursor interface , but dont know how to implement it (i hoped if i can iterate
through each line of the document i can get the number of bookmarks in it, if it were possible).


Could you help me ? Is my approach wrong ? Is there any other way by which i can
determine that two bookmarks are in the same line in the document ?

Sorry if i confused you with my queries.

Thank you in advance,
Martin
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