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")”, ...
随机推荐
- 设计模式21:State 状态模式(行为型模式)
State 状态模式(行为型模式) 动机(Motivation) 在软件构建过程中,某些对象的状态如果改变,其行为也会随之而发生变化,比如文档处于只读状态,其支持的行为和读写状态的行为就可能完全不同. ...
- python字符串字典列表互转
#-*-coding:utf-8-*- #1.字典 dict = {'name': 'Zara', 'age': 7, 'class': 'First'} #字典转为字符串,返回:<type ' ...
- Java泛型(泛型接口、泛型类、泛型方法)
转载 转载出处:https://www.cnblogs.com/JokerShi/p/8117556.html 泛型接口: 定义一个泛型接口: 通过类去实现这个泛型接口的时候指定泛型T的具体类型. 指 ...
- opencv——pcb上寻找mark点(拟合椭圆的方法)
#include "stdafx.h" // FitCircle.cpp : 定义控制台应用程序的入口 #include "cv.h" #include &qu ...
- on where having总结
1. ON 和WHERE 所有的查询都回产生一个中间临时报表,查询结果就是从返回临时报表中得到.ON和WHERE后面所跟限制条件的区别,主要与限制条件起作用的时机有关, ON根据限制条件对数据库记录进 ...
- droup
Oracle Drop表并未直接删除 drop table xx purge drop表 执行drop table xx 语句 drop后的表被放在回收站(user_recyclebin) ...
- 在Java中如何优雅地判空
判空灾难 作为搬砖党的一族们,我们对判空一定再熟悉不过了,不要跟我说你很少进行判空,除非你喜欢NullPointerException. 不过NullPointerException对于很多猿们来 ...
- centos下搭建高可用redis
Linux下搭建高可用Redis缓存 Redis是一个高性能的key-value数据库,现时越来越多企业与应用使用Redis作为缓存服务器.楼主是一枚JAVA后端程序员,也算是半个运维工程师了.在Li ...
- POJ1475 Pushing Boxes(双搜索)
POJ1475 Pushing Boxes 推箱子,#表示墙,B表示箱子的起点,T表示箱子的目标位置,S表示人的起点 本题没有 Special Judge,多解时,先最小化箱子被推动的次数,再最小化 ...
- P4175 [CTSC2008]网络管理 树剖+树套树
$ \color{#0066ff}{ 题目描述 }$ M公司是一个非常庞大的跨国公司,在许多国家都设有它的下属分支机构或部门.为了让分布在世界各地的N个部门之间协同工作,公司搭建了一个连接整个公司的通 ...