📄 uexcel97.pas
字号:
unit UExcel97;
interface
uses Windows, ActiveX, Classes, Forms;
const
xlAll = $FFFFEFF8;
xlAutomatic = $FFFFEFF7;
xlBoth = $00000001;
xlCenter = $FFFFEFF4;
xlChecker = $00000009;
xlCircle = $00000008;
xlCorner = $00000002;
xlCrissCross = $00000010;
xlCross = $00000004;
xlDiamond = $00000002;
xlDistributed = $FFFFEFEB;
xlDoubleAccounting = $00000005;
xlFixedValue = $00000001;
xlFormats = $FFFFEFE6;
xlGray16 = $00000011;
xlGray8 = $00000012;
xlGrid = $0000000F;
xlHigh = $FFFFEFE1;
xlInside = $00000002;
xlJustify = $FFFFEFDE;
xlLightDown = $0000000D;
xlLightHorizontal = $0000000B;
xlLightUp = $0000000E;
xlLightVertical = $0000000C;
xlLow = $FFFFEFDA;
xlManual = $FFFFEFD9;
xlMinusValues = $00000003;
xlModule = $FFFFEFD3;
xlNextToAxis = $00000004;
xlNone = $FFFFEFD2;
xlNotes = $FFFFEFD0;
xlOff = $FFFFEFCE;
xlOn = $00000001;
xlPercent = $00000002;
xlPlus = $00000009;
xlPlusValues = $00000002;
xlSemiGray75 = $0000000A;
xlShowLabel = $00000004;
xlShowLabelAndPercent = $00000005;
xlShowPercent = $00000003;
xlShowValue = $00000002;
xlSimple = $FFFFEFC6;
xlSingle = $00000002;
xlSingleAccounting = $00000004;
xlSolid = $00000001;
xlSquare = $00000001;
xlStar = $00000005;
xlStError = $00000004;
xlToolbarButton = $00000002;
xlTriangle = $00000003;
xlGray25 = $FFFFEFE4;
xlGray50 = $FFFFEFE3;
xlGray75 = $FFFFEFE2;
xlBottom = $FFFFEFF5;
xlLeft = $FFFFEFDD;
xlRight = $FFFFEFC8;
xlTop = $FFFFEFC0;
xl3DBar = $FFFFEFFD;
xl3DSurface = $FFFFEFF9;
xlBar = $00000002;
xlColumn = $00000003;
xlCombination = $FFFFEFF1;
xlCustom = $FFFFEFEE;
xlDefaultAutoFormat = $FFFFFFFF;
xlMaximum = $00000002;
xlMinimum = $00000004;
xlOpaque = $00000003;
xlTransparent = $00000002;
xlBidi = $FFFFEC78;
xlLatin = $FFFFEC77;
xlContext = $FFFFEC76;
xlLTR = $FFFFEC75;
xlRTL = $FFFFEC74;
xlVisualCursor = $00000002;
xlLogicalCursor = $00000001;
xlSystem = $00000001;
xlPartial = $00000003;
xlHindiNumerals = $00000003;
xlBidiCalendar = $00000003;
xlGregorian = $00000002;
xlComplete = $00000004;
xlScale = $00000003;
xlClosed = $00000003;
xlColor1 = $00000007;
xlColor2 = $00000008;
xlColor3 = $00000009;
xlConstants = $00000002;
xlContents = $00000002;
xlBelow = $00000001;
xlCascade = $00000007;
xlCenterAcrossSelection = $00000007;
xlChart4 = $00000002;
xlChartSeries = $00000011;
xlChartShort = $00000006;
xlChartTitles = $00000012;
xlClassic1 = $00000001;
xlClassic2 = $00000002;
xlClassic3 = $00000003;
xl3DEffects1 = $0000000D;
xl3DEffects2 = $0000000E;
xlAbove = $00000000;
xlAccounting1 = $00000004;
xlAccounting2 = $00000005;
xlAccounting3 = $00000006;
xlAccounting4 = $00000011;
xlAdd = $00000002;
xlDebugCodePane = $0000000D;
xlDesktop = $00000009;
xlDirect = $00000001;
xlDivide = $00000005;
xlDoubleClosed = $00000005;
xlDoubleOpen = $00000004;
xlDoubleQuote = $00000001;
xlEntireChart = $00000014;
xlExcelMenus = $00000001;
xlExtended = $00000003;
xlFill = $00000005;
xlFirst = $00000000;
xlFloating = $00000005;
xlFormula = $00000005;
xlGeneral = $00000001;
xlGridline = $00000016;
xlIcons = $00000001;
xlImmediatePane = $0000000C;
xlInteger = $00000002;
xlLast = $00000001;
xlLastCell = $0000000B;
xlList1 = $0000000A;
xlList2 = $0000000B;
xlList3 = $0000000C;
xlLocalFormat1 = $0000000F;
xlLocalFormat2 = $00000010;
xlLong = $00000003;
xlLotusHelp = $00000002;
xlMacrosheetCell = $00000007;
xlMixed = $00000002;
xlMultiply = $00000004;
xlNarrow = $00000001;
xlNoDocuments = $00000003;
xlOpen = $00000002;
xlOutside = $00000003;
xlReference = $00000004;
xlSemiautomatic = $00000002;
xlShort = $00000001;
xlSingleQuote = $00000002;
xlStrict = $00000002;
xlSubtract = $00000003;
xlTextBox = $00000010;
xlTiled = $00000001;
xlTitleBar = $00000008;
xlToolbar = $00000001;
xlVisible = $0000000C;
xlWatchPane = $0000000B;
xlWide = $00000003;
xlWorkbookTab = $00000006;
xlWorksheet4 = $00000001;
xlWorksheetCell = $00000003;
xlWorksheetShort = $00000005;
xlAllExceptBorders = $00000006;
xlLeftToRight = $00000002;
xlTopToBottom = $00000001;
xlVeryHidden = $00000002;
xlDrawingObject = $0000000E;
// XlCreator constants
type
XlCreator = TOleEnum;
const
xlCreatorCode = $5843454C;
// XlChartGallery constants
type
XlChartGallery = TOleEnum;
const
xlBuiltIn = $00000015;
xlUserDefined = $00000016;
xlAnyGallery = $00000017;
// XlColorIndex constants
type
XlColorIndex = TOleEnum;
const
xlColorIndexAutomatic = $FFFFEFF7;
xlColorIndexNone = $FFFFEFD2;
// XlEndStyleCap constants
type
XlEndStyleCap = TOleEnum;
const
xlCap = $00000001;
xlNoCap = $00000002;
// XlRowCol constants
type
XlRowCol = TOleEnum;
const
xlColumns = $00000002;
xlRows = $00000001;
// XlScaleType constants
type
XlScaleType = TOleEnum;
const
xlScaleLinear = $FFFFEFDC;
xlScaleLogarithmic = $FFFFEFDB;
// XlDataSeriesType constants
type
XlDataSeriesType = TOleEnum;
const
xlAutoFill = $00000004;
xlChronological = $00000003;
xlGrowth = $00000002;
xlDataSeriesLinear = $FFFFEFDC;
// XlAxisCrosses constants
type
XlAxisCrosses = TOleEnum;
const
xlAxisCrossesAutomatic = $FFFFEFF7;
xlAxisCrossesCustom = $FFFFEFEE;
xlAxisCrossesMaximum = $00000002;
xlAxisCrossesMinimum = $00000004;
// XlAxisGroup constants
type
XlAxisGroup = TOleEnum;
const
xlPrimary = $00000001;
xlSecondary = $00000002;
// XlBackground constants
type
XlBackground = TOleEnum;
const
xlBackgroundAutomatic = $FFFFEFF7;
xlBackgroundOpaque = $00000003;
xlBackgroundTransparent = $00000002;
// XlWindowState constants
type
XlWindowState = TOleEnum;
const
xlMaximized = $FFFFEFD7;
xlMinimized = $FFFFEFD4;
xlNormal = $FFFFEFD1;
// XlAxisType constants
type
XlAxisType = TOleEnum;
const
xlCategory = $00000001;
xlSeriesAxis = $00000003;
xlValue = $00000002;
// XlArrowHeadLength constants
type
XlArrowHeadLength = TOleEnum;
const
xlArrowHeadLengthLong = $00000003;
xlArrowHeadLengthMedium = $FFFFEFD6;
xlArrowHeadLengthShort = $00000001;
// XlVAlign constants
type
XlVAlign = TOleEnum;
const
xlVAlignBottom = $FFFFEFF5;
xlVAlignCenter = $FFFFEFF4;
xlVAlignDistributed = $FFFFEFEB;
xlVAlignJustify = $FFFFEFDE;
xlVAlignTop = $FFFFEFC0;
// XlTickMark constants
type
XlTickMark = TOleEnum;
const
xlTickMarkCross = $00000004;
xlTickMarkInside = $00000002;
xlTickMarkNone = $FFFFEFD2;
xlTickMarkOutside = $00000003;
// XlErrorBarDirection constants
type
XlErrorBarDirection = TOleEnum;
const
xlX = $FFFFEFB8;
xlY = $00000001;
// XlErrorBarInclude constants
type
XlErrorBarInclude = TOleEnum;
const
xlErrorBarIncludeBoth = $00000001;
xlErrorBarIncludeMinusValues = $00000003;
xlErrorBarIncludeNone = $FFFFEFD2;
xlErrorBarIncludePlusValues = $00000002;
// XlDisplayBlanksAs constants
type
XlDisplayBlanksAs = TOleEnum;
const
xlInterpolated = $00000003;
xlNotPlotted = $00000001;
xlZero = $00000002;
// XlArrowHeadStyle constants
type
XlArrowHeadStyle = TOleEnum;
const
xlArrowHeadStyleClosed = $00000003;
xlArrowHeadStyleDoubleClosed = $00000005;
xlArrowHeadStyleDoubleOpen = $00000004;
xlArrowHeadStyleNone = $FFFFEFD2;
xlArrowHeadStyleOpen = $00000002;
// XlArrowHeadWidth constants
type
XlArrowHeadWidth = TOleEnum;
const
xlArrowHeadWidthMedium = $FFFFEFD6;
xlArrowHeadWidthNarrow = $00000001;
xlArrowHeadWidthWide = $00000003;
// XlHAlign constants
type
XlHAlign = TOleEnum;
const
xlHAlignCenter = $FFFFEFF4;
xlHAlignCenterAcrossSelection = $00000007;
xlHAlignDistributed = $FFFFEFEB;
xlHAlignFill = $00000005;
xlHAlignGeneral = $00000001;
xlHAlignJustify = $FFFFEFDE;
xlHAlignLeft = $FFFFEFDD;
xlHAlignRight = $FFFFEFC8;
// XlTickLabelPosition constants
type
XlTickLabelPosition = TOleEnum;
const
xlTickLabelPositionHigh = $FFFFEFE1;
xlTickLabelPositionLow = $FFFFEFDA;
xlTickLabelPositionNextToAxis = $00000004;
xlTickLabelPositionNone = $FFFFEFD2;
// XlLegendPosition constants
type
XlLegendPosition = TOleEnum;
const
xlLegendPositionBottom = $FFFFEFF5;
xlLegendPositionCorner = $00000002;
xlLegendPositionLeft = $FFFFEFDD;
xlLegendPositionRight = $FFFFEFC8;
xlLegendPositionTop = $FFFFEFC0;
// XlChartPictureType constants
type
XlChartPictureType = TOleEnum;
const
xlStackScale = $00000003;
xlStack = $00000002;
xlStretch = $00000001;
// XlChartPicturePlacement constants
type
XlChartPicturePlacement = TOleEnum;
const
xlSides = $00000001;
xlEnd = $00000002;
xlEndSides = $00000003;
xlFront = $00000004;
xlFrontSides = $00000005;
xlFrontEnd = $00000006;
xlAllFaces = $00000007;
// XlOrientation constants
type
XlOrientation = TOleEnum;
const
xlDownward = $FFFFEFB6;
xlHorizontal = $FFFFEFE0;
xlUpward = $FFFFEFB5;
xlVertical = $FFFFEFBA;
// XlTickLabelOrientation constants
type
XlTickLabelOrientation = TOleEnum;
const
xlTickLabelOrientationAutomatic = $FFFFEFF7;
xlTickLabelOrientationDownward = $FFFFEFB6;
xlTickLabelOrientationHorizontal = $FFFFEFE0;
xlTickLabelOrientationUpward = $FFFFEFB5;
xlTickLabelOrientationVertical = $FFFFEFBA;
// XlBorderWeight constants
type
XlBorderWeight = TOleEnum;
const
xlHairline = $00000001;
xlMedium = $FFFFEFD6;
xlThick = $00000004;
xlThin = $00000002;
// XlDataSeriesDate constants
type
XlDataSeriesDate = TOleEnum;
const
xlDay = $00000001;
xlMonth = $00000003;
xlWeekday = $00000002;
xlYear = $00000004;
// XlUnderlineStyle constants
type
XlUnderlineStyle = TOleEnum;
const
xlUnderlineStyleDouble = $FFFFEFE9;
xlUnderlineStyleDoubleAccounting = $00000005;
xlUnderlineStyleNone = $FFFFEFD2;
xlUnderlineStyleSingle = $00000002;
xlUnderlineStyleSingleAccounting = $00000004;
// XlErrorBarType constants
type
XlErrorBarType = TOleEnum;
const
xlErrorBarTypeCustom = $FFFFEFEE;
xlErrorBarTypeFixedValue = $00000001;
xlErrorBarTypePercent = $00000002;
xlErrorBarTypeStDev = $FFFFEFC5;
xlErrorBarTypeStError = $00000004;
// XlTrendlineType constants
type
XlTrendlineType = TOleEnum;
const
xlExponential = $00000005;
xlLinear = $FFFFEFDC;
xlLogarithmic = $FFFFEFDB;
xlMovingAvg = $00000006;
xlPolynomial = $00000003;
xlPower = $00000004;
// XlLineStyle constants
type
XlLineStyle = TOleEnum;
const
xlContinuous = $00000001;
xlDash = $FFFFEFED;
xlDashDot = $00000004;
xlDashDotDot = $00000005;
xlDot = $FFFFEFEA;
xlDouble = $FFFFEFE9;
xlSlantDashDot = $0000000D;
xlLineStyleNone = $FFFFEFD2;
// XlDataLabelsType constants
type
XlDataLabelsType = TOleEnum;
const
xlDataLabelsShowNone = $FFFFEFD2;
xlDataLabelsShowValue = $00000002;
xlDataLabelsShowPercent = $00000003;
xlDataLabelsShowLabel = $00000004;
xlDataLabelsShowLabelAndPercent = $00000005;
xlDataLabelsShowBubbleSizes = $00000006;
// XlMarkerStyle constants
type
XlMarkerStyle = TOleEnum;
const
xlMarkerStyleAutomatic = $FFFFEFF7;
xlMarkerStyleCircle = $00000008;
xlMarkerStyleDash = $FFFFEFED;
xlMarkerStyleDiamond = $00000002;
xlMarkerStyleDot = $FFFFEFEA;
xlMarkerStyleNone = $FFFFEFD2;
xlMarkerStylePicture = $FFFFEFCD;
xlMarkerStylePlus = $00000009;
xlMarkerStyleSquare = $00000001;
xlMarkerStyleStar = $00000005;
xlMarkerStyleTriangle = $00000003;
xlMarkerStyleX = $FFFFEFB8;
// XlPictureConvertorType constants
type
XlPictureConvertorType = TOleEnum;
const
xlBMP = $00000001;
xlCGM = $00000007;
xlDRW = $00000004;
xlDXF = $00000005;
xlEPS = $00000008;
xlHGL = $00000006;
xlPCT = $0000000D;
xlPCX = $0000000A;
xlPIC = $0000000B;
xlPLT = $0000000C;
xlTIF = $00000009;
xlWMF = $00000002;
xlWPG = $00000003;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -