include: Fix size of tomConstants enum.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=48577 Signed-off-by: Brendan Shanks <bshanks@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
bd0886f333
commit
0e408452a4
342
include/tom.idl
342
include/tom.idl
|
@ -25,185 +25,185 @@ cpp_quote("#endif")
|
||||||
|
|
||||||
typedef enum tagTomConstants
|
typedef enum tagTomConstants
|
||||||
{
|
{
|
||||||
tomFalse = 0,
|
tomFalse = (int) 0,
|
||||||
tomTrue = -1,
|
tomTrue = (int) -1,
|
||||||
tomUndefined = -9999999,
|
tomUndefined = (int) -9999999,
|
||||||
tomToggle = -9999998,
|
tomToggle = (int) -9999998,
|
||||||
tomAutoColor = -9999997,
|
tomAutoColor = (int) -9999997,
|
||||||
tomDefault = -9999996,
|
tomDefault = (int) -9999996,
|
||||||
tomSuspend = -9999995,
|
tomSuspend = (int) -9999995,
|
||||||
tomResume = -9999994,
|
tomResume = (int) -9999994,
|
||||||
|
|
||||||
/* ITextFont::Reset() modes */
|
/* ITextFont::Reset() modes */
|
||||||
tomApplyNow = 0,
|
tomApplyNow = (int) 0,
|
||||||
tomApplyLater = 1,
|
tomApplyLater = (int) 1,
|
||||||
tomTrackParms = 2,
|
tomTrackParms = (int) 2,
|
||||||
tomCacheParms = 3,
|
tomCacheParms = (int) 3,
|
||||||
tomApplyTmp = 4,
|
tomApplyTmp = (int) 4,
|
||||||
tomDisableSmartFont = 8,
|
tomDisableSmartFont = (int) 8,
|
||||||
tomEnableSmartFont = 9,
|
tomEnableSmartFont = (int) 9,
|
||||||
tomUsePoints = 10,
|
tomUsePoints = (int) 10,
|
||||||
tomUseTwips = 11,
|
tomUseTwips = (int) 11,
|
||||||
|
|
||||||
tomBackward = 0xc0000001,
|
tomBackward = (int) 0xc0000001,
|
||||||
tomForward = 0x3fffffff,
|
tomForward = (int) 0x3fffffff,
|
||||||
tomMove = 0,
|
tomMove = (int) 0,
|
||||||
tomExtend = 1,
|
tomExtend = (int) 1,
|
||||||
tomNoSelection = 0,
|
tomNoSelection = (int) 0,
|
||||||
tomSelectionIP = 1,
|
tomSelectionIP = (int) 1,
|
||||||
tomSelectionNormal = 2,
|
tomSelectionNormal = (int) 2,
|
||||||
tomSelectionFrame = 3,
|
tomSelectionFrame = (int) 3,
|
||||||
tomSelectionColumn = 4,
|
tomSelectionColumn = (int) 4,
|
||||||
tomSelectionRow = 5,
|
tomSelectionRow = (int) 5,
|
||||||
tomSelectionBlock = 6,
|
tomSelectionBlock = (int) 6,
|
||||||
tomSelectionInlineShape = 7,
|
tomSelectionInlineShape = (int) 7,
|
||||||
tomSelectionShape = 8,
|
tomSelectionShape = (int) 8,
|
||||||
tomSelStartActive = 1,
|
tomSelStartActive = (int) 1,
|
||||||
tomSelAtEOL = 2,
|
tomSelAtEOL = (int) 2,
|
||||||
tomSelOvertype = 4,
|
tomSelOvertype = (int) 4,
|
||||||
tomSelActive = 8,
|
tomSelActive = (int) 8,
|
||||||
tomSelReplace = 16,
|
tomSelReplace = (int) 16,
|
||||||
tomEnd = 0,
|
tomEnd = (int) 0,
|
||||||
tomStart = 32,
|
tomStart = (int) 32,
|
||||||
tomCollapseEnd = 0,
|
tomCollapseEnd = (int) 0,
|
||||||
tomCollapseStart = 1,
|
tomCollapseStart = (int) 1,
|
||||||
tomClientCoord = 256,
|
tomClientCoord = (int) 256,
|
||||||
tomNone = 0,
|
tomNone = (int) 0,
|
||||||
tomSingle = 1,
|
tomSingle = (int) 1,
|
||||||
tomWords = 2,
|
tomWords = (int) 2,
|
||||||
tomDouble = 3,
|
tomDouble = (int) 3,
|
||||||
tomDotted = 4,
|
tomDotted = (int) 4,
|
||||||
tomDash = 5,
|
tomDash = (int) 5,
|
||||||
tomDashDot = 6,
|
tomDashDot = (int) 6,
|
||||||
tomDashDotDot = 7,
|
tomDashDotDot = (int) 7,
|
||||||
tomWave = 8,
|
tomWave = (int) 8,
|
||||||
tomThick = 9,
|
tomThick = (int) 9,
|
||||||
tomHair = 10,
|
tomHair = (int) 10,
|
||||||
tomLineSpaceSingle = 0,
|
tomLineSpaceSingle = (int) 0,
|
||||||
tomLineSpace1pt5 = 1,
|
tomLineSpace1pt5 = (int) 1,
|
||||||
tomLineSpaceDouble = 2,
|
tomLineSpaceDouble = (int) 2,
|
||||||
tomLineSpaceAtLeast = 3,
|
tomLineSpaceAtLeast = (int) 3,
|
||||||
tomLineSpaceExactly = 4,
|
tomLineSpaceExactly = (int) 4,
|
||||||
tomLineSpaceMultiple = 5,
|
tomLineSpaceMultiple = (int) 5,
|
||||||
tomAlignLeft = 0,
|
tomAlignLeft = (int) 0,
|
||||||
tomAlignCenter = 1,
|
tomAlignCenter = (int) 1,
|
||||||
tomAlignRight = 2,
|
tomAlignRight = (int) 2,
|
||||||
tomAlignJustify = 3,
|
tomAlignJustify = (int) 3,
|
||||||
tomAlignDecimal = 3,
|
tomAlignDecimal = (int) 3,
|
||||||
tomAlignBar = 4,
|
tomAlignBar = (int) 4,
|
||||||
tomAlignInterWord = 3,
|
tomAlignInterWord = (int) 3,
|
||||||
tomAlignInterLetter = 4,
|
tomAlignInterLetter = (int) 4,
|
||||||
tomAlignScaled = 5,
|
tomAlignScaled = (int) 5,
|
||||||
tomAlignGlyphs = 6,
|
tomAlignGlyphs = (int) 6,
|
||||||
tomAlignSnapGrid = 7,
|
tomAlignSnapGrid = (int) 7,
|
||||||
tomSpaces = 0,
|
tomSpaces = (int) 0,
|
||||||
tomDots = 1,
|
tomDots = (int) 1,
|
||||||
tomDashes = 2,
|
tomDashes = (int) 2,
|
||||||
tomLines = 3,
|
tomLines = (int) 3,
|
||||||
tomThickLines = 4,
|
tomThickLines = (int) 4,
|
||||||
tomEquals = 5,
|
tomEquals = (int) 5,
|
||||||
tomTabBack = -3,
|
tomTabBack = (int) -3,
|
||||||
tomTabNext = -2,
|
tomTabNext = (int) -2,
|
||||||
tomTabHere = -1,
|
tomTabHere = (int) -1,
|
||||||
tomListBullet = 1,
|
tomListBullet = (int) 1,
|
||||||
tomListNumberAsArabic = 2,
|
tomListNumberAsArabic = (int) 2,
|
||||||
tomListNumberAsLCLetter = 3,
|
tomListNumberAsLCLetter = (int) 3,
|
||||||
tomListNumberAsUCLetter = 4,
|
tomListNumberAsUCLetter = (int) 4,
|
||||||
tomListNumberAsLCRoman = 5,
|
tomListNumberAsLCRoman = (int) 5,
|
||||||
tomListNumberAsUCRoman = 6,
|
tomListNumberAsUCRoman = (int) 6,
|
||||||
tomListNumberAsSequence = 7,
|
tomListNumberAsSequence = (int) 7,
|
||||||
tomListParentheses = 0x10000,
|
tomListParentheses = (int) 0x10000,
|
||||||
tomListPeriod = 0x20000,
|
tomListPeriod = (int) 0x20000,
|
||||||
tomListPlain = 0x30000,
|
tomListPlain = (int) 0x30000,
|
||||||
tomCharacter = 1,
|
tomCharacter = (int) 1,
|
||||||
tomWord = 2,
|
tomWord = (int) 2,
|
||||||
tomSentence = 3,
|
tomSentence = (int) 3,
|
||||||
tomParagraph = 4,
|
tomParagraph = (int) 4,
|
||||||
tomLine = 5,
|
tomLine = (int) 5,
|
||||||
tomStory = 6,
|
tomStory = (int) 6,
|
||||||
tomScreen = 7,
|
tomScreen = (int) 7,
|
||||||
tomSection = 8,
|
tomSection = (int) 8,
|
||||||
tomColumn = 9,
|
tomColumn = (int) 9,
|
||||||
tomRow = 10,
|
tomRow = (int) 10,
|
||||||
tomWindow = 11,
|
tomWindow = (int) 11,
|
||||||
tomCell = 12,
|
tomCell = (int) 12,
|
||||||
tomCharFormat = 13,
|
tomCharFormat = (int) 13,
|
||||||
tomParaFormat = 14,
|
tomParaFormat = (int) 14,
|
||||||
tomTable = 15,
|
tomTable = (int) 15,
|
||||||
tomObject = 16,
|
tomObject = (int) 16,
|
||||||
tomMatchWord = 2,
|
tomMatchWord = (int) 2,
|
||||||
tomMatchCase = 4,
|
tomMatchCase = (int) 4,
|
||||||
tomMatchPattern = 8,
|
tomMatchPattern = (int) 8,
|
||||||
|
|
||||||
/* ITextRange story type values */
|
/* ITextRange story type values */
|
||||||
tomUnknownStory = 0,
|
tomUnknownStory = (int) 0,
|
||||||
tomMainTextStory = 1,
|
tomMainTextStory = (int) 1,
|
||||||
tomFootnotesStory = 2,
|
tomFootnotesStory = (int) 2,
|
||||||
tomEndnotesStory = 3,
|
tomEndnotesStory = (int) 3,
|
||||||
tomCommentsStory = 4,
|
tomCommentsStory = (int) 4,
|
||||||
tomTextFrameStory = 5,
|
tomTextFrameStory = (int) 5,
|
||||||
tomEvenPagesHeaderStory = 6,
|
tomEvenPagesHeaderStory = (int) 6,
|
||||||
tomPrimaryHeaderStory = 7,
|
tomPrimaryHeaderStory = (int) 7,
|
||||||
tomEvenPagesFooterStory = 8,
|
tomEvenPagesFooterStory = (int) 8,
|
||||||
tomPrimaryFooterStory = 9,
|
tomPrimaryFooterStory = (int) 9,
|
||||||
tomFirstPageHeaderStory = 10,
|
tomFirstPageHeaderStory = (int) 10,
|
||||||
tomFirstPageFooterStory = 11,
|
tomFirstPageFooterStory = (int) 11,
|
||||||
|
|
||||||
/* ITextFont animation property */
|
/* ITextFont animation property */
|
||||||
tomNoAnimation = 0,
|
tomNoAnimation = (int) 0,
|
||||||
tomLasVegasLights = 1,
|
tomLasVegasLights = (int) 1,
|
||||||
tomBlinkingBackground = 2,
|
tomBlinkingBackground = (int) 2,
|
||||||
tomSparkleText = 3,
|
tomSparkleText = (int) 3,
|
||||||
tomMarchingBlackAnts = 4,
|
tomMarchingBlackAnts = (int) 4,
|
||||||
tomMarchingRedAnts = 5,
|
tomMarchingRedAnts = (int) 5,
|
||||||
tomShimmer = 6,
|
tomShimmer = (int) 6,
|
||||||
tomWipeDown = 7,
|
tomWipeDown = (int) 7,
|
||||||
tomWipeRight = 8,
|
tomWipeRight = (int) 8,
|
||||||
tomAnimationMax = 8,
|
tomAnimationMax = (int) 8,
|
||||||
|
|
||||||
tomLowerCase = 0,
|
tomLowerCase = (int) 0,
|
||||||
tomUpperCase = 1,
|
tomUpperCase = (int) 1,
|
||||||
tomTitleCase = 2,
|
tomTitleCase = (int) 2,
|
||||||
tomSentenceCase = 4,
|
tomSentenceCase = (int) 4,
|
||||||
tomToggleCase = 5,
|
tomToggleCase = (int) 5,
|
||||||
tomReadOnly = 0x100,
|
tomReadOnly = (int) 0x100,
|
||||||
tomShareDenyRead = 0x200,
|
tomShareDenyRead = (int) 0x200,
|
||||||
tomShareDenyWrite = 0x400,
|
tomShareDenyWrite = (int) 0x400,
|
||||||
tomPasteFile = 0x1000,
|
tomPasteFile = (int) 0x1000,
|
||||||
tomCreateNew = 0x10,
|
tomCreateNew = (int) 0x10,
|
||||||
tomCreateAlways = 0x20,
|
tomCreateAlways = (int) 0x20,
|
||||||
tomOpenExisting = 0x30,
|
tomOpenExisting = (int) 0x30,
|
||||||
tomOpenAlways = 0x40,
|
tomOpenAlways = (int) 0x40,
|
||||||
tomTruncateExisting = 0x50,
|
tomTruncateExisting = (int) 0x50,
|
||||||
tomRTF = 0x1,
|
tomRTF = (int) 0x1,
|
||||||
tomText = 0x2,
|
tomText = (int) 0x2,
|
||||||
tomHTML = 0x3,
|
tomHTML = (int) 0x3,
|
||||||
tomWordDocument = 0x4,
|
tomWordDocument = (int) 0x4,
|
||||||
tomBold = 0x80000001,
|
tomBold = (int) 0x80000001,
|
||||||
tomItalic = 0x80000002,
|
tomItalic = (int) 0x80000002,
|
||||||
tomUnderline = 0x80000004,
|
tomUnderline = (int) 0x80000004,
|
||||||
tomStrikeout = 0x80000008,
|
tomStrikeout = (int) 0x80000008,
|
||||||
tomProtected = 0x80000010,
|
tomProtected = (int) 0x80000010,
|
||||||
tomLink = 0x80000020,
|
tomLink = (int) 0x80000020,
|
||||||
tomSmallCaps = 0x80000040,
|
tomSmallCaps = (int) 0x80000040,
|
||||||
tomAllCaps = 0x80000080,
|
tomAllCaps = (int) 0x80000080,
|
||||||
tomHidden = 0x80000100,
|
tomHidden = (int) 0x80000100,
|
||||||
tomOutline = 0x80000200,
|
tomOutline = (int) 0x80000200,
|
||||||
tomShadow = 0x80000400,
|
tomShadow = (int) 0x80000400,
|
||||||
tomEmboss = 0x80000800,
|
tomEmboss = (int) 0x80000800,
|
||||||
tomImprint = 0x80001000,
|
tomImprint = (int) 0x80001000,
|
||||||
tomDisabled = 0x80002000,
|
tomDisabled = (int) 0x80002000,
|
||||||
tomRevised = 0x80004000,
|
tomRevised = (int) 0x80004000,
|
||||||
tomNormalCaret = 0,
|
tomNormalCaret = (int) 0,
|
||||||
tomKoreanBlockCaret = 0x1,
|
tomKoreanBlockCaret = (int) 0x1,
|
||||||
tomIncludeInset = 0x1,
|
tomIncludeInset = (int) 0x1,
|
||||||
tomIgnoreCurrentFont = 0,
|
tomIgnoreCurrentFont = (int) 0,
|
||||||
tomMatchFontCharset = 0x1,
|
tomMatchFontCharset = (int) 0x1,
|
||||||
tomMatchFontSignature = 0x2,
|
tomMatchFontSignature = (int) 0x2,
|
||||||
tomCharset = 0x80000000,
|
tomCharset = (int) 0x80000000,
|
||||||
tomRE10Mode = 0x1,
|
tomRE10Mode = (int) 0x1,
|
||||||
tomNoIME = 0x80000,
|
tomNoIME = (int) 0x80000,
|
||||||
tomSelfIME = 0x40000
|
tomSelfIME = (int) 0x40000
|
||||||
} tomConstants;
|
} tomConstants;
|
||||||
|
|
||||||
interface ITextRange;
|
interface ITextRange;
|
||||||
|
|
Loading…
Reference in New Issue