To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=97165


User fs changed the following:

                What    |Old value                 |New value
================================================================================
                  Status|NEW                       |RESOLVED
--------------------------------------------------------------------------------
              Resolution|                          |INVALID
--------------------------------------------------------------------------------




------- Additional comments from f...@openoffice.org Thu Jun  4 10:22:00 +0000 
2009 -------
See
http://wiki.services.openoffice.org/wiki/API/Tutorials/PDF_export#Filter_data_demo

The Basic snippet is wrong, as it puts the ExportFormFields property directly
into the export args. Instead, it needs to be put into a dedicated array called
"FilterArgs", which in turn is to be put into the export args.

The proper initialization of the filter data would be:
  Dim aFilterData as new com.sun.star.beans.PropertyValue
  aFilterData.Name = "ExportFormFields"
  aFilterData.Value = true

  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 = "FilterData"
  args(2).Value = Array( aFilterData )

So, I resolve the issue as INVALID - actually, the filter is not expected to
respect additional data which is *not* put into the dedicated FilterData 
element.

---------------------------------------------------------------------
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: issues-unsubscr...@api.openoffice.org
For additional commands, e-mail: issues-h...@api.openoffice.org


---------------------------------------------------------------------
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org

Reply via email to