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: tblenum.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 ************************************************************************/
33 //fuers aendern der Tabellen/Spalten/Zeilen Breiten/Hoehen
34 typedef USHORT TblChgWidthHeightType
;
36 namespace nsTblChgWidthHeightType
38 const TblChgWidthHeightType WH_COL_LEFT
= 0;
39 const TblChgWidthHeightType WH_COL_RIGHT
= 1;
40 const TblChgWidthHeightType WH_ROW_TOP
= 2;
41 const TblChgWidthHeightType WH_ROW_BOTTOM
= 3;
42 const TblChgWidthHeightType WH_CELL_LEFT
= 4;
43 const TblChgWidthHeightType WH_CELL_RIGHT
= 5;
44 const TblChgWidthHeightType WH_CELL_TOP
= 6;
45 const TblChgWidthHeightType WH_CELL_BOTTOM
= 7;
48 // folgende koennen hinein verodert werden
49 const TblChgWidthHeightType WH_FLAG_INSDEL
= 0x4000; // Insert/Del-Modus: das Bigger-Flag
50 // besagt was passiert:
51 // bBigger -> Box wird entfernt
52 // !bBigger-> Box wird eingefuegt
53 const TblChgWidthHeightType WH_FLAG_BIGGER
= 0x8000; // Box wird groesser -> sonst kleiner
58 TBLFIX_CHGABS
, // Tabelle feste Breite, den Nachbar andern
59 TBLFIX_CHGPROP
, // Tabelle feste Breite, alle Nachbarn aendern
60 TBLVAR_CHGABS
// Tabelle variable, alle Nachbarn aendern
64 enum SplitTbl_HeadlineOption
66 HEADLINE_NONE
= 0, // lasse alles wie es ist
67 HEADLINE_BORDERCOPY
, // von der davor obere Line der vorhergehen Line
68 HEADLINE_CNTNTCOPY
, // kopiere die 1. Line komplett mit Inhalt
69 HEADLINE_BOXATTRCOPY
, // kopiere von der 1. Line die Box Attribute
70 HEADLINE_BOXATRCOLLCOPY
// kopiere von der 1. Line die Box Attribute
71 // und die Absatzvorlagen