Issue 9580 - Saving as Docbook results in empty file
Summary: Saving as Docbook results in empty file
Status: CLOSED FIXED
Alias: None
Product: Writer
Classification: Application
Component: code (show other issues)
Version: 643C
Hardware: PC Windows NT
: P3 Trivial (vote)
Target Milestone: ---
Assignee: aidan.butler
QA Contact: issues@xml
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-11-27 13:02 UTC by Unknown
Modified: 2005-04-14 13:06 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Unknown 2002-11-27 13:02:41 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).
Comment 1 michael.brauer 2002-12-02 08:07:18 UTC
.
Comment 2 aidan.butler 2002-12-02 11:15:23 UTC
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.
Comment 3 Unknown 2002-12-02 12:27:31 UTC
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!
Comment 4 jogi 2005-04-14 13:05:58 UTC
.
Comment 5 jogi 2005-04-14 13:06:23 UTC
closing