rubyXL-ptr 3.3.27

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (457) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +17 -0
  3. data/LICENSE.txt +20 -0
  4. data/README.rdoc +229 -0
  5. data/Rakefile +103 -0
  6. data/VERSION +1 -0
  7. data/lib/rubyXL.rb +12 -0
  8. data/lib/rubyXL/cell.rb +54 -0
  9. data/lib/rubyXL/convenience_methods.rb +1122 -0
  10. data/lib/rubyXL/objects/border.rb +74 -0
  11. data/lib/rubyXL/objects/calculation_chain.rb +31 -0
  12. data/lib/rubyXL/objects/cell_style.rb +65 -0
  13. data/lib/rubyXL/objects/chartsheet.rb +92 -0
  14. data/lib/rubyXL/objects/color.rb +27 -0
  15. data/lib/rubyXL/objects/column_range.rb +92 -0
  16. data/lib/rubyXL/objects/comments.rb +47 -0
  17. data/lib/rubyXL/objects/container_nodes.rb +135 -0
  18. data/lib/rubyXL/objects/content_types.rb +77 -0
  19. data/lib/rubyXL/objects/data_validation.rb +37 -0
  20. data/lib/rubyXL/objects/document_properties.rb +159 -0
  21. data/lib/rubyXL/objects/extensions.rb +40 -0
  22. data/lib/rubyXL/objects/external_links.rb +85 -0
  23. data/lib/rubyXL/objects/fill.rb +55 -0
  24. data/lib/rubyXL/objects/filters.rb +120 -0
  25. data/lib/rubyXL/objects/font.rb +48 -0
  26. data/lib/rubyXL/objects/formula.rb +24 -0
  27. data/lib/rubyXL/objects/ooxml_object.rb +460 -0
  28. data/lib/rubyXL/objects/reference.rb +110 -0
  29. data/lib/rubyXL/objects/relationships.rb +213 -0
  30. data/lib/rubyXL/objects/root.rb +86 -0
  31. data/lib/rubyXL/objects/shared_strings.rb +70 -0
  32. data/lib/rubyXL/objects/sheet_common.rb +51 -0
  33. data/lib/rubyXL/objects/sheet_data.rb +188 -0
  34. data/lib/rubyXL/objects/simple_types.rb +232 -0
  35. data/lib/rubyXL/objects/storage.rb +182 -0
  36. data/lib/rubyXL/objects/stylesheet.rb +232 -0
  37. data/lib/rubyXL/objects/text.rb +94 -0
  38. data/lib/rubyXL/objects/theme.rb +1716 -0
  39. data/lib/rubyXL/objects/workbook.rb +464 -0
  40. data/lib/rubyXL/objects/worksheet.rb +748 -0
  41. data/lib/rubyXL/parser.rb +29 -0
  42. data/lib/rubyXL/worksheet.rb +105 -0
  43. data/rdoc/README_rdoc.html +475 -0
  44. data/rdoc/RubyXL.html +598 -0
  45. data/rdoc/RubyXL/AExtension.html +223 -0
  46. data/rdoc/RubyXL/AExtensionStorageArea.html +103 -0
  47. data/rdoc/RubyXL/ActiveX.html +182 -0
  48. data/rdoc/RubyXL/ActiveXBinary.html +117 -0
  49. data/rdoc/RubyXL/AdjustHandleList.html +106 -0
  50. data/rdoc/RubyXL/Alignment.html +106 -0
  51. data/rdoc/RubyXL/AlternateContent.html +103 -0
  52. data/rdoc/RubyXL/Authors.html +106 -0
  53. data/rdoc/RubyXL/AutoFilter.html +106 -0
  54. data/rdoc/RubyXL/AutoFilterColumn.html +106 -0
  55. data/rdoc/RubyXL/BinaryImageFile.html +122 -0
  56. data/rdoc/RubyXL/BodyProperties.html +106 -0
  57. data/rdoc/RubyXL/BooleanNode.html +103 -0
  58. data/rdoc/RubyXL/BooleanValue.html +103 -0
  59. data/rdoc/RubyXL/Border.html +275 -0
  60. data/rdoc/RubyXL/BorderEdge.html +189 -0
  61. data/rdoc/RubyXL/Borders.html +157 -0
  62. data/rdoc/RubyXL/Break.html +106 -0
  63. data/rdoc/RubyXL/BreakList.html +106 -0
  64. data/rdoc/RubyXL/CT_AdjPoint2D.html +106 -0
  65. data/rdoc/RubyXL/CT_AlphaBiLevelEffect.html +106 -0
  66. data/rdoc/RubyXL/CT_AlphaModulateEffect.html +106 -0
  67. data/rdoc/RubyXL/CT_AlphaModulateFixedEffect.html +106 -0
  68. data/rdoc/RubyXL/CT_AlphaOutsetEffect.html +106 -0
  69. data/rdoc/RubyXL/CT_AlphaReplaceEffect.html +106 -0
  70. data/rdoc/RubyXL/CT_Backdrop.html +106 -0
  71. data/rdoc/RubyXL/CT_Bevel.html +106 -0
  72. data/rdoc/RubyXL/CT_BiLevelEffect.html +106 -0
  73. data/rdoc/RubyXL/CT_BlendEffect.html +106 -0
  74. data/rdoc/RubyXL/CT_Blip.html +106 -0
  75. data/rdoc/RubyXL/CT_BlipFillProperties.html +106 -0
  76. data/rdoc/RubyXL/CT_BlurEffect.html +106 -0
  77. data/rdoc/RubyXL/CT_Camera.html +106 -0
  78. data/rdoc/RubyXL/CT_Color.html +106 -0
  79. data/rdoc/RubyXL/CT_ColorChangeEffect.html +106 -0
  80. data/rdoc/RubyXL/CT_ColorMapping.html +106 -0
  81. data/rdoc/RubyXL/CT_ColorScheme.html +106 -0
  82. data/rdoc/RubyXL/CT_ColorSchemeAndMapping.html +106 -0
  83. data/rdoc/RubyXL/CT_ConnectionSite.html +106 -0
  84. data/rdoc/RubyXL/CT_ConnectionSiteList.html +106 -0
  85. data/rdoc/RubyXL/CT_DashStop.html +106 -0
  86. data/rdoc/RubyXL/CT_DashStopList.html +106 -0
  87. data/rdoc/RubyXL/CT_DefaultShapeDefinition.html +106 -0
  88. data/rdoc/RubyXL/CT_DuotoneEffect.html +106 -0
  89. data/rdoc/RubyXL/CT_EffectContainer.html +106 -0
  90. data/rdoc/RubyXL/CT_EffectList.html +106 -0
  91. data/rdoc/RubyXL/CT_EffectReference.html +106 -0
  92. data/rdoc/RubyXL/CT_EffectStyleItem.html +106 -0
  93. data/rdoc/RubyXL/CT_EffectStyleList.html +106 -0
  94. data/rdoc/RubyXL/CT_EmbeddedWAVAudioFile.html +106 -0
  95. data/rdoc/RubyXL/CT_FillEffect.html +106 -0
  96. data/rdoc/RubyXL/CT_FillOverlayEffect.html +106 -0
  97. data/rdoc/RubyXL/CT_FillStyleList.html +106 -0
  98. data/rdoc/RubyXL/CT_FlatText.html +106 -0
  99. data/rdoc/RubyXL/CT_FontCollection.html +106 -0
  100. data/rdoc/RubyXL/CT_FontReference.html +106 -0
  101. data/rdoc/RubyXL/CT_GeomGuideList.html +106 -0
  102. data/rdoc/RubyXL/CT_GlowEffect.html +106 -0
  103. data/rdoc/RubyXL/CT_GradientFillProperties.html +106 -0
  104. data/rdoc/RubyXL/CT_GradientStop.html +106 -0
  105. data/rdoc/RubyXL/CT_GradientStopList.html +106 -0
  106. data/rdoc/RubyXL/CT_HSLEffect.html +106 -0
  107. data/rdoc/RubyXL/CT_HslColor.html +106 -0
  108. data/rdoc/RubyXL/CT_Hyperlink.html +106 -0
  109. data/rdoc/RubyXL/CT_InnerShadowEffect.html +106 -0
  110. data/rdoc/RubyXL/CT_LightRig.html +106 -0
  111. data/rdoc/RubyXL/CT_LineEndProperties.html +106 -0
  112. data/rdoc/RubyXL/CT_LineJoinMiterProperties.html +106 -0
  113. data/rdoc/RubyXL/CT_LineProperties.html +106 -0
  114. data/rdoc/RubyXL/CT_LineStyleList.html +106 -0
  115. data/rdoc/RubyXL/CT_LinearShadeProperties.html +106 -0
  116. data/rdoc/RubyXL/CT_LuminanceEffect.html +106 -0
  117. data/rdoc/RubyXL/CT_ObjectStyleDefaults.html +106 -0
  118. data/rdoc/RubyXL/CT_OuterShadowEffect.html +106 -0
  119. data/rdoc/RubyXL/CT_Path2D.html +106 -0
  120. data/rdoc/RubyXL/CT_Path2DArcTo.html +106 -0
  121. data/rdoc/RubyXL/CT_Path2DCubicBezierTo.html +106 -0
  122. data/rdoc/RubyXL/CT_Path2DList.html +106 -0
  123. data/rdoc/RubyXL/CT_Path2DQuadBezierTo.html +106 -0
  124. data/rdoc/RubyXL/CT_Path2DTo.html +106 -0
  125. data/rdoc/RubyXL/CT_PathShadeProperties.html +106 -0
  126. data/rdoc/RubyXL/CT_PatternFillProperties.html +106 -0
  127. data/rdoc/RubyXL/CT_Point3D.html +106 -0
  128. data/rdoc/RubyXL/CT_PolarAdjustHandle.html +106 -0
  129. data/rdoc/RubyXL/CT_PresetColor.html +106 -0
  130. data/rdoc/RubyXL/CT_PresetLineDashProperties.html +106 -0
  131. data/rdoc/RubyXL/CT_PresetShadowEffect.html +106 -0
  132. data/rdoc/RubyXL/CT_PresetTextShape.html +106 -0
  133. data/rdoc/RubyXL/CT_ReflectionEffect.html +106 -0
  134. data/rdoc/RubyXL/CT_RelativeOffsetEffect.html +106 -0
  135. data/rdoc/RubyXL/CT_RelativeRect.html +106 -0
  136. data/rdoc/RubyXL/CT_SRgbColor.html +106 -0
  137. data/rdoc/RubyXL/CT_ScRgbColor.html +106 -0
  138. data/rdoc/RubyXL/CT_Scene3D.html +106 -0
  139. data/rdoc/RubyXL/CT_SchemeColor.html +106 -0
  140. data/rdoc/RubyXL/CT_Shape3D.html +106 -0
  141. data/rdoc/RubyXL/CT_ShapeStyle.html +106 -0
  142. data/rdoc/RubyXL/CT_SoftEdgesEffect.html +106 -0
  143. data/rdoc/RubyXL/CT_SphereCoords.html +106 -0
  144. data/rdoc/RubyXL/CT_StretchInfoProperties.html +106 -0
  145. data/rdoc/RubyXL/CT_StyleMatrix.html +106 -0
  146. data/rdoc/RubyXL/CT_StyleMatrixReference.html +106 -0
  147. data/rdoc/RubyXL/CT_SupplementalFont.html +106 -0
  148. data/rdoc/RubyXL/CT_SystemColor.html +106 -0
  149. data/rdoc/RubyXL/CT_TextAutonumberBullet.html +106 -0
  150. data/rdoc/RubyXL/CT_TextBlipBullet.html +106 -0
  151. data/rdoc/RubyXL/CT_TextCharBullet.html +106 -0
  152. data/rdoc/RubyXL/CT_TextCharacterProperties.html +106 -0
  153. data/rdoc/RubyXL/CT_TextFont.html +106 -0
  154. data/rdoc/RubyXL/CT_TextListStyle.html +106 -0
  155. data/rdoc/RubyXL/CT_TextNormalAutofit.html +106 -0
  156. data/rdoc/RubyXL/CT_TextParagraphProperties.html +106 -0
  157. data/rdoc/RubyXL/CT_TextSpacing.html +106 -0
  158. data/rdoc/RubyXL/CT_TextTabStop.html +106 -0
  159. data/rdoc/RubyXL/CT_TextTabStopList.html +106 -0
  160. data/rdoc/RubyXL/CT_TileInfoProperties.html +106 -0
  161. data/rdoc/RubyXL/CT_TintEffect.html +106 -0
  162. data/rdoc/RubyXL/CT_Transform2D.html +106 -0
  163. data/rdoc/RubyXL/CT_TransformEffect.html +106 -0
  164. data/rdoc/RubyXL/CT_Vector3D.html +106 -0
  165. data/rdoc/RubyXL/CT_XYAdjustHandle.html +106 -0
  166. data/rdoc/RubyXL/CalculationChain.html +176 -0
  167. data/rdoc/RubyXL/CalculationChainCell.html +106 -0
  168. data/rdoc/RubyXL/CalculationProperties.html +106 -0
  169. data/rdoc/RubyXL/Cell.html +558 -0
  170. data/rdoc/RubyXL/CellConvenienceMethods.html +1211 -0
  171. data/rdoc/RubyXL/CellExt.html +106 -0
  172. data/rdoc/RubyXL/CellSmartTag.html +106 -0
  173. data/rdoc/RubyXL/CellSmartTagProperty.html +106 -0
  174. data/rdoc/RubyXL/CellSmartTags.html +106 -0
  175. data/rdoc/RubyXL/CellStyle.html +106 -0
  176. data/rdoc/RubyXL/CellStyleXFs.html +157 -0
  177. data/rdoc/RubyXL/CellStyles.html +157 -0
  178. data/rdoc/RubyXL/CellValue.html +158 -0
  179. data/rdoc/RubyXL/CellWatch.html +106 -0
  180. data/rdoc/RubyXL/CellWatches.html +106 -0
  181. data/rdoc/RubyXL/CellXFs.html +161 -0
  182. data/rdoc/RubyXL/ChartColorsFile.html +122 -0
  183. data/rdoc/RubyXL/ChartFile.html +189 -0
  184. data/rdoc/RubyXL/ChartStyleFile.html +122 -0
  185. data/rdoc/RubyXL/ChartUserShapesFile.html +122 -0
  186. data/rdoc/RubyXL/Chartsheet.html +260 -0
  187. data/rdoc/RubyXL/ChartsheetPageSetup.html +106 -0
  188. data/rdoc/RubyXL/ChartsheetProperties.html +106 -0
  189. data/rdoc/RubyXL/ChartsheetProtection.html +106 -0
  190. data/rdoc/RubyXL/ChartsheetView.html +106 -0
  191. data/rdoc/RubyXL/ChartsheetViews.html +106 -0
  192. data/rdoc/RubyXL/Color.html +175 -0
  193. data/rdoc/RubyXL/ColorFilter.html +106 -0
  194. data/rdoc/RubyXL/ColorScale.html +106 -0
  195. data/rdoc/RubyXL/ColorSet.html +106 -0
  196. data/rdoc/RubyXL/Colors.html +106 -0
  197. data/rdoc/RubyXL/ColumnRange.html +245 -0
  198. data/rdoc/RubyXL/ColumnRanges.html +289 -0
  199. data/rdoc/RubyXL/Comment.html +106 -0
  200. data/rdoc/RubyXL/CommentList.html +106 -0
  201. data/rdoc/RubyXL/CommentsFile.html +197 -0
  202. data/rdoc/RubyXL/ConditionalFormatValue.html +106 -0
  203. data/rdoc/RubyXL/ConditionalFormatting.html +106 -0
  204. data/rdoc/RubyXL/ConditionalFormattingRule.html +106 -0
  205. data/rdoc/RubyXL/ContentTypeDefault.html +103 -0
  206. data/rdoc/RubyXL/ContentTypeOverride.html +103 -0
  207. data/rdoc/RubyXL/ContentTypes.html +248 -0
  208. data/rdoc/RubyXL/ControlPropertiesFile.html +117 -0
  209. data/rdoc/RubyXL/CorePropertiesFile.html +474 -0
  210. data/rdoc/RubyXL/CustomColor.html +106 -0
  211. data/rdoc/RubyXL/CustomColorList.html +106 -0
  212. data/rdoc/RubyXL/CustomFilter.html +106 -0
  213. data/rdoc/RubyXL/CustomFilters.html +106 -0
  214. data/rdoc/RubyXL/CustomGeometry.html +106 -0
  215. data/rdoc/RubyXL/CustomProperties.html +106 -0
  216. data/rdoc/RubyXL/CustomPropertiesFile.html +122 -0
  217. data/rdoc/RubyXL/CustomProperty.html +106 -0
  218. data/rdoc/RubyXL/CustomSheetView.html +106 -0
  219. data/rdoc/RubyXL/CustomSheetViews.html +106 -0
  220. data/rdoc/RubyXL/CustomWorkbookView.html +106 -0
  221. data/rdoc/RubyXL/CustomWorkbookViews.html +106 -0
  222. data/rdoc/RubyXL/CustomXMLFile.html +117 -0
  223. data/rdoc/RubyXL/DXF.html +106 -0
  224. data/rdoc/RubyXL/DXFs.html +106 -0
  225. data/rdoc/RubyXL/DataBar.html +106 -0
  226. data/rdoc/RubyXL/DataConsolidate.html +106 -0
  227. data/rdoc/RubyXL/DataConsolidationReference.html +106 -0
  228. data/rdoc/RubyXL/DataConsolidationReferences.html +106 -0
  229. data/rdoc/RubyXL/DataType.html +143 -0
  230. data/rdoc/RubyXL/DataValidation.html +106 -0
  231. data/rdoc/RubyXL/DataValidations.html +106 -0
  232. data/rdoc/RubyXL/DateGroupItem.html +106 -0
  233. data/rdoc/RubyXL/DefinedName.html +106 -0
  234. data/rdoc/RubyXL/DefinedNameExt.html +106 -0
  235. data/rdoc/RubyXL/DefinedNames.html +106 -0
  236. data/rdoc/RubyXL/DefinedNamesExt.html +106 -0
  237. data/rdoc/RubyXL/DocumentPropertiesFile.html +255 -0
  238. data/rdoc/RubyXL/DrawingFile.html +188 -0
  239. data/rdoc/RubyXL/DynamicFilter.html +106 -0
  240. data/rdoc/RubyXL/EmbeddedControl.html +106 -0
  241. data/rdoc/RubyXL/EmbeddedControls.html +106 -0
  242. data/rdoc/RubyXL/Extension.html +106 -0
  243. data/rdoc/RubyXL/ExtensionStorageArea.html +106 -0
  244. data/rdoc/RubyXL/Extents.html +106 -0
  245. data/rdoc/RubyXL/ExternalBook.html +106 -0
  246. data/rdoc/RubyXL/ExternalLinksFile.html +184 -0
  247. data/rdoc/RubyXL/ExternalReference.html +106 -0
  248. data/rdoc/RubyXL/ExternalReferences.html +106 -0
  249. data/rdoc/RubyXL/ExtraColorSchemeList.html +106 -0
  250. data/rdoc/RubyXL/FieldItem.html +106 -0
  251. data/rdoc/RubyXL/FileRecoveryProperties.html +106 -0
  252. data/rdoc/RubyXL/FileSharing.html +106 -0
  253. data/rdoc/RubyXL/FileVersion.html +106 -0
  254. data/rdoc/RubyXL/Fill.html +157 -0
  255. data/rdoc/RubyXL/Fills.html +157 -0
  256. data/rdoc/RubyXL/FilterContainer.html +106 -0
  257. data/rdoc/RubyXL/FloatNode.html +103 -0
  258. data/rdoc/RubyXL/FloatValue.html +103 -0
  259. data/rdoc/RubyXL/Font.html +184 -0
  260. data/rdoc/RubyXL/FontConvenienceMethods.html +603 -0
  261. data/rdoc/RubyXL/FontScheme.html +106 -0
  262. data/rdoc/RubyXL/Fonts.html +157 -0
  263. data/rdoc/RubyXL/Formula.html +106 -0
  264. data/rdoc/RubyXL/FunctionGroup.html +106 -0
  265. data/rdoc/RubyXL/FunctionGroups.html +106 -0
  266. data/rdoc/RubyXL/GenericStorageObject.html +298 -0
  267. data/rdoc/RubyXL/GradientFill.html +106 -0
  268. data/rdoc/RubyXL/HeaderFooterSettings.html +106 -0
  269. data/rdoc/RubyXL/Hyperlink.html +106 -0
  270. data/rdoc/RubyXL/HyperlinkRelFile.html +117 -0
  271. data/rdoc/RubyXL/Hyperlinks.html +106 -0
  272. data/rdoc/RubyXL/IconFilter.html +106 -0
  273. data/rdoc/RubyXL/IconSet.html +106 -0
  274. data/rdoc/RubyXL/IgnoredError.html +106 -0
  275. data/rdoc/RubyXL/IgnoredErrors.html +106 -0
  276. data/rdoc/RubyXL/IndexedColors.html +106 -0
  277. data/rdoc/RubyXL/InputCells.html +106 -0
  278. data/rdoc/RubyXL/IntegerNode.html +103 -0
  279. data/rdoc/RubyXL/IntegerValue.html +103 -0
  280. data/rdoc/RubyXL/LegacyCell.html +181 -0
  281. data/rdoc/RubyXL/LegacyWorksheet.html +355 -0
  282. data/rdoc/RubyXL/MRUColors.html +106 -0
  283. data/rdoc/RubyXL/MacrosFile.html +122 -0
  284. data/rdoc/RubyXL/MergedCell.html +106 -0
  285. data/rdoc/RubyXL/MergedCells.html +106 -0
  286. data/rdoc/RubyXL/NumFmt.html +106 -0
  287. data/rdoc/RubyXL/NumberFormat.html +158 -0
  288. data/rdoc/RubyXL/NumberFormats.html +172 -0
  289. data/rdoc/RubyXL/OLEObject.html +106 -0
  290. data/rdoc/RubyXL/OLEObjectFile.html +122 -0
  291. data/rdoc/RubyXL/OLEObjects.html +106 -0
  292. data/rdoc/RubyXL/OLESize.html +106 -0
  293. data/rdoc/RubyXL/OOXMLContainerObject.html +394 -0
  294. data/rdoc/RubyXL/OOXMLObject.html +118 -0
  295. data/rdoc/RubyXL/OOXMLObjectClassMethods.html +532 -0
  296. data/rdoc/RubyXL/OOXMLObjectInstanceMethods.html +564 -0
  297. data/rdoc/RubyXL/OOXMLRelationshipsFile.html +603 -0
  298. data/rdoc/RubyXL/OOXMLTopLevelObject.html +384 -0
  299. data/rdoc/RubyXL/Offset.html +106 -0
  300. data/rdoc/RubyXL/OutlineProperties.html +106 -0
  301. data/rdoc/RubyXL/PageMargins.html +106 -0
  302. data/rdoc/RubyXL/PageSetup.html +106 -0
  303. data/rdoc/RubyXL/PageSetupProperties.html +106 -0
  304. data/rdoc/RubyXL/Pane.html +106 -0
  305. data/rdoc/RubyXL/Parser.html +204 -0
  306. data/rdoc/RubyXL/PatternFill.html +106 -0
  307. data/rdoc/RubyXL/PhoneticProperties.html +106 -0
  308. data/rdoc/RubyXL/PhoneticRun.html +106 -0
  309. data/rdoc/RubyXL/PivotArea.html +106 -0
  310. data/rdoc/RubyXL/PivotCache.html +106 -0
  311. data/rdoc/RubyXL/PivotCacheDefinitionFile.html +133 -0
  312. data/rdoc/RubyXL/PivotCacheRecordsFile.html +122 -0
  313. data/rdoc/RubyXL/PivotCaches.html +106 -0
  314. data/rdoc/RubyXL/PivotReference.html +106 -0
  315. data/rdoc/RubyXL/PivotReferences.html +106 -0
  316. data/rdoc/RubyXL/PivotTableFile.html +133 -0
  317. data/rdoc/RubyXL/PivotTableSelection.html +106 -0
  318. data/rdoc/RubyXL/PresetGeometry.html +106 -0
  319. data/rdoc/RubyXL/PrintOptions.html +106 -0
  320. data/rdoc/RubyXL/PrinterSettingsFile.html +122 -0
  321. data/rdoc/RubyXL/ProtectedRange.html +106 -0
  322. data/rdoc/RubyXL/ProtectedRanges.html +106 -0
  323. data/rdoc/RubyXL/Protection.html +106 -0
  324. data/rdoc/RubyXL/RID.html +103 -0
  325. data/rdoc/RubyXL/RawOOXML.html +223 -0
  326. data/rdoc/RubyXL/Reference.html +640 -0
  327. data/rdoc/RubyXL/Relationship.html +103 -0
  328. data/rdoc/RubyXL/RelationshipSupport.html +419 -0
  329. data/rdoc/RubyXL/RelationshipSupport/ClassMehods.html +148 -0
  330. data/rdoc/RubyXL/RichText.html +159 -0
  331. data/rdoc/RubyXL/RichTextRun.html +157 -0
  332. data/rdoc/RubyXL/Row.html +439 -0
  333. data/rdoc/RubyXL/RowExt.html +106 -0
  334. data/rdoc/RubyXL/RunProperties.html +106 -0
  335. data/rdoc/RubyXL/Scenario.html +106 -0
  336. data/rdoc/RubyXL/Scenarios.html +106 -0
  337. data/rdoc/RubyXL/Selection.html +165 -0
  338. data/rdoc/RubyXL/ShapeGuide.html +106 -0
  339. data/rdoc/RubyXL/ShapeTextRectangle.html +106 -0
  340. data/rdoc/RubyXL/SharedStringsTable.html +424 -0
  341. data/rdoc/RubyXL/Sheet.html +106 -0
  342. data/rdoc/RubyXL/SheetCalculationProperties.html +106 -0
  343. data/rdoc/RubyXL/SheetData.html +192 -0
  344. data/rdoc/RubyXL/SheetDataExt.html +106 -0
  345. data/rdoc/RubyXL/SheetDataSet.html +106 -0
  346. data/rdoc/RubyXL/SheetName.html +106 -0
  347. data/rdoc/RubyXL/SheetNames.html +106 -0
  348. data/rdoc/RubyXL/Sheets.html +106 -0
  349. data/rdoc/RubyXL/SlicerCacheFile.html +122 -0
  350. data/rdoc/RubyXL/SlicerFile.html +122 -0
  351. data/rdoc/RubyXL/SmartTagProperties.html +106 -0
  352. data/rdoc/RubyXL/SmartTagType.html +106 -0
  353. data/rdoc/RubyXL/SmartTagTypes.html +106 -0
  354. data/rdoc/RubyXL/SmartTags.html +106 -0
  355. data/rdoc/RubyXL/SortCondition.html +106 -0
  356. data/rdoc/RubyXL/SortState.html +106 -0
  357. data/rdoc/RubyXL/Sqref.html +197 -0
  358. data/rdoc/RubyXL/Stop.html +106 -0
  359. data/rdoc/RubyXL/StringNode.html +103 -0
  360. data/rdoc/RubyXL/StringNodeW3C.html +197 -0
  361. data/rdoc/RubyXL/StringValue.html +103 -0
  362. data/rdoc/RubyXL/Stylesheet.html +354 -0
  363. data/rdoc/RubyXL/TableFile.html +122 -0
  364. data/rdoc/RubyXL/TableParts.html +103 -0
  365. data/rdoc/RubyXL/TableStyle.html +106 -0
  366. data/rdoc/RubyXL/TableStyles.html +106 -0
  367. data/rdoc/RubyXL/Text.html +216 -0
  368. data/rdoc/RubyXL/Theme.html +535 -0
  369. data/rdoc/RubyXL/ThemeElements.html +106 -0
  370. data/rdoc/RubyXL/ThumbnailFile.html +122 -0
  371. data/rdoc/RubyXL/Top10.html +106 -0
  372. data/rdoc/RubyXL/VMLDrawingFile.html +134 -0
  373. data/rdoc/RubyXL/Variant.html +106 -0
  374. data/rdoc/RubyXL/Vector.html +161 -0
  375. data/rdoc/RubyXL/VectorValue.html +103 -0
  376. data/rdoc/RubyXL/VisualProperties.html +106 -0
  377. data/rdoc/RubyXL/WebPublishObject.html +106 -0
  378. data/rdoc/RubyXL/WebPublishObjects.html +106 -0
  379. data/rdoc/RubyXL/WebPublishingItem.html +106 -0
  380. data/rdoc/RubyXL/WebPublishingItems.html +106 -0
  381. data/rdoc/RubyXL/WebPublishingProperties.html +106 -0
  382. data/rdoc/RubyXL/Workbook.html +633 -0
  383. data/rdoc/RubyXL/WorkbookConvenienceMethods.html +1321 -0
  384. data/rdoc/RubyXL/WorkbookProperties.html +106 -0
  385. data/rdoc/RubyXL/WorkbookProtection.html +106 -0
  386. data/rdoc/RubyXL/WorkbookRoot.html +402 -0
  387. data/rdoc/RubyXL/WorkbookView.html +106 -0
  388. data/rdoc/RubyXL/WorkbookViews.html +106 -0
  389. data/rdoc/RubyXL/Worksheet.html +433 -0
  390. data/rdoc/RubyXL/WorksheetConvenienceMethods.html +2861 -0
  391. data/rdoc/RubyXL/WorksheetDimensions.html +106 -0
  392. data/rdoc/RubyXL/WorksheetFormatProperties.html +103 -0
  393. data/rdoc/RubyXL/WorksheetProperties.html +106 -0
  394. data/rdoc/RubyXL/WorksheetProtection.html +106 -0
  395. data/rdoc/RubyXL/WorksheetView.html +106 -0
  396. data/rdoc/RubyXL/WorksheetViews.html +106 -0
  397. data/rdoc/RubyXL/XF.html +106 -0
  398. data/rdoc/created.rid +38 -0
  399. data/rdoc/css/fonts.css +167 -0
  400. data/rdoc/css/rdoc.css +590 -0
  401. data/rdoc/fonts/Lato-Light.ttf +0 -0
  402. data/rdoc/fonts/Lato-LightItalic.ttf +0 -0
  403. data/rdoc/fonts/Lato-Regular.ttf +0 -0
  404. data/rdoc/fonts/Lato-RegularItalic.ttf +0 -0
  405. data/rdoc/fonts/SourceCodePro-Bold.ttf +0 -0
  406. data/rdoc/fonts/SourceCodePro-Regular.ttf +0 -0
  407. data/rdoc/images/add.png +0 -0
  408. data/rdoc/images/arrow_up.png +0 -0
  409. data/rdoc/images/brick.png +0 -0
  410. data/rdoc/images/brick_link.png +0 -0
  411. data/rdoc/images/bug.png +0 -0
  412. data/rdoc/images/bullet_black.png +0 -0
  413. data/rdoc/images/bullet_toggle_minus.png +0 -0
  414. data/rdoc/images/bullet_toggle_plus.png +0 -0
  415. data/rdoc/images/date.png +0 -0
  416. data/rdoc/images/delete.png +0 -0
  417. data/rdoc/images/find.png +0 -0
  418. data/rdoc/images/loadingAnimation.gif +0 -0
  419. data/rdoc/images/macFFBgHack.png +0 -0
  420. data/rdoc/images/package.png +0 -0
  421. data/rdoc/images/page_green.png +0 -0
  422. data/rdoc/images/page_white_text.png +0 -0
  423. data/rdoc/images/page_white_width.png +0 -0
  424. data/rdoc/images/plugin.png +0 -0
  425. data/rdoc/images/ruby.png +0 -0
  426. data/rdoc/images/tag_blue.png +0 -0
  427. data/rdoc/images/tag_green.png +0 -0
  428. data/rdoc/images/transparent.png +0 -0
  429. data/rdoc/images/wrench.png +0 -0
  430. data/rdoc/images/wrench_orange.png +0 -0
  431. data/rdoc/images/zoom.png +0 -0
  432. data/rdoc/index.html +796 -0
  433. data/rdoc/js/darkfish.js +161 -0
  434. data/rdoc/js/jquery.js +4 -0
  435. data/rdoc/js/navigation.js +142 -0
  436. data/rdoc/js/navigation.js.gz +0 -0
  437. data/rdoc/js/search.js +109 -0
  438. data/rdoc/js/search_index.js +1 -0
  439. data/rdoc/js/search_index.js.gz +0 -0
  440. data/rdoc/js/searcher.js +229 -0
  441. data/rdoc/js/searcher.js.gz +0 -0
  442. data/rdoc/table_of_contents.html +2758 -0
  443. data/rubyXL.gemspec +516 -0
  444. data/spec/lib/cell_spec.rb +515 -0
  445. data/spec/lib/color_spec.rb +13 -0
  446. data/spec/lib/parser_spec.rb +118 -0
  447. data/spec/lib/reference_spec.rb +28 -0
  448. data/spec/lib/stylesheet_spec.rb +28 -0
  449. data/spec/lib/text_spec.rb +29 -0
  450. data/spec/lib/workbook_spec.rb +174 -0
  451. data/spec/lib/worksheet_spec.rb +1363 -0
  452. data/spec/spec_helper.rb +11 -0
  453. data/test/input/.gitkeep +0 -0
  454. data/test/output/.gitkeep +0 -0
  455. data/test/test_parse_write.rb +15 -0
  456. data/tmp/.gitignore +1 -0
  457. metadata +615 -0
