LibreOffice
LibreOffice 24.8 SDK API Reference
 
Loading...
Searching...
No Matches
XStringResourcePersistence.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
21
22module com { module sun { module star { module resource {
23
32{
67 void store()
68 raises( com::sun::star::lang::NoSupportException,
69 com::sun::star::uno::Exception );
70
71
81 boolean isModified();
82
83
99 void setComment( [in] string Comment );
100
101
134 void storeToStorage( [in] ::com::sun::star::embed::XStorage Storage,
135 [in] string BaseName, [in] string Comment )
136 raises ( com::sun::star::uno::Exception );
137
138
176 void storeToURL( [in] string URL, [in] string BaseName, [in] string Comment,
177 [in] com::sun::star::task::XInteractionHandler Handler )
178 raises( com::sun::star::uno::Exception );
179
180
193 sequence<byte> exportBinary();
194
195
214 void importBinary( [in] sequence<byte> Data )
215 raises ( com::sun::star::lang::IllegalArgumentException );
216
217};
218
219
220}; }; }; };
221
222/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Interface to manage a resource string table containing a set of strings for different locales.
Definition XStringResourceManager.idl:39
Interface derived from XStringResourceManager containing basic persistence functionality limited to o...
Definition XStringResourcePersistence.idl:32
sequence< byte > exportBinary()
Returns a sequence of byte representing the complete string resource in a binary format.
void setComment([in] string Comment)
Sets the comment stored first in each locale data file.
void importBinary([in] sequence< byte > Data)
Initializes the string resource with binary data.
void storeToURL([in] string URL, [in] string BaseName, [in] string Comment, [in] com::sun::star::task::XInteractionHandler Handler)
Stores all string table data to the location specified by the passed URL string.
boolean isModified()
provides the current modify state of the StringResourceManager instance.
void storeToStorage([in] ::com::sun::star::embed::XStorage Storage, [in] string BaseName, [in] string Comment)
Stores all string table data to the provided storage.
void store()
Stores all string table data respectively all data modified since the last call to store() to the loc...
interfaces related to embedded objects, both native UNO and OLE.
Definition Actions.idl:21
General UNO concepts like factories etc.
Definition ArrayIndexOutOfBoundsException.idl:22
Task management interfaces.
Definition XInteractionAbort.idl:22
Basic UNO interfaces.
Definition modules.idl:72
the module com::sun::star is the root module of the UNO API.
Definition Ambiguous.idl:20
Definition Ambiguous.idl:20
Definition Ambiguous.idl:20