Re: [libreoffice-users] How can be a property update from python?

2011-08-04 Thread Alberto
On 3 August 2011 23:42, Andrew Douglas Pitonyak and...@pitonyak.org wrote: On 08/03/2011 12:36 PM, Alberto wrote: Hi everybody, I want to set a custom property (like AuthorLastName) in a document before saving it as PDF. Never done it. poke around a little bit  Dim oDocInfo  Dim

[libreoffice-users] How can be a property update from python?

2011-08-03 Thread Alberto
Hi everybody, I want to set a custom property (like AuthorLastName) in a document before saving it as PDF. This in python (I want to generate the document as part of a larger script). I managed to update the fields using: dispatcher.executeDispatch(frame, .uno:UpdateAll, , 0, ()) I cannot find

Re: [libreoffice-users] How can be a property update from python?

2011-08-03 Thread Tom Davies
: [libreoffice-users] How can be a property update from python? Hi everybody, I want to set a custom property (like AuthorLastName) in a document before saving it as PDF. This in python (I want to generate the document as part of a larger script). I managed to update the fields using

Re: [libreoffice-users] How can be a property update from python?

2011-08-03 Thread Alberto
: [libreoffice-users] How can be a property update from python? Hi everybody, I want to set a custom property (like AuthorLastName) in a document before saving it as PDF. This in python (I want to generate the document as part of a larger script). I managed to update the fields using

Re: [libreoffice-users] How can be a property update from python?

2011-08-03 Thread Andrew Douglas Pitonyak
On 08/03/2011 12:36 PM, Alberto wrote: Hi everybody, I want to set a custom property (like AuthorLastName) in a document before saving it as PDF. Never done it. poke around a little bit Dim oDocInfo Dim oUDP oDocInfo = ThisComponent.getDocumentInfo() oUDP =

Re: [libreoffice-users] How can be a property update from python?

2011-08-03 Thread Andrew Douglas Pitonyak
On 08/03/2011 05:42 PM, Andrew Douglas Pitonyak wrote: On 08/03/2011 12:36 PM, Alberto wrote: Hi everybody, I want to set a custom property (like AuthorLastName) in a document before saving it as PDF. Never done it. poke around a little bit Dim oDocInfo Dim oUDP oDocInfo =

Re: [libreoffice-users] How can be a property update from python?

2011-08-03 Thread Andrew Douglas Pitonyak
Added a section on how to do this in Basic to OOME, My next update to my web site will contain the new section. -- Andrew Pitonyak My Macro Document: http://www.pitonyak.org/AndrewMacro.odt Info: http://www.pitonyak.org/oo.php -- For unsubscribe instructions e-mail to: