LibreOffice
LibreOffice 24.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 module com { module sun { module star { module xml { module wrapper {
21 
22 interface XXMLElementWrapper;
23 
38 {
44  XXMLElementWrapper getCurrentElement();
45 
54  void setCurrentElement([in] XXMLElementWrapper element);
55 
62  void removeCurrentElement();
63 
71  boolean isCurrent([in] XXMLElementWrapper node);
72 
79  boolean isCurrentElementEmpty();
80 
87  string getNodeName([in] XXMLElementWrapper node);
88 
101  void clearUselessData(
102  [in] XXMLElementWrapper node,
103  [in] sequence< XXMLElementWrapper > reservedDescendants,
104  [in] XXMLElementWrapper stopAtNode);
105 
115  void collapse([in] XXMLElementWrapper node);
116 
127  void generateSAXEvents(
129  [in] com::sun::star::xml::sax::XDocumentHandler saxEventKeeperHandler,
130  [in] XXMLElementWrapper startNode,
131  [in] XXMLElementWrapper endNode)
133 
140  void getTree([in] com::sun::star::xml::sax::XDocumentHandler handler)
142 
150  void rebuildIDLink([in] XXMLElementWrapper node);
151 };
152 
153 } ; } ; } ; } ; } ;
154 
155 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
receives notification of general document events.
Definition: XDocumentHandler.idl:31
Definition: Ambiguous.idl:20
Interface of XML Document Wrapper.
Definition: XXMLDocumentWrapper.idl:37
encapsulates the details of an XML parse error or warning.
Definition: SAXException.idl:37
base interface of all UNO interfaces
Definition: XInterface.idl:45
Interface of XML Element Wrapper.
Definition: XXMLElementWrapper.idl:29