of course there is no reference to a xslt. What else was generated in the package? Are there other config files?

Juergen

Jimmy wrote:
I had a look into the xcu file but didn't quite find what you pointed me to. I guess it ain't possible then.

<oor:component-data xmlns:oor="http://openoffice.org/2001/registry"; xmlns:xs="http://www.w3.org/2001/XMLSchema"; oor:name="TypeDetection" oor:package="org.openoffice.Office">
<node oor:name="Types">
 <node oor:name="eLML">
  <prop oor:name="Data" oor:type="xs:string">
   <value>0,,,,xml,0,</value>
  </prop>
  <prop oor:name="UIName" oor:type="xs:string">
   <value xml:lang="en-US">eLML Lesson</value>
  </prop>
 </node>
</node>
<node oor:name="Filters">
 <node oor:name="eLML">
  <prop oor:name="UIName" oor:type="xs:string">
   <value xml:lang="en-US">eLML Lesson</value>
  </prop>
  <prop oor:name="Data" oor:type="xs:string">
<value>0,eLML,com.sun.star.text.TextDocument,com.sun.star.comp.Writer.XmlFilterAdaptor,524354,com.sun.star.documentconversion.XSLTFilter;;com.sun.star.comp.Writer.XMLOasisImporter;com.sun.star.comp.Writer.XMLOasisExporter;;vnd.sun.star.Package:eLML/elml.xsl;vnd.sun.star.Package:eLML/elml.xsd;,0,vnd.sun.star.Package:eLML/test.odt</value>
  </prop>
 </node></node>
</oor:component-data>

Thanks


Jürgen Schmidt schrieb:
Jimmy wrote:
Is it somehow possible to install an export filter (XSL file) when installing my java component? I need access to my filter from my java component without having to install them seperately.

probably not, i assume that the generic xslt filter code needs to be changed. But i haven't tested it and maybe it is easy possible. I assume that you have the xslt filter option installed and i assume that you can install your filter using the xslt based filter dialog. From this dialog you can export the filter into a package. Take a look into the generated xcu file and check if the xslt files are referenced by something like $ORIGIN/... If yes, you can easy integrate the content of this package in your existing package and reference the xcu files in the package manifest.xml. Otherwise please file an issue and we will fix it for a future version.

Juergen


Thanks
Jimmy

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to