playbook/docs/tsl/syntax_book/function/06_document_processing.md

352 KiB
Raw Blame History

文档处理函数

内容

  • Office访问相关函数
  • Excel处理函数
  • Word函数
  • PDF转换函数
  • 图片导出
  • 验证码支持

Office访问相关函数

内容
  • 模板执行函数
  • 初始化函数
  • 本地系统参数函数
  • 支持的Office常量函数列表
  • Office操作相关的类
模板执行函数
内容
  • WordTemplate
  • ExcelTemplate
WordTemplate
ExcelTemplate
初始化函数
内容
  • CoInitialize
  • CoUnInitialize
CoInitialize
CoUnInitialize
本地系统参数函数
内容
  • SetSysParams
  • GetSysParams
SetSysParams

用途:本地系统参数函数相关函数。 参数arg1按示例顺序传入。 返回:处理后的结果值。

范例

s0 := getsysparams();
echo tostn(s0), '\r\n';
r := setsysparams(array("StockID":"SZ000001"));
s1 := getsysparams();
echo r, ':', tostn(s1), '\r\n';

打印结果:

GetSysParams
支持的Office常量函数列表

TSL语言已经以函数的方式支持Office的绝大多数常量用户可以函数的方式来使用这些常量.

以下是所有支持的常量函数具体关于他们的用途以及使用方法请参考Office的相关帮助手册在本语言手册中不提供其用法

msoLineDashStyleMixed msoLineSolid
msoLineSquareDot msoLineRoundDot
msoLineDash msoLineDashDot
msoLineDashDotDot msoLineLongDash
msoLineLongDashDot msoLineStyleMixed
msoLineSingle msoLineThinThin
msoLineThinThick msoLineThickThin
msoLineThickBetweenThin msoArrowheadStyleMixed
msoArrowheadNone msoArrowheadTriangle
msoArrowheadOpen msoArrowheadStealth
msoArrowheadDiamond msoArrowheadOval
msoArrowheadWidthMixed msoArrowheadNarrow
msoArrowheadWidthMedium msoArrowheadWide
msoArrowheadLengthMixed msoArrowheadShort
msoArrowheadLengthMedium msoArrowheadLong
msoFillMixed msoFillSolid
msoFillPatterned msoFillGradient
msoFillTextured msoFillBackground
msoFillPicture msoGradientMixed
msoGradientHorizontal msoGradientVertical
msoGradientDiagonalUp msoGradientDiagonalDown
msoGradientFromCorner msoGradientFromTitle
msoGradientFromCenter msoGradientColorMixed
msoGradientOneColor msoGradientTwoColors
msoGradientPresetColors msoTextureTypeMixed
msoTexturePreset msoTextureUserDefined
msoPresetTextureMixed msoTexturePapyrus
msoTextureCanvas msoTextureDenim
msoTextureWovenMat msoTextureWaterDroplets
msoTexturePaperBag msoTextureFishFossil
msoTextureSand msoTextureGreenMarble
msoTextureWhiteMarble msoTextureBrownMarble
msoTextureGranite msoTextureNewsprint
msoTextureRecycledPaper msoTextureParchment
msoTextureStationery msoTextureBlueTissuePaper
msoTexturePinkTissuePaper msoTexturePurpleMesh
msoTextureBouquet msoTextureCork
msoTextureWalnut msoTextureOak
msoTextureMediumWood msoPatternMixed
msoPattern5Percent msoPattern10Percent
msoPattern20Percent msoPattern25Percent
msoPattern30Percent msoPattern40Percent
msoPattern50Percent msoPattern60Percent
msoPattern70Percent msoPattern75Percent
msoPattern80Percent msoPattern90Percent
msoPatternDarkHorizontal msoPatternDarkVertical
msoPatternDarkDownwardDiagonal msoPatternDarkUpwardDiagonal
msoPatternSmallCheckerBoard msoPatternTrellis
msoPatternLightHorizontal msoPatternLightVertical
msoPatternLightDownwardDiagonal msoPatternLightUpwardDiagonal
msoPatternSmallGrid msoPatternDottedDiamond
msoPatternWideDownwardDiagonal msoPatternWideUpwardDiagonal
msoPatternDashedUpwardDiagonal msoPatternDashedDownwardDiagonal
msoPatternNarrowVertical msoPatternNarrowHorizontal
msoPatternDashedVertical msoPatternDashedHorizontal
msoPatternLargeConfetti msoPatternLargeGrid
msoPatternHorizontalBrick msoPatternLargeCheckerBoard
msoPatternSmallConfetti msoPatternZigZag
msoPatternSolidDiamond msoPatternDiagonalBrick
msoPatternOutlinedDiamond msoPatternPlaid
msoPatternSphere msoPatternWeave
msoPatternDottedGrid msoPatternDivot
msoPatternShingle msoPatternWave
msoPresetGradientMixed msoGradientEarlySunset
msoGradientLateSunset msoGradientNightfall
msoGradientDaybreak msoGradientHorizon
msoGradientDesert msoGradientOcean
msoGradientCalmWater msoGradientFire
msoGradientFog msoGradientMoss
msoGradientPeacock msoGradientWheat
msoGradientParchment msoGradientMahogany
msoGradientRainbow msoGradientRainbowII
msoGradientGold msoGradientGoldII
msoGradientBrass msoGradientChrome
msoGradientChromeII msoGradientSilver
msoGradientSapphire msoShadowMixed
msoShadow1 msoShadow2
msoShadow3 msoShadow4
msoShadow5 msoShadow6
msoShadow7 msoShadow8
msoShadow9 msoShadow10
msoShadow11 msoShadow12
msoShadow13 msoShadow14
msoShadow15 msoShadow16
msoShadow17 msoShadow18
msoShadow19 msoShadow20
msoTextEffectMixed msoTextEffect1
msoTextEffect2 msoTextEffect3
msoTextEffect4 msoTextEffect5
msoTextEffect6 msoTextEffect7
msoTextEffect8 msoTextEffect9
msoTextEffect10 msoTextEffect11
msoTextEffect12 msoTextEffect13
msoTextEffect14 msoTextEffect15
msoTextEffect16 msoTextEffect17
msoTextEffect18 msoTextEffect19
msoTextEffect20 msoTextEffect21
msoTextEffect22 msoTextEffect23
msoTextEffect24 msoTextEffect25
msoTextEffect26 msoTextEffect27
msoTextEffect28 msoTextEffect29
msoTextEffect30 msoTextEffectShapeMixed
msoTextEffectShapePlainText msoTextEffectShapeStop
msoTextEffectShapeTriangleUp msoTextEffectShapeTriangleDown
msoTextEffectShapeChevronUp msoTextEffectShapeChevronDown
msoTextEffectShapeRingInside msoTextEffectShapeRingOutside
msoTextEffectShapeArchUpCurve msoTextEffectShapeArchDownCurve
msoTextEffectShapeCircleCurve msoTextEffectShapeButtonCurve
msoTextEffectShapeArchUpPour msoTextEffectShapeArchDownPour
msoTextEffectShapeCirclePour msoTextEffectShapeButtonPour
msoTextEffectShapeCurveUp msoTextEffectShapeCurveDown
msoTextEffectShapeCanUp msoTextEffectShapeCanDown
msoTextEffectShapeWave1 msoTextEffectShapeWave2
msoTextEffectShapeDoubleWave1 msoTextEffectShapeDoubleWave2
msoTextEffectShapeInflate msoTextEffectShapeDeflate
msoTextEffectShapeInflateBottom msoTextEffectShapeDeflateBottom
msoTextEffectShapeInflateTop msoTextEffectShapeDeflateTop
msoTextEffectShapeDeflateInflate msoTextEffectShapeDeflateInflateDeflate
msoTextEffectShapeFadeRight msoTextEffectShapeFadeLeft
msoTextEffectShapeFadeUp msoTextEffectShapeFadeDown
msoTextEffectShapeSlantUp msoTextEffectShapeSlantDown
msoTextEffectShapeCascadeUp msoTextEffectShapeCascadeDown
msoTextEffectAlignmentMixed msoTextEffectAlignmentLeft
msoTextEffectAlignmentCentered msoTextEffectAlignmentRight
msoTextEffectAlignmentLetterJustify msoTextEffectAlignmentWordJustify
msoTextEffectAlignmentStretchJustify msoPresetLightingDirectionMixed
msoLightingTopLeft msoLightingTop
msoLightingTopRight msoLightingLeft
msoLightingNone msoLightingRight
msoLightingBottomLeft msoLightingBottom
msoLightingBottomRight msoPresetLightingSoftnessMixed
msoLightingDim msoLightingNormal
msoLightingBright msoPresetMaterialMixed
msoMaterialMatte msoMaterialPlastic
msoMaterialMetal msoMaterialWireFrame
msoPresetExtrusionDirectionMixed msoExtrusionBottomRight
msoExtrusionBottom msoExtrusionBottomLeft
msoExtrusionRight msoExtrusionNone
msoExtrusionLeft msoExtrusionTopRight
msoExtrusionTop msoExtrusionTopLeft
msoPresetThreeDFormatMixed msoThreeD1
msoThreeD2 msoThreeD3
msoThreeD4 msoThreeD5
msoThreeD6 msoThreeD7
msoThreeD8 msoThreeD9
msoThreeD10 msoThreeD11
msoThreeD12 msoThreeD13
msoThreeD14 msoThreeD15
msoThreeD16 msoThreeD17
msoThreeD18 msoThreeD19
msoThreeD20 msoExtrusionColorTypeMixed
msoExtrusionColorAutomatic msoExtrusionColorCustom
msoAlignLefts msoAlignCenters
msoAlignRights msoAlignTops
msoAlignMiddles msoAlignBottoms
msoDistributeHorizontally msoDistributeVertically
msoConnectorTypeMixed msoConnectorStraight
msoConnectorElbow msoConnectorCurve
msoHorizontalAnchorMixed msoAnchorNone
msoAnchorCenter msoVerticalAnchorMixed
msoAnchorTop msoAnchorTopBaseline
msoAnchorMiddle msoAnchorBottom
msoAnchorBottomBaseLine msoOrientationMixed
msoOrientationHorizontal msoOrientationVertical
msoBringToFront msoSendToBack
msoBringForward msoSendBackward
msoBringInFrontOfText msoSendBehindText
msoSegmentLine msoSegmentCurve
msoEditingAuto msoEditingCorner
msoEditingSmooth msoEditingSymmetric
msoShapeMixed msoShapeRectangle
msoShapeParallelogram msoShapeTrapezoid
msoShapeDiamond msoShapeRoundedRectangle
msoShapeOctagon msoShapeIsoscelesTriangle
msoShapeRightTriangle msoShapeOval
msoShapeHexagon msoShapeCross
msoShapeRegularPentagon msoShapeCan
msoShapeCube msoShapeBevel
msoShapeFoldedCorner msoShapeSmileyFace
msoShapeDonut msoShapeNoSymbol
msoShapeBlockArc msoShapeHeart
msoShapeLightningBolt msoShapeSun
msoShapeMoon msoShapeArc
msoShapeDoubleBracket msoShapeDoubleBrace
msoShapePlaque msoShapeLeftBracket
msoShapeRightBracket msoShapeLeftBrace
msoShapeRightBrace msoShapeRightArrow
msoShapeLeftArrow msoShapeUpArrow
msoShapeDownArrow msoShapeLeftRightArrow
msoShapeUpDownArrow msoShapeQuadArrow
msoShapeLeftRightUpArrow msoShapeBentArrow
msoShapeUTurnArrow msoShapeLeftUpArrow
msoShapeBentUpArrow msoShapeCurvedRightArrow
msoShapeCurvedLeftArrow msoShapeCurvedUpArrow
msoShapeCurvedDownArrow msoShapeStripedRightArrow
msoShapeNotchedRightArrow msoShapePentagon
msoShapeChevron msoShapeRightArrowCallout
msoShapeLeftArrowCallout msoShapeUpArrowCallout
msoShapeDownArrowCallout msoShapeLeftRightArrowCallout
msoShapeUpDownArrowCallout msoShapeQuadArrowCallout
msoShapeCircularArrow msoShapeFlowchartProcess
msoShapeFlowchartAlternateProcess msoShapeFlowchartDecision
msoShapeFlowchartData msoShapeFlowchartPredefinedProcess
msoShapeFlowchartInternalStorage msoShapeFlowchartDocument
msoShapeFlowchartMultidocument msoShapeFlowchartTerminator
msoShapeFlowchartPreparation msoShapeFlowchartManualInput
msoShapeFlowchartManualOperation msoShapeFlowchartConnector
msoShapeFlowchartOffpageConnector msoShapeFlowchartCard
msoShapeFlowchartPunchedTape msoShapeFlowchartSummingJunction
msoShapeFlowchartOr msoShapeFlowchartCollate
msoShapeFlowchartSort msoShapeFlowchartExtract
msoShapeFlowchartMerge msoShapeFlowchartStoredData
msoShapeFlowchartDelay msoShapeFlowchartSequentialAccessStorage
msoShapeFlowchartMagneticDisk msoShapeFlowchartDirectAccessStorage
msoShapeFlowchartDisplay msoShapeExplosion1
msoShapeExplosion2 msoShape4pointStar
msoShape5pointStar msoShape8pointStar
msoShape16pointStar msoShape24pointStar
msoShape32pointStar msoShapeUpRibbon
msoShapeDownRibbon msoShapeCurvedUpRibbon
msoShapeCurvedDownRibbon msoShapeVerticalScroll
msoShapeHorizontalScroll msoShapeWave
msoShapeDoubleWave msoShapeRectangularCallout
msoShapeRoundedRectangularCallout msoShapeOvalCallout
msoShapeCloudCallout msoShapeLineCallout1
msoShapeLineCallout2 msoShapeLineCallout3
msoShapeLineCallout4 msoShapeLineCallout1AccentBar
msoShapeLineCallout2AccentBar msoShapeLineCallout3AccentBar
msoShapeLineCallout4AccentBar msoShapeLineCallout1NoBorder
msoShapeLineCallout2NoBorder msoShapeLineCallout3NoBorder
msoShapeLineCallout4NoBorder msoShapeLineCallout1BorderandAccentBar
msoShapeLineCallout2BorderandAccentBar msoShapeLineCallout3BorderandAccentBar
msoShapeLineCallout4BorderandAccentBar msoShapeActionButtonCustom
msoShapeActionButtonHome msoShapeActionButtonHelp
msoShapeActionButtonInformation msoShapeActionButtonBackorPrevious
msoShapeActionButtonForwardorNext msoShapeActionButtonBeginning
msoShapeActionButtonEnd msoShapeActionButtonReturn
msoShapeActionButtonDocument msoShapeActionButtonSound
msoShapeActionButtonMovie msoShapeBalloon
msoShapeNotPrimitive msoShapeTypeMixed
msoAutoShape msoCallout
msoChart msoComment
msoFreeform msoGroup
msoEmbeddedOLEObject msoFormControl
msoLine msoLinkedOLEObject
msoLinkedPicture msoOLEControlObject
msoPicture msoPlaceholder
msoTextEffect msoMedia
msoTextBox msoScriptAnchor
msoTable msoCanvas
msoDiagram msoFlipHorizontal
msoFlipVertical msoTrue
msoFalse msoCTrue
msoTriStateToggle msoTriStateMixed
msoColorTypeMixed msoColorTypeRGB
msoColorTypeScheme msoColorTypeCMYK
msoColorTypeCMS msoColorTypeInk
msoPictureMixed msoPictureAutomatic
msoPictureGrayscale msoPictureBlackAndWhite
msoPictureWatermark msoCalloutAngleMixed
msoCalloutAngleAutomatic msoCalloutAngle30
msoCalloutAngle45 msoCalloutAngle60
msoCalloutAngle90 msoCalloutDropMixed
msoCalloutDropCustom msoCalloutDropTop
msoCalloutDropCenter msoCalloutDropBottom
msoCalloutMixed msoCalloutOne
msoCalloutTwo msoCalloutThree
msoCalloutFour msoBlackWhiteMixed
msoBlackWhiteAutomatic msoBlackWhiteGrayScale
msoBlackWhiteLightGrayScale msoBlackWhiteInverseGrayScale
msoBlackWhiteGrayOutline msoBlackWhiteBlackTextAndLine
msoBlackWhiteHighContrast msoBlackWhiteBlack
msoBlackWhiteWhite msoBlackWhiteDontShow
msoIntegerMixed msoSingleMixed
msoTextOrientationMixed msoTextOrientationHorizontal
msoTextOrientationUpward msoTextOrientationDownward
msoTextOrientationVerticalFarEast msoTextOrientationVertical
msoTextOrientationHorizontalRotatedFarEast msoScaleFromTopLeft
msoScaleFromMiddle msoScaleFromBottomRight
msoBarLeft msoBarTop
msoBarRight msoBarBottom
msoBarFloating msoBarPopup
msoBarMenuBar msoBarNoProtection
msoBarNoCustomize msoBarNoResize
msoBarNoMove msoBarNoChangeVisible
msoBarNoChangeDock msoBarNoVerticalDock
msoBarNoHorizontalDock msoBarTypeNormal
msoBarTypeMenuBar msoBarTypePopup
msoControlCustom msoControlButton
msoControlEdit msoControlDropdown
msoControlComboBox msoControlButtonDropdown
msoControlSplitDropdown msoControlOCXDropdown
msoControlGenericDropdown msoControlGraphicDropdown
msoControlPopup msoControlGraphicPopup
msoControlButtonPopup msoControlSplitButtonPopup
msoControlSplitButtonMRUPopup msoControlLabel
msoControlExpandingGrid msoControlSplitExpandingGrid
msoControlGrid msoControlGauge
msoControlGraphicCombo msoControlPane
msoControlActiveX msoControlSpinner
msoControlLabelEx msoControlWorkPane
msoControlAutoCompleteCombo msoButtonUp
msoButtonDown msoButtonMixed
msoControlOLEUsageNeither msoControlOLEUsageServer
msoControlOLEUsageClient msoControlOLEUsageBoth
msoButtonWrapText msoButtonTextBelow
msoButtonAutomatic msoButtonIcon
msoButtonCaption msoButtonIconAndCaption
msoButtonIconAndWrapCaption msoButtonIconAndCaptionBelow
msoButtonWrapCaption msoButtonIconAndWrapCaptionBelow
msoComboNormal msoComboLabel
msoOLEMenuGroupNone msoOLEMenuGroupFile
msoOLEMenuGroupEdit msoOLEMenuGroupContainer
msoOLEMenuGroupObject msoOLEMenuGroupWindow
msoOLEMenuGroupHelp msoMenuAnimationNone
msoMenuAnimationRandom msoMenuAnimationUnfold
msoMenuAnimationSlide msoBarRowFirst
msoBarRowLast msoCommandBarButtonHyperlinkNone
msoCommandBarButtonHyperlinkOpen msoCommandBarButtonHyperlinkInsertPicture
msoHyperlinkRange msoHyperlinkShape
msoHyperlinkInlineShape msoMethodGet
msoMethodPost msoAnimationIdle
msoAnimationGreeting msoAnimationGoodbye
msoAnimationBeginSpeaking msoAnimationRestPose
msoAnimationCharacterSuccessMajor msoAnimationGetAttentionMajor
msoAnimationGetAttentionMinor msoAnimationSearching
msoAnimationPrinting msoAnimationGestureRight
msoAnimationWritingNotingSomething msoAnimationWorkingAtSomething
msoAnimationThinking msoAnimationSendingMail
msoAnimationListensToComputer msoAnimationDisappear
msoAnimationAppear msoAnimationGetArtsy
msoAnimationGetTechy msoAnimationGetWizardy
msoAnimationCheckingSomething msoAnimationLookDown
msoAnimationLookDownLeft msoAnimationLookDownRight
msoAnimationLookLeft msoAnimationLookRight
msoAnimationLookUp msoAnimationLookUpLeft
msoAnimationLookUpRight msoAnimationSaving
msoAnimationGestureDown msoAnimationGestureLeft
msoAnimationGestureUp msoAnimationEmptyTrash
msoButtonSetNone msoButtonSetOK
msoButtonSetCancel msoButtonSetOkCancel
msoButtonSetYesNo msoButtonSetYesNoCancel
msoButtonSetBackClose msoButtonSetNextClose
msoButtonSetBackNextClose msoButtonSetRetryCancel
msoButtonSetAbortRetryIgnore msoButtonSetSearchClose
msoButtonSetBackNextSnooze msoButtonSetTipsOptionsClose
msoButtonSetYesAllNoCancel msoIconNone
msoIconAlert msoIconTip
msoIconAlertInfo msoIconAlertWarning
msoIconAlertQuery msoIconAlertCritical
msoBalloonTypeButtons msoBalloonTypeBullets
msoBalloonTypeNumbers msoModeModal
msoModeAutoDown msoModeModeless
msoBalloonErrorNone msoBalloonErrorOther
msoBalloonErrorTooBig msoBalloonErrorOutOfMemory
msoBalloonErrorBadPictureRef msoBalloonErrorBadReference
msoBalloonErrorButtonlessModal msoBalloonErrorButtonModeless
msoBalloonErrorBadCharacter msoBalloonErrorCOMFailure
msoBalloonErrorCharNotTopmostForModal msoBalloonErrorTooManyControls
msoWizardActInactive msoWizardActActive
msoWizardActSuspend msoWizardActResume
msoWizardMsgLocalStateOn msoWizardMsgLocalStateOff
msoWizardMsgShowHelp msoWizardMsgSuspending
msoWizardMsgResuming msoBalloonButtonYesToAll
msoBalloonButtonOptions msoBalloonButtonTips
msoBalloonButtonClose msoBalloonButtonSnooze
msoBalloonButtonSearch msoBalloonButtonIgnore
msoBalloonButtonAbort msoBalloonButtonRetry
msoBalloonButtonNext msoBalloonButtonBack
msoBalloonButtonNo msoBalloonButtonYes
msoBalloonButtonCancel msoBalloonButtonOK
msoBalloonButtonNull msoPropertyTypeNumber
msoPropertyTypeBoolean msoPropertyTypeDate
msoPropertyTypeString msoPropertyTypeFloat
msoLanguageIDInstall msoLanguageIDUI
msoLanguageIDHelp msoLanguageIDExeMode
msoLanguageIDUIPrevious msoFeatureInstallNone
msoFeatureInstallOnDemand msoFeatureInstallOnDemandWithUI
msoScriptLanguageJava msoScriptLanguageVisualBasic
msoScriptLanguageASP msoScriptLanguageOther
msoScriptLocationInHead msoScriptLocationInBody
msoOptionsNew msoOptionsAdd
msoOptionsWithin msoViewFileInfo
msoViewPreview msoViewSummaryInfo
msoFileFindSortbyAuthor msoFileFindSortbyDateCreated
msoFileFindSortbyLastSavedBy msoFileFindSortbyDateSaved
msoFileFindSortbyFileName msoFileFindSortbySize
msoFileFindSortbyTitle msoListbyName
msoListbyTitle msoLastModifiedYesterday
msoLastModifiedToday msoLastModifiedLastWeek
msoLastModifiedThisWeek msoLastModifiedLastMonth
msoLastModifiedThisMonth msoLastModifiedAnyTime
msoSortByFileName msoSortBySize
msoSortByFileType msoSortByLastModified
msoSortByNone msoSortOrderAscending
msoSortOrderDescending msoConnectorAnd
msoConnectorOr msoConditionFileTypeAllFiles
msoConditionFileTypeOfficeFiles msoConditionFileTypeWordDocuments
msoConditionFileTypeExcelWorkbooks msoConditionFileTypePowerPointPresentations
msoConditionFileTypeBinders msoConditionFileTypeDatabases
msoConditionFileTypeTemplates msoConditionIncludes
msoConditionIncludesPhrase msoConditionBeginsWith
msoConditionEndsWith msoConditionIncludesNearEachOther
msoConditionIsExactly msoConditionIsNot
msoConditionYesterday msoConditionToday
msoConditionTomorrow msoConditionLastWeek
msoConditionThisWeek msoConditionNextWeek
msoConditionLastMonth msoConditionThisMonth
msoConditionNextMonth msoConditionAnytime
msoConditionAnytimeBetween msoConditionOn
msoConditionOnOrAfter msoConditionOnOrBefore
msoConditionInTheNext msoConditionInTheLast
msoConditionEquals msoConditionDoesNotEqual
msoConditionAnyNumberBetween msoConditionAtMost
msoConditionAtLeast msoConditionMoreThan
msoConditionLessThan msoConditionIsYes
msoConditionIsNo msoConditionIncludesFormsOf
msoConditionFreeText msoConditionFileTypeOutlookItems
msoConditionFileTypeMailItem msoConditionFileTypeCalendarItem
msoConditionFileTypeContactItem msoConditionFileTypeNoteItem
msoConditionFileTypeJournalItem msoConditionFileTypeTaskItem
msoConditionFileTypePhotoDrawFiles msoConditionFileTypeDataConnectionFiles
msoConditionFileTypePublisherFiles msoConditionFileTypeProjectFiles
msoConditionFileTypeDocumentImagingFiles msoConditionFileTypeVisioFiles
msoConditionFileTypeDesignerFiles msoConditionFileTypeWebPages
msoConditionEqualsLow msoConditionEqualsNormal
msoConditionEqualsHigh msoConditionNotEqualToLow
msoConditionNotEqualToNormal msoConditionNotEqualToHigh
msoConditionEqualsNotStarted msoConditionEqualsInProgress
msoConditionEqualsCompleted msoConditionEqualsWaitingForSomeoneElse
msoConditionEqualsDeferred msoConditionNotEqualToNotStarted
msoConditionNotEqualToInProgress msoConditionNotEqualToCompleted
msoConditionNotEqualToWaitingForSomeoneElse msoConditionNotEqualToDeferred
msoFileTypeAllFiles msoFileTypeOfficeFiles
msoFileTypeWordDocuments msoFileTypeExcelWorkbooks
msoFileTypePowerPointPresentations msoFileTypeBinders
msoFileTypeDatabases msoFileTypeTemplates
msoFileTypeOutlookItems msoFileTypeMailItem
msoFileTypeCalendarItem msoFileTypeContactItem
msoFileTypeNoteItem msoFileTypeJournalItem
msoFileTypeTaskItem msoFileTypePhotoDrawFiles
msoFileTypeDataConnectionFiles msoFileTypePublisherFiles
msoFileTypeProjectFiles msoFileTypeDocumentImagingFiles
msoFileTypeVisioFiles msoFileTypeDesignerFiles
msoFileTypeWebPages msoLanguageIDMixed
msoLanguageIDNone msoLanguageIDNoProofing
msoLanguageIDAfrikaans msoLanguageIDAlbanian
msoLanguageIDAmharic msoLanguageIDArabicAlgeria
msoLanguageIDArabicBahrain msoLanguageIDArabicEgypt
msoLanguageIDArabicIraq msoLanguageIDArabicJordan
msoLanguageIDArabicKuwait msoLanguageIDArabicLebanon
msoLanguageIDArabicLibya msoLanguageIDArabicMorocco
msoLanguageIDArabicOman msoLanguageIDArabicQatar
msoLanguageIDArabic msoLanguageIDArabicSyria
msoLanguageIDArabicTunisia msoLanguageIDArabicUAE
msoLanguageIDArabicYemen msoLanguageIDArmenian
msoLanguageIDAssamese msoLanguageIDAzeriCyrillic
msoLanguageIDAzeriLatin msoLanguageIDBasque
msoLanguageIDByelorussian msoLanguageIDBengali
msoLanguageIDBulgarian msoLanguageIDBurmese
msoLanguageIDCatalan msoLanguageIDChineseHongKongSAR
msoLanguageIDChineseMacaoSAR msoLanguageIDSimplifiedChinese
msoLanguageIDChineseSingapore msoLanguageIDTraditionalChinese
msoLanguageIDCherokee msoLanguageIDCroatian
msoLanguageIDCzech msoLanguageIDDanish
msoLanguageIDDivehi msoLanguageIDBelgianDutch
msoLanguageIDDutch msoLanguageIDDzongkhaBhutan
msoLanguageIDEdo msoLanguageIDEnglishAUS
msoLanguageIDEnglishBelize msoLanguageIDEnglishCanadian
msoLanguageIDEnglishCaribbean msoLanguageIDEnglishIndonesia
msoLanguageIDEnglishIreland msoLanguageIDEnglishJamaica
msoLanguageIDEnglishNewZealand msoLanguageIDEnglishPhilippines
msoLanguageIDEnglishSouthAfrica msoLanguageIDEnglishTrinidadTobago
msoLanguageIDEnglishUK msoLanguageIDEnglishUS
msoLanguageIDEnglishZimbabwe msoLanguageIDEstonian
msoLanguageIDFaeroese msoLanguageIDFarsi
msoLanguageIDFilipino msoLanguageIDFinnish
msoLanguageIDBelgianFrench msoLanguageIDFrenchCameroon
msoLanguageIDFrenchCanadian msoLanguageIDFrenchCotedIvoire
msoLanguageIDFrench msoLanguageIDFrenchHaiti
msoLanguageIDFrenchLuxembourg msoLanguageIDFrenchMali
msoLanguageIDFrenchMonaco msoLanguageIDFrenchMorocco
msoLanguageIDFrenchReunion msoLanguageIDFrenchSenegal
msoLanguageIDSwissFrench msoLanguageIDFrenchWestIndies
msoLanguageIDFrenchZaire msoLanguageIDFrisianNetherlands
msoLanguageIDFulfulde msoLanguageIDGaelicIreland
msoLanguageIDGaelicScotland msoLanguageIDGalician
msoLanguageIDGeorgian msoLanguageIDGermanAustria
msoLanguageIDGerman msoLanguageIDGermanLiechtenstein
msoLanguageIDGermanLuxembourg msoLanguageIDSwissGerman
msoLanguageIDGreek msoLanguageIDGuarani
msoLanguageIDGujarati msoLanguageIDHausa
msoLanguageIDHawaiian msoLanguageIDHebrew
msoLanguageIDHindi msoLanguageIDHungarian
msoLanguageIDIbibio msoLanguageIDIcelandic
msoLanguageIDIgbo msoLanguageIDIndonesian
msoLanguageIDInuktitut msoLanguageIDItalian
msoLanguageIDSwissItalian msoLanguageIDJapanese
msoLanguageIDKannada msoLanguageIDKanuri
msoLanguageIDKashmiri msoLanguageIDKashmiriDevanagari
msoLanguageIDKazakh msoLanguageIDKhmer
msoLanguageIDKirghiz msoLanguageIDKonkani
msoLanguageIDKorean msoLanguageIDKyrgyz
msoLanguageIDLatin msoLanguageIDLao
msoLanguageIDLatvian msoLanguageIDLithuanian
msoLanguageIDMacedonian msoLanguageIDMalaysian
msoLanguageIDMalayBruneiDarussalam msoLanguageIDMalayalam
msoLanguageIDMaltese msoLanguageIDManipuri
msoLanguageIDMarathi msoLanguageIDMongolian
msoLanguageIDNepali msoLanguageIDNorwegianBokmol
msoLanguageIDNorwegianNynorsk msoLanguageIDOriya
msoLanguageIDOromo msoLanguageIDPashto
msoLanguageIDPolish msoLanguageIDBrazilianPortuguese
msoLanguageIDPortuguese msoLanguageIDPunjabi
msoLanguageIDRhaetoRomanic msoLanguageIDRomanianMoldova
msoLanguageIDRomanian msoLanguageIDRussianMoldova
msoLanguageIDRussian msoLanguageIDSamiLappish
msoLanguageIDSanskrit msoLanguageIDSerbianCyrillic
msoLanguageIDSerbianLatin msoLanguageIDSesotho
msoLanguageIDSindhi msoLanguageIDSindhiPakistan
msoLanguageIDSinhalese msoLanguageIDSlovak
msoLanguageIDSlovenian msoLanguageIDSomali
msoLanguageIDSorbian msoLanguageIDSpanishArgentina
msoLanguageIDSpanishBolivia msoLanguageIDSpanishChile
msoLanguageIDSpanishColombia msoLanguageIDSpanishCostaRica
msoLanguageIDSpanishDominicanRepublic msoLanguageIDSpanishEcuador
msoLanguageIDSpanishElSalvador msoLanguageIDSpanishGuatemala
msoLanguageIDSpanishHonduras msoLanguageIDMexicanSpanish
msoLanguageIDSpanishNicaragua msoLanguageIDSpanishPanama
msoLanguageIDSpanishParaguay msoLanguageIDSpanishPeru
msoLanguageIDSpanishPuertoRico msoLanguageIDSpanishModernSort
msoLanguageIDSpanish msoLanguageIDSpanishUruguay
msoLanguageIDSpanishVenezuela msoLanguageIDSutu
msoLanguageIDSwahili msoLanguageIDSwedishFinland
msoLanguageIDSwedish msoLanguageIDSyriac
msoLanguageIDTajik msoLanguageIDTamil
msoLanguageIDTamazight msoLanguageIDTamazightLatin
msoLanguageIDTatar msoLanguageIDTelugu
msoLanguageIDThai msoLanguageIDTibetan
msoLanguageIDTigrignaEthiopic msoLanguageIDTigrignaEritrea
msoLanguageIDTsonga msoLanguageIDTswana
msoLanguageIDTurkish msoLanguageIDTurkmen
msoLanguageIDUkrainian msoLanguageIDUrdu
msoLanguageIDUzbekCyrillic msoLanguageIDUzbekLatin
msoLanguageIDVenda msoLanguageIDVietnamese
msoLanguageIDWelsh msoLanguageIDXhosa
msoLanguageIDYi msoLanguageIDYiddish
msoLanguageIDYoruba msoLanguageIDZulu
msoScreenSize544x376 msoScreenSize640x480
msoScreenSize720x512 msoScreenSize800x600
msoScreenSize1024x768 msoScreenSize1152x882
msoScreenSize1152x900 msoScreenSize1280x1024
msoScreenSize1600x1200 msoScreenSize1800x1440
msoScreenSize1920x1200 msoCharacterSetArabic
msoCharacterSetCyrillic msoCharacterSetEnglishWesternEuropeanOtherLatinScript
msoCharacterSetGreek msoCharacterSetHebrew
msoCharacterSetJapanese msoCharacterSetKorean
msoCharacterSetMultilingualUnicode msoCharacterSetSimplifiedChinese
msoCharacterSetThai msoCharacterSetTraditionalChinese
msoCharacterSetVietnamese msoEncodingThai
msoEncodingJapaneseShiftJIS msoEncodingSimplifiedChineseGBK
msoEncodingKorean msoEncodingTraditionalChineseBig5
msoEncodingUnicodeLittleEndian msoEncodingUnicodeBigEndian
msoEncodingCentralEuropean msoEncodingCyrillic
msoEncodingWestern msoEncodingGreek
msoEncodingTurkish msoEncodingHebrew
msoEncodingArabic msoEncodingBaltic
msoEncodingVietnamese msoEncodingAutoDetect
msoEncodingJapaneseAutoDetect msoEncodingSimplifiedChineseAutoDetect
msoEncodingKoreanAutoDetect msoEncodingTraditionalChineseAutoDetect
msoEncodingCyrillicAutoDetect msoEncodingGreekAutoDetect
msoEncodingArabicAutoDetect msoEncodingISO88591Latin1
msoEncodingISO88592CentralEurope msoEncodingISO88593Latin3
msoEncodingISO88594Baltic msoEncodingISO88595Cyrillic
msoEncodingISO88596Arabic msoEncodingISO88597Greek
msoEncodingISO88598Hebrew msoEncodingISO88599Turkish
msoEncodingISO885915Latin9 msoEncodingISO2022JPNoHalfwidthKatakana
msoEncodingISO2022JPJISX02021984 msoEncodingISO2022JPJISX02011989
msoEncodingISO2022KR msoEncodingISO2022CNTraditionalChinese
msoEncodingISO2022CNSimplifiedChinese msoEncodingMacRoman
msoEncodingMacJapanese msoEncodingMacTraditionalChineseBig5
msoEncodingMacKorean msoEncodingMacArabic
msoEncodingMacHebrew msoEncodingMacGreek1
msoEncodingMacCyrillic msoEncodingMacSimplifiedChineseGB2312
msoEncodingMacRomania msoEncodingMacUkraine
msoEncodingMacLatin2 msoEncodingMacIcelandic
msoEncodingMacTurkish msoEncodingMacCroatia
msoEncodingEBCDICUSCanada msoEncodingEBCDICInternational
msoEncodingEBCDICMultilingualROECELatin2 msoEncodingEBCDICGreekModern
msoEncodingEBCDICTurkishLatin5 msoEncodingEBCDICGermany
msoEncodingEBCDICDenmarkNorway msoEncodingEBCDICFinlandSweden
msoEncodingEBCDICItaly msoEncodingEBCDICLatinAmericaSpain
msoEncodingEBCDICUnitedKingdom msoEncodingEBCDICJapaneseKatakanaExtended
msoEncodingEBCDICFrance msoEncodingEBCDICArabic
msoEncodingEBCDICGreek msoEncodingEBCDICHebrew
msoEncodingEBCDICKoreanExtended msoEncodingEBCDICThai
msoEncodingEBCDICIcelandic msoEncodingEBCDICTurkish
msoEncodingEBCDICRussian msoEncodingEBCDICSerbianBulgarian
msoEncodingEBCDICJapaneseKatakanaExtendedAndJapanese msoEncodingEBCDICUSCanadaAndJapanese
msoEncodingEBCDICKoreanExtendedAndKorean msoEncodingEBCDICSimplifiedChineseExtendedAndSimplifiedChinese
msoEncodingEBCDICUSCanadaAndTraditionalChinese msoEncodingEBCDICJapaneseLatinExtendedAndJapanese
msoEncodingOEMUnitedStates msoEncodingOEMGreek437G
msoEncodingOEMBaltic msoEncodingOEMMultilingualLatinI
msoEncodingOEMMultilingualLatinII msoEncodingOEMCyrillic
msoEncodingOEMTurkish msoEncodingOEMPortuguese
msoEncodingOEMIcelandic msoEncodingOEMHebrew
msoEncodingOEMCanadianFrench msoEncodingOEMArabic
msoEncodingOEMNordic msoEncodingOEMCyrillicII
msoEncodingOEMModernGreek msoEncodingEUCJapanese
msoEncodingEUCChineseSimplifiedChinese msoEncodingEUCKorean
msoEncodingEUCTaiwaneseTraditionalChinese msoEncodingISCIIDevanagari
msoEncodingISCIIBengali msoEncodingISCIITamil
msoEncodingISCIITelugu msoEncodingISCIIAssamese
msoEncodingISCIIOriya msoEncodingISCIIKannada
msoEncodingISCIIMalayalam msoEncodingISCIIGujarati
msoEncodingISCIIPunjabi msoEncodingArabicASMO
msoEncodingArabicTransparentASMO msoEncodingKoreanJohab
msoEncodingTaiwanCNS msoEncodingTaiwanTCA
msoEncodingTaiwanEten msoEncodingTaiwanIBM5550
msoEncodingTaiwanTeleText msoEncodingTaiwanWang
msoEncodingIA5IRV msoEncodingIA5German
msoEncodingIA5Swedish msoEncodingIA5Norwegian
msoEncodingUSASCII msoEncodingT61
msoEncodingISO6937NonSpacingAccent msoEncodingKOI8R
msoEncodingExtAlphaLowercase msoEncodingKOI8U
msoEncodingEuropa3 msoEncodingHZGBSimplifiedChinese
msoEncodingUTF7 msoEncodingUTF8
msoHTMLProjectOpenSourceView msoHTMLProjectOpenTextView
msoHTMLProjectStateDocumentLocked msoHTMLProjectStateProjectLocked
msoHTMLProjectStateDocumentProjectUnlocked msoFileDialogOpen
msoFileDialogSaveAs msoFileDialogFilePicker
msoFileDialogFolderPicker msoFileDialogViewList
msoFileDialogViewDetails msoFileDialogViewProperties
msoFileDialogViewPreview msoFileDialogViewThumbnail
msoFileDialogViewLargeIcons msoFileDialogViewSmallIcons
msoFileDialogViewWebView msoAutomationSecurityLow
msoAutomationSecurityByUI msoAutomationSecurityForceDisable
msoAlertButtonOK msoAlertButtonOKCancel
msoAlertButtonAbortRetryIgnore msoAlertButtonYesNoCancel
msoAlertButtonYesNo msoAlertButtonRetryCancel
msoAlertButtonYesAllNoCancel msoAlertIconNoIcon
msoAlertIconCritical msoAlertIconQuery
msoAlertIconWarning msoAlertIconInfo
msoAlertDefaultFirst msoAlertDefaultSecond
msoAlertDefaultThird msoAlertDefaultFourth
msoAlertDefaultFifth msoAlertCancelDefault
msoAlertCancelFirst msoAlertCancelSecond
msoAlertCancelThird msoAlertCancelFourth
msoAlertCancelFifth msoSearchInMyComputer
msoSearchInOutlook msoSearchInMyNetworkPlaces
msoSearchInCustom msoTargetBrowserV3
msoTargetBrowserV4 msoTargetBrowserIE4
msoTargetBrowserIE5 msoTargetBrowserIE6
msoOrgChartOrientationMixed msoOrgChartOrientationVertical
msoOrgChartLayoutMixed msoOrgChartLayoutStandard
msoOrgChartLayoutBothHanging msoOrgChartLayoutLeftHanging
msoOrgChartLayoutRightHanging msoBeforeNode
msoAfterNode msoBeforeFirstSibling
msoAfterLastSibling msoDiagramMixed
msoDiagramOrgChart msoDiagramCycle
msoDiagramRadial msoDiagramPyramid
msoDiagramVenn msoDiagramTarget
msoDiagramNode msoDiagramAssistant
msoMoveRowFirst msoMoveRowPrev
msoMoveRowNext msoMoveRowNbr
msoFilterComparisonEqual msoFilterComparisonNotEqual
msoFilterComparisonLessThan msoFilterComparisonGreaterThan
msoFilterComparisonLessThanEqual msoFilterComparisonGreaterThanEqual
msoFilterComparisonIsBlank msoFilterComparisonIsNotBlank
msoFilterComparisonContains msoFilterComparisonNotContains
msoFilterConjunctionAnd msoFilterConjunctionOr
msoOpenDocument msoNew
msoNewfromExistingFile msoNewfromTemplate
msoBottomSection msoEditFile
msoCreateNewFile msoOpenFile
msoLanguageIDChineseHongKong msoLanguageIDChineseMacao
msoLanguageIDEnglishTrinidad
Office操作相关的类
内容
  • TOfficeObj
