Hi Jimmy,
as no one stepped up as of yet, a very amateurish attempt (could be
wrong altogether):
No matter what I do it seems I'm always getting an Exception even when
I'm trying to create a GraphicExportFilter.
Object oUnoObject =
xMSF.createInstance("com.sun.star.drawing.GraphicExportFilter");
... cut ...
What could be wrong here?!
From another example (an ooRexx one which basically uses Java in the
simpler ooRexx "clothes") it *seems* that when you use a
GraphicExportFilter you need to query the
"com.sun.star.document.XExporter" interface object and from that the
"com.sun.star.document.XFilter" (the ooRexx sample do not need the full
qualification of the interface name).
Then, on the "xExporter" interface object you would use the method
"setSourceDocument(xComp)" which could be a page's XComponent interface
object. On the "xFilter" interface object you would invoke the
"filter(filterProps)" method supplying the filter properties array.
Hope that helps a bit,
---rony
P.S.: If the above helps, then you might want to look at other examples
from the work from which the above solution stems from (quite a few
nutshell examples) could be viewed in here:
-- Example 23: Exports two draw pages as individual JPGs.
-- From Ahammer, Andreas:
<http://wi.wu-wien.ac.at/rgf/diplomarbeiten/index.html#bakk_07>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]