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