TOfficeObj

用途Office操作相关的类相关函数。 参数arg1按示例顺序传入。 返回:处理后的结果值。

用于创建与officeexcel、word相关的对象的函数使用方式style := TOfficeObj('TStyle')。

可用此方法创建的对象及使用方法如下:

####### 内容

  • TrichText
  • TStyle
  • TnumFmts
  • TAlignment
  • TFont
  • TBorders
  • TBorder
  • TFills
  • TProtection
  • TPattern
  • TGradient
  • THeaderFooter
  • TMargins
  • TPageLayout
  • TappProperty
  • THyperLink
  • TPicture
  • TPictureFormat
  • Tshapeformat
  • TCoreProperty
  • TtableStyle
  • TChart

####### TrichText

######## 内容

  • 方法

######## 方法

######### 内容

  • AddText

######### AddText

范例

rich1 := TOfficeObj('TRichtext'); // 新建富文本类
text1 := rich1.AddText('Hello'); // 添加文本
// 设置字体样式
text1.Font.Size := 26;
text1.Font.Color := "FFF000";

####### TStyle

######## 内容

  • 属性

######## 属性

######### 内容

  • NumberFormat
  • Alignment
  • Font
  • Border
  • Fill
  • Protection

######### NumberFormat

范例

style := TOfficeObj('TStyle');
style.NumberFormat.FormatCode := '#,##0.000_ ';

######### Alignment

范例

style := TOfficeObj('TStyle');
style.Alignment.Horizontal := 'center'; // 水平对齐:居中

######### Font

范例

style := TOfficeObj('TStyle');
style.Font.Size := 22;

######### Border

范例

style := TOfficeObj('TStyle');
style.Border.Left.LineStyle := 'thin';

######### Fill

范例

style := TOfficeObj('TStyle');
style.Fill.Pattern.ForegroundColor := 'FF6699FF';

######### Protection

范例

style := TOfficeObj('TStyle');
style.Protection.Hide := 1;

####### TnumFmts

######## 内容

  • 属性

######## 属性

######### 内容

  • FormatCode

######### FormatCode

范例

style := TOfficeObj('TStyle');
style.NumberFormat.FormatCode := ' yyyy/m/d h:mm';

####### TAlignment

######## 内容

  • 属性

######## 属性

######### 内容

  • Horizontal
  • Vertical
  • WrapText
  • ReadingOrder

######### Horizontal

  • Horizontal
  • Vertical
  • WrapText
  • ReadingOrder

######### Vertical

  • Horizontal
  • Vertical
  • WrapText
  • ReadingOrder

######### WrapText

  • Horizontal
  • Vertical
  • WrapText
  • ReadingOrder

######### ReadingOrder

  • Horizontal
  • Vertical
  • WrapText
  • ReadingOrder

####### TFont

######## 内容

  • 属性

######## 属性

######### 内容

  • Name
  • Size
  • Bold
  • Italic
  • Charset
  • Strikethrough
  • Script
  • Color
  • ThemeColor
  • Underline

######### Name

  • Name
  • Size
  • Bold
  • Italic
  • Charset
  • Strikethrough
  • Script
  • Color
  • ThemeColor
  • Underline

######### Size

  • Name
  • Size
  • Bold
  • Italic
  • Charset
  • Strikethrough
  • Script
  • Color
  • ThemeColor
  • Underline

######### Bold

  • Name
  • Size
  • Bold
  • Italic
  • Charset
  • Strikethrough
  • Script
  • Color
  • ThemeColor
  • Underline

######### Italic

  • Name
  • Size
  • Bold
  • Italic
  • Charset
  • Strikethrough
  • Script
  • Color
  • ThemeColor
  • Underline

######### Charset

  • Name
  • Size
  • Bold
  • Italic
  • Charset
  • Strikethrough
  • Script
  • Color
  • ThemeColor
  • Underline

######### Strikethrough

  • Name
  • Size
  • Bold
  • Italic
  • Charset
  • Strikethrough
  • Script
  • Color
  • ThemeColor
  • Underline

######### Script

  • Name
  • Size
  • Bold
  • Italic
  • Charset
  • Strikethrough
  • Script
  • Color
  • ThemeColor
  • Underline

######### Color

  • Name
  • Size
  • Bold
  • Italic
  • Charset
  • Strikethrough
  • Script
  • Color
  • ThemeColor
  • Underline

######### ThemeColor

  • Name
  • Size
  • Bold
  • Italic
  • Charset
  • Strikethrough
  • Script
  • Color
  • ThemeColor
  • Underline

######### Underline

  • Name
  • Size
  • Bold
  • Italic
  • Charset
  • Strikethrough
  • Script
  • Color
  • ThemeColor
  • Underline

####### TBorders

######## 内容

  • 属性

######## 属性

######### 内容

  • Left
  • Right
  • Top
  • Bottom
  • DiagonalUp
  • DiagonalDown
  • Diagonal

######### Left

  • Left
  • Right
  • Top
  • Bottom
  • DiagonalUp
  • DiagonalDown
  • Diagonal

######### Right

  • Left
  • Right
  • Top
  • Bottom
  • DiagonalUp
  • DiagonalDown
  • Diagonal

######### Top

  • Left
  • Right
  • Top
  • Bottom
  • DiagonalUp
  • DiagonalDown
  • Diagonal

######### Bottom

  • Left
  • Right
  • Top
  • Bottom
  • DiagonalUp
  • DiagonalDown
  • Diagonal

######### DiagonalUp

  • Left
  • Right
  • Top
  • Bottom
  • DiagonalUp
  • DiagonalDown
  • Diagonal

######### DiagonalDown

  • Left
  • Right
  • Top
  • Bottom
  • DiagonalUp
  • DiagonalDown
  • Diagonal

######### Diagonal

  • Left
  • Right
  • Top
  • Bottom
  • DiagonalUp
  • DiagonalDown
  • Diagonal

####### TBorder

######## 内容

  • 属性

######## 属性

######### 内容

  • LineStyle
  • Color
  • ThemeColor

######### LineStyle

  • LineStyle
  • Color
  • ThemeColor

######### Color

  • LineStyle
  • Color
  • ThemeColor

######### ThemeColor

  • LineStyle
  • Color
  • ThemeColor

####### TFills

######## 内容

  • 属性

######## 属性

######### 内容

  • Pattern
  • Gradient

######### Pattern

  • Pattern
  • Gradient

######### Gradient

  • Pattern
  • Gradient

####### TProtection

######## 内容

  • 属性

######## 属性

######### 内容

  • Hide
  • Lock

######### Hide

  • Hide
  • Lock

######### Lock

  • Hide
  • Lock

####### TPattern

######## 内容

  • 属性

######## 属性

######### 内容

  • PatternType
  • ForegroundColor
  • ForegroundThemeColor
  • ForegroundThemeColorTint
  • BackgroundColor
  • BackgroundThemeColor
  • BackgroundThemeColorTint

######### PatternType

  • PatternType
  • ForegroundColor
  • ForegroundThemeColor
  • ForegroundThemeColorTint
  • BackgroundColor
  • BackgroundThemeColor
  • BackgroundThemeColorTint

######### ForegroundColor

  • PatternType
  • ForegroundColor
  • ForegroundThemeColor
  • ForegroundThemeColorTint
  • BackgroundColor
  • BackgroundThemeColor
  • BackgroundThemeColorTint

######### ForegroundThemeColor

  • PatternType
  • ForegroundColor
  • ForegroundThemeColor
  • ForegroundThemeColorTint
  • BackgroundColor
  • BackgroundThemeColor
  • BackgroundThemeColorTint

######### ForegroundThemeColorTint

  • PatternType
  • ForegroundColor
  • ForegroundThemeColor
  • ForegroundThemeColorTint
  • BackgroundColor
  • BackgroundThemeColor
  • BackgroundThemeColorTint

######### BackgroundColor

  • PatternType
  • ForegroundColor
  • ForegroundThemeColor
  • ForegroundThemeColorTint
  • BackgroundColor
  • BackgroundThemeColor
  • BackgroundThemeColorTint

######### BackgroundThemeColor

  • PatternType
  • ForegroundColor
  • ForegroundThemeColor
  • ForegroundThemeColorTint
  • BackgroundColor
  • BackgroundThemeColor
  • BackgroundThemeColorTint

######### BackgroundThemeColorTint

  • PatternType
  • ForegroundColor
  • ForegroundThemeColor
  • ForegroundThemeColorTint
  • BackgroundColor
  • BackgroundThemeColor
  • BackgroundThemeColorTint

####### TGradient

######## 内容

  • 属性

######## 属性

######### 内容

  • Color1
  • ThemeColor1
  • Color2
  • ThemeColor2
  • Shading

######### Color1

  • Color1
  • ThemeColor1
  • Color2
  • ThemeColor2
  • Shading

######### ThemeColor1

  • Color1
  • ThemeColor1
  • Color2
  • ThemeColor2
  • Shading

######### Color2

  • Color1
  • ThemeColor1
  • Color2
  • ThemeColor2
  • Shading

######### ThemeColor2

  • Color1
  • ThemeColor1
  • Color2
  • ThemeColor2
  • Shading

######### Shading

  • Color1
  • ThemeColor1
  • Color2
  • ThemeColor2
  • Shading

####### THeaderFooter

######## 内容

  • 属性

######## 属性

######### 内容

  • DifferentOddEven
  • DifferentFirst
  • ScaleWithDoc
  • AlignWithMargin
  • OddHeader
  • OddFooter
  • EvenHeader
  • EvenFooter
  • FirstHeader
  • FirstFooter

######### DifferentOddEven

  • DifferentOddEven
  • DifferentFirst
  • ScaleWithDoc
  • AlignWithMargin
  • OddHeader
  • OddFooter
  • EvenHeader
  • EvenFooter
  • FirstHeader
  • FirstFooter

######### DifferentFirst

  • DifferentOddEven
  • DifferentFirst
  • ScaleWithDoc
  • AlignWithMargin
  • OddHeader
  • OddFooter
  • EvenHeader
  • EvenFooter
  • FirstHeader
  • FirstFooter

######### ScaleWithDoc

  • DifferentOddEven
  • DifferentFirst
  • ScaleWithDoc
  • AlignWithMargin
  • OddHeader
  • OddFooter
  • EvenHeader
  • EvenFooter
  • FirstHeader
  • FirstFooter

######### AlignWithMargin

  • DifferentOddEven
  • DifferentFirst
  • ScaleWithDoc
  • AlignWithMargin
  • OddHeader
  • OddFooter
  • EvenHeader
  • EvenFooter
  • FirstHeader
  • FirstFooter

######### OddHeader

  • DifferentOddEven
  • DifferentFirst
  • ScaleWithDoc
  • AlignWithMargin
  • OddHeader
  • OddFooter
  • EvenHeader
  • EvenFooter
  • FirstHeader
  • FirstFooter

######### OddFooter

  • DifferentOddEven
  • DifferentFirst
  • ScaleWithDoc
  • AlignWithMargin
  • OddHeader
  • OddFooter
  • EvenHeader
  • EvenFooter
  • FirstHeader
  • FirstFooter

######### EvenHeader

  • DifferentOddEven
  • DifferentFirst
  • ScaleWithDoc
  • AlignWithMargin
  • OddHeader
  • OddFooter
  • EvenHeader
  • EvenFooter
  • FirstHeader
  • FirstFooter

######### EvenFooter

  • DifferentOddEven
  • DifferentFirst
  • ScaleWithDoc
  • AlignWithMargin
  • OddHeader
  • OddFooter
  • EvenHeader
  • EvenFooter
  • FirstHeader
  • FirstFooter

######### FirstHeader

  • DifferentOddEven
  • DifferentFirst
  • ScaleWithDoc
  • AlignWithMargin
  • OddHeader
  • OddFooter
  • EvenHeader
  • EvenFooter
  • FirstHeader
  • FirstFooter

######### FirstFooter

  • DifferentOddEven
  • DifferentFirst
  • ScaleWithDoc
  • AlignWithMargin
  • OddHeader
  • OddFooter
  • EvenHeader
  • EvenFooter
  • FirstHeader
  • FirstFooter

####### TMargins

######## 内容

  • 属性

######## 属性

######### 内容

  • Left
  • Right
  • Top
  • Bottom
  • Header
  • Footer

######### Left

  • Left
  • Right
  • Top
  • Bottom
  • Header
  • Footer

######### Right

  • Left
  • Right
  • Top
  • Bottom
  • Header
  • Footer

######### Top

  • Left
  • Right
  • Top
  • Bottom
  • Header
  • Footer

######### Bottom

  • Left
  • Right
  • Top
  • Bottom
  • Header
  • Footer

######### Header

  • Left
  • Right
  • Top
  • Bottom
  • Header
  • Footer

######### Footer

  • Left
  • Right
  • Top
  • Bottom
  • Header
  • Footer

####### TPageLayout

######## 内容

  • 属性

######## 属性

######### 内容

  • PaperSize
  • Scale
  • FitToWidth
  • FitToHeight
  • FirstPageNumber
  • Orientation
  • PageOrder
  • BlackAndWhite
  • Draft
  • CellComments
  • CellError

######### PaperSize

  • PaperSize
  • Scale
  • FitToWidth
  • FitToHeight
  • FirstPageNumber
  • Orientation
  • PageOrder
  • BlackAndWhite
  • Draft
  • CellComments
  • CellError

######### Scale

  • PaperSize
  • Scale
  • FitToWidth
  • FitToHeight
  • FirstPageNumber
  • Orientation
  • PageOrder
  • BlackAndWhite
  • Draft
  • CellComments
  • CellError

######### FitToWidth

  • PaperSize
  • Scale
  • FitToWidth
  • FitToHeight
  • FirstPageNumber
  • Orientation
  • PageOrder
  • BlackAndWhite
  • Draft
  • CellComments
  • CellError

######### FitToHeight

  • PaperSize
  • Scale
  • FitToWidth
  • FitToHeight
  • FirstPageNumber
  • Orientation
  • PageOrder
  • BlackAndWhite
  • Draft
  • CellComments
  • CellError

######### FirstPageNumber

  • PaperSize
  • Scale
  • FitToWidth
  • FitToHeight
  • FirstPageNumber
  • Orientation
  • PageOrder
  • BlackAndWhite
  • Draft
  • CellComments
  • CellError

######### Orientation

  • PaperSize
  • Scale
  • FitToWidth
  • FitToHeight
  • FirstPageNumber
  • Orientation
  • PageOrder
  • BlackAndWhite
  • Draft
  • CellComments
  • CellError

######### PageOrder

  • PaperSize
  • Scale
  • FitToWidth
  • FitToHeight
  • FirstPageNumber
  • Orientation
  • PageOrder
  • BlackAndWhite
  • Draft
  • CellComments
  • CellError

######### BlackAndWhite

  • PaperSize
  • Scale
  • FitToWidth
  • FitToHeight
  • FirstPageNumber
  • Orientation
  • PageOrder
  • BlackAndWhite
  • Draft
  • CellComments
  • CellError

######### Draft

  • PaperSize
  • Scale
  • FitToWidth
  • FitToHeight
  • FirstPageNumber
  • Orientation
  • PageOrder
  • BlackAndWhite
  • Draft
  • CellComments
  • CellError

######### CellComments

  • PaperSize
  • Scale
  • FitToWidth
  • FitToHeight
  • FirstPageNumber
  • Orientation
  • PageOrder
  • BlackAndWhite
  • Draft
  • CellComments
  • CellError

######### CellError

  • PaperSize
  • Scale
  • FitToWidth
  • FitToHeight
  • FirstPageNumber
  • Orientation
  • PageOrder
  • BlackAndWhite
  • Draft
  • CellComments
  • CellError

####### TappProperty

######## 内容

  • 属性

######## 属性

######### 内容

  • Application
  • DocSecurity
  • ScaleCrop
  • Manager
  • LinksUpToDate
  • SharedDoc
  • HyperlinkBase
  • HyperlinksChanged
  • AppVersion

######### Application

  • Application
  • DocSecurity
  • ScaleCrop
  • Manager
  • LinksUpToDate
  • SharedDoc
  • HyperlinkBase
  • HyperlinksChanged
  • AppVersion

######### DocSecurity

  • Application
  • DocSecurity
  • ScaleCrop
  • Manager
  • LinksUpToDate
  • SharedDoc
  • HyperlinkBase
  • HyperlinksChanged
  • AppVersion

######### ScaleCrop

  • Application
  • DocSecurity
  • ScaleCrop
  • Manager
  • LinksUpToDate
  • SharedDoc
  • HyperlinkBase
  • HyperlinksChanged
  • AppVersion

######### Manager

  • Application
  • DocSecurity
  • ScaleCrop
  • Manager
  • LinksUpToDate
  • SharedDoc
  • HyperlinkBase
  • HyperlinksChanged
  • AppVersion

######### LinksUpToDate

  • Application
  • DocSecurity
  • ScaleCrop
  • Manager
  • LinksUpToDate
  • SharedDoc
  • HyperlinkBase
  • HyperlinksChanged
  • AppVersion

######### SharedDoc

  • Application
  • DocSecurity
  • ScaleCrop
  • Manager
  • LinksUpToDate
  • SharedDoc
  • HyperlinkBase
  • HyperlinksChanged
  • AppVersion

