trouble using ExportFormFields in uno API; PDF form controls are exported even when set to False
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openoffice.org (Ubuntu) |
Invalid
|
Low
|
Unassigned |
Bug Description
Binary package hint: openoffice.org
The spec for the PDF export dialog says
"ExportFormFields" oor:type=
http://
but it doesn't seem to actually work.
I took the ooextract.py example
http://
and tried to use ExportFormFields, without luck.
I'm not the only one having this problem; in a Dec 2006 forum post, I see:
So, has anyone been able to use OOo's writer_pdf_export
filter and the "ExportFormFields" property with success?
I have not had success with the following code:
-- http://
Then I found an Aug 2006 suggestion from Giuseppe Castagno
http://<email address hidden>
Castagno's code shows a FilterData indirection, so my code now looks like:
)
outProps = (
PropertyValue( "Overwrite" , 0, True , 0 ),
)
but the resulting .pdf still has the form controls. It's distinctly
different from what I get via the GUI, which has different shaped
X's in the checkbox controls.
Help?
The forum post shows work-arounds involving post-processing
the PDF with some iText Java library, but I'd really rather not go there.
Changed in openoffice.org: | |
status: | Incomplete → New |
attaching the whole modified ooexport.py