LibreOffice
LibreOffice 24.8 SDK API Reference
 
Loading...
Searching...
No Matches
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
20module com { module sun { module star { module xml { module wrapper {
21
22interface XXMLElementWrapper;
23
38{
45
55
63
71 boolean isCurrent([in] XXMLElementWrapper node);
72
80
88
102 [in] XXMLElementWrapper node,
103 [in] sequence< XXMLElementWrapper > reservedDescendants,
104 [in] XXMLElementWrapper stopAtNode);
105
116
129 [in] com::sun::star::xml::sax::XDocumentHandler saxEventKeeperHandler,
130 [in] XXMLElementWrapper startNode,
131 [in] XXMLElementWrapper endNode)
133
142
151};
152
153} ; } ; } ; } ; } ;
154
155/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
encapsulates the details of an XML parse error or warning.
Definition SAXException.idl:38
base interface of all UNO interfaces
Definition generated_idl_chapter_refs.idl:452
receives notification of general document events.
Definition generated_idl_chapter_refs.idl:697
Interface of XML Document Wrapper.
Definition XXMLDocumentWrapper.idl:38
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:30
Definition Ambiguous.idl:20