To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=113439 Issue #|113439 Summary|OpenOffice crash with storeToUrl for writer_pdf_Export Component|Word processor Version|OOO320m18 Platform|PC URL| OS/Version|Windows XP Status|UNCONFIRMED Status whiteboard| Keywords| Resolution| Issue type|DEFECT Priority|P1 Subcomponent|programming Assigned to|writerneedsconfirm Reported by|fabrizio44a
------- Additional comments from [email protected] Mon Jul 26 17:39:34 +0000 2010 ------- This is VBA code that creates the PDF correctly but then causes the crash onf OpenOffice. Not always but quite often. The crash is caused by the same code also in Lotus Script. Dim OODoc As Variant Dim OOServiceManager as Variant Dim OODesktop as Variant Dim Argomenti1 As Variant Dim ArgomentiLoad(0) As Variant Dim ArgomentiStore(0) As Variant Set OOServiceManager = CreateObject("com.sun.star.ServiceManager") Set OODesktop = OOServiceManager.createInstance("com.sun.star.frame.Desktop") Set Argomenti0 = OOServiceManager.Bridge_GetStruct("com.sun.star.beans.PropertyValue") Set Argomenti1 = OOServiceManager.Bridge_GetStruct("com.sun.star.beans.PropertyValue") 'Apre il file in OO Writer Set OODoc = OODesktop.loadComponentFromURL("file:///C:/temp/offerta.odt", "_blank", 0, ArgomentiLoad) Argomenti1.Name = "FilterName" Argomenti1.Value = "writer_pdf_Export" Set ArgomentiStore(0) = Argomenti1 Call OODoc.storeToURL("file:///C:/temp/offerta.pdf", ArgomentiStore) Call OODoc.Close(True) Set OODoc = Nothing Set OODesktop = Nothing Set OOServiceManager = Nothing --------------------------------------------------------------------- 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]
