/* VISCONST.H - Visio Automation Constants
 * Copyright (C) 1991-1994 Shapeware Corporation. All rights reserved.
 */


#ifndef _VISCONST_H
#define _VISCONST_H

#define visApi                                    "visio.application"

#define visDeselect                               1
#define visSelect                                 2
#define visSubSelect                              3
#define visDeselectAll                            256

#define visNumber                                 32
#define visTypeUnits                              48
#define visPoints                                 50
#define visPicas                                  51
#define visDidots                                 53
#define visCiceros                                54
#define visPageUnits                              63
#define visDrawingUnits                           64
#define visInches                                 65
#define visFeet                                   66
#define visMiles                                  68
#define visCentimeters                            69
#define visMillimeters                            70
#define visMeters                                 71
#define visKilometers                             72
#define visInchFrac                               73
#define visMileFrac                               74
#define visYards                                  75
#define visAngleUnits                             80
#define visDegrees                                81
#define visDegreeMinSec                           82
#define visRadians                                83
#define visMin                                    84
#define visSec                                    85

#define visPrintSetup                             0
#define visTight                                  1
#define visStandard                               2
#define visCustom                                 3
#define visLogical                                4

#define visNoScale                                0
#define visArchitectural                          1
#define visEngineering                            2
#define visScaleCustom                            3

#define visRulerFine                              32
#define visRulerNormal                            16
#define visRulerCoarse                            8

#define visGridFine                               8
#define visGridNormal                             4
#define visGridCoarse                             2

#define visDrawing                                1
#define visStencil                                2
#define visSheet                                  3
#define visIcon                                   4

#define visLeft                                   1
#define visCenter                                 2
#define visRight                                  3

#define visNormal                                 1
#define visTall                                   2
#define visWide                                   3
#define visDouble                                 4

#define visAutomatic                              1
#define visManual                                 0

#define visConnectError                           -1
#define visNone                                   0

#define visConnectFromError                       -1
#define visFromNone                               0
#define visLeftEdge                               1
#define visCenterEdge                             2
#define visRightEdge                              3
#define visBottomEdge                             4
#define visMiddleEdge                             5
#define visTopEdge                                6
#define visBeginX                                 7
#define visBeginY                                 8
#define visBegin                                  9
#define visEndX                                   10
#define visEndY                                   11
#define visEnd                                    12
#define visControlPoint                           100

#define visConnectToError                         -1
#define visToNone                                 0
#define visGuideX                                 1
#define visGuideY                                 2
#define visConnectionPoint                        100
#define visWholeShape                             3

#define visPoint                                  1
#define visHorz                                   2
#define visVert                                   3

#define visTypeStyle                              6
#define visTypeGroup                              2
#define visTypeShape                              3
#define visTypeForeignObject                      4
#define visTypeGuide                              5

#define visBold                                   1
#define visItalic                                 2
#define visUnderLine                              4
#define visSmallCaps                              8

#define visCaseNormal                             0
#define visCaseAllCaps                            1
#define visCaseInitialCaps                        2

#define visPosNormal                              0
#define visPosSuper                               1
#define visPosSub                                 2

#define visHorzLeft                               0
#define visHorzCenter                             1
#define visHorzRight                              2
#define visHorzJustify                            3
#define visHorzForce                              4

#define visTabStopLeft                            0
#define visTabStopCenter                          1
#define visTabStopRight                           2
#define visTabStopDecimal                         3
#define visTabStopComma                           4

#define visVertTop                                0
#define visVertMiddle                             1
#define visVertBottom                             2

#define visNoFill                                 0
#define visSolid                                  1
#define visWideUpDiagonal                         2
#define visWideCross                              3
#define visWideDiagonalCross                      4
#define visWideDownDiagonal                       5
#define visWideHorz                               6
#define visWideVert                               7
#define visBackDotsMini                           8
#define visHalfAndHalf                            9
#define visForeDotsMini                           10
#define visForeDotsNarrow                         11
#define visForeDotsWide                           12
#define visThickHorz                              13
#define visThickVertical                          14
#define visThickDownDiagonal                      15
#define visThickUpDiagonal                        16
#define visThickDiagonalCross                     17
#define visBackDotsWide                           18
#define visThinHorz                               19
#define visThinVert                               20
#define visThinDownDiagonal                       21
#define visThinUpDiagonal                         22
#define visThinCross                              23
#define visThinDiagonalCross                      24

#define visTransparent                            0

#define visBlack                                  0
#define visWhite                                  1
#define visRed                                    2
#define visGreen                                  3
#define visBlue                                   4
#define visYellow                                 5
#define visMagenta                                6
#define visCyan                                   7
#define visDarkRed                                8
#define visDarkGreen                              9
#define visDarkBlue                               10
#define visDarkYellow                             11
#define visPurple                                 12
#define visDarkCyan                               13
#define visGray                                   14
#define visGray10                                 15
#define visGray20                                 16
#define visGray30                                 17
#define visGray40                                 18
#define visDarkGray                               19
#define visGray50                                 19
#define visGray60                                 20
#define visGray70                                 21
#define visGray80                                 22
#define visGray90                                 23

#define visSectionFirst                           0
#define visSectionLastComponent                   250
#define visSectionLast                            252
#define visSectionText                            253
#define visSectionForeign                         254
#define visSectionNone                            255
#define visSectionObject                          1
#define visSectionMember                          2
#define visSectionCharacter                       3
#define visSectionParagraph                       4
#define visSectionTab                             5
#define visSectionScratch                         6
#define visSectionExport                          7
#define visSectionTextField                       8
#define visSectionControls                        9
#define visSectionFirstComponent                  10

