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

Writer user fields / API / VB

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


Joined: 30 Nov 2006
Posts: 7

PostPosted: Thu Nov 30, 2006 10:24 am    Post subject: Writer user fields / API / VB Reply with quote

Hi,

i have to make an interface in vb to take control of OpenOffice from another application, and my current issue is being able to set user fields into Writer, to use them with 'insert -> Field -> Other -> Variables'

I've looked into the documentation, and can't figure which interface i have to use. I figure i need ::com::sun::star::text::TextField , but i'm puzzled by ::DependantTextFields, ::TextFieldMaster :

do i have to create a TextFieldMaster and attach a TextField to it ? How do i tell the document i want to add properties ?

(I'm new to the OOo api btw)
Back to top
View user's profile Send private message
ms777
Super User
Super User


Joined: 07 Feb 2004
Posts: 1355

PostPosted: Thu Nov 30, 2006 10:29 am    Post subject: Reply with quote

for a recent OO Basic thread on this subject, check http://www.oooforum.org/forum/viewtopic.phtml?t=48586

Good luck,

ms777
Back to top
View user's profile Send private message
zifox
General User
General User


Joined: 30 Nov 2006
Posts: 7

PostPosted: Fri Dec 01, 2006 12:58 am    Post subject: Reply with quote

Thanks a lot ! Much more easier than i thought !
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