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

Setting Document Title

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


Joined: 19 Jan 2010
Posts: 1

PostPosted: Mon Jan 25, 2010 2:55 am    Post subject: Setting Document Title Reply with quote

Hello,

I have a problem setting the documenttitle when creating a new document.
I am Using DElphi.

I have this code :

info:= CreateProperties([ 'DocumentTitle','test','Url', 'file:///C:\Test', 'TemplateName', 'Testing'], OoServerOpenOffice );

OoWriterDocument := OoWriterDesktop.LoadComponentFromURL('private:factory/swriter', '_blank', 0, info);

Results in a n new Writer Document but not with the correct title..

How to fix this ?
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