https://bugs.freedesktop.org/show_bug.cgi?id=67208
Priority: medium
Bug ID: 67208
Assignee: [email protected]
Summary: Horizontal rules in old documents are broken: only
links in the files
Severity: normal
Classification: Unclassified
OS: All
Reporter: [email protected]
Hardware: Other
Status: UNCONFIRMED
Version: 4.1.0.0.alpha0+ Master
Component: Writer
Product: LibreOffice
Files containing horizontal rules dating from before commit
3be15a051444d4d2f805d95e27831d5f466c1497 are broken.
The picture wasn't inserted in the file. A backup solution needs to be
implemented to at least show a default rule.
An example rule in content.xml:
<draw:frame draw:style-name="fr1" draw:name="graphics1"
text:anchor-type="paragraph" svg:width="5.5417in" svg:height="0.1252in"
draw:z-index="0">
<draw:image
xlink:href="../../libreoffice/3.6/solver/unxlngx6.pro/installation/opt/program/../share/gallery/rulers/blurulr2.gif"
xlink:type="simple" xlink:show="embed" xlink:actuate="onLoad"/>
</draw:frame>
Fixing this would mean to check the link URL for the /gallery/rulers/ string
and use a replacement in that case.
The import code to start with could be the method
XMLTextFrameContext::CreateChildContext(), the case with
XML_TEXT_FRAME_GRAPHIC == nFrameType
See file xmloff/source/text/XMLTextFrameContext.cxx
See bug 60858 for the original bug report.
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs