typedef
enum
Constants
{
xlAll = 0xFFFFEFF8 ,
xlAutomatic = 0xFFFFEFF7 ,
xlBoth = 1 ,
xlCenter = 0xFFFFEFF4 ,
xlChecker = 9 ,
xlCircle = 8 ,
xlCorner = 2 ,
xlCrissCross = 16 ,
xlCross = 4 ,
xlDiamond = 2 ,
xlDistributed = 0xFFFFEFEB ,
xlDoubleAccounting = 5 ,
xlFixedValue = 1 ,
xlFormats = 0xFFFFEFE6 ,
xlGray16 = 17 ,
xlGray8 = 18 ,
xlGrid = 15 ,
xlHigh = 0xFFFFEFE1 ,
xlInside = 2 ,
xlJustify = 0xFFFFEFDE ,
xlLightDown = 13 ,
xlLightHorizontal = 11 ,
xlLightUp = 14 ,
xlLightVertical = 12 ,
xlLow = 0xFFFFEFDA ,
xlManual = 0xFFFFEFD9 ,
xlMinusValues = 3 ,
xlModule = 0xFFFFEFD3 ,
xlNextToAxis = 4 ,
xlNone = 0xFFFFEFD2 ,
xlNotes = 0xFFFFEFD0 ,
xlOff = 0xFFFFEFCE ,
xlOn = 1 ,
xlPercent = 2 ,
xlPlus = 9 ,
xlPlusValues = 2 ,
xlSemiGray75 = 10 ,
xlShowLabel = 4 ,
xlShowLabelAndPercent = 5 ,
xlShowPercent = 3 ,
xlShowValue = 2 ,
xlSimple = 0xFFFFEFC6 ,
xlSingle = 2 ,
xlSingleAccounting = 4 ,
xlSolid = 1 ,
xlSquare = 1 ,
xlStar = 5 ,
xlStError = 4 ,
xlToolbarButton = 2 ,
xlTriangle = 3 ,
xlGray25 = 0xFFFFEFE4 ,
xlGray50 = 0xFFFFEFE3 ,
xlGray75 = 0xFFFFEFE2 ,
xlBottom = 0xFFFFEFF5 ,
xlLeft = 0xFFFFEFDD ,
xlRight = 0xFFFFEFC8 ,
xlTop = 0xFFFFEFC0 ,
xl3DBar = 0xFFFFEFFD ,
xl3DSurface = 0xFFFFEFF9 ,
xlBar = 2 ,
xlColumn = 3 ,
xlCombination = 0xFFFFEFF1 ,
xlCustom = 0xFFFFEFEE ,
xlDefaultAutoFormat = 0xFFFFFFFF ,
xlMaximum = 2 ,
xlMinimum = 4 ,
xlOpaque = 3 ,
xlTransparent = 2 ,
xlBidi = 0xFFFFEC78 ,
xlLatin = 0xFFFFEC77 ,
xlContext = 0xFFFFEC76 ,
xlLTR = 0xFFFFEC75 ,
xlRTL = 0xFFFFEC74 ,
xlFullScript = 1 ,
xlPartialScript = 2 ,
xlMixedScript = 3 ,
xlMixedAuthorizedScript = 4 ,
xlVisualCursor = 2 ,
xlLogicalCursor = 1 ,
xlSystem = 1 ,
xlPartial = 3 ,
xlHindiNumerals = 3 ,
xlBidiCalendar = 3 ,
xlGregorian = 2 ,
xlComplete = 4 ,
xlScale = 3 ,
xlClosed = 3 ,
xlColor1 = 7 ,
xlColor2 = 8 ,
xlColor3 = 9 ,
xlConstants = 2 ,
xlContents = 2 ,
xlBelow = 1 ,
xlCascade = 7 ,
xlCenterAcrossSelection = 7 ,
xlChart4 = 2 ,
xlChartSeries = 17 ,
xlChartShort = 6 ,
xlChartTitles = 18 ,
xlClassic1 = 1 ,
xlClassic2 = 2 ,
xlClassic3 = 3 ,
xl3DEffects1 = 13 ,
xl3DEffects2 = 14 ,
xlAbove = 0 ,
xlAccounting1 = 4 ,
xlAccounting2 = 5 ,
xlAccounting3 = 6 ,
xlAccounting4 = 17 ,
xlAdd = 2 ,
xlDebugCodePane = 13 ,
xlDesktop = 9 ,
xlDirect = 1 ,
xlDivide = 5 ,
xlDoubleClosed = 5 ,
xlDoubleOpen = 4 ,
xlDoubleQuote = 1 ,
xlEntireChart = 20 ,
xlExcelMenus = 1 ,
xlExtended = 3 ,
xlFill = 5 ,
xlFirst = 0 ,
xlFloating = 5 ,
xlFormula = 5 ,
xlGeneral = 1 ,
xlGridline = 22 ,
xlIcons = 1 ,
xlImmediatePane = 12 ,
xlInteger = 2 ,
xlLast = 1 ,
xlLastCell = 11 ,
xlList1 = 10 ,
xlList2 = 11 ,
xlList3 = 12 ,
xlLocalFormat1 = 15 ,
xlLocalFormat2 = 16 ,
xlLong = 3 ,
xlLotusHelp = 2 ,
xlMacrosheetCell = 7 ,
xlMixed = 2 ,
xlMultiply = 4 ,
xlNarrow = 1 ,
xlNoDocuments = 3 ,
xlOpen = 2 ,
xlOutside = 3 ,
xlReference = 4 ,
xlSemiautomatic = 2 ,
xlShort = 1 ,
xlSingleQuote = 2 ,
xlStrict = 2 ,
xlSubtract = 3 ,
xlTextBox = 16 ,
xlTiled = 1 ,
xlTitleBar = 8 ,
xlToolbar = 1 ,
xlVisible = 12 ,
xlWatchPane = 11 ,
xlWide = 3 ,
xlWorkbookTab = 6 ,
xlWorksheet4 = 1 ,
xlWorksheetCell = 3 ,
xlWorksheetShort = 5 ,
xlAllExceptBorders = 6 ,
xlLeftToRight = 2 ,
xlTopToBottom = 1 ,
xlVeryHidden = 2 ,
xlDrawingObject = 14
} Constants;
typedef enum XlBorderWeight
{
xlHairline = 1 ,
xlMedium = 0xFFFFEFD6 ,
xlThick = 4 ,
xlThin = 2
} XlBorderWeight;
typedef enum XlLineStyle
{
xlContinuous = 1 ,
xlDash = 0xFFFFEFED ,
xlDashDot = 4 ,
xlDashDotDot = 5 ,
xlDot = 0xFFFFEFEA ,
xlDouble = 0xFFFFEFE9 ,
xlSlantDashDot = 13 ,
xlLineStyleNone = 0xFFFFEFD2
} XlLineStyle;
typedef enum XlEditionOptionsOption
{
xlAutomaticUpdate = 4 ,
xlCancel = 1 ,
xlChangeAttributes = 6 ,
xlManualUpdate = 5 ,
xlOpenSource = 3 ,
xlSelect = 3 ,
xlSendPublisher = 2 ,
xlUpdateSubscriber = 2
} XlEditionOptionsOption;
typedef enum XlChartType
{
xlColumnClustered = 51 ,
xlColumnStacked = 52 ,
xlColumnStacked100 = 53 ,
xl3DColumnClustered = 54 ,
xl3DColumnStacked = 55 ,
xl3DColumnStacked100 = 56 ,
xlBarClustered = 57 ,
xlBarStacked = 58 ,
xlBarStacked100 = 59 ,
xl3DBarClustered = 60 ,
xl3DBarStacked = 61 ,
xl3DBarStacked100 = 62 ,
xlLineStacked = 63 ,
xlLineStacked100 = 64 ,
xlLineMarkers = 65 ,
xlLineMarkersStacked = 66 ,
xlLineMarkersStacked100 = 67 ,
xlPieOfPie = 68 ,
xlPieExploded = 69 ,
xl3DPieExploded = 70 ,
xlBarOfPie = 71 ,
xlXYScatterSmooth = 72 ,
xlXYScatterSmoothNoMarkers = 73 ,
xlXYScatterLines = 74 ,
xlXYScatterLinesNoMarkers = 75 ,
xlAreaStacked = 76 ,
xlAreaStacked100 = 77 ,
xl3DAreaStacked = 78 ,
xl3DAreaStacked100 = 79 ,
xlDoughnutExploded = 80 ,
xlRadarMarkers = 81 ,
xlRadarFilled = 82 ,
xlSurface = 83 ,
xlSurfaceWireframe = 84 ,
xlSurfaceTopView = 85 ,
xlSurfaceTopViewWireframe = 86 ,
xlBubble = 15 ,
xlBubble3DEffect = 87 ,
xlStockHLC = 88 ,
xlStockOHLC = 89 ,
xlStockVHLC = 90 ,
xlStockVOHLC = 91 ,
xlCylinderColClustered = 92 ,
xlCylinderColStacked = 93 ,
xlCylinderColStacked100 = 94 ,
xlCylinderBarClustered = 95 ,
xlCylinderBarStacked = 96 ,
xlCylinderBarStacked100 = 97 ,
xlCylinderCol = 98 ,
xlConeColClustered = 99 ,
xlConeColStacked = 100 ,
xlConeColStacked100 = 101 ,
xlConeBarClustered = 102 ,
xlConeBarStacked = 103 ,
xlConeBarStacked100 = 104 ,
xlConeCol = 105 ,
xlPyramidColClustered = 106 ,
xlPyramidColStacked = 107 ,
xlPyramidColStacked100 = 108 ,
xlPyramidBarClustered = 109 ,
xlPyramidBarStacked = 110 ,
xlPyramidBarStacked100 = 111 ,
xlPyramidCol = 112 ,
xl3DColumn = 0xFFFFEFFC ,
xlLine = 4 ,
xl3DLine = 0xFFFFEFFB ,
xl3DPie = 0xFFFFEFFA ,
xlPie = 5 ,
xlXYScatter = 0xFFFFEFB7 ,
xl3DArea = 0xFFFFEFFE ,
xlArea = 1 ,
xlDoughnut = 0xFFFFEFE8 ,
xlRadar = 0xFFFFEFC9
} XlChartType;
typedef enum XlChartItem
{
xlDataLabel = 0 ,
xlChartArea = 2 ,
xlSeries = 3 ,
xlChartTitle = 4 ,
xlWalls = 5 ,
xlCorners = 6 ,
xlDataTable = 7 ,
xlTrendline = 8 ,
xlErrorBars = 9 ,
xlXErrorBars = 10 ,
xlYErrorBars = 11 ,
xlLegendEntry = 12 ,
xlLegendKey = 13 ,
xlShape = 14 ,
xlMajorGridlines = 15 ,
xlMinorGridlines = 16 ,
xlAxisTitle = 17 ,
xlUpBars = 18 ,
xlPlotArea = 19 ,
xlDownBars = 20 ,
xlAxis = 21 ,
xlSeriesLines = 22 ,
xlFloor = 23 ,
xlLegend = 24 ,
xlHiLoLines = 25 ,
xlDropLines = 26 ,
xlRadarAxisLabels = 27 ,
xlNothing = 28 ,
xlLeaderLines = 29 ,
xlDisplayUnitLabel = 30 ,
xlPivotChartFieldButton = 31 ,
xlPivotChartDropZone = 32
} XlChartItem;
typedef enum XlRowCol
{
xlColumns = 2 ,
xlRows = 1
} XlRowCol;
typedef enum XlEnableSelection
{
xlNoRestrictions = 0 ,
xlUnlockedCells = 1 ,
xlNoSelection = 0xFFFFEFD2
} XlEnableSelection;
typedef enum XlOrientation
{
xlDownward = 0xFFFFEFB6 ,
xlHorizontal = 0xFFFFEFE0 ,
xlUpward = 0xFFFFEFB5 ,
xlVertical = 0xFFFFEFBA
} XlOrientation;
{
xlAll = 0xFFFFEFF8 ,
xlAutomatic = 0xFFFFEFF7 ,
xlBoth = 1 ,
xlCenter = 0xFFFFEFF4 ,
xlChecker = 9 ,
xlCircle = 8 ,
xlCorner = 2 ,
xlCrissCross = 16 ,
xlCross = 4 ,
xlDiamond = 2 ,
xlDistributed = 0xFFFFEFEB ,
xlDoubleAccounting = 5 ,
xlFixedValue = 1 ,
xlFormats = 0xFFFFEFE6 ,
xlGray16 = 17 ,
xlGray8 = 18 ,
xlGrid = 15 ,
xlHigh = 0xFFFFEFE1 ,
xlInside = 2 ,
xlJustify = 0xFFFFEFDE ,
xlLightDown = 13 ,
xlLightHorizontal = 11 ,
xlLightUp = 14 ,
xlLightVertical = 12 ,
xlLow = 0xFFFFEFDA ,
xlManual = 0xFFFFEFD9 ,
xlMinusValues = 3 ,
xlModule = 0xFFFFEFD3 ,
xlNextToAxis = 4 ,
xlNone = 0xFFFFEFD2 ,
xlNotes = 0xFFFFEFD0 ,
xlOff = 0xFFFFEFCE ,
xlOn = 1 ,
xlPercent = 2 ,
xlPlus = 9 ,
xlPlusValues = 2 ,
xlSemiGray75 = 10 ,
xlShowLabel = 4 ,
xlShowLabelAndPercent = 5 ,
xlShowPercent = 3 ,
xlShowValue = 2 ,
xlSimple = 0xFFFFEFC6 ,
xlSingle = 2 ,
xlSingleAccounting = 4 ,
xlSolid = 1 ,
xlSquare = 1 ,
xlStar = 5 ,
xlStError = 4 ,
xlToolbarButton = 2 ,
xlTriangle = 3 ,
xlGray25 = 0xFFFFEFE4 ,
xlGray50 = 0xFFFFEFE3 ,
xlGray75 = 0xFFFFEFE2 ,
xlBottom = 0xFFFFEFF5 ,
xlLeft = 0xFFFFEFDD ,
xlRight = 0xFFFFEFC8 ,
xlTop = 0xFFFFEFC0 ,
xl3DBar = 0xFFFFEFFD ,
xl3DSurface = 0xFFFFEFF9 ,
xlBar = 2 ,
xlColumn = 3 ,
xlCombination = 0xFFFFEFF1 ,
xlCustom = 0xFFFFEFEE ,
xlDefaultAutoFormat = 0xFFFFFFFF ,
xlMaximum = 2 ,
xlMinimum = 4 ,
xlOpaque = 3 ,
xlTransparent = 2 ,
xlBidi = 0xFFFFEC78 ,
xlLatin = 0xFFFFEC77 ,
xlContext = 0xFFFFEC76 ,
xlLTR = 0xFFFFEC75 ,
xlRTL = 0xFFFFEC74 ,
xlFullScript = 1 ,
xlPartialScript = 2 ,
xlMixedScript = 3 ,
xlMixedAuthorizedScript = 4 ,
xlVisualCursor = 2 ,
xlLogicalCursor = 1 ,
xlSystem = 1 ,
xlPartial = 3 ,
xlHindiNumerals = 3 ,
xlBidiCalendar = 3 ,
xlGregorian = 2 ,
xlComplete = 4 ,
xlScale = 3 ,
xlClosed = 3 ,
xlColor1 = 7 ,
xlColor2 = 8 ,
xlColor3 = 9 ,
xlConstants = 2 ,
xlContents = 2 ,
xlBelow = 1 ,
xlCascade = 7 ,
xlCenterAcrossSelection = 7 ,
xlChart4 = 2 ,
xlChartSeries = 17 ,
xlChartShort = 6 ,
xlChartTitles = 18 ,
xlClassic1 = 1 ,
xlClassic2 = 2 ,
xlClassic3 = 3 ,
xl3DEffects1 = 13 ,
xl3DEffects2 = 14 ,
xlAbove = 0 ,
xlAccounting1 = 4 ,
xlAccounting2 = 5 ,
xlAccounting3 = 6 ,
xlAccounting4 = 17 ,
xlAdd = 2 ,
xlDebugCodePane = 13 ,
xlDesktop = 9 ,
xlDirect = 1 ,
xlDivide = 5 ,
xlDoubleClosed = 5 ,
xlDoubleOpen = 4 ,
xlDoubleQuote = 1 ,
xlEntireChart = 20 ,
xlExcelMenus = 1 ,
xlExtended = 3 ,
xlFill = 5 ,
xlFirst = 0 ,
xlFloating = 5 ,
xlFormula = 5 ,
xlGeneral = 1 ,
xlGridline = 22 ,
xlIcons = 1 ,
xlImmediatePane = 12 ,
xlInteger = 2 ,
xlLast = 1 ,
xlLastCell = 11 ,
xlList1 = 10 ,
xlList2 = 11 ,
xlList3 = 12 ,
xlLocalFormat1 = 15 ,
xlLocalFormat2 = 16 ,
xlLong = 3 ,
xlLotusHelp = 2 ,
xlMacrosheetCell = 7 ,
xlMixed = 2 ,
xlMultiply = 4 ,
xlNarrow = 1 ,
xlNoDocuments = 3 ,
xlOpen = 2 ,
xlOutside = 3 ,
xlReference = 4 ,
xlSemiautomatic = 2 ,
xlShort = 1 ,
xlSingleQuote = 2 ,
xlStrict = 2 ,
xlSubtract = 3 ,
xlTextBox = 16 ,
xlTiled = 1 ,
xlTitleBar = 8 ,
xlToolbar = 1 ,
xlVisible = 12 ,
xlWatchPane = 11 ,
xlWide = 3 ,
xlWorkbookTab = 6 ,
xlWorksheet4 = 1 ,
xlWorksheetCell = 3 ,
xlWorksheetShort = 5 ,
xlAllExceptBorders = 6 ,
xlLeftToRight = 2 ,
xlTopToBottom = 1 ,
xlVeryHidden = 2 ,
xlDrawingObject = 14
} Constants;
typedef enum XlBorderWeight
{
xlHairline = 1 ,
xlMedium = 0xFFFFEFD6 ,
xlThick = 4 ,
xlThin = 2
} XlBorderWeight;
typedef enum XlLineStyle
{
xlContinuous = 1 ,
xlDash = 0xFFFFEFED ,
xlDashDot = 4 ,
xlDashDotDot = 5 ,
xlDot = 0xFFFFEFEA ,
xlDouble = 0xFFFFEFE9 ,
xlSlantDashDot = 13 ,
xlLineStyleNone = 0xFFFFEFD2
} XlLineStyle;
typedef enum XlEditionOptionsOption
{
xlAutomaticUpdate = 4 ,
xlCancel = 1 ,
xlChangeAttributes = 6 ,
xlManualUpdate = 5 ,
xlOpenSource = 3 ,
xlSelect = 3 ,
xlSendPublisher = 2 ,
xlUpdateSubscriber = 2
} XlEditionOptionsOption;
typedef enum XlChartType
{
xlColumnClustered = 51 ,
xlColumnStacked = 52 ,
xlColumnStacked100 = 53 ,
xl3DColumnClustered = 54 ,
xl3DColumnStacked = 55 ,
xl3DColumnStacked100 = 56 ,
xlBarClustered = 57 ,
xlBarStacked = 58 ,
xlBarStacked100 = 59 ,
xl3DBarClustered = 60 ,
xl3DBarStacked = 61 ,
xl3DBarStacked100 = 62 ,
xlLineStacked = 63 ,
xlLineStacked100 = 64 ,
xlLineMarkers = 65 ,
xlLineMarkersStacked = 66 ,
xlLineMarkersStacked100 = 67 ,
xlPieOfPie = 68 ,
xlPieExploded = 69 ,
xl3DPieExploded = 70 ,
xlBarOfPie = 71 ,
xlXYScatterSmooth = 72 ,
xlXYScatterSmoothNoMarkers = 73 ,
xlXYScatterLines = 74 ,
xlXYScatterLinesNoMarkers = 75 ,
xlAreaStacked = 76 ,
xlAreaStacked100 = 77 ,
xl3DAreaStacked = 78 ,
xl3DAreaStacked100 = 79 ,
xlDoughnutExploded = 80 ,
xlRadarMarkers = 81 ,
xlRadarFilled = 82 ,
xlSurface = 83 ,
xlSurfaceWireframe = 84 ,
xlSurfaceTopView = 85 ,
xlSurfaceTopViewWireframe = 86 ,
xlBubble = 15 ,
xlBubble3DEffect = 87 ,
xlStockHLC = 88 ,
xlStockOHLC = 89 ,
xlStockVHLC = 90 ,
xlStockVOHLC = 91 ,
xlCylinderColClustered = 92 ,
xlCylinderColStacked = 93 ,
xlCylinderColStacked100 = 94 ,
xlCylinderBarClustered = 95 ,
xlCylinderBarStacked = 96 ,
xlCylinderBarStacked100 = 97 ,
xlCylinderCol = 98 ,
xlConeColClustered = 99 ,
xlConeColStacked = 100 ,
xlConeColStacked100 = 101 ,
xlConeBarClustered = 102 ,
xlConeBarStacked = 103 ,
xlConeBarStacked100 = 104 ,
xlConeCol = 105 ,
xlPyramidColClustered = 106 ,
xlPyramidColStacked = 107 ,
xlPyramidColStacked100 = 108 ,
xlPyramidBarClustered = 109 ,
xlPyramidBarStacked = 110 ,
xlPyramidBarStacked100 = 111 ,
xlPyramidCol = 112 ,
xl3DColumn = 0xFFFFEFFC ,
xlLine = 4 ,
xl3DLine = 0xFFFFEFFB ,
xl3DPie = 0xFFFFEFFA ,
xlPie = 5 ,
xlXYScatter = 0xFFFFEFB7 ,
xl3DArea = 0xFFFFEFFE ,
xlArea = 1 ,
xlDoughnut = 0xFFFFEFE8 ,
xlRadar = 0xFFFFEFC9
} XlChartType;
typedef enum XlChartItem
{
xlDataLabel = 0 ,
xlChartArea = 2 ,
xlSeries = 3 ,
xlChartTitle = 4 ,
xlWalls = 5 ,
xlCorners = 6 ,
xlDataTable = 7 ,
xlTrendline = 8 ,
xlErrorBars = 9 ,
xlXErrorBars = 10 ,
xlYErrorBars = 11 ,
xlLegendEntry = 12 ,
xlLegendKey = 13 ,
xlShape = 14 ,
xlMajorGridlines = 15 ,
xlMinorGridlines = 16 ,
xlAxisTitle = 17 ,
xlUpBars = 18 ,
xlPlotArea = 19 ,
xlDownBars = 20 ,
xlAxis = 21 ,
xlSeriesLines = 22 ,
xlFloor = 23 ,
xlLegend = 24 ,
xlHiLoLines = 25 ,
xlDropLines = 26 ,
xlRadarAxisLabels = 27 ,
xlNothing = 28 ,
xlLeaderLines = 29 ,
xlDisplayUnitLabel = 30 ,
xlPivotChartFieldButton = 31 ,
xlPivotChartDropZone = 32
} XlChartItem;
typedef enum XlRowCol
{
xlColumns = 2 ,
xlRows = 1
} XlRowCol;
typedef enum XlEnableSelection
{
xlNoRestrictions = 0 ,
xlUnlockedCells = 1 ,
xlNoSelection = 0xFFFFEFD2
} XlEnableSelection;
typedef enum XlOrientation
{
xlDownward = 0xFFFFEFB6 ,
xlHorizontal = 0xFFFFEFE0 ,
xlUpward = 0xFFFFEFB5 ,
xlVertical = 0xFFFFEFBA
} XlOrientation;
轉自:http://blog.csdn.net/sgdgoodboy/archive/2007/12/28/1998343.aspx