xref: /AOO41X/main/framework/inc/helper/fixeddocumentproperties.hxx (revision f8e07b45f7e1fb69563504f404bb0b75210f0be6)
1 /**************************************************************
2  *
3  * Licensed to the Apache Software Foundation (ASF) under one
4  * or more contributor license agreements.  See the NOTICE file
5  * distributed with this work for additional information
6  * regarding copyright ownership.  The ASF licenses this file
7  * to you under the Apache License, Version 2.0 (the
8  * "License"); you may not use this file except in compliance
9  * with the License.  You may obtain a copy of the License at
10  *
11  *   http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing,
14  * software distributed under the License is distributed on an
15  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16  * KIND, either express or implied.  See the License for the
17  * specific language governing permissions and limitations
18  * under the License.
19  *
20  *************************************************************/
21 
22 #ifndef __FRAMEWORK_HELPER_FIXEDDOCUMENTPROPERTIES_HXX_
23 #define __FRAMEWORK_HELPER_FIXEDDOCUMENTPROPERTIES_HXX_
24 
25 #include <sal/types.h>
26 #include <rtl/ustring.hxx>
27 #include <com/sun/star/uno/Sequence.h>
28 #include <com/sun/star/util/DateTime.hpp>
29 
30 namespace framework
31 {
32 
33 struct FixedDocumentProperties
34 {
35     // fixed Properties (sort by name and used by OPropertySetHelper)
36     ::rtl::OUString                                 m_sAuthor                   ;   /// Creator of this document
37     sal_Bool                                        m_bAutoloadEnabled          ;   /// Automatic reload enabled/disabled ?
38     sal_Int32                                       m_nAutoloadSecs             ;   /// Time cycle for automatic reload
39     ::rtl::OUString                                 m_sAutoloadURL              ;   /// URL for automatic reload
40     ::rtl::OUString                                 m_sBlindCopiesTo            ;   /// Adress for BCC
41     ::rtl::OUString                                 m_sCopiesTo                 ;   /// Adress CC
42     com::sun::star::util::DateTime                  m_aCreationDate             ;   /// Time and date of document creation
43     ::rtl::OUString                                 m_sDefaultTarget            ;   /// Name of default target
44     ::rtl::OUString                                 m_sDescription              ;   /// Short description and comments
45     sal_Int16                                       m_nEditingCycles            ;   /// Document number
46     sal_Int32                                       m_nEditingDuration          ;   /// Duration since last edit
47     com::sun::star::uno::Sequence< sal_Int8 >       m_seqExtraData              ;   /// Buffer of bytes for some extra data
48     ::rtl::OUString                                 m_sInReplyTo                ;   /// Adress for reply to ...
49     sal_Bool                                        m_bIsEncrypted              ;   /// Document is en/decrypted
50     ::rtl::OUString                                 m_sKeywords                 ;   /// Some keywords
51     ::rtl::OUString                                 m_sMIMEType                 ;   /// MIME-type of document
52     ::rtl::OUString                                 m_sModifiedBy               ;   /// Name of user who has modified as last one
53     com::sun::star::util::DateTime                  m_aModifyDate               ;   /// Date and time of last modification
54     ::rtl::OUString                                 m_sNewsgroups               ;   /// Document is a message of newsgroup
55     ::rtl::OUString                                 m_sOriginal                 ;   /// Message ID
56     sal_Bool                                        m_bPortableGraphics         ;   /// Use of portable graphics
57     com::sun::star::util::DateTime                  m_aPrintDate                ;   /// Date and time of last print
58     ::rtl::OUString                                 m_sPrintedBy                ;   /// Name of user who has printed as last one
59     sal_uInt16                                      m_nPriority                 ;   /// Priority of message, if document a message!
60     sal_Bool                                        m_bQueryTemplate            ;   /// Search for template ?
61     ::rtl::OUString                                 m_sRecipient                ;   /// Name of recipient
62     ::rtl::OUString                                 m_sReferences               ;   /// Some references to other things
63     ::rtl::OUString                                 m_sReplyTo                  ;   /// Adress to reply
64     sal_Bool                                        m_bSaveGraphicsCompressed   ;   /// Compressed/non compressed graphics
65     sal_Bool                                        m_bSaveOriginalGraphics     ;   /// Include graphics
66     sal_Bool                                        m_bSaveVersionOnClose       ;   /// Save version on close of document ?
67     ::rtl::OUString                                 m_sTemplate                 ;   /// Name of template
68     sal_Bool                                        m_bTemplateConfig           ;   /// Exist template config ?
69     com::sun::star::util::DateTime                  m_aTemplateDate             ;   /// Date and time of template
70     ::rtl::OUString                                 m_sTemplateFileName         ;   /// File name of template
71     ::rtl::OUString                                 m_sTheme                    ;   /// Name of theme
72     ::rtl::OUString                                 m_sTitle                    ;   /// Title of document
73     sal_Bool                                        m_bUserData                 ;   /// Exist user data ?
74 };
75 
76 }
77 
78 #endif // __FRAMEWORK_SERVICES_FIXEDDOCUMENTPROPERTIES_HXX_
79