diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 16:51:28 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 16:51:28 +0000 |
commit | 940b4d1848e8c70ab7642901a68594e8016caffc (patch) | |
tree | eb72f344ee6c3d9b80a7ecc079ea79e9fba8676d /lotuswordpro/inc/lwpdefs.hxx | |
parent | Initial commit. (diff) | |
download | libreoffice-940b4d1848e8c70ab7642901a68594e8016caffc.tar.xz libreoffice-940b4d1848e8c70ab7642901a68594e8016caffc.zip |
Adding upstream version 1:7.0.4.upstream/1%7.0.4upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'lotuswordpro/inc/lwpdefs.hxx')
-rw-r--r-- | lotuswordpro/inc/lwpdefs.hxx | 211 |
1 files changed, 211 insertions, 0 deletions
diff --git a/lotuswordpro/inc/lwpdefs.hxx b/lotuswordpro/inc/lwpdefs.hxx new file mode 100644 index 000000000..2cf89eaa6 --- /dev/null +++ b/lotuswordpro/inc/lwpdefs.hxx @@ -0,0 +1,211 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* + * + * The Contents of this file are made available subject to the terms of + * either of the following licenses + * + * - GNU Lesser General Public License Version 2.1 + * - Sun Industry Standards Source License Version 1.1 + * + * Sun Microsystems Inc., October, 2000 + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2000 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1, as published by the Free Software Foundation. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * + * + * Sun Industry Standards Source License Version 1.1 + * ================================================= + * The contents of this file are subject to the Sun Industry Standards + * Source License Version 1.1 (the "License"); You may not use this file + * except in compliance with the License. You may obtain a copy of the + * License at http://www.openoffice.org/license.html. + * + * Software provided under this License is provided on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, + * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, + * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. + * See the License for the specific provisions governing your rights and + * obligations concerning the Software. + * + * The Initial Developer of the Original Code is: IBM Corporation + * + * Copyright: 2008 by IBM Corporation + * + * All Rights Reserved. + * + * Contributor(s): _______________________________________ + * + * + ************************************************************************/ +/************************************************************************* + * @file + * definitions for all object types VO_TYPE + ************************************************************************/ + +#ifndef INCLUDED_LOTUSWORDPRO_INC_LWPDEFS_HXX +#define INCLUDED_LOTUSWORDPRO_INC_LWPDEFS_HXX + +#define BAD_OFFSET 0xFFFFFFFFUL +#define BAD_ATOM (sal_Int32(-1)) // Invalid Atom ID + +//Please remove the item from the commented defines after you add the tag to the following enum. +enum VO_TYPE +{ + VO_PARA = 0, + VO_DOCUMENT = 5, + VO_STORY = 13, + VO_VERQTR = 40, + VO_HEADCONTENT = 47, + VO_HEADLAYOUT = 142, + VO_PAGELAYOUT = 143, + VO_DOCSOCK = 155, + VO_DIVISIONINFO = 7, + VO_HEADHOLDER = 90, + VO_DIVOPTS = 176, + VO_DOCDATA = 137, + VO_HEADERLAYOUT = 139, + VO_FOOTERLAYOUT = 140, + VO_FRAMELAYOUT = 141, + VO_TOCSUPERTABLELAYOUT = 149, + VO_TOCLEVELDATA = 171, + VO_LAYOUTGEOMETRY = 185, + VO_LAYOUTSCALE = 186, + VO_LAYOUTMARGINS = 187, + VO_LAYOUTCOLUMNS = 188, + VO_LAYOUTBORDERSTUFF = 189, + VO_LAYOUTGUTTERSTUFF = 190, + VO_LAYOUTBACKGROUNDSTUFF = 191, + VO_LAYOUTJOINSTUFF = 192, + VO_LAYOUTSHADOW = 193, + VO_LAYOUTNUMERICS = 194, + VO_LAYOUTRELATIVITY = 195, + VO_LAYOUTEXTERNALBORDERSTUFF = 219, + VO_GRAPHIC = 41, + VO_VERGTR = 205, + + VO_PARASTYLE = 23, + VO_CHARACTERSTYLE = 106, + VO_SILVERBULLET = 127, + VO_ALIGNMENTPIECE = 196, + VO_INDENTPIECE = 197, + VO_SPACINGPIECE = 199, + VO_CHARBORDERPIECE = 202, + VO_AMIKAKEPIECE = 203, + + VO_TABRACK = 38, + VO_PARABORDERPIECE = 198, + VO_BREAKSPIECE = 200, + VO_NUMBERINGPIECE = 201, + VO_TABPIECE = 204, + VO_PARABACKGROUNDPIECE = 218, + + VO_SECTION = 136, + VO_INDEXSECTION = 48, + VO_HEADTAILHOLDER = 169, + VO_PAGEHINT = 10, + VO_OBJECTHOLDER = 98, + VO_POBJECTHOLDER = 133, + // added for OLE + VO_OLEOBJECT = 54, + + // added for table + VO_TABLE = 17, + VO_CELLLAYOUT = 18, + VO_SUPERTABLELAYOUT = 109, + VO_TABLELAYOUT = 31, + VO_SUPERTABLE = 115, + VO_ROWLAYOUT = 32, + VO_ROWLIST = 76, + VO_CELLLIST = 74, + VO_NUMERICVALUE = 123, + VO_FORMULAINFO = 82, + VO_COLUMNLAYOUT = 35, + VO_TABLERANGE = 66, + VO_CELLRANGE = 67, + VO_FOLDER = 75, + VO_DEPENDENT = 77, + VO_CONNECTEDCELLLAYOUT = 28, + VO_HIDDENCELLLAYOUT = 29, + VO_TABLEHEADINGLAYOUT = 117, + VO_ROWHEADINGLAYOUT = 118, + VO_TABLEHEADING = 209, + VO_TABLEHINT = 19, + + VO_DROPCAPLAYOUT = 217, + VO_CHBLKMARKER = 94, + VO_PROPLIST = 165, + VO_BOOKMARK = 64, + VO_FIELDMARKER = 87, + + //for footnote + VO_FOOTNOTE = 53, + VO_FOOTNOTEOPTS = 177, + VO_FOOTNOTELAYOUT = 65, + VO_FNROWLAYOUT = 59, + VO_FNCELLLAYOUT = 61, + VO_ENDNOTELAYOUT = 138, + VO_ENSUPERTABLELAYOUT = 113, + VO_FNSUPERTABLELAYOUT = 111, + VO_FOOTNOTETABLE = 58, + VO_CONTONLAYOUT = 145, + VO_CONTFROMLAYOUT = 146, + + //for frame group + VO_GROUPLAYOUT = 108, + VO_GROUPFRAME = 173, + + //For index manager + VO_ROOTLEAFOBJINDEX = 0xFFFB, // Root Index with no kids + VO_ROOTOBJINDEX = 0xFFFC, // Root Index with kids + + //Add new type of index + VO_OBJINDEX = 0xFFFD, // Obj Index with kids + + VO_LEAFOBJINDEX = 0xFFFE , // Leaf Index + + VO_LISTLIST = 100, + + //For comment notes + VO_NOTELAYOUT = 159, + VO_NOTEHEADERLAYOUT = 178, + VO_NOTETEXTLAYOUT = 166, + VO_VPLAYOUT = 132, + + // for parallel column + VO_SUPERPARALLELCOLUMNLAYOUT = 174, + VO_PCOLLAYOUT = 206, + VO_PCOLBLOCK = 207, + VO_PARALLELCOLUMNS = 163, + + //for ruby mark + VO_RUBYMARKER = 179, + VO_RUBYLAYOUT = 180, + + VO_GLOSSARY = 157, + VO_SUPERGLOSSARYLAYOUT = 175, + //for default tab distance + VO_VERDOCUMENT = 161, + + //The last one + VO_INVALID = -1 +}; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |