/* * CDE - Common Desktop Environment * * Copyright (c) 1993-2012, The Open Group. All rights reserved. * * These libraries and programs are free software; you can * redistribute them and/or modify them under the terms of the GNU * Lesser General Public License as published by the Free Software * Foundation; either version 2 of the License, or (at your option) * any later version. * * These libraries and programs are distributed in the hope that * they 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 these libraries and programs; if not, write * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth * Floor, Boston, MA 02110-1301 USA */ /* $XConsortium: SDLI.h /main/7 1995/11/28 14:24:36 cde-hp $ */ /*************************************<+>************************************* ***************************************************************************** ** ** File: SDLI.h ** ** Project: ** ** Description: Public Header file for Canvas.c ** ** (c) Copyright 1987, 1988, 1989, 1990, 1991, 1992 Hewlett-Packard Company ** ** (c) Copyright 1993, 1994 Hewlett-Packard Company ** (c) Copyright 1993, 1994 International Business Machines Corp. ** (c) Copyright 1993, 1994 Sun Microsystems, Inc. ** (c) Copyright 1993, 1994 Novell, Inc. ** ******************************************************************* *************************************<+>*************************************/ #ifndef _DtHelpSDLI_h #define _DtHelpSDLI_h #ifdef __cplusplus extern "C" { #endif /***************************************************************************** * SDL DTD versioning defines *****************************************************************************/ /* * The first version */ #define SDL_DTD_VERSION 1 /* * The first minor version */ #define SDL_DTD_1_0 0 /* * Virpage levels went from 1-n. * Any virpage with a level of * zero (or less) are hidden. */ #define SDL_DTD_1_1 1 /***************************************************************************** * Attribute type enumerations *****************************************************************************/ enum SdlAttrDataType { /* bad data type */ SdlAttrDataTypeInvalid, /* valid data types */ SdlAttrDataTypeId , SdlAttrDataTypeNumber, SdlAttrDataTypeCdata, SdlAttrDataTypeFont, SdlAttrDataTypeEnum }; /***************************************************************************** * Option enumerations *****************************************************************************/ enum sdlOption { /* * all _DtCv enums are from the canvas engine */ /* bad option indicator */ SdlOptionBad = _DtCvOPTION_BAD, /* string breakng types */ SdlLiteral = _DtCvLITERAL, SdlDynamic = _DtCvDYNAMIC, /* table border types */ SdlBorderNone = _DtCvBORDER_NONE, SdlBorderFull = _DtCvBORDER_FULL, SdlBorderHorz = _DtCvBORDER_HORZ, SdlBorderVert = _DtCvBORDER_VERT, SdlBorderTop = _DtCvBORDER_TOP, SdlBorderBottom = _DtCvBORDER_BOTTOM, SdlBorderLeft = _DtCvBORDER_LEFT, SdlBorderRight = _DtCvBORDER_RIGHT, /* horizontal orientation */ SdlJustifyLeftCorner = _DtCvJUSTIFY_LEFT_CORNER, SdlJustifyLeft = _DtCvJUSTIFY_LEFT, SdlJustifyLeftMargin = _DtCvJUSTIFY_LEFT_MARGIN, SdlJustifyCenter = _DtCvJUSTIFY_CENTER, SdlJustifyRightMargin = _DtCvJUSTIFY_RIGHT_MARGIN, SdlJustifyRight = _DtCvJUSTIFY_RIGHT, SdlJustifyRightCorner = _DtCvJUSTIFY_RIGHT_CORNER, /* extra horizontal text placement */ SdlJustifyNum = _DtCvJUSTIFY_NUM, /* extra vertical orientation */ SdlJustifyTop = _DtCvJUSTIFY_TOP, SdlJustifyBottom = _DtCvJUSTIFY_BOTTOM, /* flow types */ SdlWrap = _DtCvWRAP, SdlNoWrap = _DtCvWRAP_NONE, SdlWrapJoin = _DtCvWRAP_JOIN, /* SDL specific options */ /* Boolean */ SdlBoolYes , SdlBoolNo , /* key classes */ SdlClassAcro , SdlClassBook , SdlClassEmph , SdlClassJargon , SdlClassL10n , SdlClassName , SdlClassQuote , SdlClassProduct, SdlClassTermdef , SdlClassTerm , SdlClassMachIn , SdlClassMachOut, SdlClassMachCont, SdlClassPubLit , SdlClassUdefkey , /* head classes */ SdlClassLabel , SdlClassHead , SdlClassCaption , SdlClassAnnotation, SdlClassPHead, SdlClassUdefhead, /* format classes */ SdlClassTable , SdlClassCell , SdlClassList, SdlClassItem , SdlClassText , SdlClassUdeffrmt, /* graphic classes */ SdlClassFigure, SdlClassInLine , SdlClassButton , SdlClassIcon , SdlClassUdefgraph, /* phrase styles */ SdlClassSuper , SdlClassSub , /* apps types */ SdlAppAll , SdlAppHelp , SdlAppTutorial , SdlAppRef , SdlAppSys , /* timing */ SdlTimingSync , SdlTimingAsync , /* types */ SdlTypeLiteral , SdlTypeLined , SdlTypeDynamic , SdlTypeUnlinedLiteral, SdlTypeCdata , /* links */ SdlWindowCurrent , SdlWindowNew, SdlWindowPopup, /* traversal */ SdlTraversalReturn, SdlTraversalNoReturn, /* types */ SdlIdVirpage , SdlIdBlock , SdlIdForm , SdlIdPara , SdlIdCPara , SdlIdHead , SdlIdSubHead , SdlIdAnchor , SdlIdSwitch , SdlIdSnRef , SdlIdGraphic , SdlIdText , SdlIdAudio , SdlIdVideo , SdlIdAnimate , SdlIdCrossDoc, SdlIdManPage , SdlIdTextFile, SdlIdSysCmd , SdlIdScript , SdlIdCallback, /*