Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

_Enumerations.cs 8.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. namespace Novacode
  6. {
  7. // Patch 7398 added by lckuiper on Nov 16th 2010 @ 2:23 PM
  8. public enum VerticalAlignment { Top, Center, Bottom };
  9. public enum Orientation { Portrait, Landscape };
  10. public enum XmlDocument { Main, HeaderOdd, HeaderEven, HeaderFirst, FooterOdd, FooterEven, FooterFirst };
  11. public enum MatchFormattingOptions { ExactMatch, SubsetMatch};
  12. public enum Script { superscript, subscript, none }
  13. public enum Highlight { yellow, green, cyan, magenta, blue, red, darkBlue, darkCyan, darkGreen, darkMagenta, darkRed, darkYellow, darkGray, lightGray, black, none };
  14. public enum UnderlineStyle { none, singleLine, doubleLine, thick, dotted, dottedHeavy, dash, dashedHeavy, dashLong, dashLongHeavy, dotDash, dashDotHeavy, dotDotDash, dashDotDotHeavy, wave, wavyHeavy, wavyDouble, words };
  15. public enum StrikeThrough { none, strike, doubleStrike };
  16. public enum Misc { none, shadow, outline, outlineShadow, emboss, engrave };
  17. public enum CapsStyle { none, caps, smallCaps };
  18. /// <summary>
  19. /// Designs\Styles that can be applied to a table.
  20. /// </summary>
  21. public enum TableDesign { Custom, TableNormal, TableGrid, LightShading, LightShadingAccent1, LightShadingAccent2, LightShadingAccent3, LightShadingAccent4, LightShadingAccent5, LightShadingAccent6, LightList, LightListAccent1, LightListAccent2, LightListAccent3, LightListAccent4, LightListAccent5, LightListAccent6, LightGrid, LightGridAccent1, LightGridAccent2, LightGridAccent3, LightGridAccent4, LightGridAccent5, LightGridAccent6, MediumShading1, MediumShading1Accent1, MediumShading1Accent2, MediumShading1Accent3, MediumShading1Accent4, MediumShading1Accent5, MediumShading1Accent6, MediumShading2, MediumShading2Accent1, MediumShading2Accent2, MediumShading2Accent3, MediumShading2Accent4, MediumShading2Accent5, MediumShading2Accent6, MediumList1, MediumList1Accent1, MediumList1Accent2, MediumList1Accent3, MediumList1Accent4, MediumList1Accent5, MediumList1Accent6, MediumList2, MediumList2Accent1, MediumList2Accent2, MediumList2Accent3, MediumList2Accent4, MediumList2Accent5, MediumList2Accent6, MediumGrid1, MediumGrid1Accent1, MediumGrid1Accent2, MediumGrid1Accent3, MediumGrid1Accent4, MediumGrid1Accent5, MediumGrid1Accent6, MediumGrid2, MediumGrid2Accent1, MediumGrid2Accent2, MediumGrid2Accent3, MediumGrid2Accent4, MediumGrid2Accent5, MediumGrid2Accent6, MediumGrid3, MediumGrid3Accent1, MediumGrid3Accent2, MediumGrid3Accent3, MediumGrid3Accent4, MediumGrid3Accent5, MediumGrid3Accent6, DarkList, DarkListAccent1, DarkListAccent2, DarkListAccent3, DarkListAccent4, DarkListAccent5, DarkListAccent6, ColorfulShading, ColorfulShadingAccent1, ColorfulShadingAccent2, ColorfulShadingAccent3, ColorfulShadingAccent4, ColorfulShadingAccent5, ColorfulShadingAccent6, ColorfulList, ColorfulListAccent1, ColorfulListAccent2, ColorfulListAccent3, ColorfulListAccent4, ColorfulListAccent5, ColorfulListAccent6, ColorfulGrid, ColorfulGridAccent1, ColorfulGridAccent2, ColorfulGridAccent3, ColorfulGridAccent4, ColorfulGridAccent5, ColorfulGridAccent6, None };
  22. public enum AutoFit { Contents, Window, ColoumnWidth };
  23. public enum RectangleShapes
  24. {
  25. rect,
  26. roundRect,
  27. snip1Rect,
  28. snip2SameRect,
  29. snip2DiagRect,
  30. snipRoundRect,
  31. round1Rect,
  32. round2SameRect,
  33. round2DiagRect
  34. };
  35. public enum BasicShapes
  36. {
  37. ellipse,
  38. triangle,
  39. rtTriangle,
  40. parallelogram,
  41. trapezoid,
  42. diamond,
  43. pentagon,
  44. hexagon,
  45. heptagon,
  46. octagon,
  47. decagon,
  48. dodecagon,
  49. pie,
  50. chord,
  51. teardrop,
  52. frame,
  53. halfFrame,
  54. corner,
  55. diagStripe,
  56. plus,
  57. plaque,
  58. can,
  59. cube,
  60. bevel,
  61. donut,
  62. noSmoking,
  63. blockArc,
  64. foldedCorner,
  65. smileyFace,
  66. heart,
  67. lightningBolt,
  68. sun,
  69. moon,
  70. cloud,
  71. arc,
  72. backetPair,
  73. bracePair,
  74. leftBracket,
  75. rightBracket,
  76. leftBrace,
  77. rightBrace
  78. };
  79. public enum BlockArrowShapes
  80. {
  81. rightArrow,
  82. leftArrow,
  83. upArrow,
  84. downArrow,
  85. leftRightArrow,
  86. upDownArrow,
  87. quadArrow,
  88. leftRightUpArrow,
  89. bentArrow,
  90. uturnArrow,
  91. leftUpArrow,
  92. bentUpArrow,
  93. curvedRightArrow,
  94. curvedLeftArrow,
  95. curvedUpArrow,
  96. curvedDownArrow,
  97. stripedRightArrow,
  98. notchedRightArrow,
  99. homePlate,
  100. chevron,
  101. rightArrowCallout,
  102. downArrowCallout,
  103. leftArrowCallout,
  104. upArrowCallout,
  105. leftRightArrowCallout,
  106. quadArrowCallout,
  107. circularArrow
  108. };
  109. public enum EquationShapes
  110. {
  111. mathPlus,
  112. mathMinus,
  113. mathMultiply,
  114. mathDivide,
  115. mathEqual,
  116. mathNotEqual
  117. };
  118. public enum FlowchartShapes
  119. {
  120. flowChartProcess,
  121. flowChartAlternateProcess,
  122. flowChartDecision,
  123. flowChartInputOutput,
  124. flowChartPredefinedProcess,
  125. flowChartInternalStorage,
  126. flowChartDocument,
  127. flowChartMultidocument,
  128. flowChartTerminator,
  129. flowChartPreparation,
  130. flowChartManualInput,
  131. flowChartManualOperation,
  132. flowChartConnector,
  133. flowChartOffpageConnector,
  134. flowChartPunchedCard,
  135. flowChartPunchedTape,
  136. flowChartSummingJunction,
  137. flowChartOr,
  138. flowChartCollate,
  139. flowChartSort,
  140. flowChartExtract,
  141. flowChartMerge,
  142. flowChartOnlineStorage,
  143. flowChartDelay,
  144. flowChartMagneticTape,
  145. flowChartMagneticDisk,
  146. flowChartMagneticDrum,
  147. flowChartDisplay
  148. };
  149. public enum StarAndBannerShapes
  150. {
  151. irregularSeal1,
  152. irregularSeal2,
  153. star4,
  154. star5,
  155. star6,
  156. star7,
  157. star8,
  158. star10,
  159. star12,
  160. star16,
  161. star24,
  162. star32,
  163. ribbon,
  164. ribbon2,
  165. ellipseRibbon,
  166. ellipseRibbon2,
  167. verticalScroll,
  168. horizontalScroll,
  169. wave,
  170. doubleWave
  171. };
  172. public enum CalloutShapes
  173. {
  174. wedgeRectCallout,
  175. wedgeRoundRectCallout,
  176. wedgeEllipseCallout,
  177. cloudCallout,
  178. borderCallout1,
  179. borderCallout2,
  180. borderCallout3,
  181. accentCallout1,
  182. accentCallout2,
  183. accentCallout3,
  184. callout1,
  185. callout2,
  186. callout3,
  187. accentBorderCallout1,
  188. accentBorderCallout2,
  189. accentBorderCallout3
  190. };
  191. /// <summary>
  192. /// Text alignment of a paragraph
  193. /// </summary>
  194. public enum Alignment
  195. {
  196. /// <summary>
  197. /// Align Paragraph to the left.
  198. /// </summary>
  199. left,
  200. /// <summary>
  201. /// Align Paragraph as Centered.
  202. /// </summary>
  203. center,
  204. /// <summary>
  205. /// Align Paragraph to the right.
  206. /// </summary>
  207. right,
  208. /// <summary>
  209. /// (Justified) Align Paragraph to both the left and right margins, adding extra space between content as necessary.
  210. /// </summary>
  211. both
  212. };
  213. public enum Direction
  214. {
  215. LeftToRight,
  216. RightToLeft
  217. };
  218. /// <summary>
  219. /// Paragraph edit types
  220. /// </summary>
  221. internal enum EditType
  222. {
  223. /// <summary>
  224. /// A ins is a tracked insertion
  225. /// </summary>
  226. ins,
  227. /// <summary>
  228. /// A del is tracked deletion
  229. /// </summary>
  230. del
  231. }
  232. /// <summary>
  233. /// Custom property types.
  234. /// </summary>
  235. internal enum CustomPropertyType
  236. {
  237. /// <summary>
  238. /// System.String
  239. /// </summary>
  240. Text,
  241. /// <summary>
  242. /// System.DateTime
  243. /// </summary>
  244. Date,
  245. /// <summary>
  246. /// System.Int32
  247. /// </summary>
  248. NumberInteger,
  249. /// <summary>
  250. /// System.Double
  251. /// </summary>
  252. NumberDecimal,
  253. /// <summary>
  254. /// System.Boolean
  255. /// </summary>
  256. YesOrNo
  257. }
  258. /// <summary>
  259. /// Text types in a Run
  260. /// </summary>
  261. public enum RunTextType
  262. {
  263. /// <summary>
  264. /// System.String
  265. /// </summary>
  266. Text,
  267. /// <summary>
  268. /// System.String
  269. /// </summary>
  270. DelText,
  271. }
  272. }