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

How to select TextFrame and Text as a single group

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


Joined: 13 Aug 2007
Posts: 34

PostPosted: Tue Sep 04, 2007 4:46 am    Post subject: How to select TextFrame and Text as a single group Reply with quote

Hi

I have Two TextFrame and Some Text in between that TextFrames in writer doc. When i select the first Frame the Selection will be both TextFrames and Text between the two TextFrames. Finally the Selection will be highlighed with different background color

I can able to identify and Select both TextFrames but how to find that Text in between TextFrames

help plz

Ram
Back to top
View user's profile Send private message
ramlogu
General User
General User


Joined: 13 Aug 2007
Posts: 34

PostPosted: Wed Sep 05, 2007 8:26 pm    Post subject: Reply with quote

Hi
Is it possible to find out where the TextFrame avilable (like nth line and nth Char possition)

Ram
Back to top
View user's profile Send private message
ms777
Super User
Super User


Joined: 07 Feb 2004
Posts: 1355

PostPosted: Thu Sep 06, 2007 3:53 am    Post subject: Reply with quote

sure. Do an xray on the TextFrame, and you see all properties availble. Have a look at the anchor and position properties.
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