tdf#130857 qt weld: Implement QtInstanceWidget::strip_mnemonic
[LibreOffice.git] / offapi / com / sun / star / document / XViewDataSupplier.idl
blob36298b32d9c0b83eb8d0518908781b04cd64987a
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
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/.
9 * This file incorporates work covered by the following license notice:
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 .
21 module com { module sun { module star { module document {
23 /** gives access to some properties describing all open views to a document
25 <p>
26 Each view is described by a sequence< ::com::sun::star::beans::PropertyValue >.
27 Through this interface the state of all open views can be retrieved and restored
28 later. These states can also be made persistent so that a document loader can create
29 all views of the correct types and restore their state to the state when the document was
30 saved.
31 </p>
33 published interface XViewDataSupplier: com::sun::star::uno::XInterface
35 /** retrieve information about currently opened view to restore it later
37 @returns
38 a com::sun::star::container::XIndexAccess,
39 that gives access to a list of com::sun::star::beans::PropertyValue
40 for every open view. May `NULL` if no view is currently available.
42 ::com::sun::star::container::XIndexAccess getViewData();
44 /** restore all views which will be represented by given data argument
46 @param Data
47 a list of com::sun::star::beans::PropertyValues
48 with information about last opened views to restore it
49 `NULL` isn't allowed here.
51 void setViewData( [in] com::sun::star::container::XIndexAccess Data );
55 }; }; }; };
57 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */