LibreOffice
LibreOffice 7.2 SDK API Reference
XXMLDocumentWrapper.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#ifndef __com_sun_star_xml_wrapper_xxmldocumentwrapper_idl_
21#define __com_sun_star_xml_wrapper_xxmldocumentwrapper_idl_
22
26
27module com { module sun { module star { module xml { module wrapper {
28
29interface XXMLElementWrapper;
30
45{
52
62
70
78 boolean isCurrent([in] XXMLElementWrapper node);
79
87
95
109 [in] XXMLElementWrapper node,
110 [in] sequence< XXMLElementWrapper > reservedDescendants,
111 [in] XXMLElementWrapper stopAtNode);
112
123
136 [in] com::sun::star::xml::sax::XDocumentHandler saxEventKeeperHandler,
137 [in] XXMLElementWrapper startNode,
138 [in] XXMLElementWrapper endNode)
140
149
158};
159
160} ; } ; } ; } ; } ;
161
162#endif
163
164/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
encapsulates the details of an XML parse error or warning.
Definition: SAXException.idl:42
base interface of all UNO interfaces
Definition: XInterface.idl:48
receives notification of general document events.
Definition: XDocumentHandler.idl:42
Interface of XML Document Wrapper.
Definition: XXMLDocumentWrapper.idl:45
void setCurrentElement([in] XXMLElementWrapper element)
Sets the current element.
boolean isCurrent([in] XXMLElementWrapper node)
Checks whether an element is the current element.
void removeCurrentElement()
Removes the current element.
void getTree([in] com::sun::star::xml::sax::XDocumentHandler handler)
Converts the whole DOM tree into a SAX event stream.
void clearUselessData([in] XXMLElementWrapper node, [in] sequence< XXMLElementWrapper > reservedDescendants, [in] XXMLElementWrapper stopAtNode)
Clears all useless element in a branch of the DOM tree along the tree order.
XXMLElementWrapper getCurrentElement()
Gets the current element.
string getNodeName([in] XXMLElementWrapper node)
Gets the name of the element.
void generateSAXEvents([in] com::sun::star::xml::sax::XDocumentHandler handler, [in] com::sun::star::xml::sax::XDocumentHandler saxEventKeeperHandler, [in] XXMLElementWrapper startNode, [in] XXMLElementWrapper endNode)
Converts a part of the DOM tree into SAX events.
boolean isCurrentElementEmpty()
Checks whether the current element is empty.
void collapse([in] XXMLElementWrapper node)
Collapses a tree path.
void rebuildIDLink([in] XXMLElementWrapper node)
Rebuild the ID attribute in the branch starting from the particular element.
Interface of XML Element Wrapper.
Definition: XXMLElementWrapper.idl:36
Definition: Ambiguous.idl:22