(incubating) | The Free and Open Productivity Suite

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous

Content for OpenOffice.org version 3.3.

:: com :: sun :: star :: drawing ::

service GraphicExportFilter
Description
a component that supports this service lets you export pages, shapes, or groups of shapes from a DrawingDocument to a file in one of the file formats supported by the component.
Developers Guide
Drawings - Exporting

Exported Interfaces - Summary
::com::sun::star::document::XFilter

calling XFilter::filter starts the export of the graphic file. The following properties from the ::com::sun::star::document::MediaDescriptor are supported:(details)

::com::sun::star::document::XExporter

sets the source component for this export filter. This could either be a DrawPage, a Shape or a Shapes.

::com::sun::star::document::XMimeTypeInfo

lets you query the supported mime types by this component

Exported Interfaces - Details
::com::sun::star::document::XFilter
Description
calling XFilter::filter starts the export of the graphic file. The following properties from the ::com::sun::star::document::MediaDescriptor are supported:

::com::sun::star::document::MediaDescriptor::MediaType Depending on the export filters supported by this component this is the mime type of the target graphic file. Possible values are image/x-MS-bmp application/dxf application/postscript image/gif image/jpeg image/png image/x-pict image/x-pcx image/x-portable-bitmap image/x-portable-graymap image/x-portable-pixmap image/x-cmu-raster image/targa image/tiff image/x-xbitmap image/x-xpixmap image/svg+xml

Ask the interface ::com::sun::star::document::XMimeTypeInfo for all values supported by the component. ::com::sun::star::document::MediaDescriptor::URL This is the target url of the file that will be created during export.

::com::sun::star::document::XExporter
Description
sets the source component for this export filter. This could either be a DrawPage, a Shape or a Shapes.
::com::sun::star::document::XMimeTypeInfo
Description
lets you query the supported mime types by this component

 
Top of Page

Apache OpenOffice is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.

Copyright & License
Apache and the Apache feather logos are trademarks of The Apache Software Foundation. OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.