Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing |
Summary: | MS Word 97 Export: storeToURL & hidden -> Crash | ||||||
---|---|---|---|---|---|---|---|
Product: | App Dev | Reporter: | scamps <scamps> | ||||
Component: | api | Assignee: | stephan.wunderlich | ||||
Status: | CLOSED FIXED | QA Contact: | issues@api <issues> | ||||
Severity: | Trivial | ||||||
Priority: | P3 | CC: | issues | ||||
Version: | 3.3.0 or older (OOo) | ||||||
Target Milestone: | --- | ||||||
Hardware: | PC | ||||||
OS: | Linux, all | ||||||
Issue Type: | DEFECT | Latest Confirmation in: | --- | ||||
Developer Difficulty: | --- | ||||||
Attachments: |
|
Description
scamps
2004-07-06 06:51:17 UTC
SW->scamps: I ran the following basic-script and it works like a charm :-) Sub HiddenWordTest() dim args(0) as new com.sun.star.beans.PropertyValue args(0).Name = "Hidden" args(0).Value = True dim oDesktop as object, oDocument as object dim surl as string, NomFichier as string oDesktop=createUnoService("com.sun.star.frame.Desktop") sUrl=convertToUrl("/home/whomever/test.sxw") oDocument=oDesktop.loadComponentFromURL(sUrl,"_blank",0,args()) dim args2(0) as new com.sun.star.beans.PropertyValue args2(0).Name = "FilterName" args2(0).Value = "MS Word 97" newURL = ConvertToUrl("/home/whomever/test.doc") odocument.storeToURL(newURL,args2()) oDocument.dispose() msgbox "Done !!" end sub Can you please check if this works for you too ? ... In this case something with the pyuno-bridge might be wrong Umm, really. I've tried with a simple test.sxw and works fine, even from my python code. So, the problem should be some characteristic of the document I've been using. I've removed logos, rare characters (euro symbol), etc, but it continues crashing. I will try to send the document causing problems. Sorry, but I'm not able to attach the document to the issue. Attachments link is not enabled for me. Can I send it to sw@openoffice.org ? Or I should use any other way ? Thanks SW: sure you can send it to me and I'll attach it to this issue Created attachment 16290 [details]
mentioned document
SW->scamps: with your document I could reproduce the crash with OOo1.1.x but it works fine with the current OOo-snapshot ... could you please check if this works for you too ? Confirmed. Using 1.1.2 it crash, but using OOo-snapshot works fine for me. It seems to be solved yet. Thanks for your help, and sorry for the disturb. Thank you for checking this ... I'll set this issue to fixed then :-) closed as fixed |