Apache OpenOffice (AOO) Bugzilla – Issue 109145
Exported PDF dont include the PlaceHolders
Last modified: 2017-05-20 10:44:34 UTC
Hello, I want to export all place holders to PDF how can I do that? Please help me its very argent, Thanks in advance
I have template in which I copy the required contents programatically and export it to PDF. The template has placeholders and I replace those placeholders with my required content and then export it to PDF. but PDF dont include those palceholder
kaav: please attach a sample document that shows your problem. Also please tell which version you are using, version "1.0.0" did not have PDF export. @od: don't know what "placeholders" could be meant, date and page number fields work just fine.
Created attachment 67742 [details] sample document
Hello, I have attached Untitled 2.odt It has <From> as Place holder now in my program I am checking whether the property is Placeholder then if(name.equalsIgnoreCase("From:")){ xPropertySet.setPropertyValue("PlaceHolder", new String(from)); } and then exporting that file to PDF but its not working.
Setting component to writer.
Opening a file in writer only
According help: "When you click a placeholder field in the document, you are prompted to insert the item that is missing." Click in odt has no response. Export as pdf loses field - only text is printed. Rev. 1503704 Win 7
Reset the assignee to the default "issues@openoffice.apache.org".