Apache OpenOffice (AOO) Bugzilla – Issue 24247
xslt xhtml - output references are not relative
Last modified: 2004-07-05 17:09:27 UTC
xslt xhtml - output references are not relative (e.g. generated output cannot be moved)
SUS: Already tried a quick fix (0.5 hour spend), but failed. A better description of the issue would be "JAR master document children, shall have a relative URL" The stylesheets and the java helper concerned with creating these links had become too complex due a work-around of a bug called "Internal Office links are no valid URI's" http://so-web3.germany.sun.com/iBIS/servlet/edit.ControlPanel?tid=102311 Going to separate the work-around from the common stylesheet and java helper code, to ease the code. Furthermore, by this refactoring it will become easy to remove the work-around after the bug will be fixed. Detailed Information: - move Child references into globalData variabel, overwork master_document.xsl: ~~~~~~~~~~~~~~~~~ <xsl:with-param name="fileRef" select="java:org.openoffice.xslt.OOoMasterDocument.getRelativeChildURL($fileRef)" /> <xsl:with-param name="fileRef" select="sxg:get-relative-child-u-r-l($fileRef)" /> OOoMasterDocument.java: ~~~~~~~~~~~~~~~~~~~~~~ public static String getRelativeChildURL(String sourcePath){ return getRelativeFileRef(OOoTransformProps.getContentTableURL(), getContentURL(sourcePath)); }
This issue has been fixed.
verified
closed