Get the style color and number just once
[LibreOffice.git] / offapi / com / sun / star / xml / csax / XCompressedDocumentHandler.idl
blobe64a1645dd6cfeaf408937109f28d740a194e057
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
20 module com { module sun { module star { module xml { module csax {
22 /**
23 * A compressed XDocumentHandler interface.
24 * <p>
25 * All methods in this interface have the same function with methods
26 * in the XDocumentHandler interface.
27 * <p>
28 * Because there is no interface parameter in these methods, so using
29 * this interface to transfer SAX event is thought to have better
30 * performance than using the XDocumentHandler interface, in case of
31 * when UNO C++/Java bridge is involved.
33 interface XCompressedDocumentHandler: com::sun::star::uno::XInterface
35 void compressedStartDocument()
36 raises( com::sun::star::xml::sax::SAXException );
38 void compressedEndDocument()
39 raises( com::sun::star::xml::sax::SAXException );
41 void compressedStartElement( [in] string aName, [in] sequence< XMLAttribute > aAttributes)
42 raises( com::sun::star::xml::sax::SAXException );
44 void compressedEndElement( [in] string aName )
45 raises( com::sun::star::xml::sax::SAXException );
47 void compressedCharacters( [in] string aChars )
48 raises( com::sun::star::xml::sax::SAXException );
50 void compressedIgnorableWhitespace( [in] string aWhitespaces )
51 raises( com::sun::star::xml::sax::SAXException );
53 void compressedProcessingInstruction( [in] string aTarget, [in] string aData )
54 raises( com::sun::star::xml::sax::SAXException );
56 void compressedSetDocumentLocator( [in] long columnNumber, [in] long lineNumber, [in] string publicId, [in] string systemId)
57 raises( com::sun::star::xml::sax::SAXException );
61 } ; } ; } ; } ; } ;
63 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */