LibreOffice LibreOffice 25.8 SDK API Reference

XDocumentHandler.idl
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2/*
3 * This file is part of the LibreOffice project.
4 *
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/.
8 *
9 * This file incorporates work covered by the following license notice:
10 *
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 .
18 */
19
20
21
22module com { module sun { module star { module xml { module sax {
23
24
31published interface XDocumentHandler: com::sun::star::uno::XInterface
32{
33
36 void startDocument()
37 raises( com::sun::star::xml::sax::SAXException );
38
39
42 void endDocument()
43 raises( com::sun::star::xml::sax::SAXException );
44
45
48 void startElement( [in] string aName,
49 [in] com::sun::star::xml::sax::XAttributeList xAttribs )
50 raises( com::sun::star::xml::sax::SAXException );
51
52
55 void endElement( [in] string aName )
56 raises( com::sun::star::xml::sax::SAXException );
57
58
61 void characters( [in] string aChars )
62 raises( com::sun::star::xml::sax::SAXException );
63
64
67 void ignorableWhitespace( [in] string aWhitespaces )
68 raises( com::sun::star::xml::sax::SAXException );
69
70
73 void processingInstruction( [in] string aTarget,
74 [in] string aData )
75 raises( com::sun::star::xml::sax::SAXException );
76
77
80 void setDocumentLocator( [in] com::sun::star::xml::sax::XLocator xLocator )
81 raises( com::sun::star::xml::sax::SAXException );
82
83};
84
85
86}; }; }; }; };
87
88/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
com::sun::star::xml::sax::SAXException
encapsulates the details of an XML parse error or warning.
Definition: SAXException.idl:38
com::sun::star::uno::XInterface
base interface of all UNO interfaces
Definition: XInterface.idl:46
com::sun::star::xml::sax::XAttributeList
specifies an element's attributes.
Definition: XAttributeList.idl:38
com::sun::star::xml::sax::XDocumentHandler
receives notification of general document events.
Definition: XDocumentHandler.idl:32
com::sun::star::xml::sax::XDocumentHandler::startDocument
void startDocument()
receives notification of the beginning of a document.
com::sun::star::xml::sax::XLocator
makes it possible to associate a SAX event with a document location.
Definition: XLocator.idl:31
com
Definition: Ambiguous.idl:20