######### HyperlinkBase

  • Application
  • DocSecurity
  • ScaleCrop
  • Manager
  • LinksUpToDate
  • SharedDoc
  • HyperlinkBase
  • HyperlinksChanged
  • AppVersion

######### HyperlinksChanged

  • Application
  • DocSecurity
  • ScaleCrop
  • Manager
  • LinksUpToDate
  • SharedDoc
  • HyperlinkBase
  • HyperlinksChanged
  • AppVersion

######### AppVersion

  • Application
  • DocSecurity
  • ScaleCrop
  • Manager
  • LinksUpToDate
  • SharedDoc
  • HyperlinkBase
  • HyperlinksChanged
  • AppVersion

####### THyperLink

######## 内容

  • 属性

######## 属性

######### 内容

  • LinkType
  • LinkUrl
  • Tooltip
  • Display

######### LinkType

  • LinkType
  • LinkUrl
  • Tooltip
  • Display

######### LinkUrl

  • LinkType
  • LinkUrl
  • Tooltip
  • Display

######### Tooltip

  • LinkType
  • LinkUrl
  • Tooltip
  • Display

######### Display

  • LinkType
  • LinkUrl
  • Tooltip
  • Display

####### TPicture

######## 内容

  • 属性

######## 属性

######### 内容

  • Image
  • Descr

######### Image

  • Image
  • Descr

######### Descr

  • Image
  • Descr

####### TPictureFormat

######## 内容

  • 属性

######## 属性

######### 内容

  • BegColOff
  • BegRowOff
  • EndColOff
  • EndRowOff

######### BegColOff

  • BegColOff
  • BegRowOff
  • EndColOff
  • EndRowOff

######### BegRowOff

  • BegColOff
  • BegRowOff
  • EndColOff
  • EndRowOff

######### EndColOff

  • BegColOff
  • BegRowOff
  • EndColOff
  • EndRowOff

######### EndRowOff

  • BegColOff
  • BegRowOff
  • EndColOff
  • EndRowOff

####### Tshapeformat

######## 内容

  • 属性

######## 属性

######### 内容

  • BegColOff
  • BegRowOff
  • EndColOff
  • EndRowOff

######### BegColOff

  • BegColOff
  • BegRowOff
  • EndColOff
  • EndRowOff

######### BegRowOff

  • BegColOff
  • BegRowOff
  • EndColOff
  • EndRowOff

######### EndColOff

  • BegColOff
  • BegRowOff
  • EndColOff
  • EndRowOff

######### EndRowOff

  • BegColOff
  • BegRowOff
  • EndColOff
  • EndRowOff

####### TCoreProperty

######## 内容

  • 属性

######## 属性

######### 内容

  • Title
  • Subject
  • Creator

######### Title

  • Title
  • Subject
  • Creator

######### Subject

  • Title
  • Subject
  • Creator

######### Creator

  • Title
  • Subject
  • Creator

####### TtableStyle

######## 内容

  • 属性

######## 属性

######### 内容

  • TableName
  • TableStyle
  • ShowFirstColumn
  • ShowLastColumn
  • ShowRowStripes

######### TableName

  • TableName
  • TableStyle
  • ShowFirstColumn
  • ShowLastColumn
  • ShowRowStripes

######### TableStyle

  • TableName
  • TableStyle
  • ShowFirstColumn
  • ShowLastColumn
  • ShowRowStripes

######### ShowFirstColumn

  • TableName
  • TableStyle
  • ShowFirstColumn
  • ShowLastColumn
  • ShowRowStripes

######### ShowLastColumn

  • TableName
  • TableStyle
  • ShowFirstColumn
  • ShowLastColumn
  • ShowRowStripes

######### ShowRowStripes

  • TableName
  • TableStyle
  • ShowFirstColumn
  • ShowLastColumn
  • ShowRowStripes

####### TChart

######## 内容

  • 方法
  • 属性

######## 方法

######### 内容

  • AddSeries
  • ClearSeries
  • RemoveSeries
  • Apply
  • UpdateTitle
  • ShowDataTable

######### AddSeries

  • AddSeries
  • ClearSeries
  • RemoveSeries
  • Apply
  • UpdateTitle
  • ShowDataTable

######### ClearSeries

  • AddSeries
  • ClearSeries
  • RemoveSeries
  • Apply
  • UpdateTitle
  • ShowDataTable

######### RemoveSeries

  • AddSeries
  • ClearSeries
  • RemoveSeries
  • Apply
  • UpdateTitle
  • ShowDataTable

######### Apply

  • AddSeries
  • ClearSeries
  • RemoveSeries
  • Apply
  • UpdateTitle
  • ShowDataTable

######### UpdateTitle

  • AddSeries
  • ClearSeries
  • RemoveSeries
  • Apply
  • UpdateTitle
  • ShowDataTable

######### ShowDataTable

  • AddSeries
  • ClearSeries
  • RemoveSeries
  • Apply
  • UpdateTitle
  • ShowDataTable

######## 属性

######### 内容

  • Width
  • Height
  • Name
  • Title
  • Type
  • VaryColors
  • ShowLegendKey
  • ShowVal
  • ShowCatName
  • ShowSerName
  • ShowBubbleSize
  • ShowPercent
  • ShowLeaderLines
  • DataTable
  • ShowBlanksAs

######### Width

  • Width
  • Height
  • Name
  • Title
  • Type
  • VaryColors
  • ShowLegendKey
  • ShowVal
  • ShowCatName
  • ShowSerName
  • ShowBubbleSize
  • ShowPercent
  • ShowLeaderLines
  • DataTable
  • ShowBlanksAs

######### Height

  • Width
  • Height
  • Name
  • Title
  • Type
  • VaryColors
  • ShowLegendKey
  • ShowVal
  • ShowCatName
  • ShowSerName
  • ShowBubbleSize
  • ShowPercent
  • ShowLeaderLines
  • DataTable
  • ShowBlanksAs

######### Name

  • Width
  • Height
  • Name
  • Title
  • Type
  • VaryColors
  • ShowLegendKey
  • ShowVal
  • ShowCatName
  • ShowSerName
  • ShowBubbleSize
  • ShowPercent
  • ShowLeaderLines
  • DataTable
  • ShowBlanksAs

######### Title

  • Width
  • Height
  • Name
  • Title
  • Type
  • VaryColors
  • ShowLegendKey
  • ShowVal
  • ShowCatName
  • ShowSerName
  • ShowBubbleSize
  • ShowPercent
  • ShowLeaderLines
  • DataTable
  • ShowBlanksAs

######### Type

  • Width
  • Height
  • Name
  • Title
  • Type
  • VaryColors
  • ShowLegendKey
  • ShowVal
  • ShowCatName
  • ShowSerName
  • ShowBubbleSize
  • ShowPercent
  • ShowLeaderLines
  • DataTable
  • ShowBlanksAs

######### VaryColors

  • Width
  • Height
  • Name
  • Title
  • Type
  • VaryColors
  • ShowLegendKey
  • ShowVal
  • ShowCatName
  • ShowSerName
  • ShowBubbleSize
  • ShowPercent
  • ShowLeaderLines
  • DataTable
  • ShowBlanksAs

######### ShowLegendKey

  • Width
  • Height
  • Name
  • Title
  • Type
  • VaryColors
  • ShowLegendKey
  • ShowVal
  • ShowCatName
  • ShowSerName
  • ShowBubbleSize
  • ShowPercent
  • ShowLeaderLines
  • DataTable
  • ShowBlanksAs

######### ShowVal

  • Width
  • Height
  • Name
  • Title
  • Type
  • VaryColors
  • ShowLegendKey
  • ShowVal
  • ShowCatName
  • ShowSerName
  • ShowBubbleSize
  • ShowPercent
  • ShowLeaderLines
  • DataTable
  • ShowBlanksAs

######### ShowCatName

  • Width
  • Height
  • Name
  • Title
  • Type
  • VaryColors
  • ShowLegendKey
  • ShowVal
  • ShowCatName
  • ShowSerName
  • ShowBubbleSize
  • ShowPercent
  • ShowLeaderLines
  • DataTable
  • ShowBlanksAs

######### ShowSerName

  • Width
  • Height
  • Name
  • Title
  • Type
  • VaryColors
  • ShowLegendKey
  • ShowVal
  • ShowCatName
  • ShowSerName
  • ShowBubbleSize
  • ShowPercent
  • ShowLeaderLines
  • DataTable
  • ShowBlanksAs

######### ShowBubbleSize

  • Width
  • Height
  • Name
  • Title
  • Type
  • VaryColors
  • ShowLegendKey
  • ShowVal
  • ShowCatName
  • ShowSerName
  • ShowBubbleSize
  • ShowPercent
  • ShowLeaderLines
  • DataTable
  • ShowBlanksAs

######### ShowPercent

  • Width
  • Height
  • Name
  • Title
  • Type
  • VaryColors
  • ShowLegendKey
  • ShowVal
  • ShowCatName
  • ShowSerName
  • ShowBubbleSize
  • ShowPercent
  • ShowLeaderLines
  • DataTable
  • ShowBlanksAs

######### ShowLeaderLines

  • Width
  • Height
  • Name
  • Title
  • Type
  • VaryColors
  • ShowLegendKey
  • ShowVal
  • ShowCatName
  • ShowSerName
  • ShowBubbleSize
  • ShowPercent
  • ShowLeaderLines
  • DataTable
  • ShowBlanksAs

######### DataTable

  • Width
  • Height
  • Name
  • Title
  • Type
  • VaryColors
  • ShowLegendKey
  • ShowVal
  • ShowCatName
  • ShowSerName
  • ShowBubbleSize
  • ShowPercent
  • ShowLeaderLines
  • DataTable
  • ShowBlanksAs

######### ShowBlanksAs

  • Width
  • Height
  • Name
  • Title
  • Type
  • VaryColors
  • ShowLegendKey
  • ShowVal
  • ShowCatName
  • ShowSerName
  • ShowBubbleSize
  • ShowPercent
  • ShowLeaderLines
  • DataTable
  • ShowBlanksAs

Excel处理函数

内容
  • Excel复制函数
  • Excel控制函数
  • Excel相关常量函数
  • 支持的Excel常量函数列表
  • Excel操作相关的类
  • Excel处理函数-txlsreadwrite版
Excel复制函数
内容
  • ExcelCopy
  • ExcelCopyPic
  • ExcelChartCopyPic
ExcelCopy

用途Excel复制函数相关函数。 参数:

返回:处理后的结果值。

范例

// word模板范例
// 在c:\tsl\下新建一个word如test.docword中代码
[TSL]
ExcelName := 'c:\\tsl\\tmp.xls';
ExcelCopy(ExcelName, 'Data', 1, 1, 10, 3);
WordPaste();
[ / TSL]
// (用tsl编译执行)在c:\tsl\下新建一个tsl文件test.tsltsl代码
wordtemplate('', 'c:\\tsl\\test.doc');
// 在dos下执行语句
tsl.exe test.tsl
// 注意c:\tsl目录是tsl的编译目录必须有tsl的编译执行文件tsl.exe)。
// 结果将指定Excel的结果和样式都复制到了word中。
ExcelCopyPic
ExcelChartCopyPic
Excel控制函数
内容
  • ExcelGetApplication
  • ExcelGetDataRange
  • ExcelGetCell
  • ExcelSetCell
  • ExcelGetCells
  • ExcelSetCells
  • ExcelGetSheetCount
  • ExcelGetChartSheetCount
  • ExcelGetSheetNameByIndex
  • ExcelGetChartSheetNameByIndex
  • ExcelSaveAs
  • ExcelSaveAs2
  • ExcelSave
  • ExcelOpen
  • ExcelClose
  • ExcelQuit
  • ExcelDeleteSheet
  • ExcelDeleteChartSheet
  • ExcelNewSheet
  • ExcelNewChartSheet
  • ExcelRenameChartSheet
  • ExcelRenameSheet
  • ExcelRangeSetProp
  • ExcelSetRangeProp
  • ExcelGetRangeProp
  • ExcelMerge
  • ExcelUnMerge
  • ExcelCopySheet
  • ExcelCopyChartSheet
  • ExcelSetActiveSheet
  • ExcelSetActiveChart
  • ExcelSetChartSheetDataSource
ExcelGetApplication
ExcelGetDataRange

用途Excel控制函数相关函数。 参数:

返回:处理后的结果值。

范例

// 取本地文件C:\VBA.xls有数据的起始行列号和结束行列号
dir := " C:\\VBA.xls";
ret := rdo2 ExcelGetDataRange(dir, "Sheet1", row_start, col_start, row_end, col_end);
if ret then
begin
    ret1 := rdo2 ExcelQuit();
    if ret1 then return array("row_start":row_start, "col_start":col_start, "row_end":row_end, "col_end":col_end);
end;
return 0;
ExcelGetCell

用途Excel控制函数相关函数。 参数:

返回:处理后的结果值。

范例

// 取本地文件C:\VBA.xls第一行第一列的数据
ret := rdo2 ExcelGetCell("C:\\VBA.xls", "Sheet1", 1, 1, data);
if ret then
begin
    ret1 := rdo2 ExcelQuit();
    if ret1 then return data;
end;
return 0;
ExcelSetCell

用途Excel控制函数相关函数。 参数:

返回:处理后的结果值。

范例

// 将本地文件C:\VBA.xls的Sheet1的第2行第1列的数据修改为hello
dir := "C:\\VBA.xls";
ret := rdo2 ExcelSetCell(dir, "Sheet1", 2, 1, "hello");
if ret then
begin
    ret1 := rdo2 ExcelSave(dir);
    if ret1 then rdo2 ExcelQuit();
end;
return ret;
// 结果1数据修改成功。
ExcelGetCells

用途Excel控制函数相关函数。 参数:

返回:处理后的结果值。

范例

// 取本地文件C:\VBA.xls 中Sheet1的第1行到到第5行第1列到第5列的数据
ret := rdo2 ExcelGetCells("C:\\VBA.xls", "Sheet1", 1, 1, 5, 5, data);
if ret then
begin
    ret1 := rdo2 ExcelQuit();
    if ret1 then return data;
end;
return ret;
ExcelSetCells

用途Excel控制函数相关函数。 参数:

返回:处理后的结果值。

范例

// 设置本地文件C:\VBA.xls的Sheet1的第1行到第5行第1列到第5列的数据
a := rand(5, 5);
ret := rdo2 ExcelSetCells("C:\\VBA.xls", "Sheet1", 1, 1, 5, 5, a);
if ret then
begin
    ret1 := rdo2 ExcelSave("C:\\VBA.xls");
    if ret1 then rdo2 ExcelQuit();
end;
return ret;
// 结果1设置成功
ExcelGetSheetCount

用途Excel控制函数相关函数。 参数:

返回:整数。

范例

// 获取本地文件C:\VBA.xls的Sheet个数
ret := rdo2 ExcelGetSheetCount("C:\\VBA.xls", a);
if ret then
begin
    ret1 := rdo2 ExcelQuit();
    if ret1 then return a;
end;
return 0;
// 结果1
ExcelGetChartSheetCount
ExcelGetSheetNameByIndex

用途Excel控制函数相关函数。 参数:

返回:整数。

范例

// 取本地文件C:\VBA.xls索引号为1排在第1位的Sheet的名称并返回
ret := rdo2 ExcelGetSheetNameByIndex("C:\\VBA.xls", 1, a);
if ret then
begin
    ret1 := rdo2 ExcelQuit();
    if ret1 then return a;
end;
return 0;
ExcelGetChartSheetNameByIndex
ExcelSaveAs

用途Excel控制函数相关函数。 参数:

返回:处理后的结果值。

范例

// 将本地文件C:\VBA.xls另存为C:\VBA11.xls
ret := rdo2 ExcelSaveAs("C:\\VBA.xls", "C:\\VBA11.xls");
if ret then
begin
    ret1 := rdo2 ExcelQuit();
    if ret1 then return 'Excel另存成功';
    else return 'Excel退出失败';
end;
return 'Excel 另存失败';
ExcelSaveAs2

用途Excel控制函数相关函数。 参数:

返回:处理后的结果值。

范例

// 将本地文件C:\VBA.xls另存为C:\VBA11.xls
ret := rdo2 ExcelSaveAs2("C:\\VBA.xls", "C:\\VBA11.xls", ftxls());
if ret then
begin
    ret1 := rdo2 ExcelQuit();
    if ret1 then return 'Excel另存成功';
    else return 'Excel退出失败';
end;
return 'Excel 另存失败';
ExcelSave

用途Excel控制函数相关函数。 参数:

返回:处理后的结果值。

范例

// 修改本地文件C:\VBA.xls的sheet1中的第1行第1列的数据为hello再用excelsave保存
ret := rdo2 Excelsetcell("C:\\VBA.xls", "sheet1", 1, 1, "hello");
// 对文件进行修改后,假如不保存,文件的内容还是没有被修改
if ret then
begin
    ret1 := rdo2 excelsave("C:\\VBA.xls");
    if ret1 then rdo2 ExcelQuit();
    // 文件被修改做了保存后,文件才修改成功
end;
return ret1;
// 结果1修改成功
ExcelOpen

用途Excel控制函数相关函数。 参数:

返回:处理后的结果值。

范例

// 打开本地文件C:\VBA.xls
ret := rdo2 excelopen("C:\\VBA.xls");
return ret;
// 结果1打开文件成功
ExcelClose

用途Excel控制函数相关函数。 参数:

返回:处理后的结果值。

范例

// 关闭本地文件C:\VBA.xls
ret := rdo2 excelopen("C:\\VBA.xls");
if ret then ret1 := rdo2 excelclose("C:\\VBA.xls");
return ret1;
// 结果1
ExcelQuit

用途Excel控制函数相关函数。 参数:无。 返回:处理后的结果值。

范例

// 关闭本地文件C:\VBA1.xlsC:\VBA2.xls
ret := rdo2 excelopen("C:\\VBA1.xls");
ret1 := rdo2 excelopen("C:\\VBA2.xls");
if ret and ret1 then ret2 := rdo2 excelquit();
return ret2;
// 结果1
ExcelDeleteSheet

用途Excel控制函数相关函数。 参数:

返回:处理后的结果值。

范例

//
// 删除后,必须保存才删除成功,最后退出进程。
dir := "C:\\VBA.xls";
ret := rdo2 ExcelDeleteSheet(dir, 'Sheet2');
if ret then
begin
    ret1 := rdo2 ExcelSave(dir);
    ret2 := rdo2 ExcelQuit();
end;
return array(ret, ret1, ret2);
ExcelDeleteChartSheet
ExcelNewSheet

用途Excel控制函数相关函数。 参数:

返回:处理后的结果值。

范例

// 新建文件C:\VBA.xls的sheet
ret := rdo2 ExcelNewSheet("C:\\VBA.xls", "sheet3", 1);
if ret then
begin
    ret1 := rdo2 excelsave("C:\\VBA.xls");
    if ret1 then ret2 := rdo2 excelquit();
end;
return ret2;
// 结果1
ExcelNewChartSheet
ExcelRenameChartSheet
ExcelRenameSheet

用途Excel控制函数相关函数。 参数:

返回:处理后的结果值。

范例

// 修改文件C:\VBA.xls的sheet名
ret := rdo2 ExcelRenameSheet("C:\\VBA.xls", "sheet3", "sheet");
if ret then
begin
    ret1 := rdo2 excelsave("C:\\VBA.xls");
    if ret1 then ret2 := rdo2 excelquit();
end;
return ret2;
ExcelRangeSetProp
ExcelSetRangeProp
ExcelGetRangeProp
ExcelMerge
ExcelUnMerge
ExcelCopySheet

用途Excel控制函数相关函数。 参数:

返回:处理后的结果值。

范例

ret := rdo2 ExcelCopySheet("C:\\VBA.xls", "sheet1", "sheet2", 1);
if ret then
begin
    ret1 := rdo2 excelsave("C:\\VBA.xls");
    if ret1 then ret2 := rdo2 excelquit();
end;
return ret;
ExcelCopyChartSheet
ExcelSetActiveSheet

用途Excel控制函数相关函数。 参数:

返回:处理后的结果值。

范例

ret := rdo2 ExcelSetActiveSheet("C:\\Users\\Administrator\\Desktop\\VBA.xls", "sheet1");
if ret then
begin
    ret1 := rdo2 excelsave("C:\\Users\\Administrator\\Desktop\\VBA.xls");
    if ret1 then ret2 := rdo2 excelquit();
end;
return ret;
// 结果1
ExcelSetActiveChart
ExcelSetChartSheetDataSource

用途Excel控制函数相关函数。 参数:

返回:处理后的结果值。

范例

Tempfile := 'C: \\testdata3.xlsx'
Ret1 := rdo2 ExcelSetChartSheetDataSource(tempfile, 'Chart1', 'Sheet1', 1, 1, 4, 2, 2);
ret2 := rdo2 ExcelClose(tempfile);
return array(ret1, ret2);

结果1

指定的数据源与charsheet图表

具体应用案例可参考:http://www.tinysoft.com.cn/tsdn/helpdoc/display.tsl?id=17429参考xlColumns xlRows

Excel相关常量函数
内容
  • xlColumns
  • xlRows
xlColumns

参考ExcelSetChartSheetDataSource

xlRows

参考ExcelSetChartSheetDataSource

支持的Excel常量函数列表

TSL语言已经以函数的方式支持Excel的绝大多数常量用户可以函数的方式来使用这些常量.

以下是所有支持的常量函数具体关于他们的用途以及使用方法请参考Excel的相关帮助手册在本语言手册中不提供其用法

