xref: /trunk/main/framework/inc/helper/fixeddocumentproperties.hxx (revision cdf0e10c4e3984b49a9502b011690b615761d4a3)
1 #ifndef __FRAMEWORK_HELPER_FIXEDDOCUMENTPROPERTIES_HXX_
2 #define __FRAMEWORK_HELPER_FIXEDDOCUMENTPROPERTIES_HXX_
3 
4 #include <sal/types.h>
5 #include <rtl/ustring.hxx>
6 #include <com/sun/star/uno/Sequence.h>
7 #include <com/sun/star/util/DateTime.hpp>
8 
9 namespace framework
10 {
11 
12 struct FixedDocumentProperties
13 {
14     // fixed Properties (sort by name and used by OPropertySetHelper)
15     ::rtl::OUString                                 m_sAuthor                   ;   /// Creator of this document
16     sal_Bool                                        m_bAutoloadEnabled          ;   /// Automatic reload enabled/disabled ?
17     sal_Int32                                       m_nAutoloadSecs             ;   /// Time cycle for automatic reload
18     ::rtl::OUString                                 m_sAutoloadURL              ;   /// URL for automatic reload
19     ::rtl::OUString                                 m_sBlindCopiesTo            ;   /// Adress for BCC
20     ::rtl::OUString                                 m_sCopiesTo                 ;   /// Adress CC
21     com::sun::star::util::DateTime                  m_aCreationDate             ;   /// Time and date of document creation
22     ::rtl::OUString                                 m_sDefaultTarget            ;   /// Name of default target
23     ::rtl::OUString                                 m_sDescription              ;   /// Short description and comments
24     sal_Int16                                       m_nEditingCycles            ;   /// Document number
25     sal_Int32                                       m_nEditingDuration          ;   /// Duration since last edit
26     com::sun::star::uno::Sequence< sal_Int8 >       m_seqExtraData              ;   /// Buffer of bytes for some extra data
27     ::rtl::OUString                                 m_sInReplyTo                ;   /// Adress for reply to ...
28     sal_Bool                                        m_bIsEncrypted              ;   /// Document is en/decrypted
29     ::rtl::OUString                                 m_sKeywords                 ;   /// Some keywords
30     ::rtl::OUString                                 m_sMIMEType                 ;   /// MIME-type of document
31     ::rtl::OUString                                 m_sModifiedBy               ;   /// Name of user who has modified as last one
32     com::sun::star::util::DateTime                  m_aModifyDate               ;   /// Date and time of last modification
33     ::rtl::OUString                                 m_sNewsgroups               ;   /// Document is a message of newsgroup
34     ::rtl::OUString                                 m_sOriginal                 ;   /// Message ID
35     sal_Bool                                        m_bPortableGraphics         ;   /// Use of portable graphics
36     com::sun::star::util::DateTime                  m_aPrintDate                ;   /// Date and time of last print
37     ::rtl::OUString                                 m_sPrintedBy                ;   /// Name of user who has printed as last one
38     sal_uInt16                                      m_nPriority                 ;   /// Priority of message, if document a message!
39     sal_Bool                                        m_bQueryTemplate            ;   /// Search for template ?
40     ::rtl::OUString                                 m_sRecipient                ;   /// Name of recipient
41     ::rtl::OUString                                 m_sReferences               ;   /// Some references to other things
42     ::rtl::OUString                                 m_sReplyTo                  ;   /// Adress to reply
43     sal_Bool                                        m_bSaveGraphicsCompressed   ;   /// Compressed/non compressed graphics
44     sal_Bool                                        m_bSaveOriginalGraphics     ;   /// Include graphics
45     sal_Bool                                        m_bSaveVersionOnClose       ;   /// Save version on close of document ?
46     ::rtl::OUString                                 m_sTemplate                 ;   /// Name of template
47     sal_Bool                                        m_bTemplateConfig           ;   /// Exist template config ?
48     com::sun::star::util::DateTime                  m_aTemplateDate             ;   /// Date and time of template
49     ::rtl::OUString                                 m_sTemplateFileName         ;   /// File name of template
50     ::rtl::OUString                                 m_sTheme                    ;   /// Name of theme
51     ::rtl::OUString                                 m_sTitle                    ;   /// Title of document
52     sal_Bool                                        m_bUserData                 ;   /// Exist user data ?
53 };
54 
55 }
56 
57 #endif // __FRAMEWORK_SERVICES_FIXEDDOCUMENTPROPERTIES_HXX_
58