#define visRowFirst                               0
#define visRowLast                                -2
#define visRowNone                                -1
#define visRowXFormOut                            1
#define visRowLine                                2
#define visRowFill                                3
#define visRowXForm1D                             4
#define visRowEvent                               5
#define visRowGuide                               7
#define visRowStyle                               8
#define visRowForeign                             9
#define visRowPage                                10
#define visRowText                                11
#define visRowTextXForm                           12
#define visRowXFormIn                             1
#define visRowAlign                               14
#define visRowLock                                15
#define visRowData123                             16
#define visRowMisc                                17
#define visRowMember                              0
#define visRowField                               0
#define visRowCharacter                           0
#define visRowParagraph                           0
#define visRowTab                                 0
#define visRowScratch                             0
#define visRowExport                              0
#define visRowControl                             0
#define visRowComponent                           0
#define visRowVertex                              1
#define visRowFormat                              0

#define visTagBase                                130
#define visTagTab0                                136
#define visTagComponent                           137
#define visTagMoveTo                              138
#define visTagLineTo                              139
#define visTagArcTo                               140
#define visTagEllipticalArcTo                     144
#define visTagTab2                                150
#define visTagTab10                               151
#define visTagInvalid                             -1

#define visX                                      0
#define visY                                      1
#define visBow                                    2
#define visEccentricityAngle                      4
#define visAspectRatio                            5
#define visControlX                               2
#define visControlY                               3

#define visCharacterFont                          0
#define visCharacterColor                         1
#define visCharacterStyle                         2
#define visCharacterCase                          3
#define visCharacterPos                           4
#define visCharacterSize                          7

#define visIndentFirst                            0
#define visIndentLeft                             1
#define visIndentRight                            2
#define visSpaceLine                              3
#define visSpaceBefore                            4
#define visSpaceAfter                             5
#define visHorzAlign                              6

#define visErrorSuccess                           0
#define visErrorDivideByZero                      39
#define visErrorValue                             47
#define visErrorReference                         55
#define visErrorName                              61
#define visErrorNumber                            68
#define visErrorNotAvailable                      74

#define visStatNormal                             0
#define visStatDeleted                            1
#define visStatTouched                            2

#define visCharPropRow                            1
#define visParaPropRow                            2
#define visTabPropRow                             3
#define visWordRun                                10
#define visParaRun                                11
#define visFieldRun                               20

#define visBiasLetVisioChoose                     0
#define visBiasLeft                               1
#define visBiasRight                              2

#define visFCatCustom                             0
#define visFCatDateTime                           1
#define visFCatDocument                           2
#define visFCatGeometry                           3
#define visFCatObject                             4
#define visFCatPage                               5
#define visFCatNotes                              6

#define visFCodeCreateDate                        0
#define visFCodeCreateTime                        1
#define visFCodeCurrentDate                       2
#define visFCodeCurrentTime                       3
#define visFCodeEditDate                          4
#define visFCodeEditTime                          5
#define visFCodePrintDate                         6
#define visFCodePrintTime                         7

#define visFCodeCreator                           0
#define visFCodeDescription                       1
#define visFCodeDirectory                         2
#define visFCodeFileName                          3
#define visFCodeKeyWords                          4
#define visFCodeSubject                           5
#define visFCodeTitle                             6

#define visFCodeWidth                             0
#define visFCodeHeight                            1
#define visFCodeAngle                             2

#define visFCodeData1                             0
#define visFCodeData2                             1
#define visFCodeData3                             2
#define visFCodeObjectID                          3
#define visFCodeMasterName                        4
#define visFCodeObjectName                        5
#define visFCodeObjectType                        6

#define visFCodeBackgroundName                    0
#define visFCodePageName                          1
#define visFCodeNumberOfPages                     2
#define visFCodePageNumber                        3

#define visFmtNumGenNoUnits                       0
#define visFmtNumGenDefUnits                      1

#define visFmt0PlNoUnits                          2
#define visFmt0PlDefUnits                         3
#define visFmt1PlNoUnits                          4
#define visFmt1PlDefUnits                         5
#define visFmt2PlNoUnits                          6
#define visFmt2PlDefUnits                         7
#define visFmt3PlNoUnits                          8
#define visFmt3PlDefUnits                         9

#define visFmtFeetAndInches                       10
#define visFmtRadians                             11
#define visFmtDegrees                             12
#define visFmtFeetAndInches1Pl                    13
#define visFmtFeetAndInches2Pl                    14

#define visFmtFraction1PlNoUnits                  15
#define visFmtFraction1PlDefUnits                 16
#define visFmtFraction2PlNoUnits                  17
#define visFmtFraction2PlDefUnits                 18

#define visFmtDateShort                           20
#define visFmtDateLong                            21
#define visFmtDateMDYY                            22
#define visFmtDateMMDDYY                          23
#define visFmtDateMmmDYYYY                        24
#define visFmtDateMmmmDYYYY                       25
#define visFmtDateDMYY                            26
#define visFmtDateDDMMYY                          27
#define visFmtDateDMMMYYYY                        28
#define visFmtDateDMMMMYYYY                       29

#define visFmtTimeGen                             30
#define visFmtTimeHMM                             31
#define visFmtTimeHHMM                            32
#define visFmtTimeHMM24                           33
#define visFmtTimeHHMM24                          34
#define visFmtTimeHMMAMPM                         35
#define visFmtTimeHHMMAMPM                        36

#define visFmtStrNormal                           37
#define visFmtStrLower                            38
#define visFmtStrUpper                            39

#define visVersionUnsaved                         0x0
#define visVersion10                              0x10023
#define visVersion20                              0x20000
#define visVersion30                              0x30003

#endif /* _VISCONST_H */
