LibreOffice: com/sun/star/xml/dom/XCharacterData.idl Source File

LibreOffice LibreOffice 24.8 SDK API Reference |

Loading...
Searching...
No Matches
XCharacterData.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 dom {
21
22 interface XCharacterData: XNode
23{
29 void appendData([in] string arg) raises (DOMException);
30
38 void deleteData([in] long offset, [in] long count) raises (DOMException);
39
49 string getData() raises (DOMException);
50
55 long getLength();
56
64 void insertData([in] long offset, [in] string arg) raises (DOMException);
65
74 void replaceData([in] long offset, [in] long count, [in] string arg) raises (DOMException);
75
83 void setData([in] string data) raises (DOMException);
84
92 string subStringData([in] long offset, [in] long count) raises (DOMException);
93
94};
95};};};};};
96
97/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
com::sun::star::xml::dom::DOMException
encapsulates the details of an XML parse error or warning.
Definition DOMException.idl:28
com::sun::star::xml::dom::XCharacterData
Definition XCharacterData.idl:23
com::sun::star::xml::dom::XCharacterData::insertData
void insertData([in] long offset, [in] string arg)
Insert a string at the specified 16-bit unit offset.
com::sun::star::xml::dom::XCharacterData::setData
void setData([in] string data)
Set the character data of the node that implements this interface.
com::sun::star::xml::dom::XCharacterData::deleteData
void deleteData([in] long offset, [in] long count)
Remove a range of 16-bit units from the node.
com::sun::star::xml::dom::XCharacterData::getLength
long getLength()
The number of 16-bit units that are available through data and the substringData method below.
com::sun::star::xml::dom::XCharacterData::replaceData
void replaceData([in] long offset, [in] long count, [in] string arg)
Replace the characters starting at the specified 16-bit unit offset with the specified string.
com::sun::star::xml::dom::XCharacterData::subStringData
string subStringData([in] long offset, [in] long count)
Extracts a range of data from the node.
com::sun::star::xml::dom::XCharacterData::getData
string getData()
Return the character data of the node that implements this interface.
com::sun::star::xml::dom::XCharacterData::appendData
void appendData([in] string arg)
Append the string to the end of the character data of the node.
com::sun::star::xml::dom::XNode
The primary dom datatype.
Definition XNode.idl:61
com
Definition Ambiguous.idl:20