@@ -0,0 +1,1716 @@
1
+ # encoding: UTF-8 <-- magic comment, need this because of sime fancy fonts in the default scheme below. See http://stackoverflow.com/questions/6444826/ruby-utf-8-file-encoding
2
+ require 'rubyXL/objects/ooxml_object'
3
+ require 'rubyXL/objects/extensions'
4
+
5
+ module RubyXL
6
+
7
+ # http://www.datypic.com/sc/ooxml/e-a_ext-1.html
8
+ class AExtension < OOXMLObject
9
+ define_attribute(:uri, :string)
10
+ define_element_name 'a:ext'
11
+ attr_accessor :raw_xml
12
+
13
+ def self.parse(node, ignore)
14
+ obj = new
15
+ obj.raw_xml = node.to_xml
16
+ obj
17
+ end
18
+
19
+ def write_xml(xml, node_name_override = nil)
20
+ self.raw_xml
21
+ end
22
+
23
+ end
24
+
25
+ class AExtensionStorageArea < OOXMLObject
26
+ define_child_node(RubyXL::AExtension, :collection => true)
27
+ define_element_name 'a:extLst'
28
+ end
29
+
30
+ # http://www.datypic.com/sc/ooxml/e-a_srgbClr-1.html
31
+ class CT_ScRgbColor < OOXMLObject
32
+ # -- Choice [0..*] (a:EG_ColorTransform)
33
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:tint')
34
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:shade')
35
+ define_child_node(RubyXL::BooleanValue, :node_name => 'a:comp')
36
+ define_child_node(RubyXL::BooleanValue, :node_name => 'a:inv')
37
+ define_child_node(RubyXL::BooleanValue, :node_name => 'a:gray')
38
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:alpha')
39
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:alphaOff')
40
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:alphaMod')
41
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:hue')
42
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:hueOff')
43
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:hueMod')
44
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:sat')
45
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:satOff')
46
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:satMod')
47
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:lum')
48
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:lumOff')
49
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:lumMod')
50
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:red')
51
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:redOff')
52
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:redMod')
53
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:green')
54
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:greenOff')
55
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:greenMod')
56
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:blue')
57
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:blueOff')
58
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:blueMod')
59
+ define_child_node(RubyXL::BooleanValue, :node_name => 'a:gamma')
60
+ define_child_node(RubyXL::BooleanValue, :node_name => 'a:invGamma')
61
+ define_attribute(:r, :int, :required => true)
62
+ define_attribute(:g, :int, :required => true)
63
+ define_attribute(:b, :int, :required => true)
64
+ define_element_name 'a:scrgbClr'
65
+ end
66
+
67
+ # http://www.datypic.com/sc/ooxml/e-a_srgbClr-1.html
68
+ class CT_SRgbColor < OOXMLObject
69
+ # -- Choice [0..*] (a:EG_ColorTransform)
70
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:tint')
71
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:shade')
72
+ define_child_node(RubyXL::BooleanValue, :node_name => 'a:comp')
73
+ define_child_node(RubyXL::BooleanValue, :node_name => 'a:inv')
74
+ define_child_node(RubyXL::BooleanValue, :node_name => 'a:gray')
75
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:alpha')
76
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:alphaOff')
77
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:alphaMod')
78
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:hue')
79
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:hueOff')
80
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:hueMod')
81
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:sat')
82
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:satOff')
83
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:satMod')
84
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:lum')
85
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:lumOff')
86
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:lumMod')
87
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:red')
88
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:redOff')
89
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:redMod')
90
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:green')
91
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:greenOff')
92
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:greenMod')
93
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:blue')
94
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:blueOff')
95
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:blueMod')
96
+ define_child_node(RubyXL::BooleanValue, :node_name => 'a:gamma')
97
+ define_child_node(RubyXL::BooleanValue, :node_name => 'a:invGamma')
98
+ define_attribute(:val, :string, :required => true)
99
+ define_element_name 'a:srgbClr'
100
+ end
101
+
102
+ # http://www.datypic.com/sc/ooxml/e-a_hslClr-1.html
103
+ class CT_HslColor < OOXMLObject
104
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:tint')
105
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:shade')
106
+ define_child_node(RubyXL::BooleanValue, :node_name => 'a:comp')
107
+ define_child_node(RubyXL::BooleanValue, :node_name => 'a:inv')
108
+ define_child_node(RubyXL::BooleanValue, :node_name => 'a:gray')
109
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:alpha')
110
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:alphaOff')
111
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:alphaMod')
112
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:hue')
113
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:hueOff')
114
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:hueMod')
115
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:sat')
116
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:satOff')
117
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:satMod')
118
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:lum')
119
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:lumOff')
120
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:lumMod')
121
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:red')
122
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:redOff')
123
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:redMod')
124
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:green')
125
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:greenOff')
126
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:greenMod')
127
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:blue')
128
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:blueOff')
129
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:blueMod')
130
+ define_child_node(RubyXL::BooleanValue, :node_name => 'a:gamma')
131
+ define_child_node(RubyXL::BooleanValue, :node_name => 'a:invGamma')
132
+ define_attribute(:hue, :int, :required => true)
133
+ define_attribute(:sat, :int, :required => true)
134
+ define_attribute(:lum, :int, :required => true)
135
+ define_element_name 'a:hslClr'
136
+ end
137
+
138
+ # http://www.datypic.com/sc/ooxml/e-a_sysClr-1.html
139
+ class CT_SystemColor < OOXMLObject
140
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:tint')
141
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:shade')
142
+ define_child_node(RubyXL::BooleanValue, :node_name => 'a:comp')
143
+ define_child_node(RubyXL::BooleanValue, :node_name => 'a:inv')
144
+ define_child_node(RubyXL::BooleanValue, :node_name => 'a:gray')
145
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:alpha')
146
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:alphaOff')
147
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:alphaMod')
148
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:hue')
149
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:hueOff')
150
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:hueMod')
151
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:sat')
152
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:satOff')
153
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:satMod')
154
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:lum')
155
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:lumOff')
156
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:lumMod')
157
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:red')
158
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:redOff')
159
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:redMod')
160
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:green')
161
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:greenOff')
162
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:greenMod')
163
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:blue')
164
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:blueOff')
165
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:blueMod')
166
+ define_child_node(RubyXL::BooleanValue, :node_name => 'a:gamma')
167
+ define_child_node(RubyXL::BooleanValue, :node_name => 'a:invGamma')
168
+ define_attribute(:val, RubyXL::ST_SystemColorVal, :required => true)
169
+ define_attribute(:lastClr, :string)
170
+ define_element_name 'a:sysClr'
171
+ end
172
+
173
+ # http://www.datypic.com/sc/ooxml/e-a_schemeClr-1.html
174
+ class CT_SchemeColor < OOXMLObject
175
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:tint')
176
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:shade')
177
+ define_child_node(RubyXL::BooleanValue, :node_name => 'a:comp')
178
+ define_child_node(RubyXL::BooleanValue, :node_name => 'a:inv')
179
+ define_child_node(RubyXL::BooleanValue, :node_name => 'a:gray')
180
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:alpha')
181
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:alphaOff')
182
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:alphaMod')
183
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:hue')
184
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:hueOff')
185
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:hueMod')
186
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:sat')
187
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:satOff')
188
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:satMod')
189
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:lum')
190
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:lumOff')
191
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:lumMod')
192
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:red')
193
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:redOff')
194
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:redMod')
195
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:green')
196
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:greenOff')
197
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:greenMod')
198
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:blue')
199
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:blueOff')
200
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:blueMod')
201
+ define_child_node(RubyXL::BooleanValue, :node_name => 'a:gamma')
202
+ define_child_node(RubyXL::BooleanValue, :node_name => 'a:invGamma')
203
+ define_attribute(:val, RubyXL::ST_SchemeColorVal, :required => true)
204
+ define_element_name 'a:schemeClr'
205
+ end
206
+
207
+ # http://www.datypic.com/sc/ooxml/e-a_prstClr-1.html
208
+ class CT_PresetColor < OOXMLObject
209
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:tint')
210
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:shade')
211
+ define_child_node(RubyXL::BooleanValue, :node_name => 'a:comp')
212
+ define_child_node(RubyXL::BooleanValue, :node_name => 'a:inv')
213
+ define_child_node(RubyXL::BooleanValue, :node_name => 'a:gray')
214
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:alpha')
215
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:alphaOff')
216
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:alphaMod')
217
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:hue')
218
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:hueOff')
219
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:hueMod')
220
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:sat')
221
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:satOff')
222
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:satMod')
223
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:lum')
224
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:lumOff')
225
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:lumMod')
226
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:red')
227
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:redOff')
228
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:redMod')
229
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:green')
230
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:greenOff')
231
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:greenMod')
232
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:blue')
233
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:blueOff')
234
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:blueMod')
235
+ define_child_node(RubyXL::BooleanValue, :node_name => 'a:gamma')
236
+ define_child_node(RubyXL::BooleanValue, :node_name => 'a:invGamma')
237
+ define_attribute(:val, RubyXL::ST_PresetColorVal, :required => true)
238
+ define_element_name 'a:prstClr'
239
+ end
240
+
241
+ # http://www.datypic.com/sc/ooxml/t-a_CT_Color.html
242
+ class CT_Color < OOXMLObject
243
+ define_child_node(RubyXL::CT_ScRgbColor)
244
+ define_child_node(RubyXL::CT_SRgbColor)
245
+ define_child_node(RubyXL::CT_HslColor)
246
+ define_child_node(RubyXL::CT_SystemColor)
247
+ define_child_node(RubyXL::CT_SchemeColor)
248
+ define_child_node(RubyXL::CT_PresetColor)
249
+ end
250
+
251
+ # http://www.datypic.com/sc/ooxml/e-a_clrScheme-1.html
252
+ class CT_ColorScheme < OOXMLObject
253
+ define_child_node(RubyXL::CT_Color, :node_name => 'a:dk1')
254
+ define_child_node(RubyXL::CT_Color, :node_name => 'a:lt1')
255
+ define_child_node(RubyXL::CT_Color, :node_name => 'a:dk2')
256
+ define_child_node(RubyXL::CT_Color, :node_name => 'a:lt2')
257
+ define_child_node(RubyXL::CT_Color, :node_name => 'a:accent1')
258
+ define_child_node(RubyXL::CT_Color, :node_name => 'a:accent2')
259
+ define_child_node(RubyXL::CT_Color, :node_name => 'a:accent3')
260
+ define_child_node(RubyXL::CT_Color, :node_name => 'a:accent4')
261
+ define_child_node(RubyXL::CT_Color, :node_name => 'a:accent5')
262
+ define_child_node(RubyXL::CT_Color, :node_name => 'a:accent6')
263
+ define_child_node(RubyXL::CT_Color, :node_name => 'a:hlink')
264
+ define_child_node(RubyXL::CT_Color, :node_name => 'a:folHlink')
265
+ define_attribute(:name, :string, :required => true)
266
+ define_element_name 'a:clrScheme'
267
+ end
268
+
269
+ # http://www.datypic.com/sc/ooxml/t-a_CT_SupplementalFont.html
270
+ class CT_SupplementalFont < OOXMLObject
271
+ define_attribute(:script, :string, :required => true)
272
+ define_attribute(:typeface, :string, :required => true)
273
+ end
274
+
275
+ # http://www.datypic.com/sc/ooxml/t-a_CT_TextFont.html
276
+ class CT_TextFont < OOXMLObject
277
+ define_attribute(:typeface, :string)
278
+ define_attribute(:panose, :string)
279
+ define_attribute(:pitchFamily, :int, :default => 0)
280
+ define_attribute(:charset, :int, :default => 1)
281
+ end
282
+
283
+ # http://www.datypic.com/sc/ooxml/t-a_CT_FontCollection.html
284
+ class CT_FontCollection < OOXMLObject
285
+ define_child_node(RubyXL::CT_TextFont, :node_name => 'a:latin')
286
+ define_child_node(RubyXL::CT_TextFont, :node_name => 'a:ea')
287
+ define_child_node(RubyXL::CT_TextFont, :node_name => 'a:cs')
288
+ define_child_node(RubyXL::CT_SupplementalFont, :node_name => 'a:font', :collection => [0..-1])
289
+ define_child_node(RubyXL::AExtensionStorageArea)
290
+ end
291
+
292
+ # http://www.datypic.com/sc/ooxml/e-a_fontScheme-1.html
293
+ class FontScheme < OOXMLObject
294
+ # -- Sequence [1..1]
295
+ define_child_node(RubyXL::CT_FontCollection, :node_name => 'a:majorFont')
296
+ define_child_node(RubyXL::CT_FontCollection, :node_name => 'a:minorFont')
297
+ define_child_node(RubyXL::AExtensionStorageArea)
298
+ # --
299
+ define_attribute(:name, :string, :required => true)
300
+ define_element_name 'a:fontScheme'
301
+ end
302
+
303
+ # http://www.datypic.com/sc/ooxml/e-a_gs-1.html
304
+ class CT_GradientStop < OOXMLObject
305
+ # -- Choice [1..1] (EG_ColorChoice)
306
+ define_child_node(RubyXL::CT_ScRgbColor)
307
+ define_child_node(RubyXL::CT_SRgbColor)
308
+ define_child_node(RubyXL::CT_HslColor)
309
+ define_child_node(RubyXL::CT_SystemColor)
310
+ define_child_node(RubyXL::CT_SchemeColor)
311
+ define_child_node(RubyXL::CT_PresetColor)
312
+ # --
313
+ define_attribute(:pos, :int, :required => true)
314
+ define_element_name 'a:gs'
315
+ end
316
+
317
+ # http://www.datypic.com/sc/ooxml/e-a_gsLst-1.html
318
+ class CT_GradientStopList < OOXMLContainerObject
319
+ define_child_node(RubyXL::CT_GradientStop, :collection => [2..-1])
320
+ define_element_name 'a:gsLst'
321
+ end
322
+
323
+ # http://www.datypic.com/sc/ooxml/e-a_lin-1.html
324
+ class CT_LinearShadeProperties < OOXMLObject
325
+ define_attribute(:ang, :int)
326
+ define_attribute(:scaled, :bool)
327
+ define_element_name 'a:lin'
328
+ end
329
+
330
+ # http://www.datypic.com/sc/ooxml/e-a_tileRect-1.html
331
+ class CT_RelativeRect < OOXMLObject
332
+ define_attribute(:l, :int, :default => 0)
333
+ define_attribute(:t, :int, :default => 0)
334
+ define_attribute(:r, :int, :default => 0)
335
+ define_attribute(:b, :int, :default => 0)
336
+ define_element_name 'a:tileRect'
337
+ end
338
+
339
+ # http://www.datypic.com/sc/ooxml/e-a_path-1.html
340
+ class CT_PathShadeProperties < OOXMLObject
341
+ define_child_node(CT_RelativeRect, :node_name => 'a:fillToRect')
342
+ define_attribute(:path, RubyXL::ST_PathShadeType)
343
+ define_element_name 'a:path'
344
+ end
345
+
346
+ # http://www.datypic.com/sc/ooxml/e-a_gradFill-1.html
347
+ class CT_GradientFillProperties < OOXMLObject
348
+ define_child_node(RubyXL::CT_GradientStopList)
349
+ define_child_node(RubyXL::CT_LinearShadeProperties)
350
+ define_child_node(RubyXL::CT_PathShadeProperties)
351
+ define_child_node(RubyXL::CT_RelativeRect)
352
+ define_attribute(:flip, RubyXL::ST_TileFlipMode)
353
+ define_attribute(:rotWithShape, :bool)
354
+ define_element_name 'a:gradFill'
355
+ end
356
+
357
+ # http://www.datypic.com/sc/ooxml/e-a_pattFill-1.html
358
+ class CT_PatternFillProperties < OOXMLObject
359
+ define_child_node(RubyXL::CT_Color, :node_name => 'a:fgClr')
360
+ define_child_node(RubyXL::CT_Color, :node_name => 'a:bgClr')
361
+ define_attribute(:prst, RubyXL::ST_PresetPatternVal)
362
+ define_element_name 'a:pattFill'
363
+ end
364
+
365
+ # http://www.datypic.com/sc/ooxml/e-a_tile-1.html
366
+ class CT_TileInfoProperties < OOXMLObject
367
+ define_attribute(:tx, :int)
368
+ define_attribute(:ty, :int)
369
+ define_attribute(:sx, :int)
370
+ define_attribute(:sy, :int)
371
+ define_attribute(:flip, RubyXL::ST_TileFlipMode)
372
+ define_attribute(:align, RubyXL::ST_RectAlignment)
373
+ define_element_name 'a:tile'
374
+ end
375
+
376
+ # http://www.datypic.com/sc/ooxml/e-a_stretch-1.html
377
+ class CT_StretchInfoProperties < OOXMLObject
378
+ define_child_node(RubyXL::CT_RelativeRect, :node_name => 'a:fillRect')
379
+ define_element_name 'a:stretch'
380
+ end
381
+
382
+ # http://www.datypic.com/sc/ooxml/t-a_CT_TintEffect.html
383
+ class CT_TintEffect < OOXMLObject
384
+ define_attribute(:hue, :int, :default => 0)
385
+ define_attribute(:amt, :int, :default => 0)
386
+ define_element_name 'a:tint'
387
+ end
388
+
389
+ # http://www.datypic.com/sc/ooxml/t-a_CT_HSLEffect.html
390
+ class CT_HSLEffect < OOXMLObject
391
+ define_attribute(:hue, :int, :default => 0)
392
+ define_attribute(:sat, :int, :default => 0)
393
+ define_attribute(:lum, :int, :default => 0)
394
+ define_element_name 'a:hsl'
395
+ end
396
+
397
+ # http://www.datypic.com/sc/ooxml/t-a_CT_LuminanceEffect.html
398
+ class CT_LuminanceEffect < OOXMLObject
399
+ define_attribute(:bright, :int, :default => 0)
400
+ define_attribute(:contrast, :int, :default => 0)
401
+ define_element_name 'a:lum'
402
+ end
403
+
404
+ # http://www.datypic.com/sc/ooxml/t-a_CT_AlphaBiLevelEffect.html
405
+ class CT_AlphaBiLevelEffect < OOXMLObject
406
+ define_attribute(:thresh, :int, :required => true)
407
+ define_element_name 'a:alphaBiLevel'
408
+ end
409
+
410
+ # http://www.datypic.com/sc/ooxml/t-a_CT_AlphaModulateFixedEffect.html
411
+ class CT_AlphaModulateFixedEffect < OOXMLObject
412
+ define_attribute(:amt, :int, :default => 100000)
413
+ define_element_name 'a:alphaModFix'
414
+ end
415
+
416
+ # http://www.datypic.com/sc/ooxml/t-a_CT_AlphaReplaceEffect.html
417
+ class CT_AlphaReplaceEffect < OOXMLObject
418
+ define_attribute(:a, :int, :required => true)
419
+ define_element_name 'a:alphaRepl'
420
+ end
421
+
422
+ # http://www.datypic.com/sc/ooxml/t-a_CT_BiLevelEffect.html
423
+ class CT_BiLevelEffect < OOXMLObject
424
+ define_attribute(:thresh, :int, :required => true, :default => 100000)
425
+ define_element_name 'a:biLevel'
426
+ end
427
+
428
+ # http://www.datypic.com/sc/ooxml/t-a_CT_BlurEffect.html
429
+ class CT_BlurEffect < OOXMLObject
430
+ define_attribute(:rad, :int, :default => 0)
431
+ define_attribute(:grow, :bool, :default => true)
432
+ define_element_name 'a:blur'
433
+ end
434
+
435
+ # http://www.datypic.com/sc/ooxml/t-a_CT_DuotoneEffect.html
436
+ class CT_DuotoneEffect < OOXMLObject
437
+ define_attribute(:rad, :int, :default => 0)
438
+ define_attribute(:grow, :bool, :default => true)
439
+ define_element_name 'a:blur'
440
+ end
441
+
442
+ # http://www.datypic.com/sc/ooxml/t-a_CT_ColorChangeEffect.html
443
+ class CT_ColorChangeEffect < OOXMLObject
444
+ define_child_node(RubyXL::CT_Color, :node_name => 'a:clrFrom')
445
+ define_child_node(RubyXL::CT_Color, :node_name => 'a:clrTo')
446
+ define_attribute(:useA, :bool, :default => true)
447
+ define_element_name 'a:clrChange'
448
+ end
449
+
450
+ class CT_EffectContainer < OOXMLObject
451
+ # Defining class here without actually filling the OOXML definitions
452
+ # so it can reference itself in the actual definition.
453
+ end
454
+
455
+ # http://www.datypic.com/sc/ooxml/e-a_alphaMod-2.html
456
+ class CT_AlphaModulateEffect < OOXMLObject
457
+ define_child_node(RubyXL::CT_EffectContainer, :node_name => :cont)
458
+ define_element_name 'a:alphaMod'
459
+ end
460
+
461
+ # http://www.datypic.com/sc/ooxml/e-a_blend-1.html
462
+ class CT_BlendEffect < OOXMLObject
463
+ define_child_node(RubyXL::CT_EffectContainer, :node_name => :cont)
464
+ define_attribute(:blend, RubyXL::ST_BlendMode, :required => true)
465
+ define_element_name 'a:blend'
466
+ end
467
+
468
+ # http://www.datypic.com/sc/ooxml/e-a_effect-1.html
469
+ class CT_EffectReference < OOXMLObject
470
+ define_attribute(:ref, :string)
471
+ define_element_name 'a:effect'
472
+ end
473
+
474
+ # http://www.datypic.com/sc/ooxml/e-a_alphaOutset-1.html
475
+ class CT_AlphaOutsetEffect < OOXMLObject
476
+ define_attribute(:rad, :int, :default => 0)
477
+ define_element_name 'a:alphaOutset'
478
+ end
479
+
480
+ # http://www.datypic.com/sc/ooxml/e-a_blip-1.html
481
+ class CT_Blip < OOXMLObject
482
+ define_child_node(RubyXL::CT_AlphaBiLevelEffect)
483
+ define_child_node(RubyXL::BooleanValue, :node_name => 'a:alphaCeiling')
484
+ define_child_node(RubyXL::BooleanValue, :node_name => 'a:alphaFloor')
485
+ define_child_node(RubyXL::CT_Color, :node_name => 'a:alphaInv')
486
+ define_child_node(RubyXL::CT_AlphaModulateEffect)
487
+ define_child_node(RubyXL::CT_AlphaModulateFixedEffect)
488
+ define_child_node(RubyXL::CT_AlphaReplaceEffect)
489
+ define_child_node(RubyXL::CT_BiLevelEffect)
490
+ define_child_node(RubyXL::CT_BlurEffect)
491
+ define_child_node(RubyXL::CT_ColorChangeEffect)
492
+ define_child_node(RubyXL::CT_Color, :node_name => 'a:clrRepl')
493
+ define_child_node(RubyXL::CT_Color, :node_name => 'a:duotone')
494
+ define_child_node(RubyXL::CT_Color, :node_name => 'a:fillOverlay')
495
+ define_child_node(RubyXL::BooleanValue, :node_name => 'a:grayscl')
496
+ define_child_node(RubyXL::CT_HSLEffect)
497
+ define_child_node(RubyXL::CT_LuminanceEffect)
498
+ define_child_node(RubyXL::CT_TintEffect)
499
+ define_attribute(:'r:embed', :string)
500
+ define_attribute(:'r:link', :string)
501
+ define_attribute(:cstate, RubyXL::ST_BlipCompression)
502
+ define_element_name 'a:blip'
503
+ end
504
+
505
+ # http://www.datypic.com/sc/ooxml/e-a_blipFill-1.html
506
+ class CT_BlipFillProperties < OOXMLObject
507
+ define_child_node(RubyXL::CT_Blip)
508
+ define_child_node(RubyXL::CT_RelativeRect, :node_name => 'a:srcRect')
509
+ define_child_node(RubyXL::CT_TileInfoProperties)
510
+ define_child_node(RubyXL::CT_StretchInfoProperties)
511
+ define_attribute(:dpi, :int)
512
+ define_attribute(:rotWithShape, :bool)
513
+ define_element_name 'a:blipFill'
514
+ end
515
+
516
+ # http://www.datypic.com/sc/ooxml/e-a_fill-1.html
517
+ class CT_FillEffect < OOXMLObject
518
+ define_child_node(RubyXL::BooleanValue, :node_name => 'a:noFill')
519
+ define_child_node(RubyXL::CT_Color, :node_name => 'a:solidFill')
520
+ define_child_node(RubyXL::CT_GradientFillProperties)
521
+ define_child_node(RubyXL::CT_BlipFillProperties)
522
+ define_child_node(RubyXL::CT_PatternFillProperties)
523
+ define_child_node(RubyXL::BooleanValue, :node_name => 'a:grpFill')
524
+ define_element_name 'a:fill'
525
+ end
526
+
527
+ # http://www.datypic.com/sc/ooxml/e-a_fillOverlay-1.html
528
+ class CT_FillOverlayEffect < OOXMLObject
529
+ define_child_node(RubyXL::BooleanValue, :node_name => 'a:noFill')
530
+ define_child_node(RubyXL::CT_Color, :node_name => 'a:solidFill')
531
+ define_child_node(RubyXL::CT_GradientFillProperties)
532
+ define_child_node(RubyXL::CT_BlipFillProperties)
533
+ define_child_node(RubyXL::CT_PatternFillProperties)
534
+ define_child_node(RubyXL::BooleanValue, :node_name => 'a:grpFill')
535
+ define_attribute(:blend, RubyXL::ST_BlendMode)
536
+ define_element_name 'a:fillOverlay'
537
+ end
538
+
539
+ # http://www.datypic.com/sc/ooxml/t-a_CT_GlowEffect.html
540
+ class CT_GlowEffect < OOXMLObject
541
+ define_child_node(RubyXL::CT_ScRgbColor)
542
+ define_child_node(RubyXL::CT_SRgbColor)
543
+ define_child_node(RubyXL::CT_HslColor)
544
+ define_child_node(RubyXL::CT_SystemColor)
545
+ define_child_node(RubyXL::CT_SchemeColor)
546
+ define_child_node(RubyXL::CT_PresetColor)
547
+ define_attribute(:rad, :int, :default => 0)
548
+ define_element_name 'a:glow'
549
+ end
550
+
551
+ # http://www.datypic.com/sc/ooxml/t-a_CT_InnerShadowEffect.html
552
+ class CT_InnerShadowEffect < OOXMLObject
553
+ define_child_node(RubyXL::CT_ScRgbColor)
554
+ define_child_node(RubyXL::CT_SRgbColor)
555
+ define_child_node(RubyXL::CT_HslColor)
556
+ define_child_node(RubyXL::CT_SystemColor)
557
+ define_child_node(RubyXL::CT_SchemeColor)
558
+ define_child_node(RubyXL::CT_PresetColor)
559
+ define_attribute(:blurRad, :int, :default => 0)
560
+ define_attribute(:dist, :int, :default => 0)
561
+ define_attribute(:dir, :int, :default => 0)
562
+ define_element_name 'a:innerShdw'
563
+ end
564
+
565
+ # http://www.datypic.com/sc/ooxml/t-a_CT_OuterShadowEffect.html
566
+ class CT_OuterShadowEffect < OOXMLObject
567
+ define_child_node(RubyXL::CT_ScRgbColor)
568
+ define_child_node(RubyXL::CT_SRgbColor)
569
+ define_child_node(RubyXL::CT_HslColor)
570
+ define_child_node(RubyXL::CT_SystemColor)
571
+ define_child_node(RubyXL::CT_SchemeColor)
572
+ define_child_node(RubyXL::CT_PresetColor)
573
+ define_attribute(:blurRad, :int, :default => 0)
574
+ define_attribute(:dist, :int, :default => 0)
575
+ define_attribute(:dir, :int, :default => 0)
576
+ define_attribute(:sx, :int, :default => 100000)
577
+ define_attribute(:sy, :int, :default => 100000)
578
+ define_attribute(:kx, :int, :default => 0)
579
+ define_attribute(:ky, :int, :default => 0)
580
+ define_attribute(:algn, RubyXL::ST_RectAlignment, :default => 'b')
581
+ define_attribute(:rotWithShape, :bool, :default => true)
582
+ define_element_name 'a:outerShdw'
583
+ end
584
+
585
+ # http://www.datypic.com/sc/ooxml/e-a_prstShdw-1.html
586
+ class CT_PresetShadowEffect < OOXMLObject
587
+ define_child_node(RubyXL::CT_ScRgbColor)
588
+ define_child_node(RubyXL::CT_SRgbColor)
589
+ define_child_node(RubyXL::CT_HslColor)
590
+ define_child_node(RubyXL::CT_SystemColor)
591
+ define_child_node(RubyXL::CT_SchemeColor)
592
+ define_child_node(RubyXL::CT_PresetColor)
593
+ define_attribute(:prst, RubyXL::ST_PresetShadowVal, :required => true)
594
+ define_attribute(:dist, :int, :default => 0)
595
+ define_attribute(:dir, :int, :default => 0)
596
+ define_element_name 'a:prstShdw'
597
+ end
598
+
599
+ # http://www.datypic.com/sc/ooxml/e-a_reflection-1.html
600
+ class CT_ReflectionEffect < OOXMLObject
601
+ define_attribute(:blurRad, :int, :default => 0)
602
+ define_attribute(:stA, :int, :default => 100000)
603
+ define_attribute(:stPos, :int, :default => 0)
604
+ define_attribute(:endA, :int, :default => 0)
605
+ define_attribute(:endPos, :int, :default => 100000)
606
+ define_attribute(:dist, :int, :default => 0)
607
+ define_attribute(:dir, :int, :default => 0)
608
+ define_attribute(:fadeDir, :int, :default => 5400000)
609
+ define_attribute(:sx, :int, :default => 100000)
610
+ define_attribute(:sy, :int, :default => 100000)
611
+ define_attribute(:kx, :int, :default => 0)
612
+ define_attribute(:ky, :int, :default => 0)
613
+ define_attribute(:algn, RubyXL::ST_RectAlignment, :default => 'b')
614
+ define_attribute(:rotWithShape, :bool, :default => true)
615
+ define_element_name 'a:reflection'
616
+ end
617
+
618
+ # http://www.datypic.com/sc/ooxml/e-a_relOff-1.html
619
+ class CT_RelativeOffsetEffect < OOXMLObject
620
+ define_attribute(:tx, :int)
621
+ define_attribute(:ty, :int)
622
+ define_element_name 'a:relOff'
623
+ end
624
+
625
+ # http://www.datypic.com/sc/ooxml/e-a_softEdge-1.html
626
+ class CT_SoftEdgesEffect < OOXMLObject
627
+ define_attribute(:rad, :int, :required => true)
628
+ define_element_name 'a:softEdge'
629
+ end
630
+
631
+ # http://www.datypic.com/sc/ooxml/t-a_CT_TransformEffect.html
632
+ class CT_TransformEffect < OOXMLObject
633
+ define_attribute(:sx, :int, :default => 100000)
634
+ define_attribute(:sy, :int, :default => 100000)
635
+ define_attribute(:kx, :int, :default => 0)
636
+ define_attribute(:ky, :int, :default => 0)
637
+ define_attribute(:tx, :int, :default => 0)
638
+ define_attribute(:ty, :int, :default => 0)
639
+ define_element_name 'a:xfrm'
640
+ end
641
+
642
+ # http://www.datypic.com/sc/ooxml/t-a_CT_EffectContainer.html
643
+ class CT_EffectContainer < OOXMLObject
644
+ define_child_node(RubyXL::CT_EffectContainer, :node_name => 'a:cont')
645
+ define_child_node(RubyXL::CT_EffectReference)
646
+ define_child_node(RubyXL::CT_AlphaBiLevelEffect)
647
+ define_child_node(RubyXL::BooleanValue, :node_name => 'a:alphaCeiling')
648
+ define_child_node(RubyXL::BooleanValue, :node_name => 'a:alphaFloor')
649
+ define_child_node(RubyXL::CT_Color, :node_name => 'a:alphaInv')
650
+ define_child_node(RubyXL::CT_AlphaModulateEffect)
651
+ define_child_node(RubyXL::CT_AlphaModulateFixedEffect)
652
+ define_child_node(RubyXL::CT_AlphaOutsetEffect)
653
+ define_child_node(RubyXL::CT_AlphaReplaceEffect)
654
+ define_child_node(RubyXL::CT_BiLevelEffect)
655
+ define_child_node(RubyXL::CT_BlendEffect)
656
+ define_child_node(RubyXL::CT_BlurEffect)
657
+ define_child_node(RubyXL::CT_ColorChangeEffect)
658
+ define_child_node(RubyXL::CT_Color, :node_name => 'a:clrRepl')
659
+ define_child_node(RubyXL::CT_Color, :node_name => 'a:duotone')
660
+ define_child_node(RubyXL::CT_FillEffect)
661
+ define_child_node(RubyXL::CT_FillOverlayEffect)
662
+ define_child_node(RubyXL::CT_GlowEffect)
663
+ define_child_node(RubyXL::BooleanValue, :node_name => 'a:grayscl')
664
+ define_child_node(RubyXL::CT_HSLEffect)
665
+ define_child_node(RubyXL::CT_InnerShadowEffect)
666
+ define_child_node(RubyXL::CT_LuminanceEffect)
667
+ define_child_node(RubyXL::CT_OuterShadowEffect)
668
+ define_child_node(RubyXL::CT_PresetShadowEffect)
669
+ define_child_node(RubyXL::CT_ReflectionEffect)
670
+ define_child_node(RubyXL::CT_RelativeOffsetEffect)
671
+ define_child_node(RubyXL::CT_SoftEdgesEffect)
672
+ define_child_node(RubyXL::CT_TintEffect)
673
+ define_child_node(RubyXL::CT_TransformEffect)
674
+ define_attribute(:type, RubyXL::ST_EffectContainerType, :default => 'sib')
675
+ define_attribute(:name, :string)
676
+ end
677
+
678
+ # http://www.datypic.com/sc/ooxml/e-a_fillStyleLst-1.html
679
+ class CT_FillStyleList < OOXMLObject
680
+ # -- Choice [3..*] (EG_FillProperties)
681
+ define_child_node(RubyXL::BooleanValue, :node_name => 'a:noFill')
682
+ define_child_node(RubyXL::CT_Color, :node_name => 'a:solidFill', :collection => true)
683
+ define_child_node(RubyXL::CT_GradientFillProperties, :collection => true)
684
+ define_child_node(RubyXL::CT_BlipFillProperties, :collection => true)
685
+ define_child_node(RubyXL::CT_PatternFillProperties, :collection => true)
686
+ define_child_node(RubyXL::BooleanValue, :node_name => 'a:grpFill')
687
+ # --
688
+ define_element_name 'a:fillStyleLst'
689
+ end
690
+
691
+ # http://www.datypic.com/sc/ooxml/e-a_miter-1.html
692
+ class CT_LineJoinMiterProperties < OOXMLObject
693
+ define_attribute(:lim, :int)
694
+ define_element_name 'a:miter'
695
+ end
696
+
697
+ # http://www.datypic.com/sc/ooxml/t-a_CT_LineEndProperties.html
698
+ class CT_LineEndProperties < OOXMLObject
699
+ define_attribute(:type, RubyXL::ST_LineEndType)
700
+ define_attribute(:w, RubyXL::ST_LineEndWidth)
701
+ define_attribute(:len, RubyXL::ST_LineEndLength)
702
+ end
703
+
704
+ # http://www.datypic.com/sc/ooxml/e-a_prstDash-1.html
705
+ class CT_PresetLineDashProperties < OOXMLObject
706
+ define_attribute(:val, RubyXL::ST_PresetLineDashVal)
707
+ define_element_name 'a:prstDash'
708
+ end
709
+
710
+ # http://www.datypic.com/sc/ooxml/t-a_CT_DashStop.html
711
+ class CT_DashStop < OOXMLObject
712
+ define_attribute(:d, :int, :required => true)
713
+ define_attribute(:sp, :int, :required => true)
714
+ define_element_name 'a:ds'
715
+ end
716
+
717
+ # http://www.datypic.com/sc/ooxml/t-a_CT_DashStopList.html
718
+ class CT_DashStopList < OOXMLContainerObject
719
+ define_child_node(RubyXL::CT_DashStop, :collection => [0..-1])
720
+ define_element_name 'a:custDash'
721
+ end
722
+
723
+ # http://www.datypic.com/sc/ooxml/e-a_ln-1.html
724
+ class CT_LineProperties < OOXMLObject
725
+ define_child_node(RubyXL::BooleanValue, :node_name => 'a:noFill')
726
+ define_child_node(RubyXL::CT_Color, :node_name => 'a:solidFill')
727
+ define_child_node(RubyXL::CT_GradientFillProperties)
728
+ define_child_node(RubyXL::CT_PatternFillProperties)
729
+ define_child_node(RubyXL::CT_PresetLineDashProperties)
730
+ define_child_node(RubyXL::CT_DashStopList)
731
+ define_child_node(RubyXL::BooleanValue, :node_name => 'a:round')
732
+ define_child_node(RubyXL::BooleanValue, :node_name => 'a:bevel')
733
+ define_child_node(RubyXL::CT_LineJoinMiterProperties)
734
+ define_child_node(RubyXL::CT_LineEndProperties, :node_name => 'a:headEnd')
735
+ define_child_node(RubyXL::CT_LineEndProperties, :node_name => 'a:tailEnd')
736
+ define_child_node(RubyXL::AExtensionStorageArea)
737
+ define_attribute(:w, :int)
738
+ define_attribute(:cap, RubyXL::ST_LineCap)
739
+ define_attribute(:cmpd, RubyXL::ST_CompoundLine)
740
+ define_attribute(:algn, RubyXL::ST_PenAlignment)
741
+ define_element_name 'a:ln'
742
+ end
743
+
744
+ # http://www.datypic.com/sc/ooxml/e-a_lnStyleLst-1.html
745
+ class CT_LineStyleList < OOXMLContainerObject
746
+ define_child_node(RubyXL::CT_LineProperties, :collection => [3..-1])
747
+ define_element_name 'a:lnStyleLst'
748
+ end
749
+
750
+ # http://www.datypic.com/sc/ooxml/t-a_CT_SphereCoords.html
751
+ class CT_SphereCoords < OOXMLObject
752
+ define_attribute(:lat, :int, :required => true)
753
+ define_attribute(:lon, :int, :required => true)
754
+ define_attribute(:rev, :int, :required => true)
755
+ define_element_name 'a:rot'
756
+ end
757
+
758
+ # http://www.datypic.com/sc/ooxml/e-a_camera-1.html
759
+ class CT_Camera < OOXMLObject
760
+ define_child_node(RubyXL::CT_SphereCoords)
761
+ define_attribute(:prst, RubyXL::ST_PresetCameraType, :required => true)
762
+ define_attribute(:fov, :int)
763
+ define_attribute(:zoom, :int, :default => 100000)
764
+ define_element_name 'a:camera'
765
+ end
766
+
767
+ # http://www.datypic.com/sc/ooxml/e-a_lightRig-1.html
768
+ class CT_LightRig < OOXMLObject
769
+ define_child_node(RubyXL::CT_SphereCoords)
770
+ define_attribute(:rig, RubyXL::ST_LightRigType, :required => true)
771
+ define_attribute(:dir, RubyXL::ST_LightRigDirection, :required => true)
772
+ define_element_name 'a:lightRig'
773
+ end
774
+
775
+ # http://www.datypic.com/sc/ooxml/e-a_anchor-1.html
776
+ class CT_Point3D < OOXMLObject
777
+ define_attribute(:x, :int, :required => true)
778
+ define_attribute(:y, :int, :required => true)
779
+ define_attribute(:z, :int, :required => true)
780
+ define_element_name 'a:anchor'
781
+ end
782
+
783
+ # http://www.datypic.com/sc/ooxml/t-a_CT_Vector3D.html
784
+ class CT_Vector3D < OOXMLObject
785
+ define_attribute(:dx, :int, :required => true)
786
+ define_attribute(:dy, :int, :required => true)
787
+ define_attribute(:dz, :int, :required => true)
788
+ end
789
+
790
+ # http://www.datypic.com/sc/ooxml/t-a_CT_Backdrop.html
791
+ class CT_Backdrop < OOXMLObject
792
+ define_child_node(RubyXL::CT_Point3D)
793
+ define_child_node(RubyXL::CT_Vector3D, :node_name => 'a:norm')
794
+ define_child_node(RubyXL::CT_Vector3D, :node_name => 'a:up')
795
+ define_child_node(RubyXL::AExtensionStorageArea)
796
+ define_element_name 'a:backdrop'
797
+ end
798
+
799
+ # http://www.datypic.com/sc/ooxml/e-a_scene3d-1.html
800
+ class CT_Scene3D < OOXMLObject
801
+ define_child_node(RubyXL::CT_Camera, :required => true)
802
+ define_child_node(RubyXL::CT_LightRig, :required => true)
803
+ define_child_node(RubyXL::CT_Backdrop)
804
+ define_child_node(RubyXL::AExtensionStorageArea)
805
+ define_element_name 'a:scene3d'
806
+ end
807
+
808
+ # http://www.datypic.com/sc/ooxml/t-a_CT_Bevel.html
809
+ class CT_Bevel < OOXMLObject
810
+ define_attribute(:w, :int, :default => 76200)
811
+ define_attribute(:h, :int, :default => 76200)
812
+ define_attribute(:prst, RubyXL::ST_BevelPresetType)
813
+ define_element_name 'a:CT_Bevel'
814
+ end
815
+
816
+ # http://www.datypic.com/sc/ooxml/e-a_sp3d-1.html
817
+ class CT_Shape3D < OOXMLObject
818
+ define_child_node(RubyXL::CT_Bevel, :node_name => 'a:bevelT')
819
+ define_child_node(RubyXL::CT_Bevel, :node_name => 'a:bevelB')
820
+ define_child_node(RubyXL::CT_Color, :node_name => 'a:extrusionClr')
821
+ define_child_node(RubyXL::CT_Color, :node_name => 'a:contourClr')
822
+ define_child_node(RubyXL::AExtensionStorageArea)
823
+ define_attribute(:z, :int, :default => 0)
824
+ define_attribute(:extrusionH, :int, :default => 0)
825
+ define_attribute(:contourW, :int, :default => 0)
826
+ define_attribute(:prstMaterial, RubyXL::ST_PresetMaterialType, :default => 'warmMatte')
827
+ define_element_name 'a:sp3d'
828
+ end
829
+
830
+ # http://www.datypic.com/sc/ooxml/e-a_effectLst-1.html
831
+ class CT_EffectList < OOXMLObject
832
+ define_child_node(RubyXL::CT_BlurEffect)
833
+ define_child_node(RubyXL::CT_FillOverlayEffect)
834
+ define_child_node(RubyXL::CT_GlowEffect)
835
+ define_child_node(RubyXL::CT_InnerShadowEffect)
836
+ define_child_node(RubyXL::CT_OuterShadowEffect)
837
+ define_child_node(RubyXL::CT_PresetShadowEffect)
838
+ define_child_node(RubyXL::CT_ReflectionEffect)
839
+ define_child_node(RubyXL::CT_SoftEdgesEffect)
840
+ define_element_name 'a:effectLst'
841
+ end
842
+
843
+ # http://www.datypic.com/sc/ooxml/e-a_effectStyle-1.html
844
+ class CT_EffectStyleItem < OOXMLObject
845
+ define_child_node(RubyXL::CT_EffectList)
846
+ define_child_node(RubyXL::CT_EffectContainer, :node_name => 'a:effectDag')
847
+ define_child_node(RubyXL::CT_Scene3D)
848
+ define_child_node(RubyXL::CT_Shape3D)
849
+ define_element_name 'a:effectStyle'
850
+ end
851
+
852
+ # http://www.datypic.com/sc/ooxml/e-a_effectStyleLst-1.html
853
+ class CT_EffectStyleList < OOXMLContainerObject
854
+ define_child_node(RubyXL::CT_EffectStyleItem, :collection => [3..-1])
855
+ define_element_name 'a:effectStyleLst'
856
+ end
857
+
858
+ # http://www.datypic.com/sc/ooxml/e-a_fmtScheme-1.html
859
+ class CT_StyleMatrix < OOXMLObject
860
+ define_child_node(RubyXL::CT_FillStyleList, :required => true)
861
+ define_child_node(RubyXL::CT_LineStyleList, :required => true)
862
+ define_child_node(RubyXL::CT_EffectStyleList, :required => true)
863
+ define_child_node(RubyXL::CT_FillStyleList, :required => true, :node_name => 'a:bgFillStyleLst')
864
+ define_attribute(:name, :string)
865
+ define_element_name 'a:fmtScheme'
866
+ end
867
+
868
+ # http://www.datypic.com/sc/ooxml/e-a_themeElements-1.html
869
+ class ThemeElements < OOXMLObject
870
+ define_child_node(RubyXL::CT_ColorScheme)
871
+ define_child_node(RubyXL::FontScheme)
872
+ define_child_node(RubyXL::CT_StyleMatrix)
873
+ define_child_node(RubyXL::AExtensionStorageArea)
874
+ define_element_name 'a:themeElements'
875
+ end
876
+
877
+ # http://www.datypic.com/sc/ooxml/e-a_off-1.html
878
+ class Offset < OOXMLObject
879
+ define_attribute(:x, :int, :required => true)
880
+ define_attribute(:y, :int, :required => true)
881
+ define_element_name 'a:off'
882
+ end
883
+
884
+ # http://www.datypic.com/sc/ooxml/e-a_ext-2.html
885
+ class Extents < OOXMLObject
886
+ define_attribute(:cx, :int, :required => true)
887
+ define_attribute(:cy, :int, :required => true)
888
+ define_element_name 'a:ext'
889
+ end
890
+
891
+ # http://www.datypic.com/sc/ooxml/e-a_xfrm-4.html
892
+ class CT_Transform2D < OOXMLObject
893
+ define_attribute(:rot, :int, :default => 0)
894
+ define_attribute(:flipH, :bool, :default => false)
895
+ define_attribute(:flipV, :bool, :default => false)
896
+ define_child_node(RubyXL::Offset)
897
+ define_child_node(RubyXL::Extents)
898
+ define_element_name 'a:xfrm'
899
+ end
900
+
901
+ # http://www.datypic.com/sc/ooxml/e-a_gd-1.html
902
+ class ShapeGuide < OOXMLObject
903
+ define_attribute(:name, :string, :required => true)
904
+ define_attribute(:fmla, :string, :required => true)
905
+ define_element_name 'a:gd'
906
+ end
907
+
908
+ # http://www.datypic.com/sc/ooxml/e-a_avLst-1.html
909
+ class CT_GeomGuideList < OOXMLContainerObject
910
+ define_child_node(RubyXL::ShapeGuide, :collection => [0..-1])
911
+ end
912
+
913
+ # http://www.datypic.com/sc/ooxml/e-a_rect-1.html
914
+ class ShapeTextRectangle < OOXMLObject
915
+ define_attribute(:l, :int, :required => true)
916
+ define_attribute(:t, :int, :required => true)
917
+ define_attribute(:r, :int, :required => true)
918
+ define_attribute(:b, :int, :required => true)
919
+ define_element_name 'a:rect'
920
+ end
921
+
922
+ # http://www.datypic.com/sc/ooxml/e-a_pos-2.html
923
+ class CT_AdjPoint2D < OOXMLObject
924
+ define_attribute(:x, :int, :required => true)
925
+ define_attribute(:y, :int, :required => true)
926
+ define_element_name 'a:pos'
927
+ end
928
+
929
+ # http://www.datypic.com/sc/ooxml/t-a_CT_PolarAdjustHandle.html
930
+ class CT_XYAdjustHandle < OOXMLObject
931
+ define_child_node(RubyXL::CT_AdjPoint2D)
932
+ define_attribute(:gdRefX, :string)
933
+ define_attribute(:minX, :int)
934
+ define_attribute(:maxX, :int)
935
+ define_attribute(:gdRefY, :string)
936
+ define_attribute(:minY, :int)
937
+ define_attribute(:maxY, :int)
938
+ define_element_name 'a:ahXY'
939
+ end
940
+
941
+ # http://www.datypic.com/sc/ooxml/t-a_CT_PolarAdjustHandle.html
942
+ class CT_PolarAdjustHandle < OOXMLObject
943
+ define_child_node(RubyXL::CT_AdjPoint2D)
944
+ define_attribute(:gdRefR, :string)
945
+ define_attribute(:minR, :int)
946
+ define_attribute(:maxR, :int)
947
+ define_attribute(:gdRefAng, :string)
948
+ define_attribute(:minAng, :int)
949
+ define_attribute(:maxAng, :int)
950
+ define_element_name 'a:ahPolar'
951
+ end
952
+
953
+ # http://www.datypic.com/sc/ooxml/t-a_CT_AdjustHandleList.html
954
+ class AdjustHandleList < OOXMLObject
955
+ define_child_node(RubyXL::CT_XYAdjustHandle)
956
+ define_child_node(RubyXL::CT_PolarAdjustHandle)
957
+ define_element_name 'a:ahLst'
958
+ end
959
+
960
+ # http://www.datypic.com/sc/ooxml/e-a_cxn-1.html
961
+ class CT_ConnectionSite < OOXMLObject
962
+ define_child_node(RubyXL::CT_AdjPoint2D)
963
+ define_attribute(:ang, :int)
964
+ define_element_name 'a:cxn'
965
+ end
966
+
967
+ # http://www.datypic.com/sc/ooxml/e-a_cxnLst-1.html
968
+ class CT_ConnectionSiteList < OOXMLContainerObject
969
+ define_child_node(RubyXL::CT_ConnectionSite, :collection => [0..-1])
970
+ define_element_name 'a:cxnLst'
971
+ end
972
+
973
+ # http://www.datypic.com/sc/ooxml/t-a_CT_Path2DLineTo.html
974
+ class CT_Path2DTo < OOXMLContainerObject
975
+ define_child_node(RubyXL::CT_AdjPoint2D)
976
+ end
977
+
978
+ # http://www.datypic.com/sc/ooxml/e-a_arcTo-1.html
979
+ class CT_Path2DArcTo < OOXMLObject
980
+ define_attribute(:wR, :int, :required => true)
981
+ define_attribute(:hR, :int, :required => true)
982
+ define_attribute(:stAng, :int, :required => true)
983
+ define_attribute(:swAng, :int, :required => true)
984
+ define_element_name 'a:arcTo'
985
+ end
986
+
987
+ # http://www.datypic.com/sc/ooxml/e-a_quadBezTo-1.html
988
+ class CT_Path2DQuadBezierTo < OOXMLContainerObject
989
+ define_child_node(RubyXL::CT_AdjPoint2D, :collection => [2..2], :node_name => 'a:pt')
990
+ define_element_name 'a:quadBezTo'
991
+ end
992
+
993
+ # http://www.datypic.com/sc/ooxml/e-a_quadBezTo-1.html
994
+ class CT_Path2DCubicBezierTo < OOXMLContainerObject
995
+ define_child_node(RubyXL::CT_AdjPoint2D, :collection => [2..2], :node_name => 'a:pt')
996
+ define_element_name 'a:cubicBezTo'
997
+ end
998
+
999
+ # http://www.datypic.com/sc/ooxml/e-a_path-2.html
1000
+ class CT_Path2D < OOXMLObject
1001
+ define_child_node(RubyXL::BooleanValue, :node_name => 'a:close')
1002
+ define_child_node(RubyXL::CT_Path2DTo, :node_name => 'a:moveTo')
1003
+ define_child_node(RubyXL::CT_Path2DTo, :node_name => 'a:lnTo')
1004
+ define_child_node(RubyXL::CT_Path2DArcTo, :node_name => 'a:arcTo')
1005
+ define_child_node(RubyXL::CT_Path2DQuadBezierTo)
1006
+ define_child_node(RubyXL::CT_Path2DCubicBezierTo)
1007
+ define_attribute(:w, :int, :default => 0)
1008
+ define_attribute(:h, :int, :default => 0)
1009
+ define_attribute(:fill, RubyXL::ST_PathFillMode, :default => 'norm')
1010
+ define_attribute(:stroke, :bool, :default => true)
1011
+ define_attribute(:extrusionOk, :bool, :default => true)
1012
+ define_element_name 'a:path'
1013
+ end
1014
+
1015
+ # http://www.datypic.com/sc/ooxml/e-a_pathLst-1.html
1016
+ class CT_Path2DList < OOXMLContainerObject
1017
+ define_child_node(RubyXL::CT_Path2D, :collection => [0..-1])
1018
+ define_element_name 'a:pathLst'
1019
+ end
1020
+
1021
+ # http://www.datypic.com/sc/ooxml/e-a_custGeom-1.html
1022
+ class CustomGeometry < OOXMLObject
1023
+ define_child_node(RubyXL::CT_GeomGuideList, :node_name => 'a:avLst')
1024
+ define_child_node(RubyXL::CT_GeomGuideList, :node_name => 'a:gdLst')
1025
+ define_child_node(RubyXL::AdjustHandleList)
1026
+ define_child_node(RubyXL::CT_ConnectionSiteList)
1027
+ define_child_node(RubyXL::ShapeTextRectangle)
1028
+ define_child_node(RubyXL::CT_Path2DList)
1029
+ define_element_name 'a:custGeom'
1030
+ end
1031
+
1032
+ # http://www.datypic.com/sc/ooxml/e-a_prstGeom-1.html
1033
+ class PresetGeometry < OOXMLObject
1034
+ define_child_node(RubyXL::CT_GeomGuideList, :node_name => 'a:avLst')
1035
+ define_attribute(:prst, RubyXL::ST_ShapeType, :required => true)
1036
+ define_element_name 'a:prstGeom'
1037
+ end
1038
+
1039
+ # http://www.datypic.com/sc/ooxml/e-a_spPr-1.html
1040
+ class VisualProperties < OOXMLObject
1041
+ define_child_node(RubyXL::CT_Transform2D)
1042
+ # -- Choice [0..1] (EG_Geometry)
1043
+ define_child_node(RubyXL::CustomGeometry)
1044
+ define_child_node(RubyXL::PresetGeometry)
1045
+ # -- Choice [0..1] (EG_FillProperties)
1046
+ define_child_node(RubyXL::BooleanValue, :node_name => 'a:noFill')
1047
+ define_child_node(RubyXL::CT_Color, :node_name => 'a:solidFill')
1048
+ define_child_node(RubyXL::CT_GradientFillProperties)
1049
+ define_child_node(RubyXL::CT_BlipFillProperties)
1050
+ define_child_node(RubyXL::CT_PatternFillProperties)
1051
+ define_child_node(RubyXL::BooleanValue, :node_name => 'a:grpFill')
1052
+ # --
1053
+ define_child_node(RubyXL::CT_LineProperties)
1054
+ # -- Choice [0..1] (EG_EffectProperties)
1055
+ define_child_node(RubyXL::CT_EffectList)
1056
+ define_child_node(RubyXL::CT_EffectContainer, :node_name => 'a:effectDag')
1057
+ # --
1058
+ define_child_node(RubyXL::CT_Scene3D)
1059
+ define_child_node(RubyXL::CT_Shape3D)
1060
+ define_child_node(RubyXL::AExtensionStorageArea)
1061
+ define_attribute(:bwMode, RubyXL::ST_BlackWhiteMode)
1062
+ define_element_name 'a:spPr'
1063
+ end
1064
+
1065
+ # http://www.datypic.com/sc/ooxml/e-a_prstTxWarp-2.html
1066
+ class CT_PresetTextShape < OOXMLObject
1067
+ define_child_node(RubyXL::CT_GeomGuideList, :node_name => 'a:avLst')
1068
+ define_attribute(:prst, RubyXL::ST_TextShapeType)
1069
+ define_element_name 'a:prstTxWarp'
1070
+ end
1071
+
1072
+ # http://www.datypic.com/sc/ooxml/e-a_normAutofit-1.html
1073
+ class CT_TextNormalAutofit < OOXMLObject
1074
+ define_attribute(:fontScale, :int, :default => 100000)
1075
+ define_attribute(:lnSpcReduction, :int, :default => 0)
1076
+ define_element_name 'a:normAutofit'
1077
+ end
1078
+
1079
+ # http://www.datypic.com/sc/ooxml/e-a_flatTx-1.html
1080
+ class CT_FlatText < OOXMLObject
1081
+ define_attribute(:z, :int, :default => 0)
1082
+ define_element_name 'a:flatTx'
1083
+ end
1084
+
1085
+ # http://www.datypic.com/sc/ooxml/e-a_bodyPr-1.html
1086
+ class BodyProperties < OOXMLObject
1087
+ define_child_node(RubyXL::CT_PresetTextShape)
1088
+ define_child_node(RubyXL::BooleanValue, :node_name => 'a:noAutofit')
1089
+ define_child_node(RubyXL::CT_TextNormalAutofit)
1090
+ define_child_node(RubyXL::BooleanValue, :node_name => 'a:spAutoFit')
1091
+ define_child_node(RubyXL::CT_Scene3D)
1092
+ define_child_node(RubyXL::CT_Shape3D)
1093
+ define_child_node(RubyXL::CT_FlatText)
1094
+ define_child_node(RubyXL::AExtensionStorageArea)
1095
+ define_attribute(:rot, :int)
1096
+ define_attribute(:spcFirstLastPara, :bool)
1097
+ define_attribute(:vertOverflow, RubyXL::ST_TextVertOverflowType)
1098
+ define_attribute(:horzOverflow, RubyXL::ST_TextHorzOverflowType)
1099
+ define_attribute(:vert, RubyXL::ST_TextVerticalType)
1100
+ define_attribute(:wrap, RubyXL::ST_TextWrappingType)
1101
+ define_attribute(:lIns, :int)
1102
+ define_attribute(:tIns, :int)
1103
+ define_attribute(:rIns, :int)
1104
+ define_attribute(:bIns, :int)
1105
+ define_attribute(:numCol, :int)
1106
+ define_attribute(:spcCol, :int)
1107
+ define_attribute(:rtlCol, :bool)
1108
+ define_attribute(:fromWordArt, :bool)
1109
+ define_attribute(:anchor, RubyXL::ST_TextAnchoringType)
1110
+ define_attribute(:anchorCtr, :bool)
1111
+ define_attribute(:forceAA, :bool)
1112
+ define_attribute(:upright, :bool, :default => false)
1113
+ define_attribute(:compatLnSpc, :bool)
1114
+ define_element_name 'a:bodyPr'
1115
+ end
1116
+
1117
+ # http://www.datypic.com/sc/ooxml/e-a_tab-1.html
1118
+ class CT_TextTabStop < OOXMLObject
1119
+ define_attribute(:pos, :int)
1120
+ define_attribute(:algn, RubyXL::ST_TextTabAlignType)
1121
+ define_element_name 'a:tabLst'
1122
+ end
1123
+
1124
+ # http://www.datypic.com/sc/ooxml/e-a_tabLst-1.html
1125
+ class CT_TextTabStopList < OOXMLContainerObject
1126
+ define_child_node(RubyXL::CT_TextTabStop, :collection => [0..32])
1127
+ define_element_name 'a:tabLst'
1128
+ end
1129
+
1130
+ # http://www.datypic.com/sc/ooxml/e-a_buAutoNum-1.html
1131
+ class CT_TextAutonumberBullet < OOXMLObject
1132
+ define_attribute(:type, RubyXL::ST_TextAutonumberScheme)
1133
+ define_attribute(:startAt, :int)
1134
+ define_element_name 'a:buAutoNum'
1135
+ end
1136
+
1137
+ # http://www.datypic.com/sc/ooxml/e-a_buChar-1.html
1138
+ class CT_TextCharBullet < OOXMLObject
1139
+ define_attribute(:char, :string, :required => true)
1140
+ define_element_name 'a:buChar'
1141
+ end
1142
+
1143
+ # http://www.datypic.com/sc/ooxml/e-a_buBlip-1.html
1144
+ class CT_TextBlipBullet < OOXMLObject
1145
+ define_child_node(RubyXL::CT_Blip)
1146
+ define_element_name 'a:buBlip'
1147
+ end
1148
+
1149
+ # http://www.datypic.com/sc/ooxml/t-a_CT_TextSpacing.html
1150
+ class CT_TextSpacing < OOXMLObject
1151
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:spcPct')
1152
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:spcPts')
1153
+ end
1154
+
1155
+ # http://www.datypic.com/sc/ooxml/e-a_snd-1.html
1156
+ class CT_EmbeddedWAVAudioFile < OOXMLObject
1157
+ define_attribute(:'r:embed', :string)
1158
+ define_attribute(:name, :string, :default => '')
1159
+ define_attribute(:builtIn, :bool, :default => false)
1160
+ define_element_name 'a:snd'
1161
+ end
1162
+
1163
+ # http://www.datypic.com/sc/ooxml/t-a_CT_Hyperlink.html
1164
+ class CT_Hyperlink < OOXMLObject
1165
+ define_child_node(RubyXL::CT_EmbeddedWAVAudioFile)
1166
+ define_child_node(RubyXL::AExtensionStorageArea)
1167
+ define_attribute(:'r:id', :string)
1168
+ define_attribute(:invalidUrl, :string, :default => '')
1169
+ define_attribute(:action, :string, :default => '')
1170
+ define_attribute(:tgtFrame, :string, :default => '')
1171
+ define_attribute(:tooltip, :string, :default => '')
1172
+ define_attribute(:history, :bool, :default => true)
1173
+ define_attribute(:highlightClick, :bool, :default => false)
1174
+ define_attribute(:endSnd, :bool, :default => false)
1175
+ end
1176
+
1177
+ # http://www.datypic.com/sc/ooxml/e-a_defRPr-1.html
1178
+ class CT_TextCharacterProperties < OOXMLObject
1179
+ define_child_node(RubyXL::CT_LineProperties)
1180
+ # -- EG_FillProperties
1181
+ define_child_node(RubyXL::BooleanValue, :node_name => 'a:noFill')
1182
+ define_child_node(RubyXL::CT_Color, :node_name => 'a:solidFill')
1183
+ define_child_node(RubyXL::CT_GradientFillProperties)
1184
+ define_child_node(RubyXL::CT_BlipFillProperties)
1185
+ define_child_node(RubyXL::CT_PatternFillProperties)
1186
+ define_child_node(RubyXL::BooleanValue, :node_name => 'a:grpFill')
1187
+ # -- EG_EffectProperties
1188
+ define_child_node(RubyXL::CT_EffectList)
1189
+ define_child_node(RubyXL::CT_EffectContainer, :node_name => 'a:effectDag')
1190
+ # --
1191
+ define_child_node(RubyXL::CT_Color, :node_name => 'a:highlight')
1192
+ # -- EG_TextUnderlineLine
1193
+ define_child_node(RubyXL::BooleanValue, :node_name => 'a:uLnTx')
1194
+ define_child_node(RubyXL::CT_LineProperties, :node_name => 'a:uLn')
1195
+ # -- EG_TextUnderlineFill
1196
+ define_child_node(RubyXL::BooleanValue, :node_name => 'a:uFillTx')
1197
+ define_child_node(RubyXL::CT_FillStyleList, :node_name => 'a:uFill')
1198
+ define_child_node(RubyXL::CT_TextFont, :node_name => 'a:latin')
1199
+ define_child_node(RubyXL::CT_TextFont, :node_name => 'a:ea')
1200
+ define_child_node(RubyXL::CT_TextFont, :node_name => 'a:cs')
1201
+ define_child_node(RubyXL::CT_TextFont, :node_name => 'a:sym')
1202
+ define_child_node(RubyXL::CT_Hyperlink, :node_name => 'a:hlinkClick')
1203
+ define_child_node(RubyXL::CT_Hyperlink, :node_name => 'a:hlinkMouseOver')
1204
+ define_child_node(RubyXL::AExtensionStorageArea)
1205
+ define_attribute(:kumimoji, :bool)
1206
+ define_attribute(:lang, :string)
1207
+ define_attribute(:altLang, :string)
1208
+ define_attribute(:sz, :int)
1209
+ define_attribute(:b, :bool)
1210
+ define_attribute(:i, :bool)
1211
+ define_attribute(:u, RubyXL::ST_TextUnderlineType)
1212
+ define_attribute(:strike, RubyXL::ST_TextStrikeType)
1213
+ define_attribute(:kern, :int)
1214
+ define_attribute(:cap, RubyXL::ST_TextCapsType)
1215
+ define_attribute(:spc, :int)
1216
+ define_attribute(:normalizeH, :bool)
1217
+ define_attribute(:baseline, :int)
1218
+ define_attribute(:noProof, :bool)
1219
+ define_attribute(:dirty, :bool, :default => true)
1220
+ define_attribute(:err, :bool, :default => false)
1221
+ define_attribute(:smtClean, :bool, :default => true)
1222
+ define_attribute(:smtId, :int, :default => 0)
1223
+ define_attribute(:bmk, :string)
1224
+ define_element_name 'a:defRPr'
1225
+ end
1226
+
1227
+ # http://www.datypic.com/sc/ooxml/e-a_defPPr-1.html
1228
+ class CT_TextParagraphProperties < OOXMLObject
1229
+ define_child_node(RubyXL::CT_TextSpacing, :node_name => 'a:lnSpc')
1230
+ define_child_node(RubyXL::CT_TextSpacing, :node_name => 'a:spcBef')
1231
+ define_child_node(RubyXL::CT_TextSpacing, :node_name => 'a:spcAft')
1232
+ define_child_node(RubyXL::BooleanValue, :node_name => 'a:buClrTx')
1233
+ define_child_node(RubyXL::CT_Color, :node_name => 'a:buClr')
1234
+ define_child_node(RubyXL::BooleanValue, :node_name => 'a:buSzTx')
1235
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:buSzPct')
1236
+ define_child_node(RubyXL::IntegerValue, :node_name => 'a:buSzPts')
1237
+ define_child_node(RubyXL::BooleanValue, :node_name => 'a:buFontTx')
1238
+ define_child_node(RubyXL::CT_TextFont, :node_name => 'a:buFont')
1239
+ define_child_node(RubyXL::BooleanValue, :node_name => 'a:buNone')
1240
+ define_child_node(RubyXL::CT_TextAutonumberBullet)
1241
+ define_child_node(RubyXL::CT_TextCharBullet)
1242
+ define_child_node(RubyXL::CT_TextBlipBullet)
1243
+ define_child_node(RubyXL::CT_TextTabStop)
1244
+ define_child_node(RubyXL::CT_TextCharacterProperties)
1245
+ define_child_node(RubyXL::AExtensionStorageArea)
1246
+ define_attribute(:marL, :int)
1247
+ define_attribute(:marR, :int)
1248
+ define_attribute(:lvl, :int)
1249
+ define_attribute(:indent, :int)
1250
+ define_attribute(:algn, RubyXL::ST_TextAlignType)
1251
+ define_attribute(:defTabSz, :int)
1252
+ define_attribute(:rtl, :bool)
1253
+ define_attribute(:eaLnBrk, :bool)
1254
+ define_attribute(:fontAlgn, RubyXL::ST_TextFontAlignType)
1255
+ define_attribute(:latinLnBrk, :bool)
1256
+ define_attribute(:hangingPunct, :bool)
1257
+ define_element_name 'a:defPPr'
1258
+ end
1259
+
1260
+ # http://www.datypic.com/sc/ooxml/e-a_lstStyle-1.html
1261
+ class CT_TextListStyle < OOXMLObject
1262
+ define_child_node(RubyXL::CT_TextParagraphProperties, :node_name => 'a:defPPr')
1263
+ define_child_node(RubyXL::CT_TextParagraphProperties, :node_name => 'a:lvl1pPr')
1264
+ define_child_node(RubyXL::CT_TextParagraphProperties, :node_name => 'a:lvl2pPr')
1265
+ define_child_node(RubyXL::CT_TextParagraphProperties, :node_name => 'a:lvl3pPr')
1266
+ define_child_node(RubyXL::CT_TextParagraphProperties, :node_name => 'a:lvl4pPr')
1267
+ define_child_node(RubyXL::CT_TextParagraphProperties, :node_name => 'a:lvl5pPr')
1268
+ define_child_node(RubyXL::CT_TextParagraphProperties, :node_name => 'a:lvl6pPr')
1269
+ define_child_node(RubyXL::CT_TextParagraphProperties, :node_name => 'a:lvl7pPr')
1270
+ define_child_node(RubyXL::CT_TextParagraphProperties, :node_name => 'a:lvl8pPr')
1271
+ define_child_node(RubyXL::CT_TextParagraphProperties, :node_name => 'a:lvl9pPr')
1272
+ define_child_node(RubyXL::AExtensionStorageArea)
1273
+ define_element_name 'a:lstStyle'
1274
+ end
1275
+
1276
+ # http://www.datypic.com/sc/ooxml/t-a_CT_StyleMatrixReference.html
1277
+ class CT_StyleMatrixReference < OOXMLObject
1278
+ define_child_node(RubyXL::CT_ScRgbColor)
1279
+ define_child_node(RubyXL::CT_SRgbColor)
1280
+ define_child_node(RubyXL::CT_HslColor)
1281
+ define_child_node(RubyXL::CT_SystemColor)
1282
+ define_child_node(RubyXL::CT_SchemeColor)
1283
+ define_child_node(RubyXL::CT_PresetColor)
1284
+ define_attribute(:idx, :int, :required => true)
1285
+ end
1286
+
1287
+ # http://www.datypic.com/sc/ooxml/t-a_CT_FontReference.html
1288
+ class CT_FontReference < OOXMLObject
1289
+ define_child_node(RubyXL::CT_ScRgbColor)
1290
+ define_child_node(RubyXL::CT_SRgbColor)
1291
+ define_child_node(RubyXL::CT_HslColor)
1292
+ define_child_node(RubyXL::CT_SystemColor)
1293
+ define_child_node(RubyXL::CT_SchemeColor)
1294
+ define_child_node(RubyXL::CT_PresetColor)
1295
+ define_attribute(:idx, RubyXL::ST_FontCollectionIndex, :required => true)
1296
+ end
1297
+
1298
+ # http://www.datypic.com/sc/ooxml/t-a_CT_ShapeStyle.html
1299
+ class CT_ShapeStyle < OOXMLObject
1300
+ define_child_node(RubyXL::CT_StyleMatrixReference, :node_name => 'a:lnRef')
1301
+ define_child_node(RubyXL::CT_StyleMatrixReference, :node_name => 'a:fillRef')
1302
+ define_child_node(RubyXL::CT_StyleMatrixReference, :node_name => 'a:effectRef')
1303
+ define_child_node(RubyXL::CT_FontReference, :node_name => 'a:fontRef')
1304
+ define_element_name 'a:style'
1305
+ end
1306
+
1307
+ # http://www.datypic.com/sc/ooxml/t-a_CT_DefaultShapeDefinition.html
1308
+ class CT_DefaultShapeDefinition < OOXMLObject
1309
+ define_child_node(RubyXL::VisualProperties)
1310
+ define_child_node(RubyXL::BodyProperties)
1311
+ define_child_node(RubyXL::CT_TextListStyle)
1312
+ define_child_node(RubyXL::CT_ShapeStyle)
1313
+ define_child_node(RubyXL::AExtensionStorageArea)
1314
+ end
1315
+
1316
+ # http://www.datypic.com/sc/ooxml/e-a_objectDefaults-1.html
1317
+ class CT_ObjectStyleDefaults < OOXMLObject
1318
+ define_child_node(RubyXL::CT_DefaultShapeDefinition, :node_name => 'a:spDef')
1319
+ define_child_node(RubyXL::CT_DefaultShapeDefinition, :node_name => 'a:lnDef')
1320
+ define_child_node(RubyXL::CT_DefaultShapeDefinition, :node_name => 'a:txDef')
1321
+ define_child_node(RubyXL::AExtensionStorageArea)
1322
+ define_element_name 'a:objectDefaults'
1323
+ end
1324
+
1325
+ # http://www.datypic.com/sc/ooxml/e-a_clrMap-1.html
1326
+ class CT_ColorMapping < OOXMLObject
1327
+ define_child_node(RubyXL::AExtensionStorageArea)
1328
+ define_attribute(:bg1, RubyXL::ST_ColorSchemeIndex, :required => true)
1329
+ define_attribute(:tx1, RubyXL::ST_ColorSchemeIndex, :required => true)
1330
+ define_attribute(:bg2, RubyXL::ST_ColorSchemeIndex, :required => true)
1331
+ define_attribute(:tx2, RubyXL::ST_ColorSchemeIndex, :required => true)
1332
+ define_attribute(:accent1, RubyXL::ST_ColorSchemeIndex, :required => true)
1333
+ define_attribute(:accent2, RubyXL::ST_ColorSchemeIndex, :required => true)
1334
+ define_attribute(:accent3, RubyXL::ST_ColorSchemeIndex, :required => true)
1335
+ define_attribute(:accent4, RubyXL::ST_ColorSchemeIndex, :required => true)
1336
+ define_attribute(:accent5, RubyXL::ST_ColorSchemeIndex, :required => true)
1337
+ define_attribute(:accent6, RubyXL::ST_ColorSchemeIndex, :required => true)
1338
+ define_attribute(:hlink, RubyXL::ST_ColorSchemeIndex, :required => true)
1339
+ define_attribute(:golHlink, RubyXL::ST_ColorSchemeIndex, :required => true)
1340
+ define_element_name 'a:clrMap'
1341
+ end
1342
+
1343
+ # http://www.datypic.com/sc/ooxml/e-a_extraClrScheme-1.html
1344
+ class CT_ColorSchemeAndMapping < OOXMLObject
1345
+ define_child_node(RubyXL::CT_ColorScheme)
1346
+ define_child_node(RubyXL::CT_ColorMapping)
1347
+ define_element_name 'a:extraClrScheme'
1348
+ end
1349
+
1350
+ # http://www.datypic.com/sc/ooxml/e-a_extraClrSchemeLst-1.html
1351
+ class ExtraColorSchemeList < OOXMLContainerObject
1352
+ define_child_node(RubyXL::CT_ColorSchemeAndMapping, :collection => [0..-1])
1353
+ define_element_name 'a:extraClrSchemeLst'
1354
+ end
1355
+
1356
+ # http://www.datypic.com/sc/ooxml/e-a_custClr-1.html
1357
+ class CustomColor < OOXMLObject
1358
+ define_child_node(RubyXL::CT_ScRgbColor)
1359
+ define_child_node(RubyXL::CT_SRgbColor)
1360
+ define_child_node(RubyXL::CT_HslColor)
1361
+ define_child_node(RubyXL::CT_SystemColor)
1362
+ define_child_node(RubyXL::CT_SchemeColor)
1363
+ define_child_node(RubyXL::CT_PresetColor)
1364
+ define_attribute(:name, :string, :default => '')
1365
+ define_element_name 'a:custClr'
1366
+ end
1367
+
1368
+ # http://www.datypic.com/sc/ooxml/e-a_custClrLst-1.html
1369
+ class CustomColorList < OOXMLContainerObject
1370
+ define_child_node(RubyXL::CustomColor, :collection => [0..-1])
1371
+ define_element_name 'a:custClrLst'
1372
+ end
1373
+
1374
+ # http://www.datypic.com/sc/ooxml/e-a_theme.html
1375
+ class Theme < OOXMLTopLevelObject
1376
+ CONTENT_TYPE = 'application/vnd.openxmlformats-officedocument.theme+xml'
1377
+ REL_TYPE = 'http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme'
1378
+
1379
+ define_attribute(:name, :string, :default => '')
1380
+ define_child_node(RubyXL::ThemeElements)
1381
+ define_child_node(RubyXL::CT_ObjectStyleDefaults)
1382
+ define_child_node(RubyXL::ExtraColorSchemeList)
1383
+ define_child_node(RubyXL::CustomColorList)
1384
+ define_child_node(RubyXL::AExtensionStorageArea)
1385
+
1386
+ define_element_name 'a:theme'
1387
+
1388
+ set_namespaces('http://schemas.openxmlformats.org/drawingml/2006/main' => 'a')
1389
+
1390
+ def xlsx_path
1391
+ ROOT.join('xl', 'theme', 'theme1.xml')
1392
+ end
1393
+
1394
+ def self.default
1395
+ default_theme = '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
1396
+ <a:theme xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" name="Office Theme">
1397
+ <a:themeElements>
1398
+ <a:clrScheme name="Office">
1399
+ <a:dk1>
1400
+ <a:sysClr val="windowText" lastClr="000000"/>
1401
+ </a:dk1>
1402
+ <a:lt1>
1403
+ <a:sysClr val="window" lastClr="FFFFFF"/>
1404
+ </a:lt1>
1405
+ <a:dk2>
1406
+ <a:srgbClr val="1F497D"/>
1407
+ </a:dk2>
1408
+ <a:lt2>
1409
+ <a:srgbClr val="EEECE1"/>
1410
+ </a:lt2>
1411
+ <a:accent1>
1412
+ <a:srgbClr val="4F81BD"/>
1413
+ </a:accent1>
1414
+ <a:accent2>
1415
+ <a:srgbClr val="C0504D"/>
1416
+ </a:accent2>
1417
+ <a:accent3>
1418
+ <a:srgbClr val="9BBB59"/>
1419
+ </a:accent3>
1420
+ <a:accent4>
1421
+ <a:srgbClr val="8064A2"/>
1422
+ </a:accent4>
1423
+ <a:accent5>
1424
+ <a:srgbClr val="4BACC6"/>
1425
+ </a:accent5>
1426
+ <a:accent6>
1427
+ <a:srgbClr val="F79646"/>
1428
+ </a:accent6>
1429
+ <a:hlink>
1430
+ <a:srgbClr val="0000FF"/>
1431
+ </a:hlink>
1432
+ <a:folHlink>
1433
+ <a:srgbClr val="800080"/>
1434
+ </a:folHlink>
1435
+ </a:clrScheme>
1436
+ <a:fontScheme name="Office">
1437
+ <a:majorFont>
1438
+ <a:latin typeface="Cambria"/>
1439
+ <a:ea typeface=""/>
1440
+ <a:cs typeface=""/>
1441
+ <a:font script="Jpan" typeface="MS Pゴシック"/>
1442
+ <a:font script="Hang" typeface="맑은 고딕"/>
1443
+ <a:font script="Hans" typeface="宋体"/>
1444
+ <a:font script="Hant" typeface="新細明體"/>
1445
+ <a:font script="Arab" typeface="Times New Roman"/>
1446
+ <a:font script="Hebr" typeface="Times New Roman"/>
1447
+ <a:font script="Thai" typeface="Tahoma"/>
1448
+ <a:font script="Ethi" typeface="Nyala"/>
1449
+ <a:font script="Beng" typeface="Vrinda"/>
1450
+ <a:font script="Gujr" typeface="Shruti"/>
1451
+ <a:font script="Khmr" typeface="MoolBoran"/>
1452
+ <a:font script="Knda" typeface="Tunga"/>
1453
+ <a:font script="Guru" typeface="Raavi"/>
1454
+ <a:font script="Cans" typeface="Euphemia"/>
1455
+ <a:font script="Cher" typeface="Plantagenet Cherokee"/>
1456
+ <a:font script="Yiii" typeface="Microsoft Yi Baiti"/>
1457
+ <a:font script="Tibt" typeface="Microsoft Himalaya"/>
1458
+ <a:font script="Thaa" typeface="MV Boli"/>
1459
+ <a:font script="Deva" typeface="Mangal"/>
1460
+ <a:font script="Telu" typeface="Gautami"/>
1461
+ <a:font script="Taml" typeface="Latha"/>
1462
+ <a:font script="Syrc" typeface="Estrangelo Edessa"/>
1463
+ <a:font script="Orya" typeface="Kalinga"/>
1464
+ <a:font script="Mlym" typeface="Kartika"/>
1465
+ <a:font script="Laoo" typeface="DokChampa"/>
1466
+ <a:font script="Sinh" typeface="Iskoola Pota"/>
1467
+ <a:font script="Mong" typeface="Mongolian Baiti"/>
1468
+ <a:font script="Viet" typeface="Times New Roman"/>
1469
+ <a:font script="Uigh" typeface="Microsoft Uighur"/>
1470
+ </a:majorFont>
1471
+ <a:minorFont>
1472
+ <a:latin typeface="Calibri"/>
1473
+ <a:ea typeface=""/>
1474
+ <a:cs typeface=""/>
1475
+ <a:font script="Jpan" typeface="MS Pゴシック"/>
1476
+ <a:font script="Hang" typeface="맑은 고딕"/>
1477
+ <a:font script="Hans" typeface="宋体"/>
1478
+ <a:font script="Hant" typeface="新細明體"/>
1479
+ <a:font script="Arab" typeface="Arial"/>
1480
+ <a:font script="Hebr" typeface="Arial"/>
1481
+ <a:font script="Thai" typeface="Tahoma"/>
1482
+ <a:font script="Ethi" typeface="Nyala"/>
1483
+ <a:font script="Beng" typeface="Vrinda"/>
1484
+ <a:font script="Gujr" typeface="Shruti"/>
1485
+ <a:font script="Khmr" typeface="DaunPenh"/>
1486
+ <a:font script="Knda" typeface="Tunga"/>
1487
+ <a:font script="Guru" typeface="Raavi"/>
1488
+ <a:font script="Cans" typeface="Euphemia"/>
1489
+ <a:font script="Cher" typeface="Plantagenet Cherokee"/>
1490
+ <a:font script="Yiii" typeface="Microsoft Yi Baiti"/>
1491
+ <a:font script="Tibt" typeface="Microsoft Himalaya"/>
1492
+ <a:font script="Thaa" typeface="MV Boli"/>
1493
+ <a:font script="Deva" typeface="Mangal"/>
1494
+ <a:font script="Telu" typeface="Gautami"/>
1495
+ <a:font script="Taml" typeface="Latha"/>
1496
+ <a:font script="Syrc" typeface="Estrangelo Edessa"/>
1497
+ <a:font script="Orya" typeface="Kalinga"/>
1498
+ <a:font script="Mlym" typeface="Kartika"/>
1499
+ <a:font script="Laoo" typeface="DokChampa"/>
1500
+ <a:font script="Sinh" typeface="Iskoola Pota"/>
1501
+ <a:font script="Mong" typeface="Mongolian Baiti"/>
1502
+ <a:font script="Viet" typeface="Arial"/>
1503
+ <a:font script="Uigh" typeface="Microsoft Uighur"/>
1504
+ </a:minorFont>
1505
+ </a:fontScheme>
1506
+ <a:fmtScheme name="Office">
1507
+ <a:fillStyleLst>
1508
+ <a:solidFill>
1509
+ <a:schemeClr val="phClr"/>
1510
+ </a:solidFill>
1511
+ <a:gradFill rotWithShape="1">
1512
+ <a:gsLst>
1513
+ <a:gs pos="0">
1514
+ <a:schemeClr val="phClr">
1515
+ <a:tint val="50000"/>
1516
+ <a:satMod val="300000"/>
1517
+ </a:schemeClr>
1518
+ </a:gs>
1519
+ <a:gs pos="35000">
1520
+ <a:schemeClr val="phClr">
1521
+ <a:tint val="37000"/>
1522
+ <a:satMod val="300000"/>
1523
+ </a:schemeClr>
1524
+ </a:gs>
1525
+ <a:gs pos="100000">
1526
+ <a:schemeClr val="phClr">
1527
+ <a:tint val="15000"/>
1528
+ <a:satMod val="350000"/>
1529
+ </a:schemeClr>
1530
+ </a:gs>
1531
+ </a:gsLst>
1532
+ <a:lin ang="16200000" scaled="1"/>
1533
+ </a:gradFill>
1534
+ <a:gradFill rotWithShape="1">
1535
+ <a:gsLst>
1536
+ <a:gs pos="0">
1537
+ <a:schemeClr val="phClr">
1538
+ <a:tint val="100000"/>
1539
+ <a:shade val="100000"/>
1540
+ <a:satMod val="130000"/>
1541
+ </a:schemeClr>
1542
+ </a:gs>
1543
+ <a:gs pos="100000">
1544
+ <a:schemeClr val="phClr">
1545
+ <a:tint val="50000"/>
1546
+ <a:shade val="100000"/>
1547
+ <a:satMod val="350000"/>
1548
+ </a:schemeClr>
1549
+ </a:gs>
1550
+ </a:gsLst>
1551
+ <a:lin ang="16200000" scaled="0"/>
1552
+ </a:gradFill>
1553
+ </a:fillStyleLst>
1554
+ <a:lnStyleLst>
1555
+ <a:ln w="9525" cap="flat" cmpd="sng" algn="ctr">
1556
+ <a:solidFill>
1557
+ <a:schemeClr val="phClr">
1558
+ <a:shade val="95000"/>
1559
+ <a:satMod val="105000"/>
1560
+ </a:schemeClr>
1561
+ </a:solidFill>
1562
+ <a:prstDash val="solid"/>
1563
+ </a:ln>
1564
+ <a:ln w="25400" cap="flat" cmpd="sng" algn="ctr">
1565
+ <a:solidFill>
1566
+ <a:schemeClr val="phClr"/>
1567
+ </a:solidFill>
1568
+ <a:prstDash val="solid"/>
1569
+ </a:ln>
1570
+ <a:ln w="38100" cap="flat" cmpd="sng" algn="ctr">
1571
+ <a:solidFill>
1572
+ <a:schemeClr val="phClr"/>
1573
+ </a:solidFill>
1574
+ <a:prstDash val="solid"/>
1575
+ </a:ln>
1576
+ </a:lnStyleLst>
1577
+ <a:effectStyleLst>
1578
+ <a:effectStyle>
1579
+ <a:effectLst>
1580
+ <a:outerShdw blurRad="40000" dist="20000" dir="5400000" rotWithShape="0">
1581
+ <a:srgbClr val="000000">
1582
+ <a:alpha val="38000"/>
1583
+ </a:srgbClr>
1584
+ </a:outerShdw>
1585
+ </a:effectLst>
1586
+ </a:effectStyle>
1587
+ <a:effectStyle>
1588
+ <a:effectLst>
1589
+ <a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0">
1590
+ <a:srgbClr val="000000">
1591
+ <a:alpha val="35000"/>
1592
+ </a:srgbClr>
1593
+ </a:outerShdw>
1594
+ </a:effectLst>
1595
+ </a:effectStyle>
1596
+ <a:effectStyle>
1597
+ <a:effectLst>
1598
+ <a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0">
1599
+ <a:srgbClr val="000000">
1600
+ <a:alpha val="35000"/>
1601
+ </a:srgbClr>
1602
+ </a:outerShdw>
1603
+ </a:effectLst>
1604
+ <a:scene3d>
1605
+ <a:camera prst="orthographicFront">
1606
+ <a:rot lat="0" lon="0" rev="0"/>
1607
+ </a:camera>
1608
+ <a:lightRig rig="threePt" dir="t">
1609
+ <a:rot lat="0" lon="0" rev="1200000"/>
1610
+ </a:lightRig>
1611
+ </a:scene3d>
1612
+ <a:sp3d>
1613
+ <a:bevelT w="63500" h="25400"/>
1614
+ </a:sp3d>
1615
+ </a:effectStyle>
1616
+ </a:effectStyleLst>
1617
+ <a:bgFillStyleLst>
1618
+ <a:solidFill>
1619
+ <a:schemeClr val="phClr"/>
1620
+ </a:solidFill>
1621
+ <a:gradFill rotWithShape="1">
1622
+ <a:gsLst>
1623
+ <a:gs pos="0">
1624
+ <a:schemeClr val="phClr">
1625
+ <a:tint val="40000"/>
1626
+ <a:satMod val="350000"/>
1627
+ </a:schemeClr>
1628
+ </a:gs>
1629
+ <a:gs pos="40000">
1630
+ <a:schemeClr val="phClr">
1631
+ <a:tint val="45000"/>
1632
+ <a:shade val="99000"/>
1633
+ <a:satMod val="350000"/>
1634
+ </a:schemeClr>
1635
+ </a:gs>
1636
+ <a:gs pos="100000">
1637
+ <a:schemeClr val="phClr">
1638
+ <a:shade val="20000"/>
1639
+ <a:satMod val="255000"/>
1640
+ </a:schemeClr>
1641
+ </a:gs>
1642
+ </a:gsLst>
1643
+ <a:path path="circle">
1644
+ <a:fillToRect l="50000" t="-80000" r="50000" b="180000"/>
1645
+ </a:path>
1646
+ </a:gradFill>
1647
+ <a:gradFill rotWithShape="1">
1648
+ <a:gsLst>
1649
+ <a:gs pos="0">
1650
+ <a:schemeClr val="phClr">
1651
+ <a:tint val="80000"/>
1652
+ <a:satMod val="300000"/>
1653
+ </a:schemeClr>
1654
+ </a:gs>
1655
+ <a:gs pos="100000">
1656
+ <a:schemeClr val="phClr">
1657
+ <a:shade val="30000"/>
1658
+ <a:satMod val="200000"/>
1659
+ </a:schemeClr>
1660
+ </a:gs>
1661
+ </a:gsLst>
1662
+ <a:path path="circle">
1663
+ <a:fillToRect l="50000" t="50000" r="50000" b="50000"/>
1664
+ </a:path>
1665
+ </a:gradFill>
1666
+ </a:bgFillStyleLst>
1667
+ </a:fmtScheme>
1668
+ </a:themeElements>
1669
+ <a:objectDefaults>
1670
+ <a:spDef>
1671
+ <a:spPr/>
1672
+ <a:bodyPr/>
1673
+ <a:lstStyle/>
1674
+ <a:style>
1675
+ <a:lnRef idx="1">
1676
+ <a:schemeClr val="accent1"/>
1677
+ </a:lnRef>
1678
+ <a:fillRef idx="3">
1679
+ <a:schemeClr val="accent1"/>
1680
+ </a:fillRef>
1681
+ <a:effectRef idx="2">
1682
+ <a:schemeClr val="accent1"/>
1683
+ </a:effectRef>
1684
+ <a:fontRef idx="minor">
1685
+ <a:schemeClr val="lt1"/>
1686
+ </a:fontRef>
1687
+ </a:style>
1688
+ </a:spDef>
1689
+ <a:lnDef>
1690
+ <a:spPr/>
1691
+ <a:bodyPr/>
1692
+ <a:lstStyle/>
1693
+ <a:style>
1694
+ <a:lnRef idx="2">
1695
+ <a:schemeClr val="accent1"/>
1696
+ </a:lnRef>
1697
+ <a:fillRef idx="0">
1698
+ <a:schemeClr val="accent1"/>
1699
+ </a:fillRef>
1700
+ <a:effectRef idx="1">
1701
+ <a:schemeClr val="accent1"/>
1702
+ </a:effectRef>
1703
+ <a:fontRef idx="minor">
1704
+ <a:schemeClr val="tx1"/>
1705
+ </a:fontRef>
1706
+ </a:style>
1707
+ </a:lnDef>
1708
+ </a:objectDefaults>
1709
+ <a:extraClrSchemeLst/>
1710
+ </a:theme>'
1711
+ self.parse(default_theme)
1712
+ end
1713
+
1714
+ end
1715
+
1716
+ end