For better performance, here is another idea.
0. Register a simple XSLT template as an input filter
to your OpenOffice.org.
1. Do the XSLT transformation with Java or any other command
such as a xsltproc command alone and save the result as a
temporary file.
2. Let the OpenOffice
If you will need to use several XSLT templates on demand, I am not
sure, though, but the section "Importer Filtering" and "Parsing
the Result" in [1] could be one of the possible solutions.
[1]
http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/OfficeDev/The_Importer
1. Create a st
Ok thanks, i figured it out. But now the next Problem.
How I can register a filter using this API?
At the moment I added my filter via the menu in Open Office but I want
to change that.
2009/8/11 tora - Takamichi Akiyama :
> Hi,
>
> Looking up those key words - application, getDocumentService, a
Hi,
Looking up those key words - application, getDocumentService, and loadDocument
- in the Internet gives us information on what you are using.
That type of helper classes developed by a third party could be one of the ways
to handle document files.
To understand OpenOffice.org's original API
But this I don't understand.
At the moment I open my document this way
document = application.getDocumentService().loadDocument(iFrame,
location + "\\" + file.getFullPath().toOSString(),
DocumentDescriptor.DEFAULT);
This will open a document.
And now? How I spezifiy here now a Filter and and fi
It would not be hard to do that. There might be lots of solutions.
This is one of the examples:
http://distribution.openoffice.org/source/browse/distribution/mirrors/repository/production/tools/Calc/
The key you might have been looking for would be:
1. Name the filter as you like and fill "Fil
Hi Jakob,
Jakob Mandalka wrote:
Noone any Idea how to make this?
2009/8/6 Jakob Mandalka :
Hello everyone, i am new here and i have a question to ask which might be a
little complicated.
What i want to do is to develop a component such as a button in open office
which , when pressed, imports a
Noone any Idea how to make this?
2009/8/6 Jakob Mandalka :
> Hello everyone, i am new here and i have a question to ask which might be a
> little complicated.
> What i want to do is to develop a component such as a button in open office
> which , when pressed, imports an xml file which can be sele