xref: /aoo4110/main/xmloff/inc/xmloff/contextid.hxx (revision b1cdbd2c)
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 
23 #ifndef _XMLOFF_CONTEXTID_HXX_
24 #define _XMLOFF_CONTEXTID_HXX_
25 
26 /** These defines determine the unique ids for XML style-context-id's
27 	used in the SvXMLAutoStylePoolP.
28  */
29 
30 #define XML_SC_CTF_START	0x00001000
31 #define XML_SD_CTF_START	0x00002000
32 #define XML_TEXT_CTF_START	0x00003000
33 #define XML_SCH_CTF_START	0x00004000
34 #define XML_PM_CTF_START	0x00005000		// page master
35 #define XML_FORM_CTF_START	0x00006000
36 #define XML_DB_CTF_START	0x00007000
37 
38 
39 #define CTF_SD_CONTROL_SHAPE_DATA_STYLE		( XML_SD_CTF_START +  1 )
40 #define CTF_SD_NUMBERINGRULES_NAME			( XML_SD_CTF_START +  2 )
41 #define CTF_SD_SHAPE_PARA_ADJUST			( XML_SD_CTF_START +  3 )
42 
43 #define CTF_FORMS_DATA_STYLE				( XML_FORM_CTF_START +  0 )
44 
45 /** use together with MID_FLAG_NO_PROPERTY to import the specified
46 	attribute into the alien attribute container */
47 
48 #define CTF_ALIEN_ATTRIBUTE_IMPORT	0x00007fff
49 
50 #endif	// _XMLOFF_CONTEXTID_HXX_
51