1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: ndtyp.hxx,v $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
34 #include <tools/solar.h>
36 // Ids fuer die verschiedenden Nodes; in der Basisklasse steht der Member,
37 // der angibt, um was fuer einen es sich handelt
38 const BYTE ND_ENDNODE
= 0x01;
39 const BYTE ND_STARTNODE
= 0x02;
40 const BYTE ND_TABLENODE
= 0x06;
41 const BYTE ND_TEXTNODE
= 0x08;
42 const BYTE ND_GRFNODE
= 0x10;
43 const BYTE ND_OLENODE
= 0x20;
45 const BYTE ND_CONTENTNODE
= 0x38; // ContentNode (eines von den 3 Bits)
46 const BYTE ND_NOTXTNODE
= 0x30; // NoTxtNode (eines von den 2 Bits)
48 const BYTE ND_SECTIONNODE
= 0x42;
49 // nur fuer internen Gebrauch!!
50 const BYTE ND_SECTIONDUMMY
= 0x40; //(ND_SECTIONNODE & ~ND_STARTNODE);
52 // spezielle Types der StartNodes, die keine Ableitungen sind, aber
53 // "Bereiche" zusammenhalten.
56 SwNormalStartNode
= 0,
64 // is the node the first and/or last node of a section?
65 // This information is used for the export filters. Our layout never have a
66 // distance before or after if the node is the first or last in a section.
67 const BYTE ND_HAS_PREV_LAYNODE
= 0x01;
68 const BYTE ND_HAS_NEXT_LAYNODE
= 0x02;