LibreOffice
LibreOffice 5.0 SDK API Reference
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
XDocumentProperties.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 #ifndef __com_sun_star_document_XDocumentProperties_idl__
20 #define __com_sun_star_document_XDocumentProperties_idl__
21 
31 
32 
33 
34 module com { module sun { module star { module document {
35 
55 published interface XDocumentProperties
56 {
60  [attribute] string Author;
61 
72  [attribute] string Generator;
73 
78 
82  [attribute] string Title;
83 
87  [attribute] string Subject;
88 
95  [attribute] string Description;
96 
100  [attribute] sequence< string > Keywords;
101 
106 
110  [attribute] string ModifiedBy;
111 
119 
123  [attribute] string PrintedBy;
124 
132 
140  [attribute] string TemplateName;
141 
149  [attribute] string TemplateURL;
150 
156 
171  [attribute] string AutoloadURL;
172 
189  [attribute] long AutoloadSecs {
191  };
192 
200  [attribute] string DefaultTarget;
201 
208  [attribute]
209  sequence< com::sun::star::beans::NamedValue > DocumentStatistics;
210 
219  [attribute] short EditingCycles {
221  };
222 
231  [attribute] long EditingDuration {
233  };
234 
257  void resetUserData( [in] string Author );
258 
267  com::sun::star::beans::XPropertyContainer getUserDefinedProperties();
268 
297  void loadFromStorage( [in] com::sun::star::embed::XStorage Storage,
298  [in] sequence < com::sun::star::beans::PropertyValue > Medium )
303 
326  void loadFromMedium( [in] string URL,
327  [in] sequence < com::sun::star::beans::PropertyValue > Medium )
331 
361  void storeToStorage( [in] com::sun::star::embed::XStorage Storage,
362  [in] sequence < com::sun::star::beans::PropertyValue > Medium )
366 
387  void storeToMedium( [in] string URL,
388  [in] sequence < com::sun::star::beans::PropertyValue > Medium )
391 };
392 
393 
394 }; }; }; };
395 
396 #endif
397 
398 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */