xref: /aoo42x/main/xmloff/inc/xmloff/contextid.hxx (revision cdf0e10c)
1 /*************************************************************************
2  *
3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4  *
5  * Copyright 2000, 2010 Oracle and/or its affiliates.
6  *
7  * OpenOffice.org - a multi-platform office productivity suite
8  *
9  * This file is part of OpenOffice.org.
10  *
11  * OpenOffice.org is free software: you can redistribute it and/or modify
12  * it under the terms of the GNU Lesser General Public License version 3
13  * only, as published by the Free Software Foundation.
14  *
15  * OpenOffice.org is distributed in the hope that it will be useful,
16  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18  * GNU Lesser General Public License version 3 for more details
19  * (a copy is included in the LICENSE file that accompanied this code).
20  *
21  * You should have received a copy of the GNU Lesser General Public License
22  * version 3 along with OpenOffice.org.  If not, see
23  * <http://www.openoffice.org/license.html>
24  * for a copy of the LGPLv3 License.
25  *
26  ************************************************************************/
27 #ifndef _XMLOFF_CONTEXTID_HXX_
28 #define _XMLOFF_CONTEXTID_HXX_
29 
30 /** These defines determine the unique ids for XML style-context-id's
31 	used in the SvXMLAutoStylePoolP.
32  */
33 
34 #define XML_SC_CTF_START	0x00001000
35 #define XML_SD_CTF_START	0x00002000
36 #define XML_TEXT_CTF_START	0x00003000
37 #define XML_SCH_CTF_START	0x00004000
38 #define XML_PM_CTF_START	0x00005000		// page master
39 #define XML_FORM_CTF_START	0x00006000
40 #define XML_DB_CTF_START	0x00007000
41 
42 
43 #define CTF_SD_CONTROL_SHAPE_DATA_STYLE		( XML_SD_CTF_START +  1 )
44 #define CTF_SD_NUMBERINGRULES_NAME			( XML_SD_CTF_START +  2 )
45 #define CTF_SD_SHAPE_PARA_ADJUST			( XML_SD_CTF_START +  3 )
46 
47 #define CTF_FORMS_DATA_STYLE				( XML_FORM_CTF_START +  0 )
48 
49 /** use together with MID_FLAG_NO_PROPERTY to import the specified
50 	attribute into the alien attribute container */
51 
52 #define CTF_ALIEN_ATTRIBUTE_IMPORT	0x00007fff
53 
54 #endif	// _XMLOFF_CONTEXTID_HXX_
55