From: SourceForge.net <no...@so...> - 2010-10-20 21:50:40
|
Bugs item #3089774, was opened at 2010-10-18 15:23 Message generated for change (Comment added) made by pachiburke You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=422030&aid=3089774&group_id=38414 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: ODT Writer Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: pachiburke (pachiburke) Assigned to: Dave Kuhlman (dkuhlman) Summary: Images in document templates are not preserved Initial Comment: Steps to reproduce the bug: 1. Create an odt template (my-template.odt) with an image in its header 2. Use the template to generate an ODT document with the --stylesheet=my-template.odt 3. Open the generated document The images in the header are not preserved. It's probably due to the Pictures subdir not being copied, and it may contain elements that are not part of contents.xml (such as headers and footers). ---------------------------------------------------------------------- Comment By: pachiburke (pachiburke) Date: 2010-10-20 23:50 Message: I see. I expected that, when a full odt file was provided as a template, the conversion would only replace contents.xml. My usecase is in fact very simple. I was trying to use as a template an odt file with a header with an image logo in it. I thought I could use raw::odt, but that affects, AFAICT, contents.xml, and headers are stored and defined in styles.xml so that doesn't work. The only really missing information is the picture files (stored in /Pictures) which correspond to the header images. ---------------------------------------------------------------------- Comment By: Dave Kuhlman (dkuhlman) Date: 2010-10-20 19:43 Message: I don't understand why we would expect images to be copied from the stylesheet into the target document. odf-odt writer supports the use of an odt document as container for *styles*. Why should images be copied? What is the use or need for doing this? - Dave ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=422030&aid=3089774&group_id=38414 |