Apache OpenOffice (AOO) Bugzilla – Issue 9580
Saving as Docbook results in empty file
Last modified: 2005-04-14 13:06:23 UTC
When saving a document that includes a linked graphic as a Docbook-XML-file the output is an empty file. - Open new Text-Document - Choose Insert/Graphics/From File - Select image (e.g. open_office_org_logo.bmp) - activate "link" - click open to insert the image into the document - choose File / Save as - choose doctype Docbook XML - save - open the saved file with ASCII-editor -> the file is empty Saving the document with an normal graphic inserted (not linked) results in a correct output (the image is dropped then).
.
Aidan: This problem results from the attribute draw:filter-name="<All Formats>" not being escaped properly. This result in a Parse exception occuring, and the file not being transformed and written out. The fix for this error can be found in the XMergeBridge.jar http://framework.openoffice.org/source/browse/framework/filter/source/jars/ To fix, just copy the new XMergeBridge.jar to the program/classes directory of your OOo installation. This version of the XMergeBridge will be in the next release of OOo.
Thanks a lot, works now apart from the fact that image-attribs like width/height are ignored (even the original file width and height). The image is always shown with something like 100x100px. But thats another issue... Keep up the good work!
closing