Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.10

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: 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. (details)

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

sets the source component for this export filter. (details)

::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 Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.