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 24 #ifndef _NDTYP_HXX 25 #define _NDTYP_HXX 26 27 #include <tools/solar.h> 28 29 // Ids fuer die verschiedenden Nodes; in der Basisklasse steht der Member, 30 // der angibt, um was fuer einen es sich handelt 31 const sal_uInt8 ND_ENDNODE = 0x01; 32 const sal_uInt8 ND_STARTNODE = 0x02; 33 const sal_uInt8 ND_TABLENODE = 0x06; 34 const sal_uInt8 ND_TEXTNODE = 0x08; 35 const sal_uInt8 ND_GRFNODE = 0x10; 36 const sal_uInt8 ND_OLENODE = 0x20; 37 38 const sal_uInt8 ND_CONTENTNODE = 0x38; // ContentNode (eines von den 3 Bits) 39 const sal_uInt8 ND_NOTXTNODE = 0x30; // NoTxtNode (eines von den 2 Bits) 40 41 const sal_uInt8 ND_SECTIONNODE = 0x42; 42 // nur fuer internen Gebrauch!! 43 const sal_uInt8 ND_SECTIONDUMMY = 0x40; //(ND_SECTIONNODE & ~ND_STARTNODE); 44 45 // spezielle Types der StartNodes, die keine Ableitungen sind, aber 46 // "Bereiche" zusammenhalten. 47 enum SwStartNodeType 48 { 49 SwNormalStartNode = 0, 50 SwTableBoxStartNode, 51 SwFlyStartNode, 52 SwFootnoteStartNode, 53 SwHeaderStartNode, 54 SwFooterStartNode 55 }; 56 57 // is the node the first and/or last node of a section? 58 // This information is used for the export filters. Our layout never have a 59 // distance before or after if the node is the first or last in a section. 60 const sal_uInt8 ND_HAS_PREV_LAYNODE = 0x01; 61 const sal_uInt8 ND_HAS_NEXT_LAYNODE = 0x02; 62 63 64 65 #endif 66