Apache OpenOffice (AOO) Bugzilla – Issue 24398
XSLT filter shall receive a default set of parameters
Last modified: 2004-07-19 07:11:22 UTC
As discussed by phone, we should provide a default set of parameters (possibly a solution for a customer to expand these) for the XSL transformation. The best scenario is the adaption of relative links, when the source document is transformed into a different directory. The parameter should be based on the XHTML transformation: <!-- OPTIONAL: (MANDATORY: for all input document with relative external links): paramter is a (relative) URL to the source directory. Relative links from the office document (e.g. to external graphics) will get this parameter as a prefix --> <xsl:param name="sourceDirURL" select="'./'" /> <!-- OPTIONAL: (MANDATORY: for zipped input document with relative internal links) To access contents of a jared office file (content like the meta.xml, styles.xml file or graphics) a JAR URL could be choosen or when working with OpenOffice a Package-URL encoded over HTTP can be used to access the jared contents of the the jared document. Default: sourceDirURL - in case a zipped office document had been unpacked the (usually embedded) graphics would reside aside the source directory --> <xsl:param name="jarRootURL" select="$sourceDirURL" /> <!-- OPTIONAL: (MANDATORY: for session management by URL rewriting) Useful for WebApplications: if a HTTP session is not cookie based, URL rewriting is beeing used (the session is appended to the URL). This URL session is used for example when links to graphics are created by XSLT. Otherwise the user havt to log again in for every graphic he liks to see. --> <xsl:param name="optionalURLSuffix" /> <!-- OPTIONAL: DPI (dots per inch) the standard resolution of given pictures (necessary for the conversion of 'cm' into 'pixel')--> <!-- Although many pictures have a 96 dpi resolution, a higher resoltion give better results for common browsers --> <xsl:param name="dpi" select="111" /> <!-- OPTIONAL: in case of using a different processor than a JAVA XSLT, you can unable the Java functionality (e.g. encoding chapter names for the content-table as href and anchors ) --> <xsl:param name="java" select="true()" />
please verify in xsltfilter01
As discussed only 'targetBaseURL' is currently delivered, resulting into the base URL of XHTML.
SUS:Reassigned to the QA
SUS: Changed to DEFECT as discussed with JSI
OK.
fixed.
verified.
OK in MASTER src680m48.