To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=97165
                 Issue #|97165
                 Summary|XStorable.storeToURL() Filter "writer_pdf_Export" igno
                        |res "ExportFormFields"-value
               Component|api
                 Version|OOo 3.0
                Platform|All
                     URL|
              OS/Version|All
                  Status|UNCONFIRMED
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|code
             Assigned to|jsc
             Reported by|uwealtmann





------- Additional comments from [email protected] Thu Dec 11 23:19:17 
+0000 2008 -------
"ExportFormFields" is expected to decide "...whether form fields are exported as
widgets or only their fixed print representation is exported."
(c.f.
http://wiki.services.openoffice.org/wiki/API/Tutorials/PDF_export#User_interface
 )

PDF files exported by sample basic macro code below always stores form fieds as
widgets but never as fixed print, no matter what value is in "ExportFormFields".
Same happens using button "Export directly as PDF" from standard toolbar. Even
if "create pdf form" was deselected in a former export.

Tested with de and en-us MacIntel versions of 3.0 and 2.4.1.de WinXP too.

See also Dan Connollys mail from Tue, 05 Jun 2007: 
http://api.openoffice.org/servlets/ReadMsg?listName=dev&msgNo=17752

Maybe repair of http://www.openoffice.org/issues/show_bug.cgi?id=86396 was too
simple?

Sample OOO basic macro code:
sub StoreAsPDF
        dim Path as string
        Path = ThisComponent.URL
        Path = Left(Path,len(Path)-3)&"pdf"
        dim args(2) as new com.sun.star.beans.PropertyValue
        args(0).Name = "URL"
        args(0).Value = Path
        args(1).Name = "FilterName"
        args(1).Value = "writer_pdf_Export"
        args(2).Name = "ExportFormFields"
        args(2).Value = "false"   '"true" instead will not change anything!
        thisComponent.storeToURL(Path,args())
end sub

Macro recorder generated dispatcher code will show the same result too. "Export
to PDF..."-Command works fine, but meanwhile recorded dispatcher code exports
form fields as fields, not as static print.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to