Word常用定义的变量
unit U_WordConst;
interface
{*******Word窗体状态************}
const
wdWindowStateNormal = $00000000; {普通状态}
{*******域的位置状态************}
const
wdCollapseStart = $00000001;
wdCollapseEnd = $00000000;
{*******方向单元操作************}
const
wdCharacter = $00000001;
wdWord = $00000002;
wdSentence = $00000003;
wdParagraph = $00000004;
wdLine = $00000005;
wdStory = $00000006;
wdScreen = $00000007;
wdSection = $00000008;
wdColumn = $00000009;
wdRow = $0000000A;
wdWindow = $0000000B;
wdCell = $0000000C;
wdCharacterFormatting = $0000000D;
wdParagraphFormatting = $0000000E;
wdTable = $0000000F;
wdItem = $00000010;
{****************域的类型******************}
const
wdFieldEmpty = $FFFFFFFF;
wdFieldRef = $00000003;
wdFieldIndexEntry = $00000004;
wdFieldFootnoteRef = $00000005;
wdFieldSet = $00000006;
wdFieldIf = $00000007;
wdFieldIndex = $00000008;
wdFieldTOCEntry = $00000009;
wdFieldStyleRef = $0000000A;
wdFieldRefDoc = $0000000B;
wdFieldSequence = $0000000C;
wdFieldTOC = $0000000D;
wdFieldInfo = $0000000E;
wdFieldTitle = $0000000F;
wdFieldSubject = $00000010;
wdFieldAuthor = $00000011;
wdFieldKeyWord = $00000012;
wdFieldComments = $00000013;
wdFieldLastSavedBy = $00000014;
wdFieldCreateDate = $00000015;
wdFieldSaveDate = $00000016;
wdFieldPrintDate = $00000017;
wdFieldRevisionNum = $00000018;
wdFieldEditTime = $00000019;
wdFieldNumPages = $0000001A;
wdFieldNumWords = $0000001B;
wdFieldNumChars = $0000001C;
wdFieldFileName = $0000001D;
wdFieldTemplate = $0000001E;
wdFieldDate = $0000001F;
wdFieldTime = $00000020;
wdFieldPage = $00000021;
wdFieldExpression = $00000022;
wdFieldQuote = $00000023;
wdFieldInclude = $00000024;
wdFieldPageRef = $00000025;
wdFieldAsk = $00000026;
wdFieldFillIn = $00000027;
wdFieldData = $00000028;
wdFieldNext = $00000029;
wdFieldNextIf = $0000002A;
wdFieldSkipIf = $0000002B;
wdFieldMergeRec = $0000002C;
wdFieldDDE = $0000002D;
wdFieldDDEAuto = $0000002E;
wdFieldGlossary = $0000002F;
wdFieldPrint = $00000030;
wdFieldFormula = $00000031;
wdFieldGoToButton = $00000032;
wdFieldMacroButton = $00000033;
wdFieldAutoNumOutline = $00000034;
wdFieldAutoNumLegal = $00000035;
wdFieldAutoNum = $00000036;
wdFieldImport = $00000037;
wdFieldLink = $00000038;
wdFieldSymbol = $00000039;
wdFieldEmbed = $0000003A;
wdFieldMergeField = $0000003B;
wdFieldUserName = $0000003C;
wdFieldUserInitials = $0000003D;
wdFieldUserAddress = $0000003E;
wdFieldBarCode = $0000003F;
wdFieldDocVariable = $00000040;
wdFieldSection = $00000041;
wdFieldSectionPages = $00000042;
wdFieldIncludePicture = $00000043;
wdFieldIncludeText = $00000044;
wdFieldFileSize = $00000045;
wdFieldFormTextInput = $00000046;
wdFieldFormCheckBox = $00000047;
wdFieldNoteRef = $00000048;
wdFieldTOA = $00000049;
wdFieldTOAEntry = $0000004A;
wdFieldMergeSeq = $0000004B;
wdFieldPrivate = $0000004D;
wdFieldDatabase = $0000004E;
wdFieldAutoText = $0000004F;
wdFieldCompare = $00000050;
wdFieldAddin = $00000051;
wdFieldSubscriber = $00000052;
wdFieldFormDropDown = $00000053;
wdFieldAdvance = $00000054;
wdFieldDocProperty = $00000055;
wdFieldOCX = $00000057;
wdFieldHyperlink = $00000058;
wdFieldAutoTextList = $00000059;
wdFieldListNum = $0000005A;
wdFieldHTMLActiveX = $0000005B;
{*************取信息的参数***************}
Const
wdActiveEndAdjustedPageNumber = $00000001;
wdActiveEndSectionNumber = $00000002;
wdActiveEndPageNumber = $00000003;
wdNumberOfPagesInDocument = $00000004;
wdHorizontalPositionRelativeToPage = $00000005;
wdVerticalPositionRelativeToPage = $00000006;
wdHorizontalPositionRelativeToTextBoundary = $00000007;
wdVerticalPositionRelativeToTextBoundary = $00000008;
wdFirstCharacterColumnNumber = $00000009;
wdFirstCharacterLineNumber = $0000000A;
wdFrameIsSelected = $0000000B;
wdWithInTable = $0000000C;
wdStartOfRangeRowNumber = $0000000D;
wdEndOfRangeRowNumber = $0000000E;
wdMaximumNumberOfRows = $0000000F;
wdStartOfRangeColumnNumber = $00000010;
wdEndOfRangeColumnNumber = $00000011;
wdMaximumNumberOfColumns = $00000012;
wdZoomPercentage = $00000013;
wdSelectionMode = $00000014;
wdCapsLock = $00000015;
wdNumLock = $00000016;
wdOverType = $00000017;
wdRevisionMarking = $00000018;
wdInFootnoteEndnotePane = $00000019;
wdInCommentPane = $0000001A;
wdInHeaderFooter = $0000001C;
wdAtEndOfRowMarker = $0000001F;
wdReferenceOfType = $00000020;
wdHeaderFooterType = $00000021;
wdInMasterDocument = $00000022;
wdInFootnote = $00000023;
wdInEndnote = $00000024;
wdInWordMail = $00000025;
wdInClipboard = $00000026;
{定位指令}
const
wdGoToBookmark = $FFFFFFFF;
wdGoToSection = $00000000;
wdGoToPage = $00000001;
wdGoToTable = $00000002;
wdGoToLine = $00000003;
wdGoToFootnote = $00000004;
wdGoToEndnote = $00000005;
wdGoToComment = $00000006;
wdGoToField = $00000007;
wdGoToGraphic = $00000008;
wdGoToObject = $00000009;
wdGoToEquation = $0000000A;
wdGoToHeading = $0000000B;
wdGoToPercent = $0000000C;
wdGoToSpellingError = $0000000D;
wdGoToGrammaticalError = $0000000E;
wdGoToProofreadingError = $0000000F;
Const
wdBorderTop = $FFFFFFFF;
wdBorderLeft = $FFFFFFFE;
wdBorderBottom = $FFFFFFFD;
wdBorderRight = $FFFFFFFC;
wdBorderHorizontal = $FFFFFFFB;
wdBorderVertical = $FFFFFFFA;
wdBorderDiagonalDown = $FFFFFFF9;
wdBorderDiagonalUp = $FFFFFFF8;
{对齐}
const
wdAlignParagraphLeft = $00000000;
wdAlignParagraphCenter = $00000001;
wdAlignParagraphRight = $00000002;
wdAlignParagraphJustify = $00000003;
wdAlignParagraphDistribute = $00000004;
wdAlignParagraphJustifyMed = $00000005;
wdAlignParagraphJustifyHi = $00000007;
wdAlignParagraphJustifyLow = $00000008;
wdUndefined = $0098967F;
wdToggle = $0098967E;
{替换类型}
wdReplaceNone = $00000000;
wdReplaceOne = $00000001;
wdReplaceAll = $00000002;
wdFindStop = $00000000;
wdFindContinue = $00000001;
wdFindAsk = $00000002;
wdMove = $00000000;
wdExtend = $00000001;
//以下是对线型的声明
wdLineStyleNone = $00000000;
wdLineStyleSingle = $00000001;
wdLineStyleDot = $00000002;
wdLineStyleDashSmallGap = $00000003;
wdLineWidth025pt = $00000002;
wdLineWidth050pt = $00000004;
wdLineWidth075pt = $00000006;
wdLineWidth100pt = $00000008;
wdLineWidth150pt = $0000000C;
wdLineWidth225pt = $00000012;
wdLineWidth300pt = $00000018;
wdLineWidth450pt = $00000024;
wdLineWidth600pt = $00000030;
//以下是对分页符的声明
wdSectionBreakNextPage = $00000002;
//保存的文档格式
wdFormatDocument = $00000000;
{颜色设置}
const
wdColorAutomatic = $FF000000;
wdColorBlack = $00000000;
wdColorBlue = $00FF0000;
wdColorTurquoise = $00FFFF00;
wdColorBrightGreen = $0000FF00;
wdColorPink = $00FF00FF;
wdColorRed = $000000FF;
wdColorYellow = $0000FFFF;
wdColorWhite = $00FFFFFF;
wdColorDarkBlue = $00800000;
wdColorTeal = $00808000;
wdColorGreen = $00008000;
wdColorViolet = $00800080;
wdColorDarkRed = $00000080;
wdColorDarkYellow = $00008080;
wdColorBrown = $00003399;
wdColorOliveGreen = $00003333;
wdColorDarkGreen = $00003300;
wdColorDarkTeal = $00663300;
wdColorIndigo = $00993333;
wdColorOrange = $000066FF;
wdColorBlueGray = $00996666;
wdColorLightOrange = $000099FF;
wdColorLime = $0000CC99;
wdColorSeaGreen = $00669933;
wdColorAqua = $00CCCC33;
wdColorLightBlue = $00FF6633;
wdColorGold = $0000CCFF;
wdColorSkyBlue = $00FFCC00;
wdColorPlum = $00663399;
wdColorRose = $00CC99FF;
wdColorTan = $0099CCFF;
wdColorLightYellow = $0099FFFF;
wdColorLightGreen = $00CCFFCC;
wdColorLightTurquoise = $00FFFFCC;
wdColorPaleBlue = $00FFCC99;
wdColorLavender = $00FF99CC;
{视图设置}
const
wdNormalView = $00000001;
wdOutlineView = $00000002;
wdPrintView = $00000003;
wdPrintPreview = $00000004;
wdMasterView = $00000005;
wdWebView = $00000006;
implementation
end.
Word常用定义的变量的更多相关文章
- ubuntu自己定义环境变量,替代常用的操作命令
问题背景是这样的,因为自己会经常用自己的用户链接服务器,比如自己的用户是yongjie,然后服务器的ip是162.105.97.31 所以经常执行的命令是ssh yongjie@162.105.97. ...
- Jmeter之Bean shell使用-常用内置变量
Bean Shell常用内置变量 JMeter在它的BeanShell中内置了变量,用户可以通过这些变量与JMeter进行交互,其中主要的变量及其使用方法如下: log:写入信息到jmeber.l ...
- 4、TensorFlow基础(二)常用API与变量作用域
1.图.操作和张量 TensorFlow 的计算表现为数据流图,所以 tf.Graph 类中包含一系列表示计算的操作对象(tf.Operation),以及在操作之间流动的数据 — 张量对象(tf.Te ...
- 第8章 Python类中常用的特殊变量和方法目录
第8章 Python类中常用的特殊变量和方法 第8.1节 Python类的构造方法__init__深入剖析:语法释义 第8.2节 Python类的__init__方法深入剖析:构造方法案例详解 第8. ...
- java接口中定义成员变量
//抽象类中可以定义如下成员变量:public abstract class People { public String name; public int age; public abstract ...
- Objective-c中定义成员变量
ios定义成员变量的方法: 如果只是内部访问,完全可以直接用_xxx(下划线),无需自己定义,编译器会自动生成 如果需要外部访问这个变量,可以用 @property xxx ; @synthesize ...
- JMeter学习-014-JMeter 配置元件实例之 - 用户定义的变量 参数化配置
前文讲述了通过 CSV Data Set Config 实现参数化配置(详情敬请参阅:JMeter学习-010-JMeter 配置元件实例之 - CSV Data Set Config 参数化配置), ...
- 【Javascript】: for循环中定义的变量在for循环体外也有效
for循环中定义的变量在for循环体外也有效 <script> (function(){ var a = 111; for(var i=0;i<5;i++){ var carl = ...
- arm-linux-gcc编译器定义寄存器变量
uboot代码中有这么一句话“#define DECLARE_GLOBAL_DATA_PTR register volatile gd_t *gd asm ("r8")”, ...
随机推荐
- 解剖JavaScript中的null和undefined【转】
在JavaScript开发中,被人问到:null与undefined到底有啥区别? 一时间不好回答,特别是undefined,因为这涉及到undefined的实现原理.于是,细想之后,写下本文,请各位 ...
- C#中的异步调用及异步设计模式(三)——基于事件的异步模式
四.基于事件的异步模式(设计层面) 基于事件的C#异步编程模式是比IAsyncResult模式更高级的一种异步编程模式,也被用在更多的场合.该异步模式具有以下优点: · ...
- 使用shell脚本build并创建ipa文件(转)
前言 由于项目引入了敏捷开发,需要每天build出一个ipa供QA测试.此前是使用Xcode先achive出一个文件,再在 organizer->achives里发布ipa,一直感觉也没啥不方便 ...
- C++-结构体,联合体,枚举,的区别
结构体: struct NUM { int number; }a; 结构体是声明只是一个模型,没有分配内存空间.当进行定义结构体变量后才分配内存空间 联合体: union data { int a ...
- C++ 的写好库编译好,DELPHI或者Java做界面,iOS 和 Android 就都搞定。
当然也可以使用BCB和相关的开发库来开发App,只是别人没法帮助你. 摘自<想到做到-Android开发关键技术与精彩案例>.(詹建飞) p40
- Android-动态添加控件到ScrollView
在实际开发过程中,会需要动态添加控件到ScrollView,就需要在Java代码中,找到ScrollView的孩子(ViewGroup),进行添加即可. Layout: <?xml versio ...
- [WIN7]Win7建立AccessPoint(SoftAP)
要构建可以访问互联网的无线接入点,必须有台带无线网卡(正常安装完驱动)的并且能访问Internet的计算机. 1.检查环境 [网络共享中心] - > [网络适配器] 检查有线无线网络适配器是否都 ...
- 双系统Grub引导下恢复windows引导的方法
此方法适用于windows系统正常,linux和windows 双系统下恢复windows系统引导.需要使用windows安装u盘 1. 启动至windows安装u盘,点击修复计算机 2. 进入命令行 ...
- mongodb 搭建集群(分片+副本集)
mongodb 搭建集群(分片+副本集) 一.搭建结构图: 二.搭建步骤:
- OO 面向对象的概念
面向对象的概念 一.什么是面向对象? 传统的:世间万物都是对象.例如:桌子,凳子,电脑等: 个人理解: 1.软件开发方法: 2.面向对象是一种解决问题和分析问题的(编程)一种思想: 3.他是通过面向过 ...