rubyXL 3.4.38 → 3.4.41

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 (444) hide show
  1. checksums.yaml +4 -4
  2. data/README.rdoc +3 -4
  3. data/Rakefile +124 -26
  4. data/VERSION +1 -1
  5. data/bin/console +10 -0
  6. data/bin/setup +3 -0
  7. data/lib/rubyXL/cell.rb +2 -2
  8. data/lib/rubyXL/convenience_methods/cell.rb +17 -7
  9. data/lib/rubyXL/convenience_methods/worksheet.rb +41 -30
  10. data/lib/rubyXL/objects/border.rb +9 -6
  11. data/lib/rubyXL/objects/cell_style.rb +2 -0
  12. data/lib/rubyXL/objects/color.rb +3 -1
  13. data/lib/rubyXL/objects/container_nodes.rb +2 -0
  14. data/lib/rubyXL/objects/fill.rb +2 -0
  15. data/lib/rubyXL/objects/font.rb +2 -0
  16. data/lib/rubyXL/objects/ooxml_object.rb +16 -16
  17. data/lib/rubyXL/objects/reference.rb +38 -33
  18. data/lib/rubyXL/objects/root.rb +8 -1
  19. data/lib/rubyXL/objects/sheet_data.rb +10 -2
  20. data/lib/rubyXL/objects/simple_types.rb +101 -98
  21. data/lib/rubyXL/objects/text.rb +6 -1
  22. data/lib/rubyXL/objects/workbook.rb +5 -5
  23. data/lib/rubyXL/objects/worksheet.rb +23 -4
  24. data/lib/rubyXL/version.rb +3 -0
  25. data/lib/rubyXL/worksheet.rb +5 -17
  26. data/lib/rubyXL.rb +1 -0
  27. data/rubyXL.gemspec +11 -480
  28. metadata +50 -424
  29. data/.circleci/config.yml +0 -71
  30. data/.codeclimate.yml +0 -3
  31. data/.rubocop.yml +0 -124
  32. data/CHANGELOG.md +0 -12
  33. data/Gemfile +0 -20
  34. data/rdoc/README_rdoc.html +0 -871
  35. data/rdoc/RubyXL/AExtension.html +0 -703
  36. data/rdoc/RubyXL/AExtensionStorageArea.html +0 -543
  37. data/rdoc/RubyXL/ActiveX.html +0 -654
  38. data/rdoc/RubyXL/ActiveXBinary.html +0 -560
  39. data/rdoc/RubyXL/AdjustHandleList.html +0 -539
  40. data/rdoc/RubyXL/Alignment.html +0 -539
  41. data/rdoc/RubyXL/AlternateContent.html +0 -543
  42. data/rdoc/RubyXL/AlternateUrls.html +0 -539
  43. data/rdoc/RubyXL/Authors.html +0 -539
  44. data/rdoc/RubyXL/AutoFilter.html +0 -539
  45. data/rdoc/RubyXL/AutoFilterColumn.html +0 -539
  46. data/rdoc/RubyXL/BinaryImageFile.html +0 -568
  47. data/rdoc/RubyXL/BodyProperties.html +0 -539
  48. data/rdoc/RubyXL/BooleanNode.html +0 -543
  49. data/rdoc/RubyXL/BooleanValue.html +0 -543
  50. data/rdoc/RubyXL/Border.html +0 -758
  51. data/rdoc/RubyXL/BorderEdge.html +0 -656
  52. data/rdoc/RubyXL/Borders.html +0 -608
  53. data/rdoc/RubyXL/Break.html +0 -539
  54. data/rdoc/RubyXL/BreakList.html +0 -539
  55. data/rdoc/RubyXL/CT_AdjPoint2D.html +0 -539
  56. data/rdoc/RubyXL/CT_AlphaBiLevelEffect.html +0 -539
  57. data/rdoc/RubyXL/CT_AlphaModulateEffect.html +0 -539
  58. data/rdoc/RubyXL/CT_AlphaModulateFixedEffect.html +0 -539
  59. data/rdoc/RubyXL/CT_AlphaOutsetEffect.html +0 -539
  60. data/rdoc/RubyXL/CT_AlphaReplaceEffect.html +0 -539
  61. data/rdoc/RubyXL/CT_Backdrop.html +0 -539
  62. data/rdoc/RubyXL/CT_Bevel.html +0 -539
  63. data/rdoc/RubyXL/CT_BiLevelEffect.html +0 -539
  64. data/rdoc/RubyXL/CT_BlendEffect.html +0 -539
  65. data/rdoc/RubyXL/CT_Blip.html +0 -539
  66. data/rdoc/RubyXL/CT_BlipFillProperties.html +0 -539
  67. data/rdoc/RubyXL/CT_BlurEffect.html +0 -539
  68. data/rdoc/RubyXL/CT_Camera.html +0 -539
  69. data/rdoc/RubyXL/CT_Color.html +0 -539
  70. data/rdoc/RubyXL/CT_ColorChangeEffect.html +0 -539
  71. data/rdoc/RubyXL/CT_ColorMapping.html +0 -539
  72. data/rdoc/RubyXL/CT_ColorScheme.html +0 -539
  73. data/rdoc/RubyXL/CT_ColorSchemeAndMapping.html +0 -539
  74. data/rdoc/RubyXL/CT_ConnectionSite.html +0 -539
  75. data/rdoc/RubyXL/CT_ConnectionSiteList.html +0 -539
  76. data/rdoc/RubyXL/CT_DashStop.html +0 -539
  77. data/rdoc/RubyXL/CT_DashStopList.html +0 -539
  78. data/rdoc/RubyXL/CT_DefaultShapeDefinition.html +0 -539
  79. data/rdoc/RubyXL/CT_DuotoneEffect.html +0 -539
  80. data/rdoc/RubyXL/CT_EffectContainer.html +0 -539
  81. data/rdoc/RubyXL/CT_EffectList.html +0 -539
  82. data/rdoc/RubyXL/CT_EffectReference.html +0 -539
  83. data/rdoc/RubyXL/CT_EffectStyleItem.html +0 -539
  84. data/rdoc/RubyXL/CT_EffectStyleList.html +0 -539
  85. data/rdoc/RubyXL/CT_EmbeddedWAVAudioFile.html +0 -539
  86. data/rdoc/RubyXL/CT_FillEffect.html +0 -539
  87. data/rdoc/RubyXL/CT_FillOverlayEffect.html +0 -539
  88. data/rdoc/RubyXL/CT_FillStyleList.html +0 -539
  89. data/rdoc/RubyXL/CT_FlatText.html +0 -539
  90. data/rdoc/RubyXL/CT_FontCollection.html +0 -539
  91. data/rdoc/RubyXL/CT_FontReference.html +0 -539
  92. data/rdoc/RubyXL/CT_GeomGuideList.html +0 -539
  93. data/rdoc/RubyXL/CT_GlowEffect.html +0 -539
  94. data/rdoc/RubyXL/CT_GradientFillProperties.html +0 -539
  95. data/rdoc/RubyXL/CT_GradientStop.html +0 -539
  96. data/rdoc/RubyXL/CT_GradientStopList.html +0 -539
  97. data/rdoc/RubyXL/CT_HSLEffect.html +0 -539
  98. data/rdoc/RubyXL/CT_HslColor.html +0 -539
  99. data/rdoc/RubyXL/CT_Hyperlink.html +0 -539
  100. data/rdoc/RubyXL/CT_InnerShadowEffect.html +0 -539
  101. data/rdoc/RubyXL/CT_LightRig.html +0 -539
  102. data/rdoc/RubyXL/CT_LineEndProperties.html +0 -539
  103. data/rdoc/RubyXL/CT_LineJoinMiterProperties.html +0 -539
  104. data/rdoc/RubyXL/CT_LineProperties.html +0 -539
  105. data/rdoc/RubyXL/CT_LineStyleList.html +0 -539
  106. data/rdoc/RubyXL/CT_LinearShadeProperties.html +0 -539
  107. data/rdoc/RubyXL/CT_LuminanceEffect.html +0 -539
  108. data/rdoc/RubyXL/CT_ObjectStyleDefaults.html +0 -539
  109. data/rdoc/RubyXL/CT_OuterShadowEffect.html +0 -539
  110. data/rdoc/RubyXL/CT_Path2D.html +0 -539
  111. data/rdoc/RubyXL/CT_Path2DArcTo.html +0 -539
  112. data/rdoc/RubyXL/CT_Path2DCubicBezierTo.html +0 -539
  113. data/rdoc/RubyXL/CT_Path2DList.html +0 -539
  114. data/rdoc/RubyXL/CT_Path2DQuadBezierTo.html +0 -539
  115. data/rdoc/RubyXL/CT_Path2DTo.html +0 -539
  116. data/rdoc/RubyXL/CT_PathShadeProperties.html +0 -539
  117. data/rdoc/RubyXL/CT_PatternFillProperties.html +0 -539
  118. data/rdoc/RubyXL/CT_Point3D.html +0 -539
  119. data/rdoc/RubyXL/CT_PolarAdjustHandle.html +0 -539
  120. data/rdoc/RubyXL/CT_PresetColor.html +0 -539
  121. data/rdoc/RubyXL/CT_PresetLineDashProperties.html +0 -539
  122. data/rdoc/RubyXL/CT_PresetShadowEffect.html +0 -539
  123. data/rdoc/RubyXL/CT_PresetTextShape.html +0 -539
  124. data/rdoc/RubyXL/CT_ReflectionEffect.html +0 -539
  125. data/rdoc/RubyXL/CT_RelativeOffsetEffect.html +0 -539
  126. data/rdoc/RubyXL/CT_RelativeRect.html +0 -539
  127. data/rdoc/RubyXL/CT_SRgbColor.html +0 -539
  128. data/rdoc/RubyXL/CT_ScRgbColor.html +0 -539
  129. data/rdoc/RubyXL/CT_Scene3D.html +0 -539
  130. data/rdoc/RubyXL/CT_SchemeColor.html +0 -539
  131. data/rdoc/RubyXL/CT_Shape3D.html +0 -539
  132. data/rdoc/RubyXL/CT_ShapeStyle.html +0 -539
  133. data/rdoc/RubyXL/CT_SoftEdgesEffect.html +0 -539
  134. data/rdoc/RubyXL/CT_SphereCoords.html +0 -539
  135. data/rdoc/RubyXL/CT_StretchInfoProperties.html +0 -539
  136. data/rdoc/RubyXL/CT_StyleMatrix.html +0 -539
  137. data/rdoc/RubyXL/CT_StyleMatrixReference.html +0 -539
  138. data/rdoc/RubyXL/CT_SupplementalFont.html +0 -539
  139. data/rdoc/RubyXL/CT_SystemColor.html +0 -539
  140. data/rdoc/RubyXL/CT_TextAutonumberBullet.html +0 -539
  141. data/rdoc/RubyXL/CT_TextBlipBullet.html +0 -539
  142. data/rdoc/RubyXL/CT_TextCharBullet.html +0 -539
  143. data/rdoc/RubyXL/CT_TextCharacterProperties.html +0 -539
  144. data/rdoc/RubyXL/CT_TextFont.html +0 -539
  145. data/rdoc/RubyXL/CT_TextListStyle.html +0 -539
  146. data/rdoc/RubyXL/CT_TextNormalAutofit.html +0 -539
  147. data/rdoc/RubyXL/CT_TextParagraphProperties.html +0 -539
  148. data/rdoc/RubyXL/CT_TextSpacing.html +0 -539
  149. data/rdoc/RubyXL/CT_TextTabStop.html +0 -539
  150. data/rdoc/RubyXL/CT_TextTabStopList.html +0 -539
  151. data/rdoc/RubyXL/CT_TileInfoProperties.html +0 -539
  152. data/rdoc/RubyXL/CT_TintEffect.html +0 -539
  153. data/rdoc/RubyXL/CT_Transform2D.html +0 -539
  154. data/rdoc/RubyXL/CT_TransformEffect.html +0 -539
  155. data/rdoc/RubyXL/CT_Vector3D.html +0 -539
  156. data/rdoc/RubyXL/CT_XYAdjustHandle.html +0 -539
  157. data/rdoc/RubyXL/CalculationChain.html +0 -633
  158. data/rdoc/RubyXL/CalculationChainCell.html +0 -539
  159. data/rdoc/RubyXL/CalculationProperties.html +0 -539
  160. data/rdoc/RubyXL/Cell.html +0 -1315
  161. data/rdoc/RubyXL/CellConvenienceMethods.html +0 -2290
  162. data/rdoc/RubyXL/CellExt.html +0 -539
  163. data/rdoc/RubyXL/CellSmartTag.html +0 -539
  164. data/rdoc/RubyXL/CellSmartTagProperty.html +0 -539
  165. data/rdoc/RubyXL/CellSmartTags.html +0 -539
  166. data/rdoc/RubyXL/CellStyle.html +0 -539
  167. data/rdoc/RubyXL/CellStyleXFs.html +0 -608
  168. data/rdoc/RubyXL/CellStyles.html +0 -608
  169. data/rdoc/RubyXL/CellValue.html +0 -609
  170. data/rdoc/RubyXL/CellWatch.html +0 -539
  171. data/rdoc/RubyXL/CellWatches.html +0 -539
  172. data/rdoc/RubyXL/CellXFs.html +0 -609
  173. data/rdoc/RubyXL/ChartColorsFile.html +0 -568
  174. data/rdoc/RubyXL/ChartFile.html +0 -664
  175. data/rdoc/RubyXL/ChartStyleFile.html +0 -568
  176. data/rdoc/RubyXL/ChartUserShapesFile.html +0 -568
  177. data/rdoc/RubyXL/Chartsheet.html +0 -743
  178. data/rdoc/RubyXL/ChartsheetPageSetup.html +0 -539
  179. data/rdoc/RubyXL/ChartsheetProperties.html +0 -539
  180. data/rdoc/RubyXL/ChartsheetProtection.html +0 -539
  181. data/rdoc/RubyXL/ChartsheetView.html +0 -539
  182. data/rdoc/RubyXL/ChartsheetViews.html +0 -539
  183. data/rdoc/RubyXL/Color.html +0 -629
  184. data/rdoc/RubyXL/ColorConvenienceClasses/HlsColor.html +0 -774
  185. data/rdoc/RubyXL/ColorConvenienceClasses/RgbColor.html +0 -845
  186. data/rdoc/RubyXL/ColorConvenienceClasses.html +0 -528
  187. data/rdoc/RubyXL/ColorConvenienceMethods.html +0 -606
  188. data/rdoc/RubyXL/ColorFilter.html +0 -539
  189. data/rdoc/RubyXL/ColorScale.html +0 -539
  190. data/rdoc/RubyXL/ColorSet.html +0 -539
  191. data/rdoc/RubyXL/Colors.html +0 -539
  192. data/rdoc/RubyXL/ColumnRange.html +0 -786
  193. data/rdoc/RubyXL/ColumnRanges.html +0 -773
  194. data/rdoc/RubyXL/Comment.html +0 -539
  195. data/rdoc/RubyXL/CommentList.html +0 -539
  196. data/rdoc/RubyXL/CommentsFile.html +0 -657
  197. data/rdoc/RubyXL/ConditionalFormatValue.html +0 -539
  198. data/rdoc/RubyXL/ConditionalFormatting.html +0 -539
  199. data/rdoc/RubyXL/ConditionalFormattingRule.html +0 -539
  200. data/rdoc/RubyXL/Connection.html +0 -539
  201. data/rdoc/RubyXL/ConnectionTable.html +0 -539
  202. data/rdoc/RubyXL/ConnectionTables.html +0 -539
  203. data/rdoc/RubyXL/ConnectionTextField.html +0 -539
  204. data/rdoc/RubyXL/ConnectionTextFields.html +0 -539
  205. data/rdoc/RubyXL/Connections.html +0 -633
  206. data/rdoc/RubyXL/ContentTypeDefault.html +0 -543
  207. data/rdoc/RubyXL/ContentTypeOverride.html +0 -543
  208. data/rdoc/RubyXL/ContentTypes.html +0 -721
  209. data/rdoc/RubyXL/ControlPropertiesFile.html +0 -568
  210. data/rdoc/RubyXL/CorePropertiesFile.html +0 -1013
  211. data/rdoc/RubyXL/CustomColor.html +0 -539
  212. data/rdoc/RubyXL/CustomColorList.html +0 -539
  213. data/rdoc/RubyXL/CustomFilter.html +0 -539
  214. data/rdoc/RubyXL/CustomFilters.html +0 -539
  215. data/rdoc/RubyXL/CustomGeometry.html +0 -539
  216. data/rdoc/RubyXL/CustomProperties.html +0 -539
  217. data/rdoc/RubyXL/CustomPropertiesFile.html +0 -568
  218. data/rdoc/RubyXL/CustomProperty.html +0 -539
  219. data/rdoc/RubyXL/CustomPropertyFile.html +0 -568
  220. data/rdoc/RubyXL/CustomSheetView.html +0 -539
  221. data/rdoc/RubyXL/CustomSheetViews.html +0 -539
  222. data/rdoc/RubyXL/CustomWorkbookView.html +0 -539
  223. data/rdoc/RubyXL/CustomWorkbookViews.html +0 -539
  224. data/rdoc/RubyXL/CustomXMLFile.html +0 -560
  225. data/rdoc/RubyXL/DXF.html +0 -539
  226. data/rdoc/RubyXL/DXFs.html +0 -539
  227. data/rdoc/RubyXL/DataBar.html +0 -539
  228. data/rdoc/RubyXL/DataConsolidate.html +0 -539
  229. data/rdoc/RubyXL/DataConsolidationReference.html +0 -539
  230. data/rdoc/RubyXL/DataConsolidationReferences.html +0 -539
  231. data/rdoc/RubyXL/DataType.html +0 -589
  232. data/rdoc/RubyXL/DataValidation.html +0 -539
  233. data/rdoc/RubyXL/DataValidations.html +0 -539
  234. data/rdoc/RubyXL/DateGroupItem.html +0 -539
  235. data/rdoc/RubyXL/DefinedName.html +0 -539
  236. data/rdoc/RubyXL/DefinedNameExt.html +0 -539
  237. data/rdoc/RubyXL/DefinedNames.html +0 -616
  238. data/rdoc/RubyXL/DefinedNamesExt.html +0 -539
  239. data/rdoc/RubyXL/DocumentPropertiesFile.html +0 -725
  240. data/rdoc/RubyXL/DrawingFile.html +0 -663
  241. data/rdoc/RubyXL/DynamicFilter.html +0 -539
  242. data/rdoc/RubyXL/EmbeddedControl.html +0 -539
  243. data/rdoc/RubyXL/EmbeddedControls.html +0 -539
  244. data/rdoc/RubyXL/Extension.html +0 -539
  245. data/rdoc/RubyXL/ExtensionStorageArea.html +0 -539
  246. data/rdoc/RubyXL/Extents.html +0 -539
  247. data/rdoc/RubyXL/ExternalBook.html +0 -539
  248. data/rdoc/RubyXL/ExternalLinksFile.html +0 -659
  249. data/rdoc/RubyXL/ExternalReference.html +0 -539
  250. data/rdoc/RubyXL/ExternalReferences.html +0 -539
  251. data/rdoc/RubyXL/ExtraColorSchemeList.html +0 -539
  252. data/rdoc/RubyXL/FieldItem.html +0 -539
  253. data/rdoc/RubyXL/FileRecoveryProperties.html +0 -539
  254. data/rdoc/RubyXL/FileSharing.html +0 -539
  255. data/rdoc/RubyXL/FileVersion.html +0 -539
  256. data/rdoc/RubyXL/Fill.html +0 -608
  257. data/rdoc/RubyXL/Fills.html +0 -608
  258. data/rdoc/RubyXL/FilterContainer.html +0 -539
  259. data/rdoc/RubyXL/FloatNode.html +0 -543
  260. data/rdoc/RubyXL/FloatValue.html +0 -543
  261. data/rdoc/RubyXL/Font.html +0 -626
  262. data/rdoc/RubyXL/FontConvenienceMethods.html +0 -1169
  263. data/rdoc/RubyXL/FontScheme.html +0 -539
  264. data/rdoc/RubyXL/Fonts.html +0 -608
  265. data/rdoc/RubyXL/Formula.html +0 -539
  266. data/rdoc/RubyXL/FunctionGroup.html +0 -539
  267. data/rdoc/RubyXL/FunctionGroups.html +0 -539
  268. data/rdoc/RubyXL/GenericStorageObject.html +0 -803
  269. data/rdoc/RubyXL/GradientFill.html +0 -539
  270. data/rdoc/RubyXL/HeaderFooterSettings.html +0 -539
  271. data/rdoc/RubyXL/Hyperlink.html +0 -539
  272. data/rdoc/RubyXL/HyperlinkRelFile.html +0 -560
  273. data/rdoc/RubyXL/Hyperlinks.html +0 -539
  274. data/rdoc/RubyXL/IconFilter.html +0 -539
  275. data/rdoc/RubyXL/IconSet.html +0 -539
  276. data/rdoc/RubyXL/IgnoredError.html +0 -539
  277. data/rdoc/RubyXL/IgnoredErrors.html +0 -539
  278. data/rdoc/RubyXL/IndexedColors.html +0 -539
  279. data/rdoc/RubyXL/InputCells.html +0 -539
  280. data/rdoc/RubyXL/IntegerNode.html +0 -543
  281. data/rdoc/RubyXL/IntegerValue.html +0 -543
  282. data/rdoc/RubyXL/LegacyCell.html +0 -597
  283. data/rdoc/RubyXL/LegacyWorksheet.html +0 -894
  284. data/rdoc/RubyXL/MRUColors.html +0 -539
  285. data/rdoc/RubyXL/MacrosFile.html +0 -568
  286. data/rdoc/RubyXL/MergedCell.html +0 -539
  287. data/rdoc/RubyXL/MergedCells.html +0 -539
  288. data/rdoc/RubyXL/NumFmt.html +0 -539
  289. data/rdoc/RubyXL/NumberFormat.html +0 -609
  290. data/rdoc/RubyXL/NumberFormats.html +0 -625
  291. data/rdoc/RubyXL/OLEObject.html +0 -539
  292. data/rdoc/RubyXL/OLEObjectFile.html +0 -568
  293. data/rdoc/RubyXL/OLEObjects.html +0 -539
  294. data/rdoc/RubyXL/OLESize.html +0 -539
  295. data/rdoc/RubyXL/OOXMLContainerObject.html +0 -916
  296. data/rdoc/RubyXL/OOXMLIgnored.html +0 -681
  297. data/rdoc/RubyXL/OOXMLObject.html +0 -561
  298. data/rdoc/RubyXL/OOXMLObjectClassMethods.html +0 -1030
  299. data/rdoc/RubyXL/OOXMLObjectInstanceMethods.html +0 -1092
  300. data/rdoc/RubyXL/OOXMLRelationshipsFile.html +0 -1174
  301. data/rdoc/RubyXL/OOXMLTopLevelObject.html +0 -891
  302. data/rdoc/RubyXL/OdbcOleDbProperties.html +0 -539
  303. data/rdoc/RubyXL/Offset.html +0 -539
  304. data/rdoc/RubyXL/OlapProperties.html +0 -539
  305. data/rdoc/RubyXL/OleItem.html +0 -539
  306. data/rdoc/RubyXL/OleItems.html +0 -539
  307. data/rdoc/RubyXL/OleLink.html +0 -539
  308. data/rdoc/RubyXL/OutlineProperties.html +0 -539
  309. data/rdoc/RubyXL/PageMargins.html +0 -539
  310. data/rdoc/RubyXL/PageSetup.html +0 -539
  311. data/rdoc/RubyXL/PageSetupProperties.html +0 -539
  312. data/rdoc/RubyXL/Pane.html +0 -539
  313. data/rdoc/RubyXL/Parser.html +0 -670
  314. data/rdoc/RubyXL/PatternFill.html +0 -539
  315. data/rdoc/RubyXL/PersonMetadata.html +0 -568
  316. data/rdoc/RubyXL/PhoneticProperties.html +0 -539
  317. data/rdoc/RubyXL/PhoneticRun.html +0 -539
  318. data/rdoc/RubyXL/PivotArea.html +0 -539
  319. data/rdoc/RubyXL/PivotCache.html +0 -539
  320. data/rdoc/RubyXL/PivotCacheDefinitionFile.html +0 -590
  321. data/rdoc/RubyXL/PivotCacheRecordsFile.html +0 -568
  322. data/rdoc/RubyXL/PivotCaches.html +0 -539
  323. data/rdoc/RubyXL/PivotReference.html +0 -539
  324. data/rdoc/RubyXL/PivotReferences.html +0 -539
  325. data/rdoc/RubyXL/PivotTableFile.html +0 -590
  326. data/rdoc/RubyXL/PivotTableSelection.html +0 -539
  327. data/rdoc/RubyXL/PresetGeometry.html +0 -539
  328. data/rdoc/RubyXL/PrintOptions.html +0 -539
  329. data/rdoc/RubyXL/PrinterSettingsFile.html +0 -568
  330. data/rdoc/RubyXL/ProtectedRange.html +0 -539
  331. data/rdoc/RubyXL/ProtectedRanges.html +0 -539
  332. data/rdoc/RubyXL/Protection.html +0 -539
  333. data/rdoc/RubyXL/QueryParameter.html +0 -539
  334. data/rdoc/RubyXL/QueryParameters.html +0 -539
  335. data/rdoc/RubyXL/QueryTable.html +0 -655
  336. data/rdoc/RubyXL/QueryTableDeletedField.html +0 -539
  337. data/rdoc/RubyXL/QueryTableDeletedFields.html +0 -539
  338. data/rdoc/RubyXL/QueryTableField.html +0 -539
  339. data/rdoc/RubyXL/QueryTableFields.html +0 -539
  340. data/rdoc/RubyXL/QueryTableRefresh.html +0 -539
  341. data/rdoc/RubyXL/RID.html +0 -543
  342. data/rdoc/RubyXL/RawOOXML.html +0 -703
  343. data/rdoc/RubyXL/Reference.html +0 -1376
  344. data/rdoc/RubyXL/Relationship.html +0 -543
  345. data/rdoc/RubyXL/RelationshipSupport/ClassMehods.html +0 -604
  346. data/rdoc/RubyXL/RelationshipSupport.html +0 -943
  347. data/rdoc/RubyXL/RevisionPointer.html +0 -539
  348. data/rdoc/RubyXL/RichText.html +0 -611
  349. data/rdoc/RubyXL/RichTextRun.html +0 -608
  350. data/rdoc/RubyXL/Row.html +0 -1003
  351. data/rdoc/RubyXL/RowExt.html +0 -539
  352. data/rdoc/RubyXL/RunProperties.html +0 -539
  353. data/rdoc/RubyXL/Scenario.html +0 -539
  354. data/rdoc/RubyXL/Scenarios.html +0 -539
  355. data/rdoc/RubyXL/Selection.html +0 -616
  356. data/rdoc/RubyXL/ShapeGuide.html +0 -539
  357. data/rdoc/RubyXL/ShapeTextRectangle.html +0 -539
  358. data/rdoc/RubyXL/SharedStringsTable.html +0 -952
  359. data/rdoc/RubyXL/Sheet.html +0 -539
  360. data/rdoc/RubyXL/SheetCalculationProperties.html +0 -539
  361. data/rdoc/RubyXL/SheetData.html +0 -652
  362. data/rdoc/RubyXL/SheetDataExt.html +0 -539
  363. data/rdoc/RubyXL/SheetDataSet.html +0 -539
  364. data/rdoc/RubyXL/SheetMetadata.html +0 -568
  365. data/rdoc/RubyXL/SheetName.html +0 -539
  366. data/rdoc/RubyXL/SheetNames.html +0 -539
  367. data/rdoc/RubyXL/Sheets.html +0 -539
  368. data/rdoc/RubyXL/SlicerCacheFile.html +0 -568
  369. data/rdoc/RubyXL/SlicerFile.html +0 -568
  370. data/rdoc/RubyXL/SmartTagProperties.html +0 -539
  371. data/rdoc/RubyXL/SmartTagType.html +0 -539
  372. data/rdoc/RubyXL/SmartTagTypes.html +0 -539
  373. data/rdoc/RubyXL/SmartTags.html +0 -539
  374. data/rdoc/RubyXL/SortCondition.html +0 -539
  375. data/rdoc/RubyXL/SortState.html +0 -539
  376. data/rdoc/RubyXL/Sqref.html +0 -681
  377. data/rdoc/RubyXL/Stop.html +0 -539
  378. data/rdoc/RubyXL/StringNode.html +0 -543
  379. data/rdoc/RubyXL/StringNodeW3C.html +0 -681
  380. data/rdoc/RubyXL/StringValue.html +0 -543
  381. data/rdoc/RubyXL/Stylesheet.html +0 -864
  382. data/rdoc/RubyXL/TableFile.html +0 -568
  383. data/rdoc/RubyXL/TableParts.html +0 -543
  384. data/rdoc/RubyXL/TableStyle.html +0 -539
  385. data/rdoc/RubyXL/TableStyles.html +0 -539
  386. data/rdoc/RubyXL/Text.html +0 -679
  387. data/rdoc/RubyXL/TextImportSettings.html +0 -539
  388. data/rdoc/RubyXL/Theme.html +0 -1077
  389. data/rdoc/RubyXL/ThemeElements.html +0 -539
  390. data/rdoc/RubyXL/ThumbnailFile.html +0 -568
  391. data/rdoc/RubyXL/Top10.html +0 -539
  392. data/rdoc/RubyXL/VMLDrawingFile.html +0 -590
  393. data/rdoc/RubyXL/Variant.html +0 -539
  394. data/rdoc/RubyXL/Vector.html +0 -612
  395. data/rdoc/RubyXL/VectorValue.html +0 -543
  396. data/rdoc/RubyXL/VisualProperties.html +0 -539
  397. data/rdoc/RubyXL/WebPublishObject.html +0 -539
  398. data/rdoc/RubyXL/WebPublishObjects.html +0 -539
  399. data/rdoc/RubyXL/WebPublishingItem.html +0 -539
  400. data/rdoc/RubyXL/WebPublishingItems.html +0 -539
  401. data/rdoc/RubyXL/WebPublishingProperties.html +0 -539
  402. data/rdoc/RubyXL/WebQueryProperties.html +0 -539
  403. data/rdoc/RubyXL/Workbook.html +0 -2085
  404. data/rdoc/RubyXL/WorkbookConvenienceMethods.html +0 -1407
  405. data/rdoc/RubyXL/WorkbookProperties.html +0 -539
  406. data/rdoc/RubyXL/WorkbookProtection.html +0 -539
  407. data/rdoc/RubyXL/WorkbookRoot.html +0 -933
  408. data/rdoc/RubyXL/WorkbookView.html +0 -539
  409. data/rdoc/RubyXL/WorkbookViews.html +0 -539
  410. data/rdoc/RubyXL/Worksheet.html +0 -1090
  411. data/rdoc/RubyXL/WorksheetConvenienceMethods.html +0 -4076
  412. data/rdoc/RubyXL/WorksheetDimensions.html +0 -539
  413. data/rdoc/RubyXL/WorksheetFormatProperties.html +0 -543
  414. data/rdoc/RubyXL/WorksheetProperties.html +0 -539
  415. data/rdoc/RubyXL/WorksheetProtection.html +0 -539
  416. data/rdoc/RubyXL/WorksheetView.html +0 -539
  417. data/rdoc/RubyXL/WorksheetViews.html +0 -539
  418. data/rdoc/RubyXL/XF.html +0 -539
  419. data/rdoc/RubyXL.html +0 -1373
  420. data/rdoc/created.rid +0 -45
  421. data/rdoc/css/rdoc.css +0 -1955
  422. data/rdoc/index.html +0 -455
  423. data/rdoc/js/aliki.js +0 -511
  424. data/rdoc/js/bash_highlighter.js +0 -167
  425. data/rdoc/js/c_highlighter.js +0 -299
  426. data/rdoc/js/search_controller.js +0 -129
  427. data/rdoc/js/search_data.js +0 -1
  428. data/rdoc/js/search_navigation.js +0 -105
  429. data/rdoc/js/search_ranker.js +0 -239
  430. data/rdoc/js/theme-toggle.js +0 -112
  431. data/spec/lib/cell_spec.rb +0 -654
  432. data/spec/lib/color_spec.rb +0 -21
  433. data/spec/lib/parser_spec.rb +0 -118
  434. data/spec/lib/reference_spec.rb +0 -97
  435. data/spec/lib/rgb_color_spec.rb +0 -29
  436. data/spec/lib/stylesheet_spec.rb +0 -27
  437. data/spec/lib/text_spec.rb +0 -27
  438. data/spec/lib/workbook_spec.rb +0 -197
  439. data/spec/lib/worksheet_spec.rb +0 -1769
  440. data/spec/spec_helper.rb +0 -13
  441. data/test/input/.gitkeep +0 -0
  442. data/test/output/.gitkeep +0 -0
  443. data/test/test_parse_write.rb +0 -15
  444. data/tmp/.gitignore +0 -1
