LibreOffice
LibreOffice 4.3 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 //i20156 - new file for XML security module
21 
24 #ifndef __com_sun_star_xml_wrapper_xxmldocumentwrapper_idl_
25 #define __com_sun_star_xml_wrapper_xxmldocumentwrapper_idl_
26 
30 
31 module com { module sun { module star { module xml { module wrapper {
32 
33 interface XXMLElementWrapper;
34 
49 {
55  XXMLElementWrapper getCurrentElement();
56 
65  void setCurrentElement([in] XXMLElementWrapper element);
66 
73  void removeCurrentElement();
74 
82  boolean isCurrent([in] XXMLElementWrapper node);
83 
90  boolean isCurrentElementEmpty();
91 
98  string getNodeName([in] XXMLElementWrapper node);
99 
112  void clearUselessData(
113  [in] XXMLElementWrapper node,
114  [in] sequence< XXMLElementWrapper > reservedDescendants,
115  [in] XXMLElementWrapper stopAtNode);
116 
126  void collapse([in] XXMLElementWrapper node);
127 
138  void generateSAXEvents(
140  [in] com::sun::star::xml::sax::XDocumentHandler saxEventKeeperHandler,
141  [in] XXMLElementWrapper startNode,
142  [in] XXMLElementWrapper endNode)
144 
151  void getTree([in] com::sun::star::xml::sax::XDocumentHandler handler)
153 
161  void rebuildIDLink([in] XXMLElementWrapper node);
162 };
163 
164 } ; } ; } ; } ; } ;
165 
166 
167 #endif
168 
169 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
receives notification of general document events.
Definition: XDocumentHandler.idl:41
– idl definition –
Definition: Ambiguous.idl:22
Interface of XML Document Wrapper.
Definition: XXMLDocumentWrapper.idl:48
encapsulates the details of an XML parse error or warning.
Definition: SAXException.idl:41
base interface of all UNO interfaces
Definition: XInterface.idl:47
Interface of XML Element Wrapper.
Definition: XXMLElementWrapper.idl:39