xlAll xlAutomatic
xlBoth xlCenter
xlChecker xlCircle
xlCorner xlCrissCross
xlCross xlDiamond
xlDistributed xlDoubleAccounting
xlFixedValue xlFormats
xlGray16 xlGray8
xlGrid xlHigh
xlInside xlJustify
xlLightDown xlLightHorizontal
xlLightUp xlLightVertical
xlLow xlManual
xlMinusValues xlModule
xlNextToAxis xlNone
xlNotes xlOff
xlOn xlPercent
xlPlus xlPlusValues
xlSemiGray75 xlShowLabel
xlShowLabelAndPercent xlShowPercent
xlShowValue xlSimple
xlSingle xlSingleAccounting
xlSolid xlSquare
xlStar xlStError
xlToolbarButton xlTriangle
xlGray25 xlGray50
xlGray75 xlBottom
xlLeft xlRight
xlTop xl3DBar
xl3DSurface xlBar
xlColumn xlCombination
xlCustom xlDefaultAutoFormat
xlMaximum xlMinimum
xlOpaque xlTransparent
xlBidi xlLatin
xlContext xlLTR
xlRTL xlFullScript
xlPartialScript xlMixedScript
xlMixedAuthorizedScript xlVisualCursor
xlLogicalCursor xlSystem
xlPartial xlHindiNumerals
xlBidiCalendar xlGregorian
xlComplete xlScale
xlClosed xlColor1
xlColor2 xlColor3
xlConstants xlContents
xlBelow xlCascade
xlCenterAcrossSelection xlChart4
xlChartSeries xlChartShort
xlChartTitles xlClassic1
xlClassic2 xlClassic3
xl3DEffects1 xl3DEffects2
xlAbove xlAccounting1
xlAccounting2 xlAccounting3
xlAccounting4 xlAdd
xlDebugCodePane xlDesktop
xlDirect xlDivide
xlDoubleClosed xlDoubleOpen
xlDoubleQuote xlEntireChart
xlExcelMenus xlExtended
xlFill xlFirst
xlFloating xlFormula
xlGeneral xlGridline
xlIcons xlImmediatePane
xlInteger xlLast
xlLastCell xlList1
xlList2 xlList3
xlLocalFormat1 xlLocalFormat2
xlLong xlLotusHelp
xlMacrosheetCell xlMixed
xlMultiply xlNarrow
xlNoDocuments xlOpen
xlOutside xlReference
xlSemiautomatic xlShort
xlSingleQuote xlStrict
xlSubtract xlTextBox
xlTiled xlTitleBar
xlToolbar xlVisible
xlWatchPane xlWide
xlWorkbookTab xlWorksheet4
xlWorksheetCell xlWorksheetShort
xlAllExceptBorders xlLeftToRight
xlTopToBottom xlVeryHidden
xlDrawingObject xlCreatorCode
xlBuiltIn xlUserDefined
xlAnyGallery xlColorIndexAutomatic
xlColorIndexNone xlCap
xlNoCap xlColumns
xlRows xlScaleLinear
xlScaleLogarithmic xlAutoFill
xlChronological xlGrowth
xlDataSeriesLinear xlAxisCrossesAutomatic
xlAxisCrossesCustom xlAxisCrossesMaximum
xlAxisCrossesMinimum xlPrimary
xlSecondary xlBackgroundAutomatic
xlBackgroundOpaque xlBackgroundTransparent
xlMaximized xlMinimized
xlNormal xlCategory
xlSeriesAxis xlValue
xlArrowHeadLengthLong xlArrowHeadLengthMedium
xlArrowHeadLengthShort xlVAlignBottom
xlVAlignCenter xlVAlignDistributed
xlVAlignJustify xlVAlignTop
xlTickMarkCross xlTickMarkInside
xlTickMarkNone xlTickMarkOutside
xlX xlY
xlErrorBarIncludeBoth xlErrorBarIncludeMinusValues
xlErrorBarIncludeNone xlErrorBarIncludePlusValues
xlInterpolated xlNotPlotted
xlZero xlArrowHeadStyleClosed
xlArrowHeadStyleDoubleClosed xlArrowHeadStyleDoubleOpen
xlArrowHeadStyleNone xlArrowHeadStyleOpen
xlArrowHeadWidthMedium xlArrowHeadWidthNarrow
xlArrowHeadWidthWide xlHAlignCenter
xlHAlignCenterAcrossSelection xlHAlignDistributed
xlHAlignFill xlHAlignGeneral
xlHAlignJustify xlHAlignLeft
xlHAlignRight xlTickLabelPositionHigh
xlTickLabelPositionLow xlTickLabelPositionNextToAxis
xlTickLabelPositionNone xlLegendPositionBottom
xlLegendPositionCorner xlLegendPositionLeft
xlLegendPositionRight xlLegendPositionTop
xlStackScale xlStack
xlStretch xlSides
xlEnd xlEndSides
xlFront xlFrontSides
xlFrontEnd xlAllFaces
xlDownward xlHorizontal
xlUpward xlVertical
xlTickLabelOrientationAutomatic xlTickLabelOrientationDownward
xlTickLabelOrientationHorizontal xlTickLabelOrientationUpward
xlTickLabelOrientationVertical xlHairline
xlMedium xlThick
xlThin xlDay
xlMonth xlWeekday
xlYear xlUnderlineStyleDouble
xlUnderlineStyleDoubleAccounting xlUnderlineStyleNone
xlUnderlineStyleSingle xlUnderlineStyleSingleAccounting
xlErrorBarTypeCustom xlErrorBarTypeFixedValue
xlErrorBarTypePercent xlErrorBarTypeStDev
xlErrorBarTypeStError xlExponential
xlLinear xlLogarithmic
xlMovingAvg xlPolynomial
xlPower xlContinuous
xlDash xlDashDot
xlDashDotDot xlDot
xlDouble xlSlantDashDot
xlLineStyleNone xlDataLabelsShowNone
xlDataLabelsShowValue xlDataLabelsShowPercent
xlDataLabelsShowLabel xlDataLabelsShowLabelAndPercent
xlDataLabelsShowBubbleSizes xlMarkerStyleAutomatic
xlMarkerStyleCircle xlMarkerStyleDash
xlMarkerStyleDiamond xlMarkerStyleDot
xlMarkerStyleNone xlMarkerStylePicture
xlMarkerStylePlus xlMarkerStyleSquare
xlMarkerStyleStar xlMarkerStyleTriangle
xlMarkerStyleX xlBMP
xlCGM xlDRW
xlDXF xlEPS
xlHGL xlPCT
xlPCX xlPIC
xlPLT xlTIF
xlWMF xlWPG
xlPatternAutomatic xlPatternChecker
xlPatternCrissCross xlPatternDown
xlPatternGray16 xlPatternGray25
xlPatternGray50 xlPatternGray75
xlPatternGray8 xlPatternGrid
xlPatternHorizontal xlPatternLightDown
xlPatternLightHorizontal xlPatternLightUp
xlPatternLightVertical xlPatternNone
xlPatternSemiGray75 xlPatternSolid
xlPatternUp xlPatternVertical
xlSplitByPosition xlSplitByPercentValue
xlSplitByCustomSplit xlSplitByValue
xlHundreds xlThousands
xlTenThousands xlHundredThousands
xlMillions xlTenMillions
xlHundredMillions xlThousandMillions
xlMillionMillions xlLabelPositionCenter
xlLabelPositionAbove xlLabelPositionBelow
xlLabelPositionLeft xlLabelPositionRight
xlLabelPositionOutsideEnd xlLabelPositionInsideEnd
xlLabelPositionInsideBase xlLabelPositionBestFit
xlLabelPositionMixed xlLabelPositionCustom
xlDays xlMonths
xlYears xlCategoryScale
xlTimeScale xlAutomaticScale
xlBox xlPyramidToPoint
xlPyramidToMax xlCylinder
xlConeToPoint xlConeToMax
xlColumnClustered xlColumnStacked
xlColumnStacked100 xl3DColumnClustered
xl3DColumnStacked xl3DColumnStacked100
xlBarClustered xlBarStacked
xlBarStacked100 xl3DBarClustered
xl3DBarStacked xl3DBarStacked100
xlLineStacked xlLineStacked100
xlLineMarkers xlLineMarkersStacked
xlLineMarkersStacked100 xlPieOfPie
xlPieExploded xl3DPieExploded
xlBarOfPie xlXYScatterSmooth
xlXYScatterSmoothNoMarkers xlXYScatterLines
xlXYScatterLinesNoMarkers xlAreaStacked
xlAreaStacked100 xl3DAreaStacked
xl3DAreaStacked100 xlDoughnutExploded
xlRadarMarkers xlRadarFilled
xlSurface xlSurfaceWireframe
xlSurfaceTopView xlSurfaceTopViewWireframe
xlBubble xlBubble3DEffect
xlStockHLC xlStockOHLC
xlStockVHLC xlStockVOHLC
xlCylinderColClustered xlCylinderColStacked
xlCylinderColStacked100 xlCylinderBarClustered
xlCylinderBarStacked xlCylinderBarStacked100
xlCylinderCol xlConeColClustered
xlConeColStacked xlConeColStacked100
xlConeBarClustered xlConeBarStacked
xlConeBarStacked100 xlConeCol
xlPyramidColClustered xlPyramidColStacked
xlPyramidColStacked100 xlPyramidBarClustered
xlPyramidBarStacked xlPyramidBarStacked100
xlPyramidCol xl3DColumn
xlLine xl3DLine
xl3DPie xlPie
xlXYScatter xl3DArea
xlArea xlDoughnut
xlRadar xlDataLabel
xlChartArea xlSeries
xlChartTitle xlWalls
xlCorners xlDataTable
xlTrendline xlErrorBars
xlXErrorBars xlYErrorBars
xlLegendEntry xlLegendKey
xlShape xlMajorGridlines
xlMinorGridlines xlAxisTitle
xlUpBars xlPlotArea
xlDownBars xlAxis
xlSeriesLines xlFloor
xlLegend xlHiLoLines
xlDropLines xlRadarAxisLabels
xlNothing xlLeaderLines
xlDisplayUnitLabel xlPivotChartFieldButton
xlPivotChartDropZone xlSizeIsWidth
xlSizeIsArea xlShiftDown
xlShiftToRight xlShiftToLeft
xlShiftUp xlDown
xlToLeft xlToRight
xlUp xlAverage
xlCount xlCountNums
xlMax xlMin
xlProduct xlStDev
xlStDevP xlSum
xlVar xlVarP
xlUnknown xlChart
xlDialogSheet xlExcel4IntlMacroSheet
xlExcel4MacroSheet xlWorksheet
xlColumnHeader xlColumnItem
xlDataHeader xlDataItem
xlPageHeader xlPageItem
xlRowHeader xlRowItem
xlTableBody xlFormulas
xlComments xlValues
xlChartAsWindow xlChartInPlace
xlClipboard xlInfo
xlWorkbook xlDate
xlNumber xlText
xlBitmap xlPicture
xlScenario xlConsolidation
xlDatabase xlExternal
xlPivotTable xlA1
xlR1C1 xlMicrosoftAccess
xlMicrosoftFoxPro xlMicrosoftMail
xlMicrosoftPowerPoint xlMicrosoftProject
xlMicrosoftSchedulePlus xlMicrosoftWord
xlNoButton xlPrimaryButton
xlSecondaryButton xlCopy
xlCut xlFillWithAll
xlFillWithContents xlFillWithFormats
xlFilterCopy xlFilterInPlace
xlDownThenOver xlOverThenDown
xlLinkTypeExcelLinks xlLinkTypeOLELinks
xlColumnThenRow xlRowThenColumn
xlDisabled xlErrorHandler
xlInterrupt xlPageBreakAutomatic
xlPageBreakManual xlPageBreakNone
xlOLEControl xlOLEEmbed
xlOLELink xlLandscape
xlPortrait xlEditionDate
xlUpdateState xlLinkInfoStatus
xlCommandUnderlinesAutomatic xlCommandUnderlinesOff
xlCommandUnderlinesOn xlVerbOpen
xlVerbPrimary xlCalculationAutomatic
xlCalculationManual xlCalculationSemiautomatic
xlReadOnly xlReadWrite
xlPublisher xlSubscriber
xlFitToPage xlFullPage
xlScreenSize xlPart
xlWhole xlMAPI
xlNoMailSystem xlPowerTalk
xlLinkInfoOLELinks xlLinkInfoPublishers
xlLinkInfoSubscribers xlErrDiv0
xlErrNA xlErrName
xlErrNull xlErrNum
xlErrRef xlErrValue
xlBIFF xlPICT
xlRTF xlVALU
xlExcelLinks xlOLELinks
xlPublishers xlSubscribers
xlCellTypeBlanks xlCellTypeConstants
xlCellTypeFormulas xlCellTypeLastCell
xlCellTypeComments xlCellTypeVisible
xlCellTypeAllFormatConditions xlCellTypeSameFormatConditions
xlCellTypeAllValidation xlCellTypeSameValidation
xlArrangeStyleCascade xlArrangeStyleHorizontal
xlArrangeStyleTiled xlArrangeStyleVertical
xlIBeam xlDefault
xlNorthwestArrow xlWait
xlAutomaticUpdate xlCancel
xlChangeAttributes xlManualUpdate
xlOpenSource xlSelect
xlSendPublisher xlUpdateSubscriber
xlFillCopy xlFillDays
xlFillDefault xlFillFormats
xlFillMonths xlFillSeries
xlFillValues xlFillWeekdays
xlFillYears xlGrowthTrend
xlLinearTrend xlAnd
xlBottom10Items xlBottom10Percent
xlOr xlTop10Items
xlTop10Percent xlClipboardFormatBIFF
xlClipboardFormatBIFF2 xlClipboardFormatBIFF3
xlClipboardFormatBIFF4 xlClipboardFormatBinary
xlClipboardFormatBitmap xlClipboardFormatCGM
xlClipboardFormatCSV xlClipboardFormatDIF
xlClipboardFormatDspText xlClipboardFormatEmbeddedObject
xlClipboardFormatEmbedSource xlClipboardFormatLink
xlClipboardFormatLinkSource xlClipboardFormatLinkSourceDesc
xlClipboardFormatMovie xlClipboardFormatNative
xlClipboardFormatObjectDesc xlClipboardFormatObjectLink
xlClipboardFormatOwnerLink xlClipboardFormatPICT
xlClipboardFormatPrintPICT xlClipboardFormatRTF
xlClipboardFormatScreenPICT xlClipboardFormatStandardFont
xlClipboardFormatStandardScale xlClipboardFormatSYLK
xlClipboardFormatTable xlClipboardFormatText
xlClipboardFormatToolFace xlClipboardFormatToolFacePICT
xlClipboardFormatVALU xlClipboardFormatWK1
xlAddIn xlCSV
xlCSVMac xlCSVMSDOS
xlCSVWindows xlDBF2
xlDBF3 xlDBF4
xlDIF xlExcel2
xlExcel2FarEast xlExcel3
xlExcel4 xlExcel5
xlExcel7 xlExcel9795
xlExcel4Workbook xlIntlAddIn
xlIntlMacro xlWorkbookNormal
xlSYLK xlTemplate
xlCurrentPlatformText xlTextMac
xlTextMSDOS xlTextPrinter
xlTextWindows xlWJ2WD1
xlWK1 xlWK1ALL
xlWK1FMT xlWK3
xlWK4 xlWK3FM3
xlWKS xlWorks2FarEast
xlWQ1 xlWJ3
xlWJ3FJ3 xlUnicodeText
xlHtml xlWebArchive
xlXMLSpreadsheet xl24HourClock
xl4DigitYears xlAlternateArraySeparator
xlColumnSeparator xlCountryCode
xlCountrySetting xlCurrencyBefore
xlCurrencyCode xlCurrencyDigits
xlCurrencyLeadingZeros xlCurrencyMinusSign
xlCurrencyNegative xlCurrencySpaceBefore
xlCurrencyTrailingZeros xlDateOrder
xlDateSeparator xlDayCode
xlDayLeadingZero xlDecimalSeparator
xlGeneralFormatName xlHourCode
xlLeftBrace xlLeftBracket
xlListSeparator xlLowerCaseColumnLetter
xlLowerCaseRowLetter xlMDY
xlMetric xlMinuteCode
xlMonthCode xlMonthLeadingZero
xlMonthNameChars xlNoncurrencyDigits
xlNonEnglishFunctions xlRightBrace
xlRightBracket xlRowSeparator
xlSecondCode xlThousandsSeparator
xlTimeLeadingZero xlTimeSeparator
xlUpperCaseColumnLetter xlUpperCaseRowLetter
xlWeekdayNameChars xlYearCode
xlPageBreakFull xlPageBreakPartial
xlOverwriteCells xlInsertDeleteCells
xlInsertEntireRows xlNoLabels
xlRowLabels xlColumnLabels
xlMixedLabels xlSinceMyLastSave
xlAllChanges xlNotYetReviewed
xlNoIndicator xlCommentIndicatorOnly
xlCommentAndIndicator xlCellValue
xlExpression xlBetween
xlNotBetween xlEqual
xlNotEqual xlGreater
xlLess xlGreaterEqual
xlLessEqual xlNoRestrictions
xlUnlockedCells xlNoSelection
xlValidateInputOnly xlValidateWholeNumber
xlValidateDecimal xlValidateList
xlValidateDate xlValidateTime
xlValidateTextLength xlValidateCustom
xlIMEModeNoControl xlIMEModeOn
xlIMEModeOff xlIMEModeDisable
xlIMEModeHiragana xlIMEModeKatakana
xlIMEModeKatakanaHalf xlIMEModeAlphaFull
xlIMEModeAlpha xlIMEModeHangulFull
xlIMEModeHangul xlValidAlertStop
xlValidAlertWarning xlValidAlertInformation
xlLocationAsNewSheet xlLocationAsObject
xlLocationAutomatic xlPaper10x14
xlPaper11x17 xlPaperA3
xlPaperA4 xlPaperA4Small
xlPaperA5 xlPaperB4
xlPaperB5 xlPaperCsheet
xlPaperDsheet xlPaperEnvelope10
xlPaperEnvelope11 xlPaperEnvelope12
xlPaperEnvelope14 xlPaperEnvelope9
xlPaperEnvelopeB4 xlPaperEnvelopeB5
xlPaperEnvelopeB6 xlPaperEnvelopeC3
xlPaperEnvelopeC4 xlPaperEnvelopeC5
xlPaperEnvelopeC6 xlPaperEnvelopeC65
xlPaperEnvelopeDL xlPaperEnvelopeItaly
xlPaperEnvelopeMonarch xlPaperEnvelopePersonal
xlPaperEsheet xlPaperExecutive
xlPaperFanfoldLegalGerman xlPaperFanfoldStdGerman
xlPaperFanfoldUS xlPaperFolio
xlPaperLedger xlPaperLegal
xlPaperLetter xlPaperLetterSmall
xlPaperNote xlPaperQuarto
xlPaperStatement xlPaperTabloid
xlPaperUser xlPasteSpecialOperationAdd
xlPasteSpecialOperationDivide xlPasteSpecialOperationMultiply
xlPasteSpecialOperationNone xlPasteSpecialOperationSubtract
xlPasteAll xlPasteAllExceptBorders
xlPasteFormats xlPasteFormulas
xlPasteComments xlPasteValues
xlPasteColumnWidths xlPasteValidation
xlPasteFormulasAndNumberFormats xlPasteValuesAndNumberFormats
xlKatakanaHalf xlKatakana
xlHiragana xlNoConversion
xlPhoneticAlignNoControl xlPhoneticAlignLeft
xlPhoneticAlignCenter xlPhoneticAlignDistributed
xlPrinter xlScreen
xlColumnField xlDataField
xlHidden xlPageField
xlRowField xlDifferenceFrom
xlIndex xlNoAdditionalCalculation
xlPercentDifferenceFrom xlPercentOf
xlPercentOfColumn xlPercentOfRow
xlPercentOfTotal xlRunningTotal
xlFreeFloating xlMove
xlMoveAndSize xlMacintosh
xlMSDOS xlWindows
xlPrintSheetEnd xlPrintInPlace
xlPrintNoComments xlPriorityHigh
xlPriorityLow xlPriorityNormal
xlLabelOnly xlDataAndLabel
xlDataOnly xlOrigin
xlButton xlBlanks
xlFirstRow xlRangeAutoFormat3DEffects1
xlRangeAutoFormat3DEffects2 xlRangeAutoFormatAccounting1
xlRangeAutoFormatAccounting2 xlRangeAutoFormatAccounting3
xlRangeAutoFormatAccounting4 xlRangeAutoFormatClassic1
xlRangeAutoFormatClassic2 xlRangeAutoFormatClassic3
xlRangeAutoFormatColor1 xlRangeAutoFormatColor2
xlRangeAutoFormatColor3 xlRangeAutoFormatList1
xlRangeAutoFormatList2 xlRangeAutoFormatList3
xlRangeAutoFormatLocalFormat1 xlRangeAutoFormatLocalFormat2
xlRangeAutoFormatLocalFormat3 xlRangeAutoFormatLocalFormat4
xlRangeAutoFormatReport1 xlRangeAutoFormatReport2
xlRangeAutoFormatReport3 xlRangeAutoFormatReport4
xlRangeAutoFormatReport5 xlRangeAutoFormatReport6
xlRangeAutoFormatReport7 xlRangeAutoFormatReport8
xlRangeAutoFormatReport9 xlRangeAutoFormatReport10
xlRangeAutoFormatClassicPivotTable xlRangeAutoFormatTable1
xlRangeAutoFormatTable2 xlRangeAutoFormatTable3
xlRangeAutoFormatTable4 xlRangeAutoFormatTable5
xlRangeAutoFormatTable6 xlRangeAutoFormatTable7
xlRangeAutoFormatTable8 xlRangeAutoFormatTable9
xlRangeAutoFormatTable10 xlRangeAutoFormatPTNone
xlRangeAutoFormatNone xlRangeAutoFormatSimple
xlAbsolute xlAbsRowRelColumn
xlRelative xlRelRowAbsColumn
xlTabular xlOutline
xlAllAtOnce xlOneAfterAnother
xlNotYetRouted xlRoutingComplete
xlRoutingInProgress xlAutoActivate
xlAutoClose xlAutoDeactivate
xlAutoOpen xlDoNotSaveChanges
xlSaveChanges xlExclusive
xlNoChange xlShared
xlLocalSessionChanges xlOtherSessionChanges
xlUserResolution xlNext
xlPrevious xlByColumns
xlByRows xlSheetVisible
xlSheetHidden xlSheetVeryHidden
xlPinYin xlStroke
xlCodePage xlSyllabary
xlAscending xlDescending
xlSortRows xlSortColumns
xlSortLabels xlSortValues
xlErrors xlLogical
xlNumbers xlTextValues
xlSubscribeToPicture xlSubscribeToText
xlSummaryAbove xlSummaryBelow
xlSummaryOnLeft xlSummaryOnRight
xlSummaryPivotTable xlStandardSummary
xlTabPositionFirst xlTabPositionLast
xlDelimited xlFixedWidth
xlTextQualifierDoubleQuote xlTextQualifierNone
xlTextQualifierSingleQuote xlWBATChart
xlWBATExcel4IntlMacroSheet xlWBATExcel4MacroSheet
xlWBATWorksheet xlNormalView
xlPageBreakPreview xlCommand
xlFunction xlNotXLM
xlGuess xlNo
xlYes xlInsideHorizontal
xlInsideVertical xlDiagonalDown
xlDiagonalUp xlEdgeBottom
xlEdgeLeft xlEdgeRight
xlEdgeTop xlNoButtonChanges
xlNoChanges xlNoDockingChanges
xlToolbarProtectionNone xlNoShapeChanges
xlDialogOpen xlDialogOpenLinks
xlDialogSaveAs xlDialogFileDelete
xlDialogPageSetup xlDialogPrint
xlDialogPrinterSetup xlDialogArrangeAll
xlDialogWindowSize xlDialogWindowMove
xlDialogRun xlDialogSetPrintTitles
xlDialogFont xlDialogDisplay
xlDialogProtectDocument xlDialogCalculation
xlDialogExtract xlDialogDataDelete
xlDialogSort xlDialogDataSeries
xlDialogTable xlDialogFormatNumber
xlDialogAlignment xlDialogStyle
xlDialogBorder xlDialogCellProtection
xlDialogColumnWidth xlDialogClear
xlDialogPasteSpecial xlDialogEditDelete
xlDialogInsert xlDialogPasteNames
xlDialogDefineName xlDialogCreateNames
xlDialogFormulaGoto xlDialogFormulaFind
xlDialogGalleryArea xlDialogGalleryBar
xlDialogGalleryColumn xlDialogGalleryLine
xlDialogGalleryPie xlDialogGalleryScatter
xlDialogCombination xlDialogGridlines
xlDialogAxes xlDialogAttachText
xlDialogPatterns xlDialogMainChart
xlDialogOverlay xlDialogScale
xlDialogFormatLegend xlDialogFormatText
xlDialogParse xlDialogUnhide
xlDialogWorkspace xlDialogActivate
xlDialogCopyPicture xlDialogDeleteName
xlDialogDeleteFormat xlDialogNew
xlDialogRowHeight xlDialogFormatMove
xlDialogFormatSize xlDialogFormulaReplace
xlDialogSelectSpecial xlDialogApplyNames
xlDialogReplaceFont xlDialogSplit
xlDialogOutline xlDialogSaveWorkbook
xlDialogCopyChart xlDialogFormatFont
xlDialogNote xlDialogSetUpdateStatus
xlDialogColorPalette xlDialogChangeLink
xlDialogAppMove xlDialogAppSize
xlDialogMainChartType xlDialogOverlayChartType
xlDialogOpenMail xlDialogSendMail
xlDialogStandardFont xlDialogConsolidate
xlDialogSortSpecial xlDialogGallery3dArea
xlDialogGallery3dColumn xlDialogGallery3dLine
xlDialogGallery3dPie xlDialogView3d
xlDialogGoalSeek xlDialogWorkgroup
xlDialogFillGroup xlDialogUpdateLink
xlDialogPromote xlDialogDemote
xlDialogShowDetail xlDialogObjectProperties
xlDialogSaveNewObject xlDialogApplyStyle
xlDialogAssignToObject xlDialogObjectProtection
xlDialogCreatePublisher xlDialogSubscribeTo
xlDialogShowToolbar xlDialogPrintPreview
xlDialogEditColor xlDialogFormatMain
xlDialogFormatOverlay xlDialogEditSeries
xlDialogDefineStyle xlDialogGalleryRadar
xlDialogEditionOptions xlDialogZoom
xlDialogInsertObject xlDialogSize
xlDialogMove xlDialogFormatAuto
xlDialogGallery3dBar xlDialogGallery3dSurface
xlDialogCustomizeToolbar xlDialogWorkbookAdd
xlDialogWorkbookMove xlDialogWorkbookCopy
xlDialogWorkbookOptions xlDialogSaveWorkspace
xlDialogChartWizard xlDialogAssignToTool
xlDialogPlacement xlDialogFillWorkgroup
xlDialogWorkbookNew xlDialogScenarioCells
xlDialogScenarioAdd xlDialogScenarioEdit
xlDialogScenarioSummary xlDialogPivotTableWizard
xlDialogPivotFieldProperties xlDialogOptionsCalculation
xlDialogOptionsEdit xlDialogOptionsView
xlDialogAddinManager xlDialogMenuEditor
xlDialogAttachToolbars xlDialogOptionsChart
xlDialogVbaInsertFile xlDialogVbaProcedureDefinition
xlDialogRoutingSlip xlDialogMailLogon
xlDialogInsertPicture xlDialogGalleryDoughnut
xlDialogChartTrend xlDialogWorkbookInsert
xlDialogOptionsTransition xlDialogOptionsGeneral
xlDialogFilterAdvanced xlDialogMailNextLetter
xlDialogDataLabel xlDialogInsertTitle
xlDialogFontProperties xlDialogMacroOptions
xlDialogWorkbookUnhide xlDialogWorkbookName
xlDialogGalleryCustom xlDialogAddChartAutoformat
xlDialogChartAddData xlDialogTabOrder
xlDialogSubtotalCreate xlDialogWorkbookTabSplit
xlDialogWorkbookProtect xlDialogScrollbarProperties
xlDialogPivotShowPages xlDialogTextToColumns
xlDialogFormatCharttype xlDialogPivotFieldGroup
xlDialogPivotFieldUngroup xlDialogCheckboxProperties
xlDialogLabelProperties xlDialogListboxProperties
xlDialogEditboxProperties xlDialogOpenText
xlDialogPushbuttonProperties xlDialogFilter
xlDialogFunctionWizard xlDialogSaveCopyAs
xlDialogOptionsListsAdd xlDialogSeriesAxes
xlDialogSeriesX xlDialogSeriesY
xlDialogErrorbarX xlDialogErrorbarY
xlDialogFormatChart xlDialogSeriesOrder
xlDialogMailEditMailer xlDialogStandardWidth
xlDialogScenarioMerge xlDialogProperties
xlDialogSummaryInfo xlDialogFindFile
xlDialogActiveCellFont xlDialogVbaMakeAddin
xlDialogFileSharing xlDialogAutoCorrect
xlDialogCustomViews xlDialogInsertNameLabel
xlDialogSeriesShape xlDialogChartOptionsDataLabels
xlDialogChartOptionsDataTable xlDialogSetBackgroundPicture
xlDialogDataValidation xlDialogChartType
xlDialogChartLocation xlDialogChartSourceData
xlDialogSeriesOptions xlDialogPivotTableOptions
xlDialogPivotSolveOrder xlDialogPivotCalculatedField
xlDialogPivotCalculatedItem xlDialogConditionalFormatting
xlDialogInsertHyperlink xlDialogProtectSharing
xlDialogOptionsME xlDialogPublishAsWebPage
xlDialogPhonetic xlDialogNewWebQuery
xlDialogImportTextFile xlDialogExternalDataProperties
xlDialogWebOptionsGeneral xlDialogWebOptionsFiles
xlDialogWebOptionsPictures xlDialogWebOptionsEncoding
xlDialogWebOptionsFonts xlDialogPivotClientServerSet
xlDialogPropertyFields xlDialogSearch
xlDialogEvaluateFormula xlDialogDataLabelMultiple
xlDialogChartOptionsDataLabelMultiple xlDialogErrorChecking
xlDialogWebOptionsBrowsers xlPrompt
xlConstant xlRange
xlParamTypeUnknown xlParamTypeChar
xlParamTypeNumeric xlParamTypeDecimal
xlParamTypeInteger xlParamTypeSmallInt
xlParamTypeFloat xlParamTypeReal
xlParamTypeDouble xlParamTypeVarChar
xlParamTypeDate xlParamTypeTime
xlParamTypeTimestamp xlParamTypeLongVarChar
xlParamTypeBinary xlParamTypeVarBinary
xlParamTypeLongVarBinary xlParamTypeBigInt
xlParamTypeTinyInt xlParamTypeBit
xlParamTypeWChar xlButtonControl
xlCheckBox xlDropDown
xlEditBox xlGroupBox
xlLabel xlListBox
xlOptionButton xlScrollBar
xlSpinner xlSourceWorkbook
xlSourceSheet xlSourcePrintArea
xlSourceAutoFilter xlSourceRange
xlSourceChart xlSourcePivotTable
xlSourceQuery xlHtmlStatic
xlHtmlCalc xlHtmlList
xlHtmlChart xlReport1
xlReport2 xlReport3
xlReport4 xlReport5
xlReport6 xlReport7
xlReport8 xlReport9
xlReport10 xlTable1
xlTable2 xlTable3
xlTable4 xlTable5
xlTable6 xlTable7
xlTable8 xlTable9
xlTable10 xlPTClassic
xlPTNone xlCmdCube
xlCmdSql xlCmdTable
xlCmdDefault xlGeneralFormat
xlTextFormat xlMDYFormat
xlDMYFormat xlYMDFormat
xlMYDFormat xlDYMFormat
xlYDMFormat xlSkipColumn
xlEMDFormat xlODBCQuery
xlDAORecordset xlWebQuery
xlOLEDBQuery xlTextImport
xlADORecordset xlEntirePage
xlAllTables xlSpecifiedTables
xlHierarchy xlMeasure
xlSet xlWebFormattingAll
xlWebFormattingRTF xlWebFormattingNone
xlDisplayShapes xlHide
xlPlaceholders xlAtTop
xlAtBottom xlPivotTableVersion2000
xlPivotTableVersion10 xlPivotTableVersionCurrent
xlPrintErrorsDisplayed xlPrintErrorsBlank
xlPrintErrorsDash xlPrintErrorsNA
xlPivotCellValue xlPivotCellPivotItem
xlPivotCellSubtotal xlPivotCellGrandTotal
xlPivotCellDataField xlPivotCellPivotField
xlPivotCellPageFieldItem xlPivotCellCustomSubtotal
xlPivotCellDataPivotField xlPivotCellBlankCell
xlMissingItemsDefault xlMissingItemsNone
xlMissingItemsMax xlDone
xlCalculating xlPending
xlNoKey xlEscKey
xlAnyKey xlSortNormal
xlSortTextAsNumbers xlUpdateLinksUserSetting
xlUpdateLinksNever xlUpdateLinksAlways
xlLinkStatusOK xlLinkStatusMissingFile
xlLinkStatusMissingSheet xlLinkStatusOld
xlLinkStatusSourceNotCalculated xlLinkStatusIndeterminate
xlLinkStatusNotStarted xlLinkStatusInvalidName
xlLinkStatusSourceNotOpen xlLinkStatusSourceOpen
xlLinkStatusCopiedValues xlWithinSheet
xlWithinWorkbook xlNormalLoad
xlRepairFile xlExtractData
xlAsRequired xlAlways
xlNever xlEvaluateToError
xlTextDate xlNumberAsText
xlInconsistentFormula xlOmittedCells
xlUnlockedFormulaCells xlEmptyCellReferences
xlDataLabelSeparatorDefault xlIndicatorAndButton
xlDisplayNone xlButtonOnly
xlRangeValueDefault xlRangeValueXMLSpreadsheet
xlRangeValueMSPersistXML xlSpeakByRows
xlSpeakByColumns xlFormatFromLeftOrAbove
xlFormatFromRightOrBelow xlArabicNone
xlArabicStrictAlefHamza xlArabicStrictFinalYaa
xlArabicBothStrict xlQueryTable
xlPivotTableReport xlCalculatedMember
xlCalculatedSet xlHebrewFullScript
xlHebrewPartialScript xlHebrewMixedScript
xlHebrewMixedAuthorizedScript
Excel操作相关的类
内容
  • Txlsreadwrite类
  • TxlsSheet类
Txlsreadwrite类

范例

// 将函数设置为本地执行取Excel文件中的sheet数量
LJ := "E:\\TestExcel\\TslRW01.xlsx";
obj := CreateObject('TxlsReadWrite');
obj.LoadFromFile("", LJ); // 加载excel文件
return obj.count;

6

####### 内容

  • TxlsReadWrite属性
  • TxlsReadWrite方法

####### TxlsReadWrite属性

######## 内容

  • ActiveIndex
  • Options
  • Left
  • Top
  • Width
  • Height
  • Count
  • Password
  • Version
  • 计算属性

######## ActiveIndex

######## Options

######## Left

######## Top

######## Width

######## Height

######## Count

######## Password

######## Version

######## 计算属性

######### 内容

  • CalcMode
  • RefMode
  • FullCalcOnLoad
  • Iterate
  • IterateCount
  • IterateDelta
  • FullPrecision
  • CalcCompleted
  • CalcOnSave
  • ConcurrentCalc
  • ConcurrentManualCount
  • ForceFullCalc

######### CalcMode

######### RefMode

######### FullCalcOnLoad

######### Iterate

######### IterateCount

######### IterateDelta

######### FullPrecision

######### CalcCompleted

######### CalcOnSave

######### ConcurrentCalc

######### ConcurrentManualCount

######### ForceFullCalc

####### TxlsReadWrite方法

######## 内容

  • Calculate
  • Sheets
  • Add
  • Insert
  • Delete
  • Clear
  • SaveToStream
  • LoadFromStream
  • SaveToFile
  • LoadFromFile

######## Calculate

######## Sheets

范例

LJ := "E:\\TestExcel\\TslRW01.xlsx";
obj := CreateObject('TxlsReadWrite');
obj.LoadFromFile("", LJ); // 加载excel文件
sheet := obj.sheets("表2"); // 指定sheet表
// 获取当前sheet中的指定范围的内容
r := sheet.values(0, 0, 3, 6);
return r;

返回:

######## Add

范例

LJ := "E:\\TestExcel\\TslRW01.xlsx";
obj := CreateObject('TxlsReadWrite');
obj.LoadFromFile("", LJ); // 加载excel文件
obj.add(); // 新增一个sheet
obj.SaveToFile('', LJ);

######## Insert

范例

LJ := "E:\\TestExcel\\TslRW01.xlsx";
obj := CreateObject('TxlsReadWrite');
obj.LoadFromFile("", LJ); // 加载excel文件
obj.insert('表3', 2); // 在“表3”前面插入2个sheet
obj.SaveToFile('', LJ); // 保存

插入后excel结果如下

######## Delete

范例

LJ := "E:\\TestExcel\\TslRW01.xlsx";
obj := CreateObject('TxlsReadWrite');
obj.LoadFromFile("", LJ); // 加载excel文件    obj.Delete('表2',2); // 删除表2及后面的1个表
obj.SaveToFile('', LJ); // 保存

######## Clear

######## SaveToStream

######## LoadFromStream

######## SaveToFile

######## LoadFromFile

TxlsSheet类

范例

// 将函数设置为本地执行读取Excel中某个sheet的数据
// 依赖txlsreadwrite获取Excel文件
obj := CreateObject("txlsreadwrite");
filename := "C:\\ testdata2.xlsx";
obj.LoadFromFile("", filename);
mysheet := obj.sheets(0);?//mysheet返回即为Txlssheet类
// 调用Txlssheet类的value函数返回sheet中第二行第二列的单元格中的值
a := mysheet.value(1, 1);
return a;

####### 内容

  • TxlsSheet属性
  • TxlsSheet方法

####### TxlsSheet属性