@@ -1,299 +0,0 @@
1
- /**
2
- * Client-side C syntax highlighter for RDoc
3
- */
4
-
5
- (function() {
6
- 'use strict';
7
-
8
- // C control flow and storage class keywords
9
- const C_KEYWORDS = new Set([
10
- 'auto', 'break', 'case', 'continue', 'default', 'do', 'else', 'extern',
11
- 'for', 'goto', 'if', 'inline', 'register', 'return', 'sizeof', 'static',
12
- 'switch', 'while',
13
- '_Alignas', '_Alignof', '_Generic', '_Noreturn', '_Static_assert', '_Thread_local'
14
- ]);
15
-
16
- // C type keywords and type qualifiers
17
- const C_TYPE_KEYWORDS = new Set([
18
- 'bool', 'char', 'const', 'double', 'enum', 'float', 'int', 'long',
19
- 'restrict', 'short', 'signed', 'struct', 'typedef', 'union', 'unsigned',
20
- 'void', 'volatile', '_Atomic', '_Bool', '_Complex', '_Imaginary'
21
- ]);
22
-
23
- // Library-defined types (typedef'd in headers, not language keywords)
24
- // Includes: Ruby C API types (VALUE, ID), POSIX types (size_t, ssize_t),
25
- // fixed-width integer types (uint32_t, int64_t), and standard I/O types (FILE)
26
- const C_TYPES = new Set([
27
- 'VALUE', 'ID', 'size_t', 'ssize_t', 'ptrdiff_t', 'uintptr_t', 'intptr_t',
28
- 'uint8_t', 'uint16_t', 'uint32_t', 'uint64_t',
29
- 'int8_t', 'int16_t', 'int32_t', 'int64_t',
30
- 'FILE', 'DIR', 'va_list'
31
- ]);
32
-
33
- // Common Ruby VALUE macros and boolean literals
34
- const RUBY_MACROS = new Set([
35
- 'Qtrue', 'Qfalse', 'Qnil', 'Qundef', 'NULL', 'TRUE', 'FALSE', 'true', 'false'
36
- ]);
37
-
38
- const OPERATORS = new Set([
39
- '==', '!=', '<=', '>=', '&&', '||', '<<', '>>', '++', '--',
40
- '+=', '-=', '*=', '/=', '%=', '&=', '|=', '^=', '->',
41
- '+', '-', '*', '/', '%', '<', '>', '=', '!', '&', '|', '^', '~'
42
- ]);
43
-
44
- // Single character that can start an operator
45
- const OPERATOR_CHARS = new Set('+-*/%<>=!&|^~');
46
-
47
- function isMacro(word) {
48
- return RUBY_MACROS.has(word) || /^[A-Z][A-Z0-9_]*$/.test(word);
49
- }
50
-
51
- function isType(word) {
52
- return C_TYPE_KEYWORDS.has(word) || C_TYPES.has(word) || /_t$/.test(word);
53
- }
54
-
55
- /**
56
- * Escape HTML special characters
57
- */
58
- function escapeHtml(text) {
59
- return text
60
- .replace(/&/g, '&amp;')
61
- .replace(/</g, '&lt;')
62
- .replace(/>/g, '&gt;')
63
- .replace(/"/g, '&quot;')
64
- .replace(/'/g, '&#39;');
65
- }
66
-
67
- /**
68
- * Check if position is at line start (only whitespace before it)
69
- */
70
- function isLineStart(code, pos) {
71
- if (pos === 0) return true;
72
- for (let i = pos - 1; i >= 0; i--) {
73
- const ch = code[i];
74
- if (ch === '\n') return true;
75
- if (ch !== ' ' && ch !== '\t') return false;
76
- }
77
- return true;
78
- }
79
-
80
- /**
81
- * Highlight C source code
82
- */
83
- function highlightC(code) {
84
- const tokens = [];
85
- let i = 0;
86
- const len = code.length;
87
-
88
- while (i < len) {
89
- const char = code[i];
90
-
91
- // Multi-line comment
92
- if (char === '/' && code[i + 1] === '*') {
93
- let end = code.indexOf('*/', i + 2);
94
- end = (end === -1) ? len : end + 2;
95
- const comment = code.substring(i, end);
96
- tokens.push('<span class="c-comment">', escapeHtml(comment), '</span>');
97
- i = end;
98
- continue;
99
- }
100
-
101
- // Single-line comment
102
- if (char === '/' && code[i + 1] === '/') {
103
- const end = code.indexOf('\n', i);
104
- const commentEnd = (end === -1) ? len : end;
105
- const comment = code.substring(i, commentEnd);
106
- tokens.push('<span class="c-comment">', escapeHtml(comment), '</span>');
107
- i = commentEnd;
108
- continue;
109
- }
110
-
111
- // Preprocessor directive (must be at line start)
112
- if (char === '#' && isLineStart(code, i)) {
113
- let end = i + 1;
114
- while (end < len && code[end] !== '\n') {
115
- if (code[end] === '\\' && end + 1 < len && code[end + 1] === '\n') {
116
- end += 2; // Handle line continuation
117
- } else {
118
- end++;
119
- }
120
- }
121
- const preprocessor = code.substring(i, end);
122
- tokens.push('<span class="c-preprocessor">', escapeHtml(preprocessor), '</span>');
123
- i = end;
124
- continue;
125
- }
126
-
127
- // String literal
128
- if (char === '"') {
129
- let end = i + 1;
130
- while (end < len && code[end] !== '"') {
131
- if (code[end] === '\\' && end + 1 < len) {
132
- end += 2; // Skip escaped character
133
- } else {
134
- end++;
135
- }
136
- }
137
- if (end < len) end++; // Include closing quote
138
- const string = code.substring(i, end);
139
- tokens.push('<span class="c-string">', escapeHtml(string), '</span>');
140
- i = end;
141
- continue;
142
- }
143
-
144
- // Character literal
145
- if (char === "'") {
146
- let end = i + 1;
147
- // Handle escape sequences like '\n', '\\', '\''
148
- if (end < len && code[end] === '\\' && end + 1 < len) {
149
- end += 2; // Skip backslash and escaped char
150
- } else if (end < len) {
151
- end++; // Single character
152
- }
153
- if (end < len && code[end] === "'") end++; // Closing quote
154
- const charLit = code.substring(i, end);
155
- tokens.push('<span class="c-value">', escapeHtml(charLit), '</span>');
156
- i = end;
157
- continue;
158
- }
159
-
160
- // Number (integer or float)
161
- if (char >= '0' && char <= '9') {
162
- let end = i;
163
-
164
- // Hexadecimal
165
- if (char === '0' && (code[i + 1] === 'x' || code[i + 1] === 'X')) {
166
- end = i + 2;
167
- while (end < len) {
168
- const ch = code[end];
169
- if ((ch >= '0' && ch <= '9') || (ch >= 'a' && ch <= 'f') || (ch >= 'A' && ch <= 'F')) {
170
- end++;
171
- } else {
172
- break;
173
- }
174
- }
175
- }
176
- // Octal
177
- else if (char === '0' && code[i + 1] >= '0' && code[i + 1] <= '7') {
178
- end = i + 1;
179
- while (end < len && code[end] >= '0' && code[end] <= '7') end++;
180
- }
181
- // Decimal/Float
182
- else {
183
- while (end < len) {
184
- const ch = code[end];
185
- if ((ch >= '0' && ch <= '9') || ch === '.') {
186
- end++;
187
- } else {
188
- break;
189
- }
190
- }
191
- // Scientific notation
192
- if (end < len && (code[end] === 'e' || code[end] === 'E')) {
193
- end++;
194
- if (end < len && (code[end] === '+' || code[end] === '-')) end++;
195
- while (end < len && code[end] >= '0' && code[end] <= '9') end++;
196
- }
197
- }
198
-
199
- // Suffix (u, l, f, etc.)
200
- while (end < len) {
201
- const ch = code[end];
202
- if (ch === 'u' || ch === 'U' || ch === 'l' || ch === 'L' || ch === 'f' || ch === 'F') {
203
- end++;
204
- } else {
205
- break;
206
- }
207
- }
208
-
209
- const number = code.substring(i, end);
210
- tokens.push('<span class="c-value">', escapeHtml(number), '</span>');
211
- i = end;
212
- continue;
213
- }
214
-
215
- // Identifier or keyword
216
- if ((char >= 'a' && char <= 'z') || (char >= 'A' && char <= 'Z') || char === '_') {
217
- let end = i + 1;
218
- while (end < len) {
219
- const ch = code[end];
220
- if ((ch >= 'a' && ch <= 'z') || (ch >= 'A' && ch <= 'Z') ||
221
- (ch >= '0' && ch <= '9') || ch === '_') {
222
- end++;
223
- } else {
224
- break;
225
- }
226
- }
227
- const word = code.substring(i, end);
228
-
229
- if (C_KEYWORDS.has(word)) {
230
- tokens.push('<span class="c-keyword">', escapeHtml(word), '</span>');
231
- } else if (isType(word)) {
232
- // Check types before macros (VALUE, ID are types, not macros)
233
- tokens.push('<span class="c-type">', escapeHtml(word), '</span>');
234
- } else if (isMacro(word)) {
235
- tokens.push('<span class="c-macro">', escapeHtml(word), '</span>');
236
- } else {
237
- // Check if followed by '(' -> function name
238
- let nextCharIdx = end;
239
- while (nextCharIdx < len && (code[nextCharIdx] === ' ' || code[nextCharIdx] === '\t')) {
240
- nextCharIdx++;
241
- }
242
- if (nextCharIdx < len && code[nextCharIdx] === '(') {
243
- tokens.push('<span class="c-function">', escapeHtml(word), '</span>');
244
- } else {
245
- tokens.push('<span class="c-identifier">', escapeHtml(word), '</span>');
246
- }
247
- }
248
- i = end;
249
- continue;
250
- }
251
-
252
- // Operators
253
- if (OPERATOR_CHARS.has(char)) {
254
- let op = char;
255
- // Check for two-character operators
256
- if (i + 1 < len) {
257
- const twoChar = char + code[i + 1];
258
- if (OPERATORS.has(twoChar)) {
259
- op = twoChar;
260
- }
261
- }
262
- tokens.push('<span class="c-operator">', escapeHtml(op), '</span>');
263
- i += op.length;
264
- continue;
265
- }
266
-
267
- // Everything else (punctuation, whitespace)
268
- tokens.push(escapeHtml(char));
269
- i++;
270
- }
271
-
272
- return tokens.join('');
273
- }
274
-
275
- /**
276
- * Initialize C syntax highlighting on page load
277
- */
278
- function initHighlighting() {
279
- const codeBlocks = document.querySelectorAll('pre.c');
280
-
281
- codeBlocks.forEach(block => {
282
- if (block.getAttribute('data-highlighted') === 'true') {
283
- return;
284
- }
285
-
286
- const code = block.textContent;
287
- const highlighted = highlightC(code);
288
-
289
- block.innerHTML = highlighted;
290
- block.setAttribute('data-highlighted', 'true');
291
- });
292
- }
293
-
294
- if (document.readyState === 'loading') {
295
- document.addEventListener('DOMContentLoaded', initHighlighting);
296
- } else {
297
- initHighlighting();
298
- }
299
- })();
@@ -1,129 +0,0 @@
1
- SearchController = function(data, input, result) {
2
- this.data = data;
3
- this.input = input;
4
- this.result = result;
5
-
6
- this.current = null;
7
- this.view = this.result.parentNode;
8
- this.ranker = new SearchRanker(data.index);
9
- this.init();
10
- }
11
-
12
- SearchController.prototype = Object.assign({}, SearchNavigation, new function() {
13
- var suid = 1;
14
-
15
- this.init = function() {
16
- var _this = this;
17
- var observer = function(e) {
18
- switch(e.key) {
19
- case 'ArrowUp':
20
- case 'ArrowDown':
21
- return;
22
- }
23
- _this.search(_this.input.value);
24
- };
25
- this.input.addEventListener('keyup', observer);
26
- this.input.addEventListener('click', observer); // mac's clear field
27
-
28
- this.ranker.ready(function(results, isLast) {
29
- _this.addResults(results, isLast);
30
- })
31
-
32
- this.initNavigation();
33
- this.setNavigationActive(false);
34
- }
35
-
36
- this.search = function(value, selectFirstMatch) {
37
- this.selectFirstMatch = selectFirstMatch;
38
-
39
- value = value.trim();
40
- if (value) {
41
- this.setNavigationActive(true);
42
- } else {
43
- this.setNavigationActive(false);
44
- }
45
-
46
- if (value == '') {
47
- this.lastQuery = value;
48
- this.result.innerHTML = '';
49
- this.result.setAttribute('aria-expanded', 'false');
50
- this.setNavigationActive(false);
51
- } else if (value != this.lastQuery) {
52
- this.lastQuery = value;
53
- this.result.setAttribute('aria-busy', 'true');
54
- this.result.setAttribute('aria-expanded', 'true');
55
- this.firstRun = true;
56
- this.ranker.find(value);
57
- }
58
- }
59
-
60
- this.addResults = function(results, isLast) {
61
- var target = this.result;
62
- if (this.firstRun && (results.length > 0 || isLast)) {
63
- this.current = null;
64
- this.result.innerHTML = '';
65
- }
66
-
67
- for (var i=0, l = results.length; i < l; i++) {
68
- var item = this.renderItem.call(this, results[i]);
69
- item.setAttribute('id', 'search-result-' + target.childElementCount);
70
- target.appendChild(item);
71
- };
72
-
73
- if (this.firstRun && results.length > 0) {
74
- this.firstRun = false;
75
- this.current = target.firstChild;
76
- this.current.classList.add('search-selected');
77
- }
78
- //TODO: ECMAScript
79
- //if (jQuery.browser.msie) this.$element[0].className += '';
80
-
81
- if (this.selectFirstMatch && this.current) {
82
- this.selectFirstMatch = false;
83
- this.select(this.current);
84
- }
85
-
86
- if (isLast) {
87
- this.selectFirstMatch = false;
88
- this.result.setAttribute('aria-busy', 'false');
89
- }
90
- }
91
-
92
- this.move = function(isDown) {
93
- if (!this.current) return;
94
- var next = isDown ? this.current.nextElementSibling : this.current.previousElementSibling;
95
- if (next) {
96
- this.current.classList.remove('search-selected');
97
- next.classList.add('search-selected');
98
- this.input.setAttribute('aria-activedescendant', next.getAttribute('id'));
99
- this.scrollInElement(next, this.result);
100
- this.current = next;
101
- this.input.value = next.firstChild.firstChild.text;
102
- this.input.select();
103
- }
104
- return true;
105
- }
106
-
107
- this.hlt = function(html) {
108
- return this.escapeHTML(html).
109
- replace(/\u0001/g, '<em>').
110
- replace(/\u0002/g, '</em>');
111
- }
112
-
113
- this.escapeHTML = function(html) {
114
- return html.replace(/[&<>"`']/g, function(c) {
115
- return '&#' + c.charCodeAt(0) + ';';
116
- });
117
- }
118
-
119
- this.hide = function() {
120
- this.result.setAttribute('aria-expanded', 'false');
121
- this.setNavigationActive(false);
122
- }
123
-
124
- this.show = function() {
125
- this.result.setAttribute('aria-expanded', 'true');
126
- this.setNavigationActive(true);
127
- }
128
- });
129
-