To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=69257
                 Issue #|69257
                 Summary|Export To PDF does not work for math file in hidden mo
                        |de
               Component|api
                 Version|OOo 2.0.3
                Platform|All
                     URL|
              OS/Version|All
                  Status|UNCONFIRMED
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|code
             Assigned to|jsc
             Reported by|vineetathome





------- Additional comments from [EMAIL PROTECTED] Mon Sep  4 22:42:12 -0700 
2006 -------
The code that I am using is given at
http://codesnippets.services.openoffice.org/Office/Office.ConvertDocuments.snip

The only addition that I have done is to add

if (applicationName.equals("com.sun.star.formula.FormulaProperties"))
filterName = "math_pdf_Export";

I always get a blank pdf. The code is working for odt, odf etc but not for odf.
Has anyone seen this. Am using the latest 2.0.3 installer

OOo_2.0.3_Win32Intel_install.exe

I did some investigation. It looks like if the conversion mode is set to visible
then the conversion works fine. 

 m_propertyValues[0] = new com.sun.star.beans.PropertyValue();
 m_propertyValues[0].Name = "Hidden";
 m_propertyValues[0].Value = new Boolean(true); // Setting false here makes it
export the document properly.

---------------------------------------------------------------------
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