######## 内容

  • Name
  • NameW
  • Index
  • IsChartSheet
  • LeftCol
  • TopRow
  • DefaultColWidth
  • DefaultRowHeight

######## Name

######## NameW

######## Index

######## IsChartSheet

######## LeftCol

######## TopRow

######## DefaultColWidth

######## DefaultRowHeight

####### TxlsSheet方法

######## 内容

  • AsString
  • AsRichText
  • AsFmtString
  • AsError
  • AsStringW
  • AsEmpty
  • ValueW
  • AsStrFormulaValueW
  • IsError
  • AsFormulaW
  • AsHyperlinkW
  • AsNumFormulaValue
  • AsFormula
  • AsFmtStringW
  • IsDateTime
  • AsStrFormulaValue
  • AsBoolean
  • AsHTMLW
  • AsBoolFormulaValue
  • AsHTML
  • Value
  • AsRichTextW
  • AsHyperlink
  • BorderLeftStyle
  • CellType
  • Rotation
  • NumberFormat
  • FillPatternForeColor
  • HorizAlignment
  • FillPatternBackColor
  • BorderLeftColor
  • BorderRightColor
  • BorderTopStyle
  • FormulaType
  • VertAlignment
  • FillPatternPattern
  • BorderRightStyle
  • Protection
  • ShrinkToFit
  • BorderTopColor
  • NumberFormatW
  • WrapText
  • Indent
  • BorderDiagColor
  • FontSize
  • FontSubSuperScript
  • FontUnderline
  • FontNameW
  • BorderBottomStyle
  • FontName
  • FontColor
  • FillPatternForeColorRGB
  • FillPatternBackColorRGB
  • FontStyle
  • BorderBottomColor
  • BorderDiagStyle
  • FontFamily
  • AsInteger
  • RowHide
  • BorderBottomColorRGB
  • Values
  • Comment
  • BorderLeftColorRGB
  • AsFloat
  • BorderDiagColorRGB
  • CommentW
  • ValuesW
  • BorderTopColorRGB
  • AsDateTime
  • CellColorRGB
  • BorderRightColorRGB
  • AsBlank
  • RowHeight
  • CalculateW
  • AutoHeightRow
  • ColWidth
  • ColHide
  • DeleteCell
  • DeleteComment
  • MergeCells
  • FreezePanes
  • MergedCells
  • CopyCells
  • HasComment
  • MoveCell
  • UnsplitPanes
  • UnMergeCells
  • AutoWidthCol
  • Calculate
  • Clear
  • DeleteCells
  • UnfreezePanes
  • CopyCell
  • SplitPanes
  • DeleteRows
  • LastCol
  • UngroupRows
  • Sort
  • CopyColumns
  • MakeHyperlink
  • CopyRows
  • MoveColumns
  • InsertColumns
  • UngroupColumns
  • ClearRows
  • ClearColumns
  • GroupRows
  • GroupColumns
  • DeleteColumns
  • FindCell
  • MoveRows
  • IsEmpty
  • CalcDimensionsEx
  • InsertRows
  • MoveCells
  • FirstCol
  • IsFormatted
  • FirstRow
  • LastRow
  • SetDefaultFormat

######## AsString

######## AsRichText

######## AsFmtString

范例

obj := CreateObject("txlsreadwrite");
filename := "E:\\TestExcel\\TslRW01.xlsx";
obj.LoadFromFile("", filename);
mysheet := obj.sheets("sheet5");
a := mysheet.AsFmtString(0, 2);
return a;

返回:

原excel值

######## AsError

范例

obj := CreateObject("txlsreadwrite");
filename := "E:\\TestExcel\\TslRW01.xlsx";
obj.LoadFromFile("", filename);
mysheet := obj.sheets("表3");
a := mysheet.AsError(5, 3);
return a;

返回:3原Excel文件

######## AsStringW

######## AsEmpty

######## ValueW

######## AsStrFormulaValueW

######## IsError

######## AsFormulaW

######## AsHyperlinkW

######## AsNumFormulaValue

######## AsFormula

范例

obj := CreateObject("txlsreadwrite");
filename := "E:\\TestExcel\\TslRW01.xlsx";
obj.LoadFromFile("", filename);
mysheet := obj.sheets("表3");
return mysheet.AsFormula(3, 2);

返回字符串B3>C3

原excel:

######## AsFmtStringW

######## IsDateTime

范例

obj := CreateObject("txlsreadwrite");
filename := "E:\\TestExcel\\TslRW01.xlsx";
obj.LoadFromFile("", filename);
mysheet := obj.sheets("Sheet5");
return mysheet.IsDateTime(3, 4);

返回:1

原excel:

######## AsStrFormulaValue

######## AsBoolean

######## AsHTMLW

######## AsBoolFormulaValue

######## AsHTML

######## Value

######## AsRichTextW

######## AsHyperlink

######## BorderLeftStyle

范例

filename := "D:\\test.xlsx";
// ImportFile(ftXLS(),"",filename,t);
obj := CreateObject("txlsreadwrite");
obj.LoadFromFile("", filename);
mysheet := obj.sheets(1); // mysheet返回即为Txlssheet类
return mysheet.BorderLeftStyle(1, 1);
// 返回对应单元格左边框的样式1

######## CellType

######## Rotation

######## NumberFormat

范例

obj := CreateObject("txlsreadwrite");
filename := "E:\\TestExcel\\TslRW01.xlsx";
obj.LoadFromFile("", filename);
mysheet := obj.sheets("Sheet5");
return mysheet.NumberFormat(2, 9);

返回字符串0.00_);0.00

######## FillPatternForeColor

######## HorizAlignment

######## FillPatternBackColor

######## BorderLeftColor

范例

filename := "D:\\test.xlsx";
// ImportFile(ftXLS(),"",filename,t);
obj := CreateObject("txlsreadwrite");
obj.LoadFromFile("", filename);
mysheet := obj.sheets(1); // mysheet返回即为Txlssheet类
return mysheet.BorderLeftColor(1, 1);
// 返回对应单元格左边框的颜色值0

######## BorderRightColor

范例

filename := "D:\\test.xlsx";
// ImportFile(ftXLS(),"",filename,t);
obj := CreateObject("txlsreadwrite");
obj.LoadFromFile("", filename);
mysheet := obj.sheets(1); // mysheet返回即为Txlssheet类
return mysheet.BorderRightColor(1, 1);
// 返回对应单元格右边框的颜色值0

######## BorderTopStyle

######## FormulaType

######## VertAlignment

######## FillPatternPattern

######## BorderRightStyle

范例

[code]

filename:="D:\test.xlsx";

ImportFile(ftXLS(),"",filename,t);

obj:=CreateObject("txlsreadwrite");

obj.LoadFromFile("",filename);

mysheet:=obj.sheets(1); //mysheet返回即为Txlssheet类

return mysheet.BorderRightStyle(1,1);

返回对应单元格右边框的样式1

######## Protection

######## ShrinkToFit

######## BorderTopColor

######## NumberFormatW

######## WrapText

######## Indent

######## BorderDiagColor

范例

filename := "D:\\test.xlsx";
// ImportFile(ftXLS(),"",filename,t);
obj := CreateObject("txlsreadwrite");
obj.LoadFromFile("", filename);
mysheet := obj.sheets(1); // mysheet返回即为Txlssheet类
return mysheet.BorderDiagColor(1, 1);
// 返回对应单元格对角线边框的颜色0

######## FontSize

范例

filename := "D:\\test.xlsx";
// ImportFile(ftXLS(),"",filename,t);
obj := CreateObject("txlsreadwrite");
obj.LoadFromFile("", filename);
mysheet := obj.sheets(1); // mysheet返回即为Txlssheet类
return mysheet.FontSize(1, 1);
// 返回对应单元格字体的大小11

######## FontSubSuperScript

范例

filename := "D:\\test.xlsx";
// ImportFile(ftXLS(),"",filename,t);
obj := CreateObject("txlsreadwrite");
obj.LoadFromFile("", filename);
mysheet := obj.sheets(1); // mysheet返回即为Txlssheet类
return mysheet.FontSubSuperScript(1, 1);
// 返回对应单元格字体的上下标类型值1

######## FontUnderline

范例

filename := "D:\\test.xlsx";
// ImportFile(ftXLS(),"",filename,t);
obj := CreateObject("txlsreadwrite");
obj.LoadFromFile("", filename);
mysheet := obj.sheets(1); // mysheet返回即为Txlssheet类
return mysheet.FontUnderline(1, 1);
// 返回对应单元格字体的下划线类型值3

######## FontNameW

范例 参考FontName

######## BorderBottomStyle

范例

filename := "D:\\test.xlsx";
// ImportFile(ftXLS(),"",filename,t);
obj := CreateObject("txlsreadwrite");
obj.LoadFromFile("", filename);
mysheet := obj.sheets(1); // mysheet返回即为Txlssheet类
return mysheet.BorderBottomStyle(1, 1);
// 返回对应单元格下边框的样式1

######## FontName

范例

filename := "D:\\test.xlsx";
// ImportFile(ftXLS(),"",filename,t);
obj := CreateObject("txlsreadwrite");
obj.LoadFromFile("", filename);
mysheet := obj.sheets(1); // mysheet返回即为Txlssheet类
return mysheet.FontName(1, 1);
// 返回对应单元格字体的名称,"等线"

######## FontColor

范例

filename := "D:\\test.xlsx";
// ImportFile(ftXLS(),"",filename,t);
obj := CreateObject("txlsreadwrite");
obj.LoadFromFile("", filename);
mysheet := obj.sheets(1); // mysheet返回即为Txlssheet类
return mysheet.FontColor(1, 1);
// 返回对应单元格字体的颜色值橙色49407

######## FillPatternForeColorRGB

范例

filename := "D:\\test.xlsx";
// ImportFile(ftXLS(),"",filename,t);
obj := CreateObject("txlsreadwrite");
obj.LoadFromFile("", filename);
mysheet := obj.sheets(1); // mysheet返回即为Txlssheet类
return mysheet.FillPatternForeColorRGB(1, 1);
// 返回对应单元格的填充图案颜色值16777215

######## FillPatternBackColorRGB

范例

filename := "D:\\test.xlsx";
// ImportFile(ftXLS(),"",filename,t);
obj := CreateObject("txlsreadwrite");
obj.LoadFromFile("", filename);
mysheet := obj.sheets(1); // mysheet返回即为Txlssheet类
return mysheet.FillPatternBackColorRGB(1, 1);
// 返回对应单元格的填充背景色值16777215

######## FontStyle

范例

filename := "D:\\test.xlsx";
// ImportFile(ftXLS(),"",filename,t);
obj := CreateObject("txlsreadwrite");
obj.LoadFromFile("", filename);
mysheet := obj.sheets(1); // mysheet返回即为Txlssheet类
return mysheet.FontStyle(1, 1);
// 返回对应单元格字体的样式0

######## BorderBottomColor

范例

filename := "D:\\test.xlsx";
// ImportFile(ftXLS(),"",filename,t);
obj := CreateObject("txlsreadwrite");
obj.LoadFromFile("", filename);
mysheet := obj.sheets(1); // mysheet返回即为Txlssheet类
return mysheet.BorderBottomColor(1, 1);
// 返回对应单元格下边框的颜色值0

######## BorderDiagStyle

范例

filename := "D:\\test.xlsx";
// ImportFile(ftXLS(),"",filename,t);
obj := CreateObject("txlsreadwrite");
obj.LoadFromFile("", filename);
mysheet := obj.sheets(1); // mysheet返回即为Txlssheet类
return mysheet.BorderDiagStyle(1, 1);
// 返回对应单元格对角线边框的样式6

######## FontFamily

######## AsInteger

######## RowHide

######## BorderBottomColorRGB

范例

filename := "D:\\test.xlsx";
// ImportFile(ftXLS(),"",filename,t);
obj := CreateObject("txlsreadwrite");
obj.LoadFromFile("", filename);
mysheet := obj.sheets(1); // mysheet返回即为Txlssheet类
return mysheet.BorderBottomColorRGB(1, 1);
// 返回对应单元格的下边框颜色值16777215

######## Values

范例

obj := CreateObject("txlsreadwrite");
filename := "E:\\TestExcel\\TslRW01.xlsx";
obj.LoadFromFile("", filename);
mysheet := obj.sheets(0); // mysheet返回即为Txlssheet类
// 调用Txlssheet类的values函数返回sheet中第0列到第4列第一行到第3行的内容
a := mysheet.values(0, 1, 4, 3);
return a;

返回:原Excel TslRW01.xlsx内容

######## Comment

######## BorderLeftColorRGB

范例

filename := "D:\\test.xlsx";
// ImportFile(ftXLS(),"",filename,t);
obj := CreateObject("txlsreadwrite");
obj.LoadFromFile("", filename);
mysheet := obj.sheets(1); // mysheet返回即为Txlssheet类
return mysheet.BorderLeftColorRGB(1, 1);
// 返回对应单元格的左边框颜色值16777215

######## AsFloat

######## BorderDiagColorRGB

范例

filename := "D:\\test.xlsx";
// ImportFile(ftXLS(),"",filename,t);
obj := CreateObject("txlsreadwrite");
obj.LoadFromFile("", filename);
mysheet := obj.sheets(1); // mysheet返回即为Txlssheet类
return mysheet.BorderDiagColorRGB(1, 1);
// 返回对应单元格的对角线边框颜色值16777215

######## CommentW

######## ValuesW

######## BorderTopColorRGB

范例

filename := "D:\\test.xlsx";
// ImportFile(ftXLS(),"",filename,t);
obj := CreateObject("txlsreadwrite");
obj.LoadFromFile("", filename);
mysheet := obj.sheets(1); // mysheet返回即为Txlssheet类
return mysheet.BorderTopColorRGB(1, 1);
// 返回对应单元格的上边框颜色值16777215

######## AsDateTime

######## CellColorRGB

范例

filename := "D:\\test.xlsx";
// ImportFile(ftXLS(),"",filename,t);
obj := CreateObject("txlsreadwrite");
obj.LoadFromFile("", filename);
mysheet := obj.sheets(1); // mysheet返回即为Txlssheet类
return mysheet.CellColorRGB(1, 1);
// 返回对应单元格的背景填充色值16777215

######## BorderRightColorRGB

范例

filename := "D:\\test.xlsx";
// ImportFile(ftXLS(),"",filename,t);
obj := CreateObject("txlsreadwrite");
obj.LoadFromFile("", filename);
mysheet := obj.sheets(1); // mysheet返回即为Txlssheet类
return mysheet.BorderRightColorRGB(1, 1);
// 返回对应单元格的右边框颜色值16777215

######## AsBlank

######## RowHeight

######## CalculateW

######## AutoHeightRow

######## ColWidth

######## ColHide

######## DeleteCell

######## DeleteComment

范例 删除指定位置上的批注

obj := CreateObject("txlsreadwrite");
filename := "E:\\TestExcel\\TslRW01.xlsx";
obj.LoadFromFile("", filename);
mysheet := obj.sheets("Sheet5");
mysheet.DeleteComment(4, 5); // 删除指定单元格中的批注
return obj.SaveToFile("", filename); // 保存

######## MergeCells

######## FreezePanes

######## MergedCells

范例

obj := CreateObject("txlsreadwrite");
filename := "E:\\TestExcel\\TslRW01.xlsx";
obj.LoadFromFile("", filename);
mysheet := obj.sheets("Sheet5");
return mysheet.MergedCells();

返回:

######## CopyCells

######## HasComment

######## MoveCell

######## UnsplitPanes

######## UnMergeCells

######## AutoWidthCol

######## Calculate

######## Clear

######## DeleteCells

######## UnfreezePanes

######## CopyCell

######## SplitPanes

######## DeleteRows

######## LastCol

######## UngroupRows

######## Sort

######## CopyColumns

######## MakeHyperlink

######## CopyRows

######## MoveColumns

######## InsertColumns

######## UngroupColumns

######## ClearRows

######## ClearColumns

######## GroupRows

######## GroupColumns

######## DeleteColumns

######## FindCell

######## MoveRows

######## IsEmpty

######## CalcDimensionsEx

######## InsertRows

######## MoveCells

######## FirstCol

######## IsFormatted

范例

filename := "D:\\test.xlsx";
// ImportFile(ftXLS(),"",filename,t);
obj := CreateObject("txlsreadwrite");
obj.LoadFromFile("", filename);
mysheet := obj.sheets(1); // mysheet返回即为Txlssheet类
return mysheet.IsFormatted(1, 1);
// 返回1

######## FirstRow

######## LastRow

######## SetDefaultFormat

Excel处理函数-txlsreadwrite版

本版本无需依赖office/wps调用txlsreadwrite类实现Excel处理功能。

内容
  • ExcelMerge2
  • ExcelUnMerge2
  • ExcelGetSheetNameByIndex2
  • ExcelGetChartSheetNameByIndex2
  • ExcelRenameSheetOrChartsheet2
  • ExcelGetSheetCount2
  • ExcelGetChartSheetCount2
  • ExcelDeleteSheetOrChartSheet2
  • ExcelSetCell2
  • ExcelSetCells2
  • ExcelGetCell2
  • ExcelGetCells2
  • ExcelGetDataRange2
  • ExcelSaveAs_2
  • ExcelNewSheet2
  • ExcelSetActiveSheet2
ExcelMerge2

用途Excel处理函数-txlsreadwrite版相关函数。 参数:

返回:处理后的结果值。

范例

// 本地文件C:\VBA.xlsx的sheet1的A1至E5合并
dir := "C:\\VBA.xlsx";
sheet := "Sheet1";
ret := rdo2 ExcelMerge2(dir, sheet, 1, 1, 5, 5);
return ret;
ExcelUnMerge2

用途Excel处理函数-txlsreadwrite版相关函数。 参数:

返回:处理后的结果值。

范例

// 本地文件C:\VBA.xlsx的sheet1的取消A1至E5的合并
dir := "C:\\VBA.xlsx";
sheet := "Sheet1";
ret := rdo2 ExcelUnMerge2(dir, sheet, 1, 1, 5, 5);
return ret;
ExcelGetSheetNameByIndex2

用途Excel处理函数-txlsreadwrite版相关函数。 参数:

返回:整数。

范例

// 获取本地文件C:\VBA.xlsx索引号为1排在第1位的Sheet的名称
dir := "C:\\VBA.xlsx";
ret := rdo2 ExcelGetSheetNameByIndex2(dir, 1, v);
if ret then return v;
return 0;
ExcelGetChartSheetNameByIndex2

用途Excel处理函数-txlsreadwrite版相关函数。 参数:

返回:整数。

范例

// 获取本地文件C:\VBA.xlsx索引号为1排在第1位的ChartSheet的名称
dir := "C:\\VBA.xlsx";
ret := rdo2 ExcelGetChartSheetNameByIndex2(dir, 1, v);
if ret then return v;
return 0;
ExcelRenameSheetOrChartsheet2

用途Excel处理函数-txlsreadwrite版相关函数。 参数:

返回:处理后的结果值。

范例

// 本地文件C:\VBA.xlsx的Sheet2改为Sheet3
dir := "C:\\VBA.xlsx";
sheet := "Sheet2";
newsheet := "Sheet3";
ret := rdo2 ExcelRenameSheetOrChartsheet2(dir, sheet, newsheet);
return ret;
ExcelGetSheetCount2

用途Excel处理函数-txlsreadwrite版相关函数。 参数:

返回:整数。

范例

// 获取本地文件C:\VBA.xlsx的Sheet个数
dir := "C:\\VBA.xlsx";
ret := rdo2 ExcelGetSheetCount2(dir, v);
if ret then return v;
return 0;
ExcelGetChartSheetCount2

用途Excel处理函数-txlsreadwrite版相关函数。 参数:

返回:整数。

范例

// 获取本地文件C:\VBA.xlsx的ChartSheet个数
dir := "C:\\VBA.xlsx";
ret := rdo2 ExcelGetChartSheetCount2(dir, v);
if ret then return v;
return 0;
ExcelDeleteSheetOrChartSheet2

用途Excel处理函数-txlsreadwrite版相关函数。 参数:

返回:处理后的结果值。

范例

// 删除本地文件C:\VBA.xlsx的Sheet1
dir := "C:\\VBA.xlsx";
sheet := "Sheet1";
ret := rdo2 ExcelDeleteSheetOrChartSheet2(dir, sheet);
return ret;
ExcelSetCell2

用途Excel处理函数-txlsreadwrite版相关函数。 参数:

返回:处理后的结果值。

范例

// 取本地文件C:\VBA.xlsx第1行第1列的数据修改为hello
dir := "C:\\VBA.xlsx";
sheet := "Sheet1";
ret := rdo2 ExcelSetCell2(dir, sheet, 1, 1, "hello");
return ret;
ExcelSetCells2

用途Excel处理函数-txlsreadwrite版相关函数。 参数:

返回:处理后的结果值。

范例

// 设置本地文件C:\VBA.xlsx第1行到到第5行第1列到第5列的数据
dir := "C:\\VBA.xlsx";
sheet := "Sheet1";
v := rand(5, 5);
ret := rdo2 ExcelSetCells2(dir, sheet, 1, 1, 5, 5, v);
return ret;
ExcelGetCell2

用途Excel处理函数-txlsreadwrite版相关函数。 参数:

返回:处理后的结果值。

范例

// 取本地文件C:\VBA.xlsx第一行第一列的数据
dir := "C:\\VBA.xlsx";
sheet := "Sheet1";
ret := rdo2 ExcelGetCell2(dir, sheet, 1, 1, v);
if ret then
begin
    return v;
end;
return 0;
ExcelGetCells2

用途Excel处理函数-txlsreadwrite版相关函数。 参数:

返回:处理后的结果值。

范例

// 取本地文件C:\VBA.xlsx第1行到到第5行第1列到第5列的数据
dir := "C:\\VBA.xlsx";
sheet := "Sheet1";
ret := rdo2 ExcelGetCells2(dir, sheet, 1, 1, 5, 5, v);
if ret then
begin
    return v;
end;
return 0;
ExcelGetDataRange2

用途Excel处理函数-txlsreadwrite版相关函数。 参数:

返回:处理后的结果值。

范例

// 取本地文件C:\VBA.xlsx有数据的起始行列号和结束行列号
dir := "C:\\VBA.xlsx";
sheet := "Sheet1";
ret := rdo2 ExcelGetDataRange2(dir, sheet, row_start, col_start, row_end, col_end);
if ret then
begin
    return array("row_start":row_start, "col_start":col_start, "row_end":row_end, "col_end":col_end);
end;
return 0;
ExcelSaveAs_2

用途Excel处理函数-txlsreadwrite版相关函数。 参数:

返回:处理后的结果值。

范例

// 文件C:\VBA.xlsx另存为C:\VBA_new.xlsx
dir := "C:\\VBA.xlsx";
dir2 := "C:\\VBA_new.xlsx";
ret := rdo2 ExcelSaveAs_2(dir, dir2);
return ret;
ExcelNewSheet2

用途Excel处理函数-txlsreadwrite版相关函数。 参数:

返回:处理后的结果值。

范例

// 本地文件C:\VBA.xlsx的新建Sheet2
dir := "C:\\VBA.xlsx";
sheet := "Sheet2";
ret := rdo2 ExcelNewSheet2(dir, sheet);
return ret;
ExcelSetActiveSheet2

用途Excel处理函数-txlsreadwrite版相关函数。 参数:

返回:处理后的结果值。

范例

// 本地文件C:\VBA.xlsx的设置Sheet3为当前sheet
dir := "C:\\VBA.xlsx";
sheet := "Sheet3";
ret := rdo2 ExcelSetActiveSheet2(dir, sheet);
return ret;

Word函数

内容
  • WordTSL
  • WordTemplate
  • Word模板函数(WordTSL)
  • Word模板函数(WordTSL)简介
  • 客户复制数据访问函数
  • Word模板控制函数
  • Word常量函数
  • Excel的WordTSL相关函数
  • Word/Excel CHART图类函数
WordTSL
内容
  • GetSysStoreText
  • GetSysStoreData
  • WordWriteSysTableRotateEx
  • GetSysStoreDataEx
  • WordWriteSysTableEx
  • GetSysStoreTable
  • SetResultTable
  • SetSysStoreData
  • WordWriteSysTable
  • WordWriteSysChartRotateEx
  • SetResult
  • WordWriteSysChartRotate
  • SetResultGraph
  • WordWriteSysText
  • GetSysStoreChart
  • WordWriteSysChartEx
  • SetResultChart
  • SetResultText
  • WordWriteSysTableRotate
  • WordWriteSysGraph
  • GetSysStoreGraph
  • WordWriteSysChart
  • 常量
GetSysStoreText

算法

获得数组指定下标对应的值

GetSysStoreData

算法

获得data指定的系统参数

WordWriteSysTableRotateEx

算法

(1)获得WORDTSL所需的数据data;

(2)由参数组成数组a;

(3)得到子表table;

(4)输出旋转后的表格table

GetSysStoreDataEx

算法

获得数组data指定行标和列标对应的值

WordWriteSysTableEx

算法

1 获得WORDTSL所需的数据data;

2 由参数组成数组a;

3 得到子表table;

4 输出表格table

GetSysStoreTable

算法

获得数组data指定行标和列标对应的值

SetResultTable
SetSysStoreData

算法

设定data的系统参数的值为data

WordWriteSysTable

算法

通过参数index获得data,然后输出表格data

WordWriteSysChartRotateEx

算法

(1)通过第一个参数获得data;

(2)由第5个参数及以后的参数组成数组a;

(3)得到子表chart;

(4)输出旋转后的chart图

SetResult

算法

将参数setdata的值赋值给行标为StoreType列标为index 对应数组data中的值

WordWriteSysChartRotate

算法

通过参数index获得data,以Charttype为图表Title为主标题Subtitle为坐标标题选旋转的data为数据表输出CHART图

SetResultGraph

算法

将参数graph的值赋值给行标为'graphs'列标为index 对应数组data中的值

WordWriteSysText

算法

通过参数index获得WORDTSL所需的数据data在在WORD内输出data

GetSysStoreChart

算法

获得数组data指定行标和列标对应的值

WordWriteSysChartEx

算法

(1)通过第一个参数获得data;

(2)由第5个参数及以后的参数组成数组a;

(3)得到子表chart;

(4)输出以第二个参数为图类第三个参数为主标题第四个参数为坐标标题chart为数据表的chart图

SetResultChart

算法

将参数Chart的值赋值给行标为'charts'列标为index 对应数组data中的值

SetResultText

算法

将参数text的值赋值给行标为'texts'列标为index 对应数组data中的值

WordWriteSysTableRotate

算法

1 获得data指定的系统参数data

2 获得行下标为'tables'列下标为Index在data对应中的值data;

3 输出旋转后的data表格

WordWriteSysGraph

算法

(1)获得data指定的系统参数data

(2)获得行下标为'graphs'列下标为第一个参数在data对应中的值data;

(3)运用循环得到按照特定的格式输出的s计算表达式的值

GetSysStoreGraph

算法

获得数组data指定行标和列标对应的值

WordWriteSysChart

算法

(1)获得data指定的系统参数data

(2)获得行下标为'charts'列下标为Index在data对应中的值data;

(3)输出以Charttype为图类Title为主标题Subtitle为坐标标题data为数据的CHART图

常量

####### 内容

  • s_wordcharts
  • s_wordgraphs
  • s_wordtables
  • s_wordTexts

####### s_wordcharts

####### s_wordgraphs

####### s_wordtables

####### s_wordTexts

WordTemplate
内容
  • WORD_Execute
  • policyResearch
  • WORD_WriteTableToExcel
  • WORD_OutPutGraph
  • WORD_OutPutTable
WORD_Execute

算法

向服务器递交执行串S返回辅助结果或者出错信息

policyResearch

算法

主要通过获得一段时间以来资金在不同证券品种间的流向及同比,在不同行业间的流向及同比以及在不同股本间的流向及同比数据

WORD_WriteTableToExcel

算法

(1)清空原有的数据;

(2)获得Data所有字段名称并在指定的Excel指定的表中输出字段名

(3)在指定的Excel指定的表中输出Data的数据

WORD_OutPutGraph

算法

(1)获得Excel文件路径并对其进行拷贝

(2)打开数据表并导入数据指定Excel的Chart的数据来源

(3)获得图形文件的路径设置Excel文件的当前Chart在Word中插入由Excel文件产生的Ole对象

WORD_OutPutTable

算法

(1)在WORD中输出一个表格

(2)设置最后插入的表格的属性;

(3)获得最后由Word模板函数插入的表格对象

Word模板函数(WordTSL)
Word模板函数(WordTSL)简介

WordTSL是对Word模板中调用的特殊函数的统称绝大多数函数脱离了Word模板就失去了意义。

客户复制数据访问函数
内容
  • LoadClientData
LoadClientData
Word模板控制函数
内容
  • WordGetCurrentDocument
  • WordGetCurrentRange
  • WordSetCurrentRange
  • WordGetLastRange
  • WordGetLastTable
  • WordGetLastShape
  • WordWrite
  • WordBr
  • WordWriteTable
  • WordWriteChart
  • WordWriteSampleChart
  • WordWriteGraph
  • WordWritePicFromFile
  • WordSetFont
  • WordGetFont
  • WordPaste
  • WordAddOleObjectFromFile
  • WordLastTableSplit
  • WordLastTableMerge
  • Word属性设置与获取函数
  • WordSetRangeProp
  • WordGetRangeProp
  • WordSetLastTableProp
  • WordGetLastTableProp
  • WordSetLastTableCellProp
  • WordGetLastTableCellProp
WordGetCurrentDocument
WordGetCurrentRange
WordSetCurrentRange
WordGetLastRange
WordGetLastTable
WordGetLastShape
WordWrite
WordBr
WordWriteTable
WordWriteChart
WordWriteSampleChart
WordWriteGraph
WordWritePicFromFile
WordSetFont
WordGetFont
WordPaste
WordAddOleObjectFromFile
WordLastTableSplit
  • WordGetCurrentDocument
  • WordGetCurrentRange
  • WordSetCurrentRange
  • WordGetLastRange
  • WordGetLastTable
  • WordGetLastShape
  • WordWrite
  • WordBr
  • WordWriteTable
  • WordWriteChart
  • WordWriteSampleChart
  • WordWriteGraph
  • WordWritePicFromFile
  • WordSetFont
  • WordGetFont
  • WordPaste
  • WordAddOleObjectFromFile
  • WordLastTableSplit
  • WordLastTableMerge
  • Word属性设置与获取函数
  • WordSetRangeProp
  • WordGetRangeProp
  • WordSetLastTableProp
  • WordGetLastTableProp
  • WordSetLastTableCellProp
  • WordGetLastTableCellProp
WordLastTableMerge
  • WordGetCurrentDocument
  • WordGetCurrentRange
  • WordSetCurrentRange
  • WordGetLastRange
  • WordGetLastTable
  • WordGetLastShape
  • WordWrite
  • WordBr
  • WordWriteTable
  • WordWriteChart
  • WordWriteSampleChart
  • WordWriteGraph
  • WordWritePicFromFile
  • WordSetFont
  • WordGetFont
  • WordPaste
  • WordAddOleObjectFromFile
  • WordLastTableSplit
  • WordLastTableMerge
  • Word属性设置与获取函数
  • WordSetRangeProp
  • WordGetRangeProp
  • WordSetLastTableProp
  • WordGetLastTableProp
  • WordSetLastTableCellProp
  • WordGetLastTableCellProp
Word属性设置与获取函数

Word属性设置函数一般包括Name和Value参数当Name为非空字符串时Name为属性的名称Value为要设置的属性值。当Name为空串时Value为一个字符串下标数组其下标代表属性名其键值则为需设置的属性值用这种方式可以一次性设置多个属性。

Word属性获取函数的Name不能为空每次仅能获取一个指定的属性Value参数为返回值。

属性获取/设置函数运行成功返回True,否则返回False。

属性的名称规则:属性允许包括“.”符号,用来设置包含的对象的属性。

例如属性名为Bold表示加黑而Font.Size则表示字体属性的大小属性而Range.Font.Size则可以用来表示Cell或者Table的区域的字体的大小属性。

有关的属性名以及其具体含义请参考Word的相关帮助文档。

相关属性的值常量函数名参见Word常量函数

WordSetRangeProp

参考Word属性设置与获取函数

WordGetRangeProp

参考Word属性设置与获取函数

WordSetLastTableProp
  • WordGetCurrentDocument
  • WordGetCurrentRange
  • WordSetCurrentRange
  • WordGetLastRange
  • WordGetLastTable
  • WordGetLastShape
  • WordWrite
  • WordBr
  • WordWriteTable
  • WordWriteChart
  • WordWriteSampleChart
  • WordWriteGraph
  • WordWritePicFromFile
  • WordSetFont
  • WordGetFont
  • WordPaste
  • WordAddOleObjectFromFile
  • WordLastTableSplit
  • WordLastTableMerge
  • Word属性设置与获取函数
  • WordSetRangeProp
  • WordGetRangeProp
  • WordSetLastTableProp
  • WordGetLastTableProp
  • WordSetLastTableCellProp
  • WordGetLastTableCellProp
WordGetLastTableProp
  • WordGetCurrentDocument
  • WordGetCurrentRange
  • WordSetCurrentRange
  • WordGetLastRange
  • WordGetLastTable
  • WordGetLastShape
  • WordWrite
  • WordBr
  • WordWriteTable
  • WordWriteChart
  • WordWriteSampleChart
  • WordWriteGraph
  • WordWritePicFromFile
  • WordSetFont
  • WordGetFont
  • WordPaste
  • WordAddOleObjectFromFile
  • WordLastTableSplit
  • WordLastTableMerge
  • Word属性设置与获取函数
  • WordSetRangeProp
  • WordGetRangeProp
  • WordSetLastTableProp
  • WordGetLastTableProp
  • WordSetLastTableCellProp
  • WordGetLastTableCellProp
WordSetLastTableCellProp
  • WordGetCurrentDocument
  • WordGetCurrentRange
  • WordSetCurrentRange
  • WordGetLastRange
  • WordGetLastTable
  • WordGetLastShape
  • WordWrite
  • WordBr
  • WordWriteTable
  • WordWriteChart
  • WordWriteSampleChart
  • WordWriteGraph
  • WordWritePicFromFile
  • WordSetFont
  • WordGetFont
  • WordPaste
  • WordAddOleObjectFromFile
  • WordLastTableSplit
  • WordLastTableMerge
  • Word属性设置与获取函数
  • WordSetRangeProp
  • WordGetRangeProp
  • WordSetLastTableProp
  • WordGetLastTableProp
  • WordSetLastTableCellProp
  • WordGetLastTableCellProp
WordGetLastTableCellProp
  • WordGetCurrentDocument
  • WordGetCurrentRange
  • WordSetCurrentRange
  • WordGetLastRange
  • WordGetLastTable
  • WordGetLastShape
  • WordWrite
  • WordBr
  • WordWriteTable
  • WordWriteChart
  • WordWriteSampleChart
  • WordWriteGraph
  • WordWritePicFromFile
  • WordSetFont
  • WordGetFont
  • WordPaste
  • WordAddOleObjectFromFile
  • WordLastTableSplit
  • WordLastTableMerge
  • Word属性设置与获取函数
  • WordSetRangeProp
  • WordGetRangeProp
  • WordSetLastTableProp
  • WordGetLastTableProp
  • WordSetLastTableCellProp
  • WordGetLastTableCellProp
Word常量函数

TSL语言已经以函数的方式支持Word的绝大多数常量用户可以函数的方式来使用这些常量例如wdBlue这个颜色常量可以以wdBlue()的方式来访问。

Word的常量主要应用在Word的属性设置等相关模板控制函数上。

以下是所有支持的常量函数具体关于他们的用途以及使用方法请参考Word的相关帮助手册在本语言手册中不提供其用法

wdNoMailSystem wdMAPI
wdPowerTalk wdMAPIandPowerTalk
wdNormalTemplate wdGlobalTemplate
wdAttachedTemplate wdContinueDisabled
wdResetList wdContinueList
wdIMEModeNoControl wdIMEModeOn
wdIMEModeOff wdIMEModeHiragana
wdIMEModeKatakana wdIMEModeKatakanaHalf
wdIMEModeAlphaFull wdIMEModeAlpha
wdIMEModeHangulFull wdIMEModeHangul
wdBaselineAlignTop wdBaselineAlignCenter
wdBaselineAlignBaseline wdBaselineAlignFarEast50
wdBaselineAlignAuto wdIndexFilterNone
wdIndexFilterAiueo wdIndexFilterAkasatana
wdIndexFilterChosung wdIndexFilterLow
wdIndexFilterMedium wdIndexFilterFull
wdIndexSortByStroke wdIndexSortBySyllable
wdJustificationModeExpand wdJustificationModeCompress
wdJustificationModeCompressKana wdFarEastLineBreakLevelNormal
wdFarEastLineBreakLevelStrict wdFarEastLineBreakLevelCustom
wdHangulToHanja wdHanjaToHangul
wdAuto wdBlack
wdBlue wdTurquoise
wdBrightGreen wdPink
wdRed wdYellow
wdWhite wdDarkBlue
wdTeal wdGreen
wdViolet wdDarkRed
wdDarkYellow wdGray50
wdGray25 wdByAuthor
wdNoHighlight wdTextureNone
wdTexture2Pt5Percent wdTexture5Percent
wdTexture7Pt5Percent wdTexture10Percent
wdTexture12Pt5Percent wdTexture15Percent
wdTexture17Pt5Percent wdTexture20Percent
wdTexture22Pt5Percent wdTexture25Percent
wdTexture27Pt5Percent wdTexture30Percent
wdTexture32Pt5Percent wdTexture35Percent
wdTexture37Pt5Percent wdTexture40Percent
wdTexture42Pt5Percent wdTexture45Percent
wdTexture47Pt5Percent wdTexture50Percent
wdTexture52Pt5Percent wdTexture55Percent
wdTexture57Pt5Percent wdTexture60Percent
wdTexture62Pt5Percent wdTexture65Percent
wdTexture67Pt5Percent wdTexture70Percent
wdTexture72Pt5Percent wdTexture75Percent
wdTexture77Pt5Percent wdTexture80Percent
wdTexture82Pt5Percent wdTexture85Percent
wdTexture87Pt5Percent wdTexture90Percent
wdTexture92Pt5Percent wdTexture95Percent
wdTexture97Pt5Percent wdTextureSolid
wdTextureDarkHorizontal wdTextureDarkVertical
wdTextureDarkDiagonalDown wdTextureDarkDiagonalUp
wdTextureDarkCross wdTextureDarkDiagonalCross
wdTextureHorizontal wdTextureVertical
wdTextureDiagonalDown wdTextureDiagonalUp
wdTextureCross wdTextureDiagonalCross
wdUnderlineNone wdUnderlineSingle
wdUnderlineWords wdUnderlineDouble
wdUnderlineDotted wdUnderlineThick
wdUnderlineDash wdUnderlineDotDash
wdUnderlineDotDotDash wdUnderlineWavy
wdUnderlineWavyHeavy wdUnderlineDottedHeavy
wdUnderlineDashHeavy wdUnderlineDotDashHeavy
wdUnderlineDotDotDashHeavy wdUnderlineDashLong
wdUnderlineDashLongHeavy wdUnderlineWavyDouble
wdEmphasisMarkNone wdEmphasisMarkOverSolidCircle
wdEmphasisMarkOverComma wdEmphasisMarkOverWhiteCircle
wdEmphasisMarkUnderSolidCircle wdListSeparator
wdDecimalSeparator wdThousandsSeparator
wdCurrencyCode wd24HourClock
wdInternationalAM wdInternationalPM
wdTimeSeparator wdDateSeparator
wdProductLanguageID wdAutoExec
wdAutoNew wdAutoOpen
wdAutoClose wdAutoExit
wdCaptionPositionAbove wdCaptionPositionBelow
wdUS wdCanada
wdLatinAmerica wdNetherlands
wdFrance wdSpain
wdItaly wdUK
wdDenmark wdSweden
wdNorway wdGermany
wdPeru wdMexico
wdArgentina wdBrazil
wdChile wdVenezuela
wdJapan wdTaiwan
wdChina wdKorea
wdFinland wdIceland
wdHeadingSeparatorNone wdHeadingSeparatorBlankLine
wdHeadingSeparatorLetter wdHeadingSeparatorLetterLow
wdHeadingSeparatorLetterFull wdSeparatorHyphen
wdSeparatorPeriod wdSeparatorColon
wdSeparatorEmDash wdSeparatorEnDash
wdAlignPageNumberLeft wdAlignPageNumberCenter
wdAlignPageNumberRight wdAlignPageNumberInside
wdAlignPageNumberOutside wdBorderTop
wdBorderLeft wdBorderBottom
wdBorderRight wdBorderHorizontal
wdBorderVertical wdBorderDiagonalDown
wdBorderDiagonalUp wdFrameTop
wdFrameLeft wdFrameBottom
wdFrameRight wdFrameCenter
wdFrameInside wdFrameOutside
wdAnimationNone wdAnimationLasVegasLights
wdAnimationBlinkingBackground wdAnimationSparkleText
wdAnimationMarchingBlackAnts wdAnimationMarchingRedAnts
wdAnimationShimmer wdNextCase
wdLowerCase wdUpperCase
wdTitleWord wdTitleSentence
wdToggleCase wdHalfWidth
wdFullWidth wdKatakana
wdHiragana wdSummaryModeHighlight
wdSummaryModeHideAllButSummary wdSummaryModeInsert
wdSummaryModeCreateNew wd10Sentences
wd20Sentences wd100Words
wd500Words wd10Percent
wd25Percent wd50Percent
wd75Percent wdStyleTypeParagraph
wdStyleTypeCharacter wdStyleTypeTable
wdStyleTypeList wdCharacter
wdWord wdSentence
wdParagraph wdLine
wdStory wdScreen
wdSection wdColumn
wdRow wdWindow
wdCell wdCharacterFormatting
wdParagraphFormatting wdTable
wdItem wdGoToBookmark
wdGoToSection wdGoToPage
wdGoToTable wdGoToLine
wdGoToFootnote wdGoToEndnote
wdGoToComment wdGoToField
wdGoToGraphic wdGoToObject
wdGoToEquation wdGoToHeading
wdGoToPercent wdGoToSpellingError
wdGoToGrammaticalError wdGoToProofreadingError
wdGoToFirst wdGoToLast
wdGoToNext wdGoToRelative
wdGoToPrevious wdGoToAbsolute
wdCollapseStart wdCollapseEnd
wdRowHeightAuto wdRowHeightAtLeast
wdRowHeightExactly wdFrameAuto
wdFrameAtLeast wdFrameExact
wdInsertCellsShiftRight wdInsertCellsShiftDown
wdInsertCellsEntireRow wdInsertCellsEntireColumn
wdDeleteCellsShiftLeft wdDeleteCellsShiftUp
wdDeleteCellsEntireRow wdDeleteCellsEntireColumn
wdListApplyToWholeList wdListApplyToThisPointForward
wdListApplyToSelection wdAlertsNone
wdAlertsMessageBox wdAlertsAll
wdCursorWait wdCursorIBeam
wdCursorNormal wdCursorNorthwestArrow
wdCancelDisabled wdCancelInterrupt
wdAdjustNone wdAdjustProportional
wdAdjustFirstColumn wdAdjustSameWidth
wdAlignParagraphLeft wdAlignParagraphCenter
wdAlignParagraphRight wdAlignParagraphJustify
wdAlignParagraphDistribute wdAlignParagraphJustifyMed
wdAlignParagraphJustifyHi wdAlignParagraphJustifyLow
wdAlignParagraphThaiJustify wdListLevelAlignLeft
wdListLevelAlignCenter wdListLevelAlignRight
wdAlignRowLeft wdAlignRowCenter
wdAlignRowRight wdAlignTabLeft
wdAlignTabCenter wdAlignTabRight
wdAlignTabDecimal wdAlignTabBar
wdAlignTabList wdAlignVerticalTop
wdAlignVerticalCenter wdAlignVerticalJustify
wdAlignVerticalBottom wdCellAlignVerticalTop
wdCellAlignVerticalCenter wdCellAlignVerticalBottom
wdTrailingTab wdTrailingSpace
wdTrailingNone wdBulletGallery
wdNumberGallery wdOutlineNumberGallery
wdListNumberStyleArabic wdListNumberStyleUppercaseRoman
wdListNumberStyleLowercaseRoman wdListNumberStyleUppercaseLetter
wdListNumberStyleLowercaseLetter wdListNumberStyleOrdinal
wdListNumberStyleCardinalText wdListNumberStyleOrdinalText
wdListNumberStyleKanji wdListNumberStyleKanjiDigit
wdListNumberStyleAiueoHalfWidth wdListNumberStyleIrohaHalfWidth
wdListNumberStyleArabicFullWidth wdListNumberStyleKanjiTraditional
wdListNumberStyleKanjiTraditional2 wdListNumberStyleNumberInCircle
wdListNumberStyleAiueo wdListNumberStyleIroha
wdListNumberStyleArabicLZ wdListNumberStyleBullet
wdListNumberStyleGanada wdListNumberStyleChosung
wdListNumberStyleGBNum1 wdListNumberStyleGBNum2
wdListNumberStyleGBNum3 wdListNumberStyleGBNum4
wdListNumberStyleZodiac1 wdListNumberStyleZodiac2
wdListNumberStyleZodiac3 wdListNumberStyleTradChinNum1
wdListNumberStyleTradChinNum2 wdListNumberStyleTradChinNum3
wdListNumberStyleTradChinNum4 wdListNumberStyleSimpChinNum1
wdListNumberStyleSimpChinNum2 wdListNumberStyleSimpChinNum3
wdListNumberStyleSimpChinNum4 wdListNumberStyleHanjaRead
wdListNumberStyleHanjaReadDigit wdListNumberStyleHangul
wdListNumberStyleHanja wdListNumberStyleHebrew1
wdListNumberStyleArabic1 wdListNumberStyleHebrew2
wdListNumberStyleArabic2 wdListNumberStyleHindiLetter1
wdListNumberStyleHindiLetter2 wdListNumberStyleHindiArabic
wdListNumberStyleHindiCardinalText wdListNumberStyleThaiLetter
wdListNumberStyleThaiArabic wdListNumberStyleThaiCardinalText
wdListNumberStyleVietCardinalText wdListNumberStyleLowercaseRussian
wdListNumberStyleUppercaseRussian wdListNumberStylePictureBullet
wdListNumberStyleLegal wdListNumberStyleLegalLZ
wdListNumberStyleNone wdNoteNumberStyleArabic
wdNoteNumberStyleUppercaseRoman wdNoteNumberStyleLowercaseRoman
wdNoteNumberStyleUppercaseLetter wdNoteNumberStyleLowercaseLetter
wdNoteNumberStyleSymbol wdNoteNumberStyleArabicFullWidth
wdNoteNumberStyleKanji wdNoteNumberStyleKanjiDigit
wdNoteNumberStyleKanjiTraditional wdNoteNumberStyleNumberInCircle
wdNoteNumberStyleHanjaRead wdNoteNumberStyleHanjaReadDigit
wdNoteNumberStyleTradChinNum1 wdNoteNumberStyleTradChinNum2
wdNoteNumberStyleSimpChinNum1 wdNoteNumberStyleSimpChinNum2
wdNoteNumberStyleHebrewLetter1 wdNoteNumberStyleArabicLetter1
wdNoteNumberStyleHebrewLetter2 wdNoteNumberStyleArabicLetter2
wdNoteNumberStyleHindiLetter1 wdNoteNumberStyleHindiLetter2
wdNoteNumberStyleHindiArabic wdNoteNumberStyleHindiCardinalText
wdNoteNumberStyleThaiLetter wdNoteNumberStyleThaiArabic
wdNoteNumberStyleThaiCardinalText wdNoteNumberStyleVietCardinalText
wdCaptionNumberStyleArabic wdCaptionNumberStyleUppercaseRoman
wdCaptionNumberStyleLowercaseRoman wdCaptionNumberStyleUppercaseLetter
wdCaptionNumberStyleLowercaseLetter wdCaptionNumberStyleArabicFullWidth
wdCaptionNumberStyleKanji wdCaptionNumberStyleKanjiDigit
wdCaptionNumberStyleKanjiTraditional wdCaptionNumberStyleNumberInCircle
wdCaptionNumberStyleGanada wdCaptionNumberStyleChosung
wdCaptionNumberStyleZodiac1 wdCaptionNumberStyleZodiac2
wdCaptionNumberStyleHanjaRead wdCaptionNumberStyleHanjaReadDigit
wdCaptionNumberStyleTradChinNum2 wdCaptionNumberStyleTradChinNum3
wdCaptionNumberStyleSimpChinNum2 wdCaptionNumberStyleSimpChinNum3
wdCaptionNumberStyleHebrewLetter1 wdCaptionNumberStyleArabicLetter1
wdCaptionNumberStyleHebrewLetter2 wdCaptionNumberStyleArabicLetter2
wdCaptionNumberStyleHindiLetter1 wdCaptionNumberStyleHindiLetter2
wdCaptionNumberStyleHindiArabic wdCaptionNumberStyleHindiCardinalText
wdCaptionNumberStyleThaiLetter wdCaptionNumberStyleThaiArabic
wdCaptionNumberStyleThaiCardinalText wdCaptionNumberStyleVietCardinalText
wdPageNumberStyleArabic wdPageNumberStyleUppercaseRoman
wdPageNumberStyleLowercaseRoman wdPageNumberStyleUppercaseLetter
wdPageNumberStyleLowercaseLetter wdPageNumberStyleArabicFullWidth
wdPageNumberStyleKanji wdPageNumberStyleKanjiDigit
wdPageNumberStyleKanjiTraditional wdPageNumberStyleNumberInCircle
wdPageNumberStyleHanjaRead wdPageNumberStyleHanjaReadDigit
wdPageNumberStyleTradChinNum1 wdPageNumberStyleTradChinNum2
wdPageNumberStyleSimpChinNum1 wdPageNumberStyleSimpChinNum2
wdPageNumberStyleHebrewLetter1 wdPageNumberStyleArabicLetter1
wdPageNumberStyleHebrewLetter2 wdPageNumberStyleArabicLetter2
wdPageNumberStyleHindiLetter1 wdPageNumberStyleHindiLetter2
wdPageNumberStyleHindiArabic wdPageNumberStyleHindiCardinalText
wdPageNumberStyleThaiLetter wdPageNumberStyleThaiArabic
wdPageNumberStyleThaiCardinalText wdPageNumberStyleVietCardinalText
wdPageNumberStyleNumberInDash wdStatisticWords
wdStatisticLines wdStatisticPages
wdStatisticCharacters wdStatisticParagraphs
wdStatisticCharactersWithSpaces wdStatisticFarEastCharacters
wdPropertyTitle wdPropertySubject
wdPropertyAuthor wdPropertyKeywords
wdPropertyComments wdPropertyTemplate
wdPropertyLastAuthor wdPropertyRevision
wdPropertyAppName wdPropertyTimeLastPrinted
wdPropertyTimeCreated wdPropertyTimeLastSaved
wdPropertyVBATotalEdit wdPropertyPages
wdPropertyWords wdPropertyCharacters
wdPropertySecurity wdPropertyCategory
wdPropertyFormat wdPropertyManager
wdPropertyCompany wdPropertyBytes
wdPropertyLines wdPropertyParas
wdPropertySlides wdPropertyNotes
wdPropertyHiddenSlides wdPropertyMMClips
wdPropertyHyperlinkBase wdPropertyCharsWSpaces
wdLineSpaceSingle wdLineSpace1pt5
wdLineSpaceDouble wdLineSpaceAtLeast
wdLineSpaceExactly wdLineSpaceMultiple
wdNumberParagraph wdNumberListNum
wdNumberAllNumbers wdListNoNumbering
wdListListNumOnly wdListBullet
wdListSimpleNumbering wdListOutlineNumbering
wdListMixedNumbering wdListPictureBullet
wdMainTextStory wdFootnotesStory
wdEndnotesStory wdCommentsStory
wdTextFrameStory wdEvenPagesHeaderStory
wdPrimaryHeaderStory wdEvenPagesFooterStory
wdPrimaryFooterStory wdFirstPageHeaderStory
wdFirstPageFooterStory wdFormatDocument
wdFormatTemplate wdFormatText
wdFormatTextLineBreaks wdFormatDOSText
wdFormatDOSTextLineBreaks wdFormatRTF
wdFormatUnicodeText wdFormatEncodedText
wdFormatHTML wdFormatWebArchive
wdFormatFilteredHTML wdOpenFormatAuto
wdOpenFormatDocument wdOpenFormatTemplate
wdOpenFormatRTF wdOpenFormatText
wdOpenFormatUnicodeText wdOpenFormatEncodedText
wdOpenFormatAllWord wdOpenFormatWebPages
wdHeaderFooterPrimary wdHeaderFooterFirstPage
wdHeaderFooterEvenPages wdTOCTemplate
wdTOCClassic wdTOCDistinctive
wdTOCFancy wdTOCModern
wdTOCFormal wdTOCSimple
wdTOFTemplate wdTOFClassic
wdTOFDistinctive wdTOFCentered
wdTOFFormal wdTOFSimple
wdTOATemplate wdTOAClassic
wdTOADistinctive wdTOAFormal
wdTOASimple wdLineStyleNone
wdLineStyleSingle wdLineStyleDot
wdLineStyleDashSmallGap wdLineStyleDashLargeGap
wdLineStyleDashDot wdLineStyleDashDotDot
wdLineStyleDouble wdLineStyleTriple
wdLineStyleThinThickSmallGap wdLineStyleThickThinSmallGap
wdLineStyleThinThickThinSmallGap wdLineStyleThinThickMedGap
wdLineStyleThickThinMedGap wdLineStyleThinThickThinMedGap
wdLineStyleThinThickLargeGap wdLineStyleThickThinLargeGap
wdLineStyleThinThickThinLargeGap wdLineStyleSingleWavy
wdLineStyleDoubleWavy wdLineStyleDashDotStroked
wdLineStyleEmboss3D wdLineStyleEngrave3D
wdLineStyleOutset wdLineStyleInset
wdLineWidth025pt wdLineWidth050pt
wdLineWidth075pt wdLineWidth100pt
wdLineWidth150pt wdLineWidth225pt
wdLineWidth300pt wdLineWidth450pt
wdLineWidth600pt wdSectionBreakNextPage
wdSectionBreakContinuous wdSectionBreakEvenPage
wdSectionBreakOddPage wdLineBreak
wdPageBreak wdColumnBreak
wdLineBreakClearLeft wdLineBreakClearRight
wdTextWrappingBreak wdTabLeaderSpaces
wdTabLeaderDots wdTabLeaderDashes
wdTabLeaderLines wdTabLeaderHeavy
wdTabLeaderMiddleDot wdInches
wdCentimeters wdMillimeters
wdPoints wdPicas
wdDropNone wdDropNormal
wdDropMargin wdRestartContinuous
wdRestartSection wdRestartPage
wdBottomOfPage wdBeneathText
wdEndOfSection wdEndOfDocument
wdSortSeparateByTabs wdSortSeparateByCommas
wdSortSeparateByDefaultTableSeparator wdSeparateByParagraphs
wdSeparateByTabs wdSeparateByCommas
wdSeparateByDefaultListSeparator wdSortFieldAlphanumeric
wdSortFieldNumeric wdSortFieldDate
wdSortFieldSyllable wdSortFieldJapanJIS
wdSortFieldStroke wdSortFieldKoreaKS
wdSortOrderAscending wdSortOrderDescending
wdTableFormatNone wdTableFormatSimple1
wdTableFormatSimple2 wdTableFormatSimple3
wdTableFormatClassic1 wdTableFormatClassic2
wdTableFormatClassic3 wdTableFormatClassic4
wdTableFormatColorful1 wdTableFormatColorful2
wdTableFormatColorful3 wdTableFormatColumns1
wdTableFormatColumns2 wdTableFormatColumns3
wdTableFormatColumns4 wdTableFormatColumns5
wdTableFormatGrid1 wdTableFormatGrid2
wdTableFormatGrid3 wdTableFormatGrid4
wdTableFormatGrid5 wdTableFormatGrid6
wdTableFormatGrid7 wdTableFormatGrid8
wdTableFormatList1 wdTableFormatList2
wdTableFormatList3 wdTableFormatList4
wdTableFormatList5 wdTableFormatList6
wdTableFormatList7 wdTableFormatList8
wdTableFormat3DEffects1 wdTableFormat3DEffects2
wdTableFormat3DEffects3 wdTableFormatContemporary
wdTableFormatElegant wdTableFormatProfessional
wdTableFormatSubtle1 wdTableFormatSubtle2
wdTableFormatWeb1 wdTableFormatWeb2
wdTableFormatWeb3 wdTableFormatApplyBorders
wdTableFormatApplyShading wdTableFormatApplyFont
wdTableFormatApplyColor wdTableFormatApplyAutoFit
wdTableFormatApplyHeadingRows wdTableFormatApplyLastRow
wdTableFormatApplyFirstColumn wdTableFormatApplyLastColumn
wdLanguageNone wdNoProofing
wdAfrikaans wdAlbanian
wdAmharic wdArabicAlgeria
wdArabicBahrain wdArabicEgypt
wdArabicIraq wdArabicJordan
wdArabicKuwait wdArabicLebanon
wdArabicLibya wdArabicMorocco
wdArabicOman wdArabicQatar
wdArabic wdArabicSyria
wdArabicTunisia wdArabicUAE
wdArabicYemen wdArmenian
wdAssamese wdAzeriCyrillic
wdAzeriLatin wdBasque
wdByelorussian wdBengali
wdBulgarian wdBurmese
wdCatalan wdCherokee
wdChineseHongKongSAR wdChineseMacaoSAR
wdSimplifiedChinese wdChineseSingapore
wdTraditionalChinese wdCroatian
wdCzech wdDanish
wdDivehi wdBelgianDutch
wdDutch wdDzongkhaBhutan
wdEdo wdEnglishAUS
wdEnglishBelize wdEnglishCanadian
wdEnglishCaribbean wdEnglishIreland
wdEnglishJamaica wdEnglishNewZealand
wdEnglishPhilippines wdEnglishSouthAfrica
wdEnglishTrinidadTobago wdEnglishUK
wdEnglishUS wdEnglishZimbabwe
wdEnglishIndonesia wdEstonian
wdFaeroese wdFarsi
wdFilipino wdFinnish
wdFulfulde wdBelgianFrench
wdFrenchCameroon wdFrenchCanadian
wdFrenchCotedIvoire wdFrench
wdFrenchLuxembourg wdFrenchMali
wdFrenchMonaco wdFrenchReunion
wdFrenchSenegal wdFrenchMorocco
wdFrenchHaiti wdSwissFrench
wdFrenchWestIndies wdFrenchZaire
wdFrisianNetherlands wdGaelicIreland
wdGaelicScotland wdGalician
wdGeorgian wdGermanAustria
wdGerman wdGermanLiechtenstein
wdGermanLuxembourg wdSwissGerman
wdGreek wdGuarani
wdGujarati wdHausa
wdHawaiian wdHebrew
wdHindi wdHungarian
wdIbibio wdIcelandic
wdIgbo wdIndonesian
wdInuktitut wdItalian
wdSwissItalian wdJapanese
wdKannada wdKanuri
wdKashmiri wdKazakh
wdKhmer wdKirghiz
wdKonkani wdKorean
wdKyrgyz wdLao
wdLatin wdLatvian
wdLithuanian wdMacedonian
wdMalaysian wdMalayBruneiDarussalam
wdMalayalam wdMaltese
wdManipuri wdMarathi
wdMongolian wdNepali
wdNorwegianBokmol wdNorwegianNynorsk
wdOriya wdOromo
wdPashto wdPolish
wdBrazilianPortuguese wdPortuguese
wdPunjabi wdRhaetoRomanic
wdRomanianMoldova wdRomanian
wdRussianMoldova wdRussian
wdSamiLappish wdSanskrit
wdSerbianCyrillic wdSerbianLatin
wdSinhalese wdSindhi
wdSindhiPakistan wdSlovak
wdSlovenian wdSomali
wdSorbian wdSpanishArgentina
wdSpanishBolivia wdSpanishChile
wdSpanishColombia wdSpanishCostaRica
wdSpanishDominicanRepublic wdSpanishEcuador
wdSpanishElSalvador wdSpanishGuatemala
wdSpanishHonduras wdMexicanSpanish
wdSpanishNicaragua wdSpanishPanama
wdSpanishParaguay wdSpanishPeru
wdSpanishPuertoRico wdSpanishModernSort
wdSpanish wdSpanishUruguay
wdSpanishVenezuela wdSesotho
wdSutu wdSwahili
wdSwedishFinland wdSwedish
wdSyriac wdTajik
wdTamazight wdTamazightLatin
wdTamil wdTatar
wdTelugu wdThai
wdTibetan wdTigrignaEthiopic
wdTigrignaEritrea wdTsonga
wdTswana wdTurkish
wdTurkmen wdUkrainian
wdUrdu wdUzbekCyrillic
wdUzbekLatin wdVenda
wdVietnamese wdWelsh
wdXhosa wdYi
wdYiddish wdYoruba
wdZulu wdFieldEmpty
wdFieldRef wdFieldIndexEntry
wdFieldFootnoteRef wdFieldSet
wdFieldIf wdFieldIndex
wdFieldTOCEntry wdFieldStyleRef
wdFieldRefDoc wdFieldSequence
wdFieldTOC wdFieldInfo
wdFieldTitle wdFieldSubject
wdFieldAuthor wdFieldKeyWord
wdFieldComments wdFieldLastSavedBy
wdFieldCreateDate wdFieldSaveDate
wdFieldPrintDate wdFieldRevisionNum
wdFieldEditTime wdFieldNumPages
wdFieldNumWords wdFieldNumChars
wdFieldFileName wdFieldTemplate
wdFieldDate wdFieldTime
wdFieldPage wdFieldExpression
wdFieldQuote wdFieldInclude
wdFieldPageRef wdFieldAsk
wdFieldFillIn wdFieldData
wdFieldNext wdFieldNextIf
wdFieldSkipIf wdFieldMergeRec
wdFieldDDE wdFieldDDEAuto
wdFieldGlossary wdFieldPrint
wdFieldFormula wdFieldGoToButton
wdFieldMacroButton wdFieldAutoNumOutline
wdFieldAutoNumLegal wdFieldAutoNum
wdFieldImport wdFieldLink
wdFieldSymbol wdFieldEmbed
wdFieldMergeField wdFieldUserName
wdFieldUserInitials wdFieldUserAddress
wdFieldBarCode wdFieldDocVariable
wdFieldSection wdFieldSectionPages
wdFieldIncludePicture wdFieldIncludeText
wdFieldFileSize wdFieldFormTextInput
wdFieldFormCheckBox wdFieldNoteRef
wdFieldTOA wdFieldTOAEntry
wdFieldMergeSeq wdFieldPrivate
wdFieldDatabase wdFieldAutoText
wdFieldCompare wdFieldAddin
wdFieldSubscriber wdFieldFormDropDown
wdFieldAdvance wdFieldDocProperty
wdFieldOCX wdFieldHyperlink
wdFieldAutoTextList wdFieldListNum
wdFieldHTMLActiveX wdFieldBidiOutline
wdFieldAddressBlock wdFieldGreetingLine
wdFieldShape wdStyleNormal
wdStyleEnvelopeAddress wdStyleEnvelopeReturn
wdStyleBodyText wdStyleHeading1
wdStyleHeading2 wdStyleHeading3
wdStyleHeading4 wdStyleHeading5
wdStyleHeading6 wdStyleHeading7
wdStyleHeading8 wdStyleHeading9
wdStyleIndex1 wdStyleIndex2
wdStyleIndex3 wdStyleIndex4
wdStyleIndex5 wdStyleIndex6
wdStyleIndex7 wdStyleIndex8
wdStyleIndex9 wdStyleTOC1
wdStyleTOC2 wdStyleTOC3
wdStyleTOC4 wdStyleTOC5
wdStyleTOC6 wdStyleTOC7
wdStyleTOC8 wdStyleTOC9
wdStyleNormalIndent wdStyleFootnoteText
wdStyleCommentText wdStyleHeader
wdStyleFooter wdStyleIndexHeading
wdStyleCaption wdStyleTableOfFigures
wdStyleFootnoteReference wdStyleCommentReference
wdStyleLineNumber wdStylePageNumber
wdStyleEndnoteReference wdStyleEndnoteText
wdStyleTableOfAuthorities wdStyleMacroText
wdStyleTOAHeading wdStyleList
wdStyleListBullet wdStyleListNumber
wdStyleList2 wdStyleList3
wdStyleList4 wdStyleList5
wdStyleListBullet2 wdStyleListBullet3
wdStyleListBullet4 wdStyleListBullet5
wdStyleListNumber2 wdStyleListNumber3
wdStyleListNumber4 wdStyleListNumber5
wdStyleTitle wdStyleClosing
wdStyleSignature wdStyleDefaultParagraphFont
wdStyleBodyTextIndent wdStyleListContinue
wdStyleListContinue2 wdStyleListContinue3
wdStyleListContinue4 wdStyleListContinue5
wdStyleMessageHeader wdStyleSubtitle
wdStyleSalutation wdStyleDate
wdStyleBodyTextFirstIndent wdStyleBodyTextFirstIndent2
wdStyleNoteHeading wdStyleBodyText2
wdStyleBodyText3 wdStyleBodyTextIndent2
wdStyleBodyTextIndent3 wdStyleBlockQuotation
wdStyleHyperlink wdStyleHyperlinkFollowed
wdStyleStrong wdStyleEmphasis
wdStyleNavPane wdStylePlainText
wdStyleHtmlNormal wdStyleHtmlAcronym
wdStyleHtmlAddress wdStyleHtmlCite
wdStyleHtmlCode wdStyleHtmlDfn
wdStyleHtmlKbd wdStyleHtmlPre
wdStyleHtmlSamp wdStyleHtmlTt
wdStyleHtmlVar wdStyleNormalTable
wdDialogToolsOptionsTabView wdDialogToolsOptionsTabGeneral
wdDialogToolsOptionsTabEdit wdDialogToolsOptionsTabPrint
wdDialogToolsOptionsTabSave wdDialogToolsOptionsTabProofread
wdDialogToolsOptionsTabTrackChanges wdDialogToolsOptionsTabUserInfo
wdDialogToolsOptionsTabCompatibility wdDialogToolsOptionsTabTypography
wdDialogToolsOptionsTabFileLocations wdDialogToolsOptionsTabFuzzy
wdDialogToolsOptionsTabHangulHanjaConversion wdDialogToolsOptionsTabBidi
wdDialogToolsOptionsTabSecurity wdDialogFilePageSetupTabMargins
wdDialogFilePageSetupTabPaper wdDialogFilePageSetupTabLayout
wdDialogFilePageSetupTabCharsLines wdDialogInsertSymbolTabSymbols
wdDialogInsertSymbolTabSpecialCharacters wdDialogNoteOptionsTabAllFootnotes
wdDialogNoteOptionsTabAllEndnotes wdDialogInsertIndexAndTablesTabIndex
wdDialogInsertIndexAndTablesTabTableOfContents wdDialogInsertIndexAndTablesTabTableOfFigures
wdDialogInsertIndexAndTablesTabTableOfAuthorities wdDialogOrganizerTabStyles
wdDialogOrganizerTabAutoText wdDialogOrganizerTabCommandBars
wdDialogOrganizerTabMacros wdDialogFormatFontTabFont
wdDialogFormatFontTabCharacterSpacing wdDialogFormatFontTabAnimation
wdDialogFormatBordersAndShadingTabBorders wdDialogFormatBordersAndShadingTabPageBorder
wdDialogFormatBordersAndShadingTabShading wdDialogToolsEnvelopesAndLabelsTabEnvelopes
wdDialogToolsEnvelopesAndLabelsTabLabels wdDialogFormatParagraphTabIndentsAndSpacing
wdDialogFormatParagraphTabTextFlow wdDialogFormatParagraphTabTeisai
wdDialogFormatDrawingObjectTabColorsAndLines wdDialogFormatDrawingObjectTabSize
wdDialogFormatDrawingObjectTabPosition wdDialogFormatDrawingObjectTabWrapping
wdDialogFormatDrawingObjectTabPicture wdDialogFormatDrawingObjectTabTextbox
wdDialogFormatDrawingObjectTabWeb wdDialogFormatDrawingObjectTabHR
wdDialogToolsAutoCorrectExceptionsTabFirstLetter wdDialogToolsAutoCorrectExceptionsTabInitialCaps
wdDialogToolsAutoCorrectExceptionsTabHangulAndAlphabet wdDialogToolsAutoCorrectExceptionsTabIac
wdDialogFormatBulletsAndNumberingTabBulleted wdDialogFormatBulletsAndNumberingTabNumbered
wdDialogFormatBulletsAndNumberingTabOutlineNumbered wdDialogLetterWizardTabLetterFormat
wdDialogLetterWizardTabRecipientInfo wdDialogLetterWizardTabOtherElements
wdDialogLetterWizardTabSenderInfo wdDialogToolsAutoManagerTabAutoCorrect
wdDialogToolsAutoManagerTabAutoFormatAsYouType wdDialogToolsAutoManagerTabAutoText
wdDialogToolsAutoManagerTabAutoFormat wdDialogToolsAutoManagerTabSmartTags
wdDialogTablePropertiesTabTable wdDialogTablePropertiesTabRow
wdDialogTablePropertiesTabColumn wdDialogTablePropertiesTabCell
wdDialogEmailOptionsTabSignature wdDialogEmailOptionsTabStationary
wdDialogEmailOptionsTabQuoting wdDialogWebOptionsBrowsers
wdDialogWebOptionsGeneral wdDialogWebOptionsFiles
wdDialogWebOptionsPictures wdDialogWebOptionsEncoding
wdDialogWebOptionsFonts wdDialogToolsOptionsTabAcetate
wdDialogFilePageSetupTabPaperSize wdDialogFilePageSetupTabPaperSource
wdDialogHelpAbout wdDialogHelpWordPerfectHelp
wdDialogDocumentStatistics wdDialogFileNew
wdDialogFileOpen wdDialogMailMergeOpenDataSource
wdDialogMailMergeOpenHeaderSource wdDialogFileSaveAs
wdDialogFileSummaryInfo wdDialogToolsTemplates
wdDialogFilePrint wdDialogFilePrintSetup
wdDialogFileFind wdDialogFormatAddrFonts
wdDialogEditPasteSpecial wdDialogEditFind
wdDialogEditReplace wdDialogEditStyle
wdDialogEditLinks wdDialogEditObject
wdDialogTableToText wdDialogTextToTable
wdDialogTableInsertTable wdDialogTableInsertCells
wdDialogTableInsertRow wdDialogTableDeleteCells
wdDialogTableSplitCells wdDialogTableRowHeight
wdDialogTableColumnWidth wdDialogToolsCustomize
wdDialogInsertBreak wdDialogInsertSymbol
wdDialogInsertPicture wdDialogInsertFile
wdDialogInsertDateTime wdDialogInsertField
wdDialogInsertMergeField wdDialogInsertBookmark
wdDialogMarkIndexEntry wdDialogInsertIndex
wdDialogInsertTableOfContents wdDialogInsertObject
wdDialogToolsCreateEnvelope wdDialogFormatFont
wdDialogFormatParagraph wdDialogFormatSectionLayout
wdDialogFormatColumns wdDialogFileDocumentLayout
wdDialogFilePageSetup wdDialogFormatTabs
wdDialogFormatStyle wdDialogFormatDefineStyleFont
wdDialogFormatDefineStylePara wdDialogFormatDefineStyleTabs
wdDialogFormatDefineStyleFrame wdDialogFormatDefineStyleBorders
wdDialogFormatDefineStyleLang wdDialogFormatPicture
wdDialogToolsLanguage wdDialogFormatBordersAndShading
wdDialogFormatFrame wdDialogToolsThesaurus
wdDialogToolsHyphenation wdDialogToolsBulletsNumbers
wdDialogToolsHighlightChanges wdDialogToolsRevisions
wdDialogToolsCompareDocuments wdDialogTableSort
wdDialogToolsOptionsGeneral wdDialogToolsOptionsView
wdDialogToolsAdvancedSettings wdDialogToolsOptionsPrint
wdDialogToolsOptionsSave wdDialogToolsOptionsSpellingAndGrammar
wdDialogToolsOptionsUserInfo wdDialogToolsMacroRecord
wdDialogToolsMacro wdDialogWindowActivate
wdDialogFormatRetAddrFonts wdDialogOrganizer
wdDialogToolsOptionsEdit wdDialogToolsOptionsFileLocations
wdDialogToolsWordCount wdDialogControlRun
wdDialogInsertPageNumbers wdDialogFormatPageNumber
wdDialogCopyFile wdDialogFormatChangeCase
wdDialogUpdateTOC wdDialogInsertDatabase
wdDialogTableFormula wdDialogFormFieldOptions
wdDialogInsertCaption wdDialogInsertCaptionNumbering
wdDialogInsertAutoCaption wdDialogFormFieldHelp
wdDialogInsertCrossReference wdDialogInsertFootnote
wdDialogNoteOptions wdDialogToolsAutoCorrect
wdDialogToolsOptionsTrackChanges wdDialogConvertObject
wdDialogInsertAddCaption wdDialogConnect
wdDialogToolsCustomizeKeyboard wdDialogToolsCustomizeMenus
wdDialogToolsMergeDocuments wdDialogMarkTableOfContentsEntry
wdDialogFileMacPageSetupGX wdDialogFilePrintOneCopy
wdDialogEditFrame wdDialogMarkCitation
wdDialogTableOfContentsOptions wdDialogInsertTableOfAuthorities
wdDialogInsertTableOfFigures wdDialogInsertIndexAndTables
wdDialogInsertFormField wdDialogFormatDropCap
wdDialogToolsCreateLabels wdDialogToolsProtectDocument
wdDialogFormatStyleGallery wdDialogToolsAcceptRejectChanges
wdDialogHelpWordPerfectHelpOptions wdDialogToolsUnprotectDocument
wdDialogToolsOptionsCompatibility wdDialogTableOfCaptionsOptions
wdDialogTableAutoFormat wdDialogMailMergeFindRecord
wdDialogReviewAfmtRevisions wdDialogViewZoom
wdDialogToolsProtectSection wdDialogFontSubstitution
wdDialogInsertSubdocument wdDialogNewToolbar
wdDialogToolsEnvelopesAndLabels wdDialogFormatCallout
wdDialogTableFormatCell wdDialogToolsCustomizeMenuBar
wdDialogFileRoutingSlip wdDialogEditTOACategory
wdDialogToolsManageFields wdDialogDrawSnapToGrid
wdDialogDrawAlign wdDialogMailMergeCreateDataSource
wdDialogMailMergeCreateHeaderSource wdDialogMailMerge
wdDialogMailMergeCheck wdDialogMailMergeHelper
wdDialogMailMergeQueryOptions wdDialogFileMacPageSetup
wdDialogListCommands wdDialogEditCreatePublisher
wdDialogEditSubscribeTo wdDialogEditPublishOptions
wdDialogEditSubscribeOptions wdDialogFileMacCustomPageSetupGX
wdDialogToolsOptionsTypography wdDialogToolsAutoCorrectExceptions
wdDialogToolsOptionsAutoFormatAsYouType wdDialogMailMergeUseAddressBook
wdDialogToolsHangulHanjaConversion wdDialogToolsOptionsFuzzy
wdDialogEditGoToOld wdDialogInsertNumber
wdDialogLetterWizard wdDialogFormatBulletsAndNumbering
wdDialogToolsSpellingAndGrammar wdDialogToolsCreateDirectory
wdDialogTableWrapping wdDialogFormatTheme
wdDialogTableProperties wdDialogEmailOptions
wdDialogCreateAutoText wdDialogToolsAutoSummarize
wdDialogToolsGrammarSettings wdDialogEditGoTo
wdDialogWebOptions wdDialogInsertHyperlink
wdDialogToolsAutoManager wdDialogFileVersions
wdDialogToolsOptionsAutoFormat wdDialogFormatDrawingObject
wdDialogToolsOptions wdDialogFitText
wdDialogEditAutoText wdDialogPhoneticGuide
wdDialogToolsDictionary wdDialogFileSaveVersion
wdDialogToolsOptionsBidi wdDialogFrameSetProperties
wdDialogTableTableOptions wdDialogTableCellOptions
wdDialogIMESetDefault wdDialogTCSCTranslator
wdDialogHorizontalInVertical wdDialogTwoLinesInOne
wdDialogFormatEncloseCharacters wdDialogConsistencyChecker
wdDialogToolsOptionsSmartTag wdDialogFormatStylesCustom
wdDialogCSSLinks wdDialogInsertWebComponent
wdDialogToolsOptionsEditCopyPaste wdDialogToolsOptionsSecurity
wdDialogSearch wdDialogShowRepairs
wdDialogMailMergeInsertAsk wdDialogMailMergeInsertFillIn
wdDialogMailMergeInsertIf wdDialogMailMergeInsertNextIf
wdDialogMailMergeInsertSet wdDialogMailMergeInsertSkipIf
wdDialogMailMergeFieldMapping wdDialogMailMergeInsertAddressBlock
wdDialogMailMergeInsertGreetingLine wdDialogMailMergeInsertFields
wdDialogMailMergeRecipients wdDialogMailMergeFindRecipient
wdDialogMailMergeSetDocumentType wdFieldKindNone
wdFieldKindHot wdFieldKindWarm
wdFieldKindCold wdRegularText
wdNumberText wdDateText
wdCurrentDateText wdCurrentTimeText
wdCalculationText wdNeverConvert
wdAlwaysConvert wdAskToNotConvert
wdAskToConvert wdNotAMergeDocument
wdFormLetters wdMailingLabels
wdEnvelopes wdCatalog
wdEMail wdFax
wdDirectory wdNormalDocument
wdMainDocumentOnly wdMainAndDataSource
wdMainAndHeader wdMainAndSourceAndHeader
wdDataSource wdSendToNewDocument
wdSendToPrinter wdSendToEmail
wdSendToFax wdNoActiveRecord
wdNextRecord wdPreviousRecord
wdFirstRecord wdLastRecord
wdFirstDataSourceRecord wdLastDataSourceRecord
wdNextDataSourceRecord wdPreviousDataSourceRecord
wdDefaultFirstRecord wdDefaultLastRecord
wdNoMergeInfo wdMergeInfoFromWord
wdMergeInfoFromAccessDDE wdMergeInfoFromExcelDDE
wdMergeInfoFromMSQueryDDE wdMergeInfoFromODBC
wdMergeInfoFromODSO wdMergeIfEqual
wdMergeIfNotEqual wdMergeIfLessThan
wdMergeIfGreaterThan wdMergeIfLessThanOrEqual
wdMergeIfGreaterThanOrEqual wdMergeIfIsBlank
wdMergeIfIsNotBlank wdSortByName
wdSortByLocation wdWindowStateNormal
wdWindowStateMaximize wdWindowStateMinimize
wdLinkNone wdLinkDataInDoc
wdLinkDataOnDisk wdLinkTypeOLE
wdLinkTypePicture wdLinkTypeText
wdLinkTypeReference wdLinkTypeInclude
wdLinkTypeImport wdLinkTypeDDE
wdLinkTypeDDEAuto wdWindowDocument
wdWindowTemplate wdNormalView
wdOutlineView wdPrintView
wdPrintPreview wdMasterView
wdWebView wdSeekMainDocument
wdSeekPrimaryHeader wdSeekFirstPageHeader
wdSeekEvenPagesHeader wdSeekPrimaryFooter
wdSeekFirstPageFooter wdSeekEvenPagesFooter
wdSeekFootnotes wdSeekEndnotes
wdSeekCurrentPageHeader wdSeekCurrentPageFooter
wdPaneNone wdPanePrimaryHeader
wdPaneFirstPageHeader wdPaneEvenPagesHeader
wdPanePrimaryFooter wdPaneFirstPageFooter
wdPaneEvenPagesFooter wdPaneFootnotes
wdPaneEndnotes wdPaneFootnoteContinuationNotice
wdPaneFootnoteContinuationSeparator wdPaneFootnoteSeparator
wdPaneEndnoteContinuationNotice wdPaneEndnoteContinuationSeparator
wdPaneEndnoteSeparator wdPaneComments
wdPaneCurrentPageHeader wdPaneCurrentPageFooter
wdPaneRevisions wdPageFitNone
wdPageFitFullPage wdPageFitBestFit
wdPageFitTextFit wdBrowsePage
wdBrowseSection wdBrowseComment
wdBrowseFootnote wdBrowseEndnote
wdBrowseField wdBrowseTable
wdBrowseGraphic wdBrowseHeading
wdBrowseEdit wdBrowseFind
wdBrowseGoTo wdPrinterDefaultBin
wdPrinterUpperBin wdPrinterOnlyBin
wdPrinterLowerBin wdPrinterMiddleBin
wdPrinterManualFeed wdPrinterEnvelopeFeed
wdPrinterManualEnvelopeFeed wdPrinterAutomaticSheetFeed
wdPrinterTractorFeed wdPrinterSmallFormatBin
wdPrinterLargeFormatBin wdPrinterLargeCapacityBin
wdPrinterPaperCassette wdPrinterFormSource
wdOrientPortrait wdOrientLandscape
wdNoSelection wdSelectionIP
wdSelectionNormal wdSelectionFrame
wdSelectionColumn wdSelectionRow
wdSelectionBlock wdSelectionInlineShape
wdSelectionShape wdCaptionFigure
wdCaptionTable wdCaptionEquation
wdRefTypeNumberedItem wdRefTypeHeading
wdRefTypeBookmark wdRefTypeFootnote
wdRefTypeEndnote wdContentText
wdNumberRelativeContext wdNumberNoContext
wdNumberFullContext wdEntireCaption
wdOnlyLabelAndNumber wdOnlyCaptionText
wdFootnoteNumber wdEndnoteNumber
wdPageNumber wdPosition
wdFootnoteNumberFormatted wdEndnoteNumberFormatted
wdIndexTemplate wdIndexClassic
wdIndexFancy wdIndexModern
wdIndexBulleted wdIndexFormal
wdIndexSimple wdIndexIndent
wdIndexRunin wdWrapNever
wdWrapAlways wdWrapAsk
wdNoRevision wdRevisionInsert
wdRevisionDelete wdRevisionProperty
wdRevisionParagraphNumber wdRevisionDisplayField
wdRevisionReconcile wdRevisionConflict
wdRevisionStyle wdRevisionReplace
wdRevisionParagraphProperty wdRevisionTableProperty
wdRevisionSectionProperty wdRevisionStyleDefinition
wdOneAfterAnother wdAllAtOnce
wdNotYetRouted wdRouteInProgress
wdRouteComplete wdSectionContinuous
wdSectionNewColumn wdSectionNewPage
wdSectionEvenPage wdSectionOddPage
wdDoNotSaveChanges wdSaveChanges
wdPromptToSaveChanges wdDocumentNotSpecified
wdDocumentLetter wdDocumentEmail
wdTypeDocument wdTypeTemplate
wdTypeFrameset wdWordDocument
wdOriginalDocumentFormat wdPromptUser
wdRelocateUp wdRelocateDown
wdInsertedTextMarkNone wdInsertedTextMarkBold
wdInsertedTextMarkItalic wdInsertedTextMarkUnderline
wdInsertedTextMarkDoubleUnderline wdInsertedTextMarkColorOnly
wdInsertedTextMarkStrikeThrough wdRevisedLinesMarkNone
wdRevisedLinesMarkLeftBorder wdRevisedLinesMarkRightBorder
wdRevisedLinesMarkOutsideBorder wdDeletedTextMarkHidden
wdDeletedTextMarkStrikeThrough wdDeletedTextMarkCaret
wdDeletedTextMarkPound wdDeletedTextMarkNone
wdDeletedTextMarkBold wdDeletedTextMarkItalic
wdDeletedTextMarkUnderline wdDeletedTextMarkDoubleUnderline
wdDeletedTextMarkColorOnly wdRevisedPropertiesMarkNone
wdRevisedPropertiesMarkBold wdRevisedPropertiesMarkItalic
wdRevisedPropertiesMarkUnderline wdRevisedPropertiesMarkDoubleUnderline
wdRevisedPropertiesMarkColorOnly wdRevisedPropertiesMarkStrikeThrough
wdFieldShadingNever wdFieldShadingAlways
wdFieldShadingWhenSelected wdDocumentsPath
wdPicturesPath wdUserTemplatesPath
wdWorkgroupTemplatesPath wdUserOptionsPath
wdAutoRecoverPath wdToolsPath
wdTutorialPath wdStartupPath
wdProgramPath wdGraphicsFiltersPath
wdTextConvertersPath wdProofingToolsPath
wdTempFilePath wdCurrentFolderPath
wdStyleGalleryPath wdBorderArtPath
wdNoTabHangIndent wdNoSpaceRaiseLower
wdPrintColBlack wdWrapTrailSpaces
wdNoColumnBalance wdConvMailMergeEsc
wdSuppressSpBfAfterPgBrk wdSuppressTopSpacing
wdOrigWordTableRules wdTransparentMetafiles
wdShowBreaksInFrames wdSwapBordersFacingPages
wdLeaveBackslashAlone wdExpandShiftReturn
wdDontULTrailSpace wdDontBalanceSingleByteDoubleByteWidth
wdSuppressTopSpacingMac5 wdSpacingInWholePoints
wdPrintBodyTextBeforeHeader wdNoLeading
wdNoSpaceForUL wdMWSmallCaps
wdNoExtraLineSpacing wdTruncateFontHeight
wdSubFontBySize wdUsePrinterMetrics
wdWW6BorderRules wdExactOnTop
wdSuppressBottomSpacing wdWPSpaceWidth
wdWPJustification wdLineWrapLikeWord6
wdShapeLayoutLikeWW8 wdFootnoteLayoutLikeWW8
wdDontUseHTMLParagraphAutoSpacing wdDontAdjustLineHeightInTable
wdForgetLastTabAlignment wdAutospaceLikeWW7
wdAlignTablesRowByRow wdLayoutRawTableWidth
wdLayoutTableRowsApart wdUseWord97LineBreakingRules
wdDontBreakWrappedTables wdDontSnapTextToGridInTableWithObjects
wdSelectFieldWithFirstOrLastCharacter wdApplyBreakingRules
wdDontWrapTextWithPunctuation wdDontUseAsianBreakRulesInGrid
wdPaper10x14 wdPaper11x17
wdPaperLetter wdPaperLetterSmall
wdPaperLegal wdPaperExecutive
wdPaperA3 wdPaperA4
wdPaperA4Small wdPaperA5
wdPaperB4 wdPaperB5
wdPaperCSheet wdPaperDSheet
wdPaperESheet wdPaperFanfoldLegalGerman
wdPaperFanfoldStdGerman wdPaperFanfoldUS
wdPaperFolio wdPaperLedger
wdPaperNote wdPaperQuarto
wdPaperStatement wdPaperTabloid
wdPaperEnvelope9 wdPaperEnvelope10
wdPaperEnvelope11 wdPaperEnvelope12
wdPaperEnvelope14 wdPaperEnvelopeB4
wdPaperEnvelopeB5 wdPaperEnvelopeB6
wdPaperEnvelopeC3 wdPaperEnvelopeC4
wdPaperEnvelopeC5 wdPaperEnvelopeC6
wdPaperEnvelopeC65 wdPaperEnvelopeDL
wdPaperEnvelopeItaly wdPaperEnvelopeMonarch
wdPaperEnvelopePersonal wdPaperCustom
wdCustomLabelLetter wdCustomLabelLetterLS
wdCustomLabelA4 wdCustomLabelA4LS
wdCustomLabelA5 wdCustomLabelA5LS
wdCustomLabelB5 wdCustomLabelMini
wdCustomLabelFanfold wdCustomLabelVertHalfSheet
wdCustomLabelVertHalfSheetLS wdCustomLabelHigaki
wdCustomLabelHigakiLS wdCustomLabelB4JIS
wdNoProtection wdAllowOnlyRevisions
wdAllowOnlyComments wdAllowOnlyFormFields
wdAdjective wdNoun
wdAdverb wdVerb
wdPronoun wdConjunction
wdPreposition wdInterjection
wdIdiom wdOther
wdSubscriberBestFormat wdSubscriberRTF
wdSubscriberText wdSubscriberPict
wdPublisher wdSubscriber
wdCancelPublisher wdSendPublisher
wdSelectPublisher wdAutomaticUpdate
wdManualUpdate wdChangeAttributes
wdUpdateSubscriber wdOpenSource
wdRelativeHorizontalPositionMargin wdRelativeHorizontalPositionPage
wdRelativeHorizontalPositionColumn wdRelativeHorizontalPositionCharacter
wdRelativeVerticalPositionMargin wdRelativeVerticalPositionPage
wdRelativeVerticalPositionParagraph wdRelativeVerticalPositionLine
wdHelp wdHelpAbout
wdHelpActiveWindow wdHelpContents
wdHelpExamplesAndDemos wdHelpIndex
wdHelpKeyboard wdHelpPSSHelp
wdHelpQuickPreview wdHelpSearch
wdHelpUsingHelp wdHelpIchitaro
wdHelpPE2 wdHelpHWP
wdKeyCategoryNil wdKeyCategoryDisable
wdKeyCategoryCommand wdKeyCategoryMacro
wdKeyCategoryFont wdKeyCategoryAutoText
wdKeyCategoryStyle wdKeyCategorySymbol
wdKeyCategoryPrefix wdNoKey
wdKeyShift wdKeyControl
wdKeyCommand wdKeyAlt
wdKeyOption wdKeyA
wdKeyB wdKeyC
wdKeyD wdKeyE
wdKeyF wdKeyG
wdKeyH wdKeyI
wdKeyJ wdKeyK
wdKeyL wdKeyM
wdKeyN wdKeyO
wdKeyP wdKeyQ
wdKeyR wdKeyS
wdKeyT wdKeyU
wdKeyV wdKeyW
wdKeyX wdKeyY
wdKeyZ wdKey0
wdKey1 wdKey2
wdKey3 wdKey4
wdKey5 wdKey6
wdKey7 wdKey8
wdKey9 wdKeyBackspace
wdKeyTab wdKeyNumeric5Special
wdKeyReturn wdKeyPause
wdKeyEsc wdKeySpacebar
wdKeyPageUp wdKeyPageDown
wdKeyEnd wdKeyHome
wdKeyInsert wdKeyDelete
wdKeyNumeric0 wdKeyNumeric1
wdKeyNumeric2 wdKeyNumeric3
wdKeyNumeric4 wdKeyNumeric5
wdKeyNumeric6 wdKeyNumeric7
wdKeyNumeric8 wdKeyNumeric9
wdKeyNumericMultiply wdKeyNumericAdd
wdKeyNumericSubtract wdKeyNumericDecimal
wdKeyNumericDivide wdKeyF1
wdKeyF2 wdKeyF3
wdKeyF4 wdKeyF5
wdKeyF6 wdKeyF7
wdKeyF8 wdKeyF9
wdKeyF10 wdKeyF11
wdKeyF12 wdKeyF13
wdKeyF14 wdKeyF15
wdKeyF16 wdKeyScrollLock
wdKeySemiColon wdKeyEquals
wdKeyComma wdKeyHyphen
wdKeyPeriod wdKeySlash
wdKeyBackSingleQuote wdKeyOpenSquareBrace
wdKeyBackSlash wdKeyCloseSquareBrace
wdKeySingleQuote wdOLELink
wdOLEEmbed wdOLEControl
wdOLEVerbPrimary wdOLEVerbShow
wdOLEVerbOpen wdOLEVerbHide
wdOLEVerbUIActivate wdOLEVerbInPlaceActivate
wdOLEVerbDiscardUndoState wdInLine
wdFloatOverText wdLeftPortrait
wdCenterPortrait wdRightPortrait
wdLeftLandscape wdCenterLandscape
wdRightLandscape wdLeftClockwise
wdCenterClockwise wdRightClockwise
wdFullBlock wdModifiedBlock
wdSemiBlock wdLetterTop
wdLetterBottom wdLetterLeft
wdLetterRight wdSalutationInformal
wdSalutationFormal wdSalutationBusiness
wdSalutationOther wdGenderFemale
wdGenderMale wdGenderNeutral
wdGenderUnknown wdMove
wdExtend wdUndefined
wdToggle wdForward
wdBackward wdAutoPosition
wdFirst wdCreatorCode
wdPasteOLEObject wdPasteRTF
wdPasteText wdPasteMetafilePicture
wdPasteBitmap wdPasteDeviceIndependentBitmap
wdPasteHyperlink wdPasteShape
wdPasteEnhancedMetafile wdPasteHTML
wdPrintDocumentContent wdPrintProperties
wdPrintComments wdPrintMarkup
wdPrintStyles wdPrintAutoTextEntries
wdPrintKeyAssignments wdPrintEnvelope
wdPrintDocumentWithMarkup wdPrintAllPages
wdPrintOddPagesOnly wdPrintEvenPagesOnly
wdPrintAllDocument wdPrintSelection
wdPrintCurrentPage wdPrintFromTo
wdPrintRangeOfPages wdSpelling
wdGrammar wdThesaurus
wdHyphenation wdSpellingComplete
wdSpellingCustom wdSpellingLegal
wdSpellingMedical wdHangulHanjaConversion
wdHangulHanjaConversionCustom wdSpellword
wdWildcard wdAnagram
wdSpellingCorrect wdSpellingNotInDictionary
wdSpellingCapitalization wdSpellingError
wdGrammaticalError wdInlineShapeEmbeddedOLEObject
wdInlineShapeLinkedOLEObject wdInlineShapePicture
wdInlineShapeLinkedPicture wdInlineShapeOLEControlObject
wdInlineShapeHorizontalLine wdInlineShapePictureHorizontalLine
wdInlineShapeLinkedPictureHorizontalLine wdInlineShapePictureBullet
wdInlineShapeScriptAnchor wdInlineShapeOWSAnchor
wdTiled wdIcons
wdSelStartActive wdSelAtEOL
wdSelOvertype wdSelActive
wdSelReplace wdAutoVersionOff
wdAutoVersionOnClose wdOrganizerObjectStyles
wdOrganizerObjectAutoText wdOrganizerObjectCommandBars
wdOrganizerObjectProjectItems wdMatchParagraphMark
wdMatchTabCharacter wdMatchCommentMark
wdMatchAnyCharacter wdMatchAnyDigit
wdMatchAnyLetter wdMatchCaretCharacter
wdMatchColumnBreak wdMatchEmDash
wdMatchEnDash wdMatchEndnoteMark
wdMatchField wdMatchFootnoteMark
wdMatchGraphic wdMatchManualLineBreak
wdMatchManualPageBreak wdMatchNonbreakingHyphen
wdMatchNonbreakingSpace wdMatchOptionalHyphen
wdMatchSectionBreak wdMatchWhiteSpace
wdFindStop wdFindContinue
wdFindAsk wdActiveEndAdjustedPageNumber
wdActiveEndSectionNumber wdActiveEndPageNumber
wdNumberOfPagesInDocument wdHorizontalPositionRelativeToPage
wdVerticalPositionRelativeToPage wdHorizontalPositionRelativeToTextBoundary
wdVerticalPositionRelativeToTextBoundary wdFirstCharacterColumnNumber
wdFirstCharacterLineNumber wdFrameIsSelected
wdWithInTable wdStartOfRangeRowNumber
wdEndOfRangeRowNumber wdMaximumNumberOfRows
wdStartOfRangeColumnNumber wdEndOfRangeColumnNumber
wdMaximumNumberOfColumns wdZoomPercentage
wdSelectionMode wdCapsLock
wdNumLock wdOverType
wdRevisionMarking wdInFootnoteEndnotePane
wdInCommentPane wdInHeaderFooter
wdAtEndOfRowMarker wdReferenceOfType
wdHeaderFooterType wdInMasterDocument
wdInFootnote wdInEndnote
wdInWordMail wdInClipboard
wdWrapSquare wdWrapTight
wdWrapThrough wdWrapNone
wdWrapTopBottom wdWrapInline
wdWrapBoth wdWrapLeft
wdWrapRight wdWrapLargest
wdOutlineLevel1 wdOutlineLevel2
wdOutlineLevel3 wdOutlineLevel4
wdOutlineLevel5 wdOutlineLevel6
wdOutlineLevel7 wdOutlineLevel8
wdOutlineLevel9 wdOutlineLevelBodyText
wdTextOrientationHorizontal wdTextOrientationUpward
wdTextOrientationDownward wdTextOrientationVerticalFarEast
wdTextOrientationHorizontalRotatedFarEast wdArtApples
wdArtMapleMuffins wdArtCakeSlice
wdArtCandyCorn wdArtIceCreamCones
wdArtChampagneBottle wdArtPartyGlass
wdArtChristmasTree wdArtTrees
wdArtPalmsColor wdArtBalloons3Colors
wdArtBalloonsHotAir wdArtPartyFavor
wdArtConfettiStreamers wdArtHearts
wdArtHeartBalloon wdArtStars3D
wdArtStarsShadowed wdArtStars
wdArtSun wdArtEarth2
wdArtEarth1 wdArtPeopleHats
wdArtSombrero wdArtPencils
wdArtPackages wdArtClocks
wdArtFirecrackers wdArtRings
wdArtMapPins wdArtConfetti
wdArtCreaturesButterfly wdArtCreaturesLadyBug
wdArtCreaturesFish wdArtBirdsFlight
wdArtScaredCat wdArtBats
wdArtFlowersRoses wdArtFlowersRedRose
wdArtPoinsettias wdArtHolly
wdArtFlowersTiny wdArtFlowersPansy
wdArtFlowersModern2 wdArtFlowersModern1
wdArtWhiteFlowers wdArtVine
wdArtFlowersDaisies wdArtFlowersBlockPrint
wdArtDecoArchColor wdArtFans
wdArtFilm wdArtLightning1
wdArtCompass wdArtDoubleD
wdArtClassicalWave wdArtShadowedSquares
wdArtTwistedLines1 wdArtWaveline
wdArtQuadrants wdArtCheckedBarColor
wdArtSwirligig wdArtPushPinNote1
wdArtPushPinNote2 wdArtPumpkin1
wdArtEggsBlack wdArtCup
wdArtHeartGray wdArtGingerbreadMan
wdArtBabyPacifier wdArtBabyRattle
wdArtCabins wdArtHouseFunky
wdArtStarsBlack wdArtSnowflakes
wdArtSnowflakeFancy wdArtSkyrocket
wdArtSeattle wdArtMusicNotes
wdArtPalmsBlack wdArtMapleLeaf
wdArtPaperClips wdArtShorebirdTracks
wdArtPeople wdArtPeopleWaving
wdArtEclipsingSquares2 wdArtHypnotic
wdArtDiamondsGray wdArtDecoArch
wdArtDecoBlocks wdArtCirclesLines
wdArtPapyrus wdArtWoodwork
wdArtWeavingBraid wdArtWeavingRibbon
wdArtWeavingAngles wdArtArchedScallops
wdArtSafari wdArtCelticKnotwork
wdArtCrazyMaze wdArtEclipsingSquares1
wdArtBirds wdArtFlowersTeacup
wdArtNorthwest wdArtSouthwest
wdArtTribal6 wdArtTribal4
wdArtTribal3 wdArtTribal2
wdArtTribal5 wdArtXIllusions
wdArtZanyTriangles wdArtPyramids
wdArtPyramidsAbove wdArtConfettiGrays
wdArtConfettiOutline wdArtConfettiWhite
wdArtMosaic wdArtLightning2
wdArtHeebieJeebies wdArtLightBulb
wdArtGradient wdArtTriangleParty
wdArtTwistedLines2 wdArtMoons
wdArtOvals wdArtDoubleDiamonds
wdArtChainLink wdArtTriangles
wdArtTribal1 wdArtMarqueeToothed
wdArtSharksTeeth wdArtSawtooth
wdArtSawtoothGray wdArtPostageStamp
wdArtWeavingStrips wdArtZigZag
wdArtCrossStitch wdArtGems
wdArtCirclesRectangles wdArtCornerTriangles
wdArtCreaturesInsects wdArtZigZagStitch
wdArtCheckered wdArtCheckedBarBlack
wdArtMarquee wdArtBasicWhiteDots
wdArtBasicWideMidline wdArtBasicWideOutline
wdArtBasicWideInline wdArtBasicThinLines
wdArtBasicWhiteDashes wdArtBasicWhiteSquares
wdArtBasicBlackSquares wdArtBasicBlackDashes
wdArtBasicBlackDots wdArtStarsTop
wdArtCertificateBanner wdArtHandmade1
wdArtHandmade2 wdArtTornPaper
wdArtTornPaperBlack wdArtCouponCutoutDashes
wdArtCouponCutoutDots wdBorderDistanceFromText
wdBorderDistanceFromPageEdge wdReplaceNone
wdReplaceOne wdReplaceAll
wdFontBiasDontCare wdFontBiasDefault
wdFontBiasFareast wdBrowserLevelV4
wdBrowserLevelMicrosoftInternetExplorer5 wdBrowserLevelMicrosoftInternetExplorer6
wdEnclosureCircle wdEnclosureSquare
wdEnclosureTriangle wdEnclosureDiamond
wdEncloseStyleNone wdEncloseStyleSmall
wdEncloseStyleLarge wdHighAnsiIsFarEast
wdHighAnsiIsHighAnsi wdAutoDetectHighAnsiFarEast
wdLayoutModeDefault wdLayoutModeGrid
wdLayoutModeLineGrid wdLayoutModeGenko
wdEmailMessage wdDocument
wdWebPage wdPriorityNormal
wdPriorityLow wdPriorityHigh
wdDocumentViewRtl wdDocumentViewLtr
wdNumeralArabic wdNumeralHindi
wdNumeralContext wdNumeralSystem
wdMonthNamesArabic wdMonthNamesEnglish
wdMonthNamesFrench wdCursorMovementLogical
wdCursorMovementVisual wdVisualSelectionBlock
wdVisualSelectionContinuous wdTableDirectionRtl
wdTableDirectionLtr wdFlowLtr
wdFlowRtl wdDiacriticColorBidi
wdDiacriticColorLatin wdGutterPosLeft
wdGutterPosTop wdGutterPosRight
wdGutterStyleLatin wdGutterStyleBidi
wdSectionDirectionRtl wdSectionDirectionLtr
wdDateLanguageBidi wdDateLanguageLatin
wdCalendarTypeBidi wdCalendarTypeGregorian
wdCalendarWestern wdCalendarArabic
wdCalendarHebrew wdCalendarChina
wdCalendarJapan wdCalendarThai
wdCalendarKorean wdCalendarSakaEra
wdReadingOrderRtl wdReadingOrderLtr
wdFullScript wdPartialScript
wdMixedScript wdMixedAuthorizedScript
wdNone wdInitialAlef
wdFinalYaa wdBoth
wdColorAutomatic wdColorBlack
wdColorBlue wdColorTurquoise
wdColorBrightGreen wdColorPink
wdColorRed wdColorYellow
wdColorWhite wdColorDarkBlue
wdColorTeal wdColorGreen
wdColorViolet wdColorDarkRed
wdColorDarkYellow wdColorBrown
wdColorOliveGreen wdColorDarkGreen
wdColorDarkTeal wdColorIndigo
wdColorOrange wdColorBlueGray
wdColorLightOrange wdColorLime
wdColorSeaGreen wdColorAqua
wdColorLightBlue wdColorGold
wdColorSkyBlue wdColorPlum
wdColorRose wdColorTan
wdColorLightYellow wdColorLightGreen
wdColorLightTurquoise wdColorPaleBlue
wdColorLavender wdColorGray05
wdColorGray10 wdColorGray125
wdColorGray15 wdColorGray20
wdColorGray25 wdColorGray30
wdColorGray35 wdColorGray375
wdColorGray40 wdColorGray45
wdColorGray50 wdColorGray55
wdColorGray60 wdColorGray625
wdColorGray65 wdColorGray70
wdColorGray75 wdColorGray80
wdColorGray85 wdColorGray875
wdColorGray90 wdColorGray95
wdShapeTop wdShapeLeft
wdShapeBottom wdShapeRight
wdShapeCenter wdShapeInside
wdShapeOutside wdTableTop
wdTableLeft wdTableBottom
wdTableRight wdTableCenter
wdTableInside wdTableOutside
wdWord8ListBehavior wdWord9ListBehavior
wdWord10ListBehavior wdWord8TableBehavior
wdWord9TableBehavior wdAutoFitFixed
wdAutoFitContent wdAutoFitWindow
wdPreferredWidthAuto wdPreferredWidthPercent
wdPreferredWidthPoints wdLineBreakJapanese
wdLineBreakKorean wdLineBreakSimplifiedChinese
wdLineBreakTraditionalChinese wdPageView
wdOnlineView wdFramesetTypeFrameset
wdFramesetTypeFrame wdFramesetSizeTypePercent
wdFramesetSizeTypeFixed wdFramesetSizeTypeRelative
wdFramesetNewFrameAbove wdFramesetNewFrameBelow
wdFramesetNewFrameRight wdFramesetNewFrameLeft
wdScrollbarTypeAuto wdScrollbarTypeYes
wdScrollbarTypeNo wdTwoLinesInOneNone
wdTwoLinesInOneNoBrackets wdTwoLinesInOneParentheses
wdTwoLinesInOneSquareBrackets wdTwoLinesInOneAngleBrackets
wdTwoLinesInOneCurlyBrackets wdHorizontalInVerticalNone
wdHorizontalInVerticalFitInLine wdHorizontalInVerticalResizeLine
wdHorizontalLineAlignLeft wdHorizontalLineAlignCenter
wdHorizontalLineAlignRight wdHorizontalLinePercentWidth
wdHorizontalLineFixedWidth wdPhoneticGuideAlignmentCenter
wdPhoneticGuideAlignmentZeroOneZero wdPhoneticGuideAlignmentOneTwoOne
wdPhoneticGuideAlignmentLeft wdPhoneticGuideAlignmentRight
wdPhoneticGuideAlignmentRightVertical wdNewBlankDocument
wdNewWebPage wdNewEmailMessage
wdNewFrameset wdKanaKatakana
wdKanaHiragana wdWidthHalfWidth
wdWidthFullWidth wdListNumberStyleBidi1
wdListNumberStyleBidi2 wdCaptionNumberStyleBidiLetter1
wdCaptionNumberStyleBidiLetter2 wdNoteNumberStyleBidiLetter1
wdNoteNumberStyleBidiLetter2 wdPageNumberStyleBidiLetter1
wdPageNumberStyleBidiLetter2 wdTCSCConverterDirectionSCTC
wdTCSCConverterDirectionTCSC wdTCSCConverterDirectionAuto
wd70 wd70FE
wd80 wdWrapMergeInline
wdWrapMergeSquare wdWrapMergeTight
wdWrapMergeBehind wdWrapMergeFront
wdWrapMergeThrough wdWrapMergeTopBottom
wdPasteDefault wdSingleCellText
wdSingleCellTable wdListContinueNumbering
wdListRestartNumbering wdTableInsertAsRows
wdTableAppendTable wdTableOriginalFormatting
wdChartPicture wdChart
wdChartLinked wdFormatOriginalFormatting
wdFormatSurroundingFormattingWithEmphasis wdFormatPlainText
wdTableOverwriteCells wdListCombineWithExistingList
wdListDontMerge wdCRLF
wdCROnly wdLFOnly
wdLFCR wdLSPS
wdStyleSheetLinkTypeLinked wdStyleSheetLinkTypeImported
wdStyleSheetPrecedenceHigher wdStyleSheetPrecedenceLower
wdStyleSheetPrecedenceHighest wdStyleSheetPrecedenceLowest
wdEmailHTMLFidelityLow wdEmailHTMLFidelityMedium
wdEmailHTMLFidelityHigh wdMailFormatPlainText
wdMailFormatHTML wdUniqueIdentifier
wdCourtesyTitle wdFirstName
wdMiddleName wdLastName
wdSuffix wdNickname
wdJobTitle wdCompany
wdAddress1 wdAddress2
wdCity wdState
wdPostalCode wdCountryRegion
wdBusinessPhone wdBusinessFax
wdHomePhone wdHomeFax
wdEmailAddress wdWebPageURL
wdSpouseCourtesyTitle wdSpouseFirstName
wdSpouseMiddleName wdSpouseLastName
wdSpouseNickname wdRubyFirstName
wdRubyLastName wdAddress3
wdDepartment wdFirstRow
wdLastRow wdOddRowBanding
wdEvenRowBanding wdFirstColumn
wdLastColumn wdOddColumnBanding
wdEvenColumnBanding wdNECell
wdNWCell wdSECell
wdSWCell wdCompareTargetSelected
wdCompareTargetCurrent wdCompareTargetNew
wdMergeTargetSelected wdMergeTargetCurrent
wdMergeTargetNew wdFormattingFromCurrent
wdFormattingFromSelected wdFormattingFromPrompt
wdRevisionsViewFinal wdRevisionsViewOriginal
wdBalloonRevisions wdInLineRevisions
wdBalloonWidthPercent wdBalloonWidthPoints
wdBalloonPrintOrientationAuto wdBalloonPrintOrientationPreserve
wdBalloonPrintOrientationForceLandscape wdLeftMargin
wdRightMargin wdTaskPaneFormatting
wdTaskPaneRevealFormatting wdTaskPaneMailMerge
wdTaskPaneTranslate wdTaskPaneSearch
wdShowFilterStylesAvailable wdShowFilterStylesInUse
wdShowFilterStylesAll wdShowFilterFormattingInUse
wdShowFilterFormattingAvailable wdMergeSubTypeOther
wdMergeSubTypeAccess wdMergeSubTypeOAL
wdMergeSubTypeOLEDBWord wdMergeSubTypeWorks
wdMergeSubTypeOLEDBText wdMergeSubTypeOutlook
wdMergeSubTypeWord wdMergeSubTypeWord2000
wdLeftToRight wdRightToLeft
wdChineseHongKong wdChineseMacao
wdEnglishTrinidad
Excel的WordTSL相关函数

