/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite * * This file is part of OpenOffice.org. * * OpenOffice.org is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License version 3 * only, as published by the Free Software Foundation. * * OpenOffice.org is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License version 3 for more details * (a copy is included in the LICENSE file that accompanied this code). * * You should have received a copy of the GNU Lesser General Public License * version 3 along with OpenOffice.org. If not, see * * for a copy of the LGPLv3 License. * ************************************************************************/ #ifndef __com_sun_star_drawing_GraphicExportFilter_idl__ #define __com_sun_star_drawing_GraphicExportFilter_idl__ #include #include #include //============================================================================= module com { module sun { module star { module drawing { //============================================================================= /** 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. */ published service GraphicExportFilter { /** calling XFilter::filter starts the export of the graphic file. The following properties from the MediaDescriptor are supported:

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 XMimeTypeInfo for all values supported by the component. MediaDescriptor::URL This is the target url of the file that will be created during export. */ interface ::com::sun::star::document::XFilter; /** sets the source component for this export filter. This could either be a DrawPage, a Shape or a Shapes. */ interface ::com::sun::star::document::XExporter; /** lets you query the supported mime types by this component */ interface ::com::sun::star::document::XMimeTypeInfo; }; //============================================================================= }; }; }; }; #endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */