SAX interface for external filters
This commit is contained in:
parent
e0fbd05c6c
commit
3cd8106057
2 changed files with 198 additions and 0 deletions
99
offapi/com/sun/star/document/XExporter.idl
Normal file
99
offapi/com/sun/star/document/XExporter.idl
Normal file
|
@ -0,0 +1,99 @@
|
|||
/*************************************************************************
|
||||
*
|
||||
* $RCSfile: XExporter.idl,v $
|
||||
*
|
||||
* $Revision: 1.1 $
|
||||
*
|
||||
* last change: $Author: os $ $Date: 2000-11-17 11:50:35 $
|
||||
*
|
||||
* The Contents of this file are made available subject to the terms of
|
||||
* either of the following licenses
|
||||
*
|
||||
* - GNU Lesser General Public License Version 2.1
|
||||
* - Sun Industry Standards Source License Version 1.1
|
||||
*
|
||||
* Sun Microsystems Inc., October, 2000
|
||||
*
|
||||
* GNU Lesser General Public License Version 2.1
|
||||
* =============================================
|
||||
* Copyright 2000 by Sun Microsystems, Inc.
|
||||
* 901 San Antonio Road, Palo Alto, CA 94303, USA
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License version 2.1, as published by the Free Software Foundation.
|
||||
*
|
||||
* This library 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 for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston,
|
||||
* MA 02111-1307 USA
|
||||
*
|
||||
*
|
||||
* Sun Industry Standards Source License Version 1.1
|
||||
* =================================================
|
||||
* The contents of this file are subject to the Sun Industry Standards
|
||||
* Source License Version 1.1 (the "License"); You may not use this file
|
||||
* except in compliance with the License. You may obtain a copy of the
|
||||
* License at http://www.openoffice.org/license.html.
|
||||
*
|
||||
* Software provided under this License is provided on an "AS IS" basis,
|
||||
* WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
|
||||
* WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
|
||||
* MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
|
||||
* See the License for the specific provisions governing your rights and
|
||||
* obligations concerning the Software.
|
||||
*
|
||||
* The Initial Developer of the Original Code is: Sun Microsystems, Inc.
|
||||
*
|
||||
* Copyright: 2000 by Sun Microsystems, Inc.
|
||||
*
|
||||
* All Rights Reserved.
|
||||
*
|
||||
* Contributor(s): _______________________________________
|
||||
*
|
||||
*
|
||||
************************************************************************/
|
||||
#ifndef __com_sun_star_document_XExporter_idl__
|
||||
#define __com_sun_star_document_XExporter_idl__
|
||||
|
||||
#ifndef __com_sun_star_lang_XComponent_idl__
|
||||
#include <com/sun/star/lang/XComponent.idl>
|
||||
#endif
|
||||
|
||||
#ifndef __com_sun_star_lang_IllegalArgumentException_idl__
|
||||
#include <com/sun/star/lang/IllegalArgumentException.idl>
|
||||
#endif
|
||||
|
||||
//=============================================================================
|
||||
|
||||
module com { module sun { module star { module document {
|
||||
|
||||
//=============================================================================
|
||||
/** makes it possible to connect a document with an <type>Exporter</type>.
|
||||
*/
|
||||
[ uik(61A64161-B953-11d4-A00E0050-04526B09), ident( "XExporter", 1.0 ) ]
|
||||
interface XExporter: com::sun::star::uno::XInterface
|
||||
{
|
||||
//-------------------------------------------------------------------------
|
||||
/** sets the source document for the exporter.
|
||||
|
||||
@raises com::sun::star::lang::IllegalArgumentException
|
||||
if <var>xDoc</var> does not support any service which is
|
||||
supported by this exporter.
|
||||
*/
|
||||
void setSourceDocument( [in] com::sun::star::lang::XComponent xDoc )
|
||||
raises( com::sun::star::lang::IllegalArgumentException );
|
||||
};
|
||||
|
||||
//=============================================================================
|
||||
|
||||
}; }; }; };
|
||||
|
||||
#endif
|
||||
|
||||
|
99
offapi/com/sun/star/document/XImporter.idl
Normal file
99
offapi/com/sun/star/document/XImporter.idl
Normal file
|
@ -0,0 +1,99 @@
|
|||
/*************************************************************************
|
||||
*
|
||||
* $RCSfile: XImporter.idl,v $
|
||||
*
|
||||
* $Revision: 1.1 $
|
||||
*
|
||||
* last change: $Author: os $ $Date: 2000-11-17 11:50:45 $
|
||||
*
|
||||
* The Contents of this file are made available subject to the terms of
|
||||
* either of the following licenses
|
||||
*
|
||||
* - GNU Lesser General Public License Version 2.1
|
||||
* - Sun Industry Standards Source License Version 1.1
|
||||
*
|
||||
* Sun Microsystems Inc., October, 2000
|
||||
*
|
||||
* GNU Lesser General Public License Version 2.1
|
||||
* =============================================
|
||||
* Copyright 2000 by Sun Microsystems, Inc.
|
||||
* 901 San Antonio Road, Palo Alto, CA 94303, USA
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License version 2.1, as published by the Free Software Foundation.
|
||||
*
|
||||
* This library 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 for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston,
|
||||
* MA 02111-1307 USA
|
||||
*
|
||||
*
|
||||
* Sun Industry Standards Source License Version 1.1
|
||||
* =================================================
|
||||
* The contents of this file are subject to the Sun Industry Standards
|
||||
* Source License Version 1.1 (the "License"); You may not use this file
|
||||
* except in compliance with the License. You may obtain a copy of the
|
||||
* License at http://www.openoffice.org/license.html.
|
||||
*
|
||||
* Software provided under this License is provided on an "AS IS" basis,
|
||||
* WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
|
||||
* WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
|
||||
* MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
|
||||
* See the License for the specific provisions governing your rights and
|
||||
* obligations concerning the Software.
|
||||
*
|
||||
* The Initial Developer of the Original Code is: Sun Microsystems, Inc.
|
||||
*
|
||||
* Copyright: 2000 by Sun Microsystems, Inc.
|
||||
*
|
||||
* All Rights Reserved.
|
||||
*
|
||||
* Contributor(s): _______________________________________
|
||||
*
|
||||
*
|
||||
************************************************************************/
|
||||
#ifndef __com_sun_star_document_XImporter_idl__
|
||||
#define __com_sun_star_document_XImporter_idl__
|
||||
|
||||
#ifndef __com_sun_star_lang_XComponent_idl__
|
||||
#include <com/sun/star/lang/XComponent.idl>
|
||||
#endif
|
||||
|
||||
#ifndef __com_sun_star_lang_IllegalArgumentException_idl__
|
||||
#include <com/sun/star/lang/IllegalArgumentException.idl>
|
||||
#endif
|
||||
|
||||
//=============================================================================
|
||||
|
||||
module com { module sun { module star { module document {
|
||||
|
||||
//=============================================================================
|
||||
/** makes it possible to connect a document with an <type>Importer</type>.
|
||||
*/
|
||||
[ uik(61A64160-B953-11d4-A00E0050-04526B09), ident( "XImporter", 1.0 ) ]
|
||||
interface XImporter: com::sun::star::uno::XInterface
|
||||
{
|
||||
//-------------------------------------------------------------------------
|
||||
/** sets the target document for the importer.
|
||||
|
||||
@raises com::sun::star::lang::IllegalArgumentException
|
||||
if <var>xDoc</var> does not support any service which is
|
||||
supported by this importer.
|
||||
*/
|
||||
void setTargetDocument( [in] com::sun::star::lang::XComponent xDoc )
|
||||
raises( com::sun::star::lang::IllegalArgumentException );
|
||||
};
|
||||
|
||||
//=============================================================================
|
||||
|
||||
}; }; }; };
|
||||
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in a new issue