这些函数只能被Word模板所使用在编写应用的时候可以综合独立的Excel处理函数使用参见Excel处理函数。

内容
  • WordCopyFromExcel
  • WordCopyPicFromExcel
  • WordChartCopyPicFromExcel
WordCopyFromExcel
WordCopyPicFromExcel
WordChartCopyPicFromExcel
Word/Excel CHART图类函数

以下图例除了特殊的图例以外,范例数据均为:

第一季度 第二季度 第三季度 第四季度
东部 20.4 27.4 90 20.4
西部 30.6 38.6 34.6 31.6
北部 45.9 46.9 45 43.9
内容
  • xl3DBarClustered
  • xlLineStacked
  • xlBarClustered
  • xlBarStacked
  • xlColumnStacked
  • xl3DBarStacked
  • xl3DColumnStacked
  • xl3DColumnStacked100
  • xlColumnStacked100
  • xlBarStacked100
  • xl3DBarStacked100
  • xl3DColumnClustered
  • xlColumnClustered
  • xlXYScatterLines
  • xlBarOfPie
  • xlLineMarkers
  • xlPieOfPie
  • xlAreaStacked
  • xlLineMarkersStacked100
  • xl3DPieExploded
  • xlRadarMarkers
  • xlXYScatterSmoothNoMarkers
  • xl3DAreaStacked100
  • xlXYScatterSmooth
  • xl3DAreaStacked
  • xlSurfaceWireframe
  • xlLineStacked100
  • xlXYScatterLinesNoMarkers
  • xlLineMarkersStacked
  • xlDoughnutExploded
  • xlPieExploded
  • xlAreaStacked100
  • xlSurface
  • xlRadarFilled
  • xlSurfaceTopViewWireframe
  • xlStockHLC
  • xlStockVOHLC
  • xlConeColClustered
  • xlConeBarClustered
  • xlCylinderColStacked100
  • xlBubble
  • xlConeBarStacked
  • xlCylinderBarStacked100
  • xlConeColStacked
  • xlCylinderCol
  • xlCylinderColClustered
  • xlConeColStacked100
  • xlSurfaceTopView
  • xlStockOHLC
  • xlCylinderBarStacked
  • xlCylinderBarClustered
  • xlStockVHLC
  • xlConeBarStacked100
  • xlBubble3DEffect
  • xlCylinderColStacked
  • xl3DPie
  • xlPyramidBarStacked
  • xl3DColumn
  • xlPyramidColStacked
  • xlXYScatter
  • xlDoughnut
  • xlPyramidCol
  • xlPyramidColClustered
  • xlArea
  • xlPyramidBarClustered
  • xl3DLine
  • xlLine
  • xlPie
  • xlRadar
  • xlPyramidBarStacked100
  • xlConeCol
  • xl3DArea
  • xlPyramidColStacked100
xl3DBarClustered
xlLineStacked
xlBarClustered
xlBarStacked
xlColumnStacked
xl3DBarStacked
xl3DColumnStacked
xl3DColumnStacked100
xlColumnStacked100
xlBarStacked100
xl3DBarStacked100
xl3DColumnClustered
xlColumnClustered
xlXYScatterLines
xlBarOfPie
xlLineMarkers
xlPieOfPie
xlAreaStacked
xlLineMarkersStacked100
xl3DPieExploded
xlRadarMarkers
xlXYScatterSmoothNoMarkers
xl3DAreaStacked100
xlXYScatterSmooth
xl3DAreaStacked
xlSurfaceWireframe
xlLineStacked100
xlXYScatterLinesNoMarkers
xlLineMarkersStacked
xlDoughnutExploded
xlPieExploded
xlAreaStacked100
xlSurface
xlRadarFilled
xlSurfaceTopViewWireframe
xlStockHLC

范例

所需数据要求如下:

时间 2004-05-21 2004-05-24 2004-05-25 2004-05-26
最高 1559.86 1562.33 1549.59 1529.91
最低 1545.62 1547.36 1516.34 1508.65
收盘 1558.33 1550.35 1518.05 1524.44
xlStockVOHLC

范例

所需数据要求如下:

时间 2004-05-21 2004-05-24 2004-05-25 2004-05-26
成交量 8.44E+08 7.46E+08 9.19E+08 7.41E+08
开盘 1548.56 1559.55 1549.02 1515.16
最高 1559.86 1562.33 1549.59 1529.91
最低 1545.62 1547.36 1516.34 1508.65
收盘 1558.33 1550.35 1518.05 1524.44
xlConeColClustered
xlConeBarClustered
xlCylinderColStacked100
xlBubble
xlConeBarStacked
xlCylinderBarStacked100
xlConeColStacked
xlCylinderCol
xlCylinderColClustered
xlConeColStacked100
xlSurfaceTopView
xlStockOHLC

范例

所需数据要求如下:

时间 2004-05-21 2004-05-24 2004-05-25 2004-05-26
开盘 1548.56 1559.55 1549.02 1515.16
最高 1559.86 1562.33 1549.59 1529.91
最低 1545.62 1547.36 1516.34 1508.65
收盘 1558.33 1550.35 1518.05 1524.44
xlCylinderBarStacked
xlCylinderBarClustered
xlStockVHLC

范例

所需数据要求如下:

时间 2004-05-21 2004-05-24 2004-05-25 2004-05-26
成交量 8.44E+08 7.46E+08 9.19E+08 7.41E+08
最高 1559.86 1562.33 1549.59 1529.91
最低 1545.62 1547.36 1516.34 1508.65
收盘 1558.33 1550.35 1518.05 1524.44
xlConeBarStacked100
xlBubble3DEffect
xlCylinderColStacked
xl3DPie
xlPyramidBarStacked
xl3DColumn
xlPyramidColStacked
xlXYScatter
xlDoughnut
xlPyramidCol
xlPyramidColClustered
xlArea
xlPyramidBarClustered
xl3DLine
xlLine
xlPie
xlRadar
xlPyramidBarStacked100
xlConeCol
xl3DArea
xlPyramidColStacked100

PDF转换函数

内容
  • FileToPDF
FileToPDF

图片导出

把客户端支持的技术图形输出成BITMAP或者JPEG

内容
  • wg_createbitmap
  • wg_drawgraph
  • wg_bitmaptojpg
wg_createbitmap
wg_drawgraph

范例

pic := KLine(5, 10, 20, 60); // 生成天软图形
psize := rdo2 wg_createbitmap(1500, 810); // 图片大小
// 图片属性设置
ConfigData := array('bkcolor':clBlack(),//背景色-设置为黑色
'fgcolor':clwhite(),//rgb(159,228,239), //前景色
'fontsize':20,//字体大小
'coordinate':0,
'title':'JPGDome',
'auxtitle':'图片属性展示',
'linewidth':1,//单位:磅
'boldfont':1,//1加粗0不加粗
'xorcolor':1
);
bitmap := rdo2 wg_drawgraph(pic, ConfigData, psize); // 生成bitmap
fname := 'D:\\DemoTest\\ klineTest02.bmp ';
return rdo2 writefile(rwbinary(), "", fname, 0, length(bitmap), bitmap);
// 导出的图片:
wg_bitmaptojpg

范例

pic := KLine(5, 10, 20, 60); // 生成天软图形
psize := rdo2 wg_createbitmap(1500, 810); // 图片大小
// 图片属性设置
ConfigData := array('bkcolor':clwhite(),//背景色-设置为白色
'fgcolor':clwhite(),//rgb(159,228,239), //前景色
'fontsize':20,
'coordinate':0,
'title':'JPGDome',
'auxtitle':'图片属性展示',
'linewidth':1,//单位:磅?
'boldfont':1,//1加粗0不加粗
'xorcolor':1
);
bitmap := rdo2 wg_drawgraph(pic, ConfigData, psize); // 生成bitmap
jpg := rdo2 wg_bitmaptojpg(bitmap); // bitmap转成jpg
fname := 'D:\\DemoTest\\ klineTest03. jpg ';
return rdo2 writefile(rwbinary(), "", fname, 0, length(jpg), jpg);
// 导出图片:

验证码支持

内容
  • CreateCaptchaImage
CreateCaptchaImage

范例

picparam := array('width':360, 'height':64, 'distort':10.0, 'hollow':1,
'char blur':0.1, 'char size':60, 'char rand':20,
'curve blur':0.5, 'curve count':10,
'contrast':255, 'noise':1.0);
a := rdo2 CreateCaptchaImage('JPG123', 'jpg', picparam);
rdo2 WriteFile(rwRaw(), "", "d:\\test.jpg", 0, length(a), a);
a := rdo2 CreateCaptchaImage('GIF345', 'GIF', picparam);
rdo2 WriteFile(rwRaw(), "", "d:\\test.GIF", 0, length(a), a);
a := rdo2 CreateCaptchaImage('PNG567', 'png', picparam);
rdo2 WriteFile(rwRaw(), "", "d:\\test.png", 0, length(a), a);
a := rdo2 CreateCaptchaImage('BMWBMP', 'bmp', picparam);
rdo2 WriteFile(rwRaw(), "", "d:\\test.bmp", 0, length(a), a);