Ask Your Question

Update a Text Field

asked 2016-01-13 02:44:01 +0200

macroman gravatar image

I have a field: Type: Variable Name: ClientName Format: Text

The field is already within the .odt document, with the default value set to "Name" I would like to update this value to a given client name (string value) "John Smith"

I have already checked out a lot of documentation and having no luck... I imagined it would be something along these lines: NameField = Doc.getTextFieldMasters().getByName("ClientName") NameField.Content = "JohnSmith"

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2016-01-15 11:31:25 +0200

peterwt gravatar image

You have posted this question in the OpenOffice forums and received a solution,
For those interested the answer is at

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2016-01-13 02:44:01 +0200

Seen: 106 times

Last updated: Jan 15 '16