rubyXL 3.4.25 → 3.4.33

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 (437) hide show
  1. checksums.yaml +4 -4
  2. data/.circleci/config.yml +1 -1
  3. data/.rubocop.yml +124 -0
  4. data/CHANGELOG.md +12 -0
  5. data/Gemfile +2 -0
  6. data/README.rdoc +6 -4
  7. data/VERSION +1 -1
  8. data/lib/rubyXL/convenience_methods/cell.rb +1 -1
  9. data/lib/rubyXL/convenience_methods/color.rb +6 -6
  10. data/lib/rubyXL/convenience_methods/workbook.rb +1 -5
  11. data/lib/rubyXL/convenience_methods/worksheet.rb +26 -6
  12. data/lib/rubyXL/objects/color.rb +1 -1
  13. data/lib/rubyXL/objects/column_range.rb +16 -12
  14. data/lib/rubyXL/objects/document_properties.rb +1 -0
  15. data/lib/rubyXL/objects/external_links.rb +8 -0
  16. data/lib/rubyXL/objects/ooxml_object.rb +16 -14
  17. data/lib/rubyXL/objects/query_table.rb +4 -2
  18. data/lib/rubyXL/objects/reference.rb +21 -10
  19. data/lib/rubyXL/objects/relationships.rb +1 -1
  20. data/lib/rubyXL/objects/shared_strings.rb +1 -1
  21. data/lib/rubyXL/objects/sheet_data.rb +6 -6
  22. data/lib/rubyXL/objects/storage.rb +6 -1
  23. data/lib/rubyXL/objects/stylesheet.rb +2 -3
  24. data/lib/rubyXL/objects/text.rb +3 -3
  25. data/lib/rubyXL/objects/theme.rb +15 -17
  26. data/lib/rubyXL/objects/workbook.rb +10 -9
  27. data/lib/rubyXL/objects/worksheet.rb +2 -2
  28. data/lib/rubyXL/worksheet.rb +11 -3
  29. data/rdoc/README_rdoc.html +101 -49
  30. data/rdoc/RubyXL/AExtension.html +17 -13
  31. data/rdoc/RubyXL/AExtensionStorageArea.html +3 -3
  32. data/rdoc/RubyXL/ActiveX.html +10 -8
  33. data/rdoc/RubyXL/ActiveXBinary.html +3 -3
  34. data/rdoc/RubyXL/AdjustHandleList.html +3 -3
  35. data/rdoc/RubyXL/Alignment.html +3 -3
  36. data/rdoc/RubyXL/AlternateContent.html +3 -3
  37. data/rdoc/RubyXL/AlternateUrls.html +99 -0
  38. data/rdoc/RubyXL/Authors.html +3 -3
  39. data/rdoc/RubyXL/AutoFilter.html +3 -3
  40. data/rdoc/RubyXL/AutoFilterColumn.html +3 -3
  41. data/rdoc/RubyXL/BinaryImageFile.html +3 -3
  42. data/rdoc/RubyXL/BodyProperties.html +3 -3
  43. data/rdoc/RubyXL/BooleanNode.html +3 -3
  44. data/rdoc/RubyXL/BooleanValue.html +3 -3
  45. data/rdoc/RubyXL/Border.html +27 -19
  46. data/rdoc/RubyXL/BorderEdge.html +15 -11
  47. data/rdoc/RubyXL/Borders.html +9 -7
  48. data/rdoc/RubyXL/Break.html +3 -3
  49. data/rdoc/RubyXL/BreakList.html +3 -3
  50. data/rdoc/RubyXL/CT_AdjPoint2D.html +3 -3
  51. data/rdoc/RubyXL/CT_AlphaBiLevelEffect.html +3 -3
  52. data/rdoc/RubyXL/CT_AlphaModulateEffect.html +3 -3
  53. data/rdoc/RubyXL/CT_AlphaModulateFixedEffect.html +3 -3
  54. data/rdoc/RubyXL/CT_AlphaOutsetEffect.html +3 -3
  55. data/rdoc/RubyXL/CT_AlphaReplaceEffect.html +3 -3
  56. data/rdoc/RubyXL/CT_Backdrop.html +3 -3
  57. data/rdoc/RubyXL/CT_Bevel.html +3 -3
  58. data/rdoc/RubyXL/CT_BiLevelEffect.html +3 -3
  59. data/rdoc/RubyXL/CT_BlendEffect.html +3 -3
  60. data/rdoc/RubyXL/CT_Blip.html +3 -3
  61. data/rdoc/RubyXL/CT_BlipFillProperties.html +3 -3
  62. data/rdoc/RubyXL/CT_BlurEffect.html +3 -3
  63. data/rdoc/RubyXL/CT_Camera.html +3 -3
  64. data/rdoc/RubyXL/CT_Color.html +3 -3
  65. data/rdoc/RubyXL/CT_ColorChangeEffect.html +3 -3
  66. data/rdoc/RubyXL/CT_ColorMapping.html +3 -3
  67. data/rdoc/RubyXL/CT_ColorScheme.html +3 -3
  68. data/rdoc/RubyXL/CT_ColorSchemeAndMapping.html +3 -3
  69. data/rdoc/RubyXL/CT_ConnectionSite.html +3 -3
  70. data/rdoc/RubyXL/CT_ConnectionSiteList.html +3 -3
  71. data/rdoc/RubyXL/CT_DashStop.html +3 -3
  72. data/rdoc/RubyXL/CT_DashStopList.html +3 -3
  73. data/rdoc/RubyXL/CT_DefaultShapeDefinition.html +3 -3
  74. data/rdoc/RubyXL/CT_DuotoneEffect.html +3 -3
  75. data/rdoc/RubyXL/CT_EffectContainer.html +3 -3
  76. data/rdoc/RubyXL/CT_EffectList.html +3 -3
  77. data/rdoc/RubyXL/CT_EffectReference.html +3 -3
  78. data/rdoc/RubyXL/CT_EffectStyleItem.html +3 -3
  79. data/rdoc/RubyXL/CT_EffectStyleList.html +3 -3
  80. data/rdoc/RubyXL/CT_EmbeddedWAVAudioFile.html +3 -3
  81. data/rdoc/RubyXL/CT_FillEffect.html +3 -3
  82. data/rdoc/RubyXL/CT_FillOverlayEffect.html +3 -3
  83. data/rdoc/RubyXL/CT_FillStyleList.html +3 -3
  84. data/rdoc/RubyXL/CT_FlatText.html +3 -3
  85. data/rdoc/RubyXL/CT_FontCollection.html +3 -3
  86. data/rdoc/RubyXL/CT_FontReference.html +3 -3
  87. data/rdoc/RubyXL/CT_GeomGuideList.html +3 -3
  88. data/rdoc/RubyXL/CT_GlowEffect.html +3 -3
  89. data/rdoc/RubyXL/CT_GradientFillProperties.html +3 -3
  90. data/rdoc/RubyXL/CT_GradientStop.html +3 -3
  91. data/rdoc/RubyXL/CT_GradientStopList.html +3 -3
  92. data/rdoc/RubyXL/CT_HSLEffect.html +3 -3
  93. data/rdoc/RubyXL/CT_HslColor.html +3 -3
  94. data/rdoc/RubyXL/CT_Hyperlink.html +3 -3
  95. data/rdoc/RubyXL/CT_InnerShadowEffect.html +3 -3
  96. data/rdoc/RubyXL/CT_LightRig.html +3 -3
  97. data/rdoc/RubyXL/CT_LineEndProperties.html +3 -3
  98. data/rdoc/RubyXL/CT_LineJoinMiterProperties.html +3 -3
  99. data/rdoc/RubyXL/CT_LineProperties.html +3 -3
  100. data/rdoc/RubyXL/CT_LineStyleList.html +3 -3
  101. data/rdoc/RubyXL/CT_LinearShadeProperties.html +3 -3
  102. data/rdoc/RubyXL/CT_LuminanceEffect.html +3 -3
  103. data/rdoc/RubyXL/CT_ObjectStyleDefaults.html +3 -3
  104. data/rdoc/RubyXL/CT_OuterShadowEffect.html +3 -3
  105. data/rdoc/RubyXL/CT_Path2D.html +3 -3
  106. data/rdoc/RubyXL/CT_Path2DArcTo.html +3 -3
  107. data/rdoc/RubyXL/CT_Path2DCubicBezierTo.html +3 -3
  108. data/rdoc/RubyXL/CT_Path2DList.html +3 -3
  109. data/rdoc/RubyXL/CT_Path2DQuadBezierTo.html +3 -3
  110. data/rdoc/RubyXL/CT_Path2DTo.html +3 -3
  111. data/rdoc/RubyXL/CT_PathShadeProperties.html +3 -3
  112. data/rdoc/RubyXL/CT_PatternFillProperties.html +3 -3
  113. data/rdoc/RubyXL/CT_Point3D.html +3 -3
  114. data/rdoc/RubyXL/CT_PolarAdjustHandle.html +3 -3
  115. data/rdoc/RubyXL/CT_PresetColor.html +3 -3
  116. data/rdoc/RubyXL/CT_PresetLineDashProperties.html +3 -3
  117. data/rdoc/RubyXL/CT_PresetShadowEffect.html +3 -3
  118. data/rdoc/RubyXL/CT_PresetTextShape.html +3 -3
  119. data/rdoc/RubyXL/CT_ReflectionEffect.html +3 -3
  120. data/rdoc/RubyXL/CT_RelativeOffsetEffect.html +3 -3
  121. data/rdoc/RubyXL/CT_RelativeRect.html +3 -3
  122. data/rdoc/RubyXL/CT_SRgbColor.html +3 -3
  123. data/rdoc/RubyXL/CT_ScRgbColor.html +3 -3
  124. data/rdoc/RubyXL/CT_Scene3D.html +3 -3
  125. data/rdoc/RubyXL/CT_SchemeColor.html +3 -3
  126. data/rdoc/RubyXL/CT_Shape3D.html +3 -3
  127. data/rdoc/RubyXL/CT_ShapeStyle.html +3 -3
  128. data/rdoc/RubyXL/CT_SoftEdgesEffect.html +3 -3
  129. data/rdoc/RubyXL/CT_SphereCoords.html +3 -3
  130. data/rdoc/RubyXL/CT_StretchInfoProperties.html +3 -3
  131. data/rdoc/RubyXL/CT_StyleMatrix.html +3 -3
  132. data/rdoc/RubyXL/CT_StyleMatrixReference.html +3 -3
  133. data/rdoc/RubyXL/CT_SupplementalFont.html +3 -3
  134. data/rdoc/RubyXL/CT_SystemColor.html +3 -3
  135. data/rdoc/RubyXL/CT_TextAutonumberBullet.html +3 -3
  136. data/rdoc/RubyXL/CT_TextBlipBullet.html +3 -3
  137. data/rdoc/RubyXL/CT_TextCharBullet.html +3 -3
  138. data/rdoc/RubyXL/CT_TextCharacterProperties.html +3 -3
  139. data/rdoc/RubyXL/CT_TextFont.html +3 -3
  140. data/rdoc/RubyXL/CT_TextListStyle.html +3 -3
  141. data/rdoc/RubyXL/CT_TextNormalAutofit.html +3 -3
  142. data/rdoc/RubyXL/CT_TextParagraphProperties.html +3 -3
  143. data/rdoc/RubyXL/CT_TextSpacing.html +3 -3
  144. data/rdoc/RubyXL/CT_TextTabStop.html +3 -3
  145. data/rdoc/RubyXL/CT_TextTabStopList.html +3 -3
  146. data/rdoc/RubyXL/CT_TileInfoProperties.html +3 -3
  147. data/rdoc/RubyXL/CT_TintEffect.html +3 -3
  148. data/rdoc/RubyXL/CT_Transform2D.html +3 -3
  149. data/rdoc/RubyXL/CT_TransformEffect.html +3 -3
  150. data/rdoc/RubyXL/CT_Vector3D.html +3 -3
  151. data/rdoc/RubyXL/CT_XYAdjustHandle.html +3 -3
  152. data/rdoc/RubyXL/CalculationChain.html +9 -7
  153. data/rdoc/RubyXL/CalculationChainCell.html +3 -3
  154. data/rdoc/RubyXL/CalculationProperties.html +3 -3
  155. data/rdoc/RubyXL/Cell.html +93 -65
  156. data/rdoc/RubyXL/CellConvenienceMethods.html +220 -148
  157. data/rdoc/RubyXL/CellExt.html +3 -3
  158. data/rdoc/RubyXL/CellSmartTag.html +3 -3
  159. data/rdoc/RubyXL/CellSmartTagProperty.html +3 -3
  160. data/rdoc/RubyXL/CellSmartTags.html +3 -3
  161. data/rdoc/RubyXL/CellStyle.html +3 -3
  162. data/rdoc/RubyXL/CellStyleXFs.html +9 -7
  163. data/rdoc/RubyXL/CellStyles.html +10 -8
  164. data/rdoc/RubyXL/CellValue.html +9 -7
  165. data/rdoc/RubyXL/CellWatch.html +3 -3
  166. data/rdoc/RubyXL/CellWatches.html +3 -3
  167. data/rdoc/RubyXL/CellXFs.html +11 -10
  168. data/rdoc/RubyXL/ChartColorsFile.html +3 -3
  169. data/rdoc/RubyXL/ChartFile.html +9 -7
  170. data/rdoc/RubyXL/ChartStyleFile.html +3 -3
  171. data/rdoc/RubyXL/ChartUserShapesFile.html +3 -3
  172. data/rdoc/RubyXL/Chartsheet.html +9 -7
  173. data/rdoc/RubyXL/ChartsheetPageSetup.html +3 -3
  174. data/rdoc/RubyXL/ChartsheetProperties.html +3 -3
  175. data/rdoc/RubyXL/ChartsheetProtection.html +3 -3
  176. data/rdoc/RubyXL/ChartsheetView.html +3 -3
  177. data/rdoc/RubyXL/ChartsheetViews.html +3 -3
  178. data/rdoc/RubyXL/Color.html +9 -7
  179. data/rdoc/RubyXL/ColorConvenienceClasses/HlsColor.html +17 -13
  180. data/rdoc/RubyXL/ColorConvenienceClasses/RgbColor.html +23 -17
  181. data/rdoc/RubyXL/ColorConvenienceClasses.html +3 -3
  182. data/rdoc/RubyXL/ColorConvenienceMethods.html +9 -7
  183. data/rdoc/RubyXL/ColorFilter.html +3 -3
  184. data/rdoc/RubyXL/ColorScale.html +3 -3
  185. data/rdoc/RubyXL/ColorSet.html +3 -3
  186. data/rdoc/RubyXL/Colors.html +3 -3
  187. data/rdoc/RubyXL/ColumnRange.html +57 -20
  188. data/rdoc/RubyXL/ColumnRanges.html +37 -29
  189. data/rdoc/RubyXL/Comment.html +3 -3
  190. data/rdoc/RubyXL/CommentList.html +3 -3
  191. data/rdoc/RubyXL/CommentsFile.html +9 -7
  192. data/rdoc/RubyXL/ConditionalFormatValue.html +3 -3
  193. data/rdoc/RubyXL/ConditionalFormatting.html +3 -3
  194. data/rdoc/RubyXL/ConditionalFormattingRule.html +3 -3
  195. data/rdoc/RubyXL/Connection.html +3 -3
  196. data/rdoc/RubyXL/ConnectionTable.html +3 -3
  197. data/rdoc/RubyXL/ConnectionTables.html +3 -3
  198. data/rdoc/RubyXL/ConnectionTextField.html +3 -3
  199. data/rdoc/RubyXL/ConnectionTextFields.html +3 -3
  200. data/rdoc/RubyXL/Connections.html +9 -7
  201. data/rdoc/RubyXL/ContentTypeDefault.html +3 -3
  202. data/rdoc/RubyXL/ContentTypeOverride.html +3 -3
  203. data/rdoc/RubyXL/ContentTypes.html +15 -11
  204. data/rdoc/RubyXL/ControlPropertiesFile.html +3 -3
  205. data/rdoc/RubyXL/CorePropertiesFile.html +66 -48
  206. data/rdoc/RubyXL/CustomColor.html +3 -3
  207. data/rdoc/RubyXL/CustomColorList.html +3 -3
  208. data/rdoc/RubyXL/CustomFilter.html +3 -3
  209. data/rdoc/RubyXL/CustomFilters.html +3 -3
  210. data/rdoc/RubyXL/CustomGeometry.html +3 -3
  211. data/rdoc/RubyXL/CustomProperties.html +3 -3
  212. data/rdoc/RubyXL/CustomPropertiesFile.html +3 -3
  213. data/rdoc/RubyXL/CustomProperty.html +3 -3
  214. data/rdoc/RubyXL/CustomPropertyFile.html +3 -3
  215. data/rdoc/RubyXL/CustomSheetView.html +3 -3
  216. data/rdoc/RubyXL/CustomSheetViews.html +3 -3
  217. data/rdoc/RubyXL/CustomWorkbookView.html +3 -3
  218. data/rdoc/RubyXL/CustomWorkbookViews.html +3 -3
  219. data/rdoc/RubyXL/CustomXMLFile.html +3 -3
  220. data/rdoc/RubyXL/DXF.html +3 -3
  221. data/rdoc/RubyXL/DXFs.html +3 -3
  222. data/rdoc/RubyXL/DataBar.html +3 -3
  223. data/rdoc/RubyXL/DataConsolidate.html +3 -3
  224. data/rdoc/RubyXL/DataConsolidationReference.html +3 -3
  225. data/rdoc/RubyXL/DataConsolidationReferences.html +3 -3
  226. data/rdoc/RubyXL/DataType.html +3 -3
  227. data/rdoc/RubyXL/DataValidation.html +3 -3
  228. data/rdoc/RubyXL/DataValidations.html +3 -3
  229. data/rdoc/RubyXL/DateGroupItem.html +3 -3
  230. data/rdoc/RubyXL/DefinedName.html +3 -3
  231. data/rdoc/RubyXL/DefinedNameExt.html +3 -3
  232. data/rdoc/RubyXL/DefinedNames.html +3 -3
  233. data/rdoc/RubyXL/DefinedNamesExt.html +3 -3
  234. data/rdoc/RubyXL/DocumentPropertiesFile.html +17 -12
  235. data/rdoc/RubyXL/DrawingFile.html +9 -7
  236. data/rdoc/RubyXL/DynamicFilter.html +3 -3
  237. data/rdoc/RubyXL/EmbeddedControl.html +3 -3
  238. data/rdoc/RubyXL/EmbeddedControls.html +3 -3
  239. data/rdoc/RubyXL/Extension.html +3 -3
  240. data/rdoc/RubyXL/ExtensionStorageArea.html +3 -3
  241. data/rdoc/RubyXL/Extents.html +3 -3
  242. data/rdoc/RubyXL/ExternalBook.html +3 -3
  243. data/rdoc/RubyXL/ExternalLinksFile.html +10 -8
  244. data/rdoc/RubyXL/ExternalReference.html +3 -3
  245. data/rdoc/RubyXL/ExternalReferences.html +3 -3
  246. data/rdoc/RubyXL/ExtraColorSchemeList.html +3 -3
  247. data/rdoc/RubyXL/FieldItem.html +3 -3
  248. data/rdoc/RubyXL/FileRecoveryProperties.html +3 -3
  249. data/rdoc/RubyXL/FileSharing.html +3 -3
  250. data/rdoc/RubyXL/FileVersion.html +3 -3
  251. data/rdoc/RubyXL/Fill.html +9 -7
  252. data/rdoc/RubyXL/Fills.html +9 -7
  253. data/rdoc/RubyXL/FilterContainer.html +3 -3
  254. data/rdoc/RubyXL/FloatNode.html +3 -3
  255. data/rdoc/RubyXL/FloatValue.html +3 -3
  256. data/rdoc/RubyXL/Font.html +9 -7
  257. data/rdoc/RubyXL/FontConvenienceMethods.html +87 -59
  258. data/rdoc/RubyXL/FontScheme.html +3 -3
  259. data/rdoc/RubyXL/Fonts.html +9 -7
  260. data/rdoc/RubyXL/Formula.html +3 -3
  261. data/rdoc/RubyXL/FunctionGroup.html +3 -3
  262. data/rdoc/RubyXL/FunctionGroups.html +3 -3
  263. data/rdoc/RubyXL/GenericStorageObject.html +22 -16
  264. data/rdoc/RubyXL/GradientFill.html +3 -3
  265. data/rdoc/RubyXL/HeaderFooterSettings.html +3 -3
  266. data/rdoc/RubyXL/Hyperlink.html +3 -3
  267. data/rdoc/RubyXL/HyperlinkRelFile.html +3 -3
  268. data/rdoc/RubyXL/Hyperlinks.html +3 -3
  269. data/rdoc/RubyXL/IconFilter.html +3 -3
  270. data/rdoc/RubyXL/IconSet.html +3 -3
  271. data/rdoc/RubyXL/IgnoredError.html +3 -3
  272. data/rdoc/RubyXL/IgnoredErrors.html +3 -3
  273. data/rdoc/RubyXL/IndexedColors.html +3 -3
  274. data/rdoc/RubyXL/InputCells.html +3 -3
  275. data/rdoc/RubyXL/IntegerNode.html +3 -3
  276. data/rdoc/RubyXL/IntegerValue.html +3 -3
  277. data/rdoc/RubyXL/LegacyCell.html +9 -7
  278. data/rdoc/RubyXL/LegacyWorksheet.html +55 -30
  279. data/rdoc/RubyXL/MRUColors.html +3 -3
  280. data/rdoc/RubyXL/MacrosFile.html +3 -3
  281. data/rdoc/RubyXL/MergedCell.html +3 -3
  282. data/rdoc/RubyXL/MergedCells.html +3 -3
  283. data/rdoc/RubyXL/NumFmt.html +3 -3
  284. data/rdoc/RubyXL/NumberFormat.html +9 -7
  285. data/rdoc/RubyXL/NumberFormats.html +9 -7
  286. data/rdoc/RubyXL/OLEObject.html +3 -3
  287. data/rdoc/RubyXL/OLEObjectFile.html +3 -3
  288. data/rdoc/RubyXL/OLEObjects.html +3 -3
  289. data/rdoc/RubyXL/OLESize.html +3 -3
  290. data/rdoc/RubyXL/OOXMLContainerObject.html +46 -34
  291. data/rdoc/RubyXL/OOXMLIgnored.html +15 -11
  292. data/rdoc/RubyXL/OOXMLObject.html +3 -3
  293. data/rdoc/RubyXL/OOXMLObjectClassMethods.html +46 -31
  294. data/rdoc/RubyXL/OOXMLObjectInstanceMethods.html +67 -52
  295. data/rdoc/RubyXL/OOXMLRelationshipsFile.html +64 -44
  296. data/rdoc/RubyXL/OOXMLTopLevelObject.html +38 -28
  297. data/rdoc/RubyXL/OdbcOleDbProperties.html +3 -3
  298. data/rdoc/RubyXL/Offset.html +3 -3
  299. data/rdoc/RubyXL/OlapProperties.html +3 -3
  300. data/rdoc/RubyXL/OleItem.html +3 -3
  301. data/rdoc/RubyXL/OleItems.html +3 -3
  302. data/rdoc/RubyXL/OleLink.html +3 -3
  303. data/rdoc/RubyXL/OutlineProperties.html +3 -3
  304. data/rdoc/RubyXL/PageMargins.html +3 -3
  305. data/rdoc/RubyXL/PageSetup.html +3 -3
  306. data/rdoc/RubyXL/PageSetupProperties.html +3 -3
  307. data/rdoc/RubyXL/Pane.html +3 -3
  308. data/rdoc/RubyXL/Parser.html +15 -11
  309. data/rdoc/RubyXL/PatternFill.html +3 -3
  310. data/rdoc/RubyXL/PersonMetadata.html +108 -0
  311. data/rdoc/RubyXL/PhoneticProperties.html +3 -3
  312. data/rdoc/RubyXL/PhoneticRun.html +3 -3
  313. data/rdoc/RubyXL/PivotArea.html +3 -3
  314. data/rdoc/RubyXL/PivotCache.html +3 -3
  315. data/rdoc/RubyXL/PivotCacheDefinitionFile.html +3 -3
  316. data/rdoc/RubyXL/PivotCacheRecordsFile.html +3 -3
  317. data/rdoc/RubyXL/PivotCaches.html +3 -3
  318. data/rdoc/RubyXL/PivotReference.html +3 -3
  319. data/rdoc/RubyXL/PivotReferences.html +3 -3
  320. data/rdoc/RubyXL/PivotTableFile.html +3 -3
  321. data/rdoc/RubyXL/PivotTableSelection.html +3 -3
  322. data/rdoc/RubyXL/PresetGeometry.html +3 -3
  323. data/rdoc/RubyXL/PrintOptions.html +3 -3
  324. data/rdoc/RubyXL/PrinterSettingsFile.html +3 -3
  325. data/rdoc/RubyXL/ProtectedRange.html +3 -3
  326. data/rdoc/RubyXL/ProtectedRanges.html +3 -3
  327. data/rdoc/RubyXL/Protection.html +3 -3
  328. data/rdoc/RubyXL/QueryParameter.html +3 -3
  329. data/rdoc/RubyXL/QueryParameters.html +3 -3
  330. data/rdoc/RubyXL/QueryTable.html +10 -8
  331. data/rdoc/RubyXL/QueryTableDeletedField.html +3 -3
  332. data/rdoc/RubyXL/QueryTableDeletedFields.html +3 -3
  333. data/rdoc/RubyXL/QueryTableField.html +3 -3
  334. data/rdoc/RubyXL/QueryTableFields.html +3 -3
  335. data/rdoc/RubyXL/QueryTableRefresh.html +3 -3
  336. data/rdoc/RubyXL/RID.html +3 -3
  337. data/rdoc/RubyXL/RawOOXML.html +15 -11
  338. data/rdoc/RubyXL/Reference.html +113 -77
  339. data/rdoc/RubyXL/Relationship.html +3 -3
  340. data/rdoc/RubyXL/RelationshipSupport/ClassMehods.html +9 -7
  341. data/rdoc/RubyXL/RelationshipSupport.html +39 -27
  342. data/rdoc/RubyXL/RevisionPointer.html +3 -3
  343. data/rdoc/RubyXL/RichText.html +11 -9
  344. data/rdoc/RubyXL/RichTextRun.html +9 -7
  345. data/rdoc/RubyXL/Row.html +57 -39
  346. data/rdoc/RubyXL/RowExt.html +3 -3
  347. data/rdoc/RubyXL/RunProperties.html +3 -3
  348. data/rdoc/RubyXL/Scenario.html +3 -3
  349. data/rdoc/RubyXL/Scenarios.html +3 -3
  350. data/rdoc/RubyXL/Selection.html +9 -7
  351. data/rdoc/RubyXL/ShapeGuide.html +3 -3
  352. data/rdoc/RubyXL/ShapeTextRectangle.html +3 -3
  353. data/rdoc/RubyXL/SharedStringsTable.html +46 -32
  354. data/rdoc/RubyXL/Sheet.html +3 -3
  355. data/rdoc/RubyXL/SheetCalculationProperties.html +3 -3
  356. data/rdoc/RubyXL/SheetData.html +15 -11
  357. data/rdoc/RubyXL/SheetDataExt.html +3 -3
  358. data/rdoc/RubyXL/SheetDataSet.html +3 -3
  359. data/rdoc/RubyXL/SheetMetadata.html +3 -3
  360. data/rdoc/RubyXL/SheetName.html +3 -3
  361. data/rdoc/RubyXL/SheetNames.html +3 -3
  362. data/rdoc/RubyXL/Sheets.html +3 -3
  363. data/rdoc/RubyXL/SlicerCacheFile.html +3 -3
  364. data/rdoc/RubyXL/SlicerFile.html +3 -3
  365. data/rdoc/RubyXL/SmartTagProperties.html +3 -3
  366. data/rdoc/RubyXL/SmartTagType.html +3 -3
  367. data/rdoc/RubyXL/SmartTagTypes.html +3 -3
  368. data/rdoc/RubyXL/SmartTags.html +3 -3
  369. data/rdoc/RubyXL/SortCondition.html +3 -3
  370. data/rdoc/RubyXL/SortState.html +3 -3
  371. data/rdoc/RubyXL/Sqref.html +18 -14
  372. data/rdoc/RubyXL/Stop.html +3 -3
  373. data/rdoc/RubyXL/StringNode.html +3 -3
  374. data/rdoc/RubyXL/StringNodeW3C.html +15 -11
  375. data/rdoc/RubyXL/StringValue.html +3 -3
  376. data/rdoc/RubyXL/Stylesheet.html +38 -28
  377. data/rdoc/RubyXL/TableFile.html +3 -3
  378. data/rdoc/RubyXL/TableParts.html +3 -3
  379. data/rdoc/RubyXL/TableStyle.html +3 -3
  380. data/rdoc/RubyXL/TableStyles.html +3 -3
  381. data/rdoc/RubyXL/Text.html +16 -12
  382. data/rdoc/RubyXL/TextImportSettings.html +3 -3
  383. data/rdoc/RubyXL/Theme.html +39 -33
  384. data/rdoc/RubyXL/ThemeElements.html +3 -3
  385. data/rdoc/RubyXL/ThumbnailFile.html +3 -3
  386. data/rdoc/RubyXL/Top10.html +3 -3
  387. data/rdoc/RubyXL/VMLDrawingFile.html +3 -3
  388. data/rdoc/RubyXL/Variant.html +3 -3
  389. data/rdoc/RubyXL/Vector.html +9 -7
  390. data/rdoc/RubyXL/VectorValue.html +3 -3
  391. data/rdoc/RubyXL/VisualProperties.html +3 -3
  392. data/rdoc/RubyXL/WebPublishObject.html +3 -3
  393. data/rdoc/RubyXL/WebPublishObjects.html +3 -3
  394. data/rdoc/RubyXL/WebPublishingItem.html +3 -3
  395. data/rdoc/RubyXL/WebPublishingItems.html +3 -3
  396. data/rdoc/RubyXL/WebPublishingProperties.html +3 -3
  397. data/rdoc/RubyXL/WebQueryProperties.html +3 -3
  398. data/rdoc/RubyXL/Workbook.html +202 -146
  399. data/rdoc/RubyXL/WorkbookConvenienceMethods.html +124 -92
  400. data/rdoc/RubyXL/WorkbookProperties.html +3 -3
  401. data/rdoc/RubyXL/WorkbookProtection.html +3 -3
  402. data/rdoc/RubyXL/WorkbookRoot.html +33 -23
  403. data/rdoc/RubyXL/WorkbookView.html +3 -3
  404. data/rdoc/RubyXL/WorkbookViews.html +3 -3
  405. data/rdoc/RubyXL/Worksheet.html +45 -31
  406. data/rdoc/RubyXL/WorksheetConvenienceMethods.html +443 -288
  407. data/rdoc/RubyXL/WorksheetDimensions.html +3 -3
  408. data/rdoc/RubyXL/WorksheetFormatProperties.html +3 -3
  409. data/rdoc/RubyXL/WorksheetProperties.html +3 -3
  410. data/rdoc/RubyXL/WorksheetProtection.html +3 -3
  411. data/rdoc/RubyXL/WorksheetView.html +3 -3
  412. data/rdoc/RubyXL/WorksheetViews.html +3 -3
  413. data/rdoc/RubyXL/XF.html +3 -3
  414. data/rdoc/RubyXL.html +9 -7
  415. data/rdoc/created.rid +35 -35
  416. data/rdoc/css/rdoc.css +55 -7
  417. data/rdoc/index.html +395 -388
  418. data/rdoc/js/darkfish.js +14 -1
  419. data/rdoc/js/navigation.js +8 -8
  420. data/rdoc/js/navigation.js.gz +0 -0
  421. data/rdoc/js/search.js +4 -4
  422. data/rdoc/js/search_index.js +1 -1
  423. data/rdoc/js/search_index.js.gz +0 -0
  424. data/rdoc/js/searcher.js.gz +0 -0
  425. data/rdoc/table_of_contents.html +14 -3
  426. data/rubyXL.gemspec +10 -5
  427. data/spec/lib/cell_spec.rb +30 -4
  428. data/spec/lib/color_spec.rb +7 -0
  429. data/spec/lib/parser_spec.rb +8 -5
  430. data/spec/lib/reference_spec.rb +35 -5
  431. data/spec/lib/rgb_color_spec.rb +2 -0
  432. data/spec/lib/stylesheet_spec.rb +2 -0
  433. data/spec/lib/text_spec.rb +3 -1
  434. data/spec/lib/workbook_spec.rb +6 -4
  435. data/spec/lib/worksheet_spec.rb +29 -17
  436. metadata +21 -4
  437. data/Gemfile.lock +0 -124
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>module RubyXL::OOXMLObjectInstanceMethods - rubyXL 3.4.25</title>
7
+ <title>module RubyXL::OOXMLObjectInstanceMethods - rubyXL 3.4.33</title>
8
8
 
9
9
  <script type="text/javascript">
10
10
  var rdoc_rel_prefix = "../";
@@ -41,7 +41,7 @@
41
41
  <div id="search-field-wrapper">
42
42
  <input id="search-field" role="combobox" aria-label="Search"
43
43
  aria-autocomplete="list" aria-controls="search-results"
44
- type="text" name="search" placeholder="Search" spellcheck="false"
44
+ type="text" name="search" placeholder="Search (/) for a class, method, ..." spellcheck="false"
45
45
  title="Type to search, Up and Down to navigate, Enter to load">
46
46
  </div>
47
47
 
@@ -125,17 +125,19 @@
125
125
  </header>
126
126
 
127
127
  <div id="method-c-included" class="method-detail ">
128
- <div class="method-heading">
129
- <span class="method-name">included</span><span
130
- class="method-args">(klass)</span>
131
- <span class="method-click-advice">click to toggle source</span>
128
+ <div class="method-header">
129
+ <div class="method-heading">
130
+ <span class="method-name">included</span><span
131
+ class="method-args">(klass)</span>
132
+ <span class="method-click-advice">click to toggle source</span>
133
+ </div>
132
134
  </div>
133
135
 
134
136
  <div class="method-description">
135
137
 
136
138
 
137
139
  <div class="method-source-code" id="included-source">
138
- <pre><span class="ruby-comment"># File lib/rubyXL/objects/ooxml_object.rb, line 217</span>
140
+ <pre><span class="ruby-comment"># File lib/rubyXL/objects/ooxml_object.rb, line 220</span>
139
141
  <span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier ruby-title">included</span>(<span class="ruby-identifier">klass</span>)
140
142
  <span class="ruby-identifier">klass</span>.<span class="ruby-identifier">extend</span> <span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">OOXMLObjectClassMethods</span>
141
143
  <span class="ruby-keyword">end</span></pre>
@@ -146,17 +148,19 @@
146
148
  </div>
147
149
 
148
150
  <div id="method-c-new" class="method-detail ">
149
- <div class="method-heading">
150
- <span class="method-name">new</span><span
151
- class="method-args">(params = nil)</span>
152
- <span class="method-click-advice">click to toggle source</span>
151
+ <div class="method-header">
152
+ <div class="method-heading">
153
+ <span class="method-name">new</span><span
154
+ class="method-args">(params = nil)</span>
155
+ <span class="method-click-advice">click to toggle source</span>
156
+ </div>
153
157
  </div>
154
158
 
155
159
  <div class="method-description">
156
160
 
157
161
 
158
162
  <div class="method-source-code" id="new-source">
159
- <pre><span class="ruby-comment"># File lib/rubyXL/objects/ooxml_object.rb, line 226</span>
163
+ <pre><span class="ruby-comment"># File lib/rubyXL/objects/ooxml_object.rb, line 229</span>
160
164
  <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">initialize</span>(<span class="ruby-identifier">params</span> = <span class="ruby-keyword">nil</span>)
161
165
  <span class="ruby-ivar">@local_namespaces</span> = <span class="ruby-keyword">nil</span>
162
166
  <span class="ruby-identifier">params</span> <span class="ruby-operator">||=</span> {}
@@ -181,21 +185,23 @@
181
185
  </header>
182
186
 
183
187
  <div id="method-i-3D-3D" class="method-detail ">
184
- <div class="method-heading">
185
- <span class="method-name">==</span><span
186
- class="method-args">(other)</span>
187
- <span class="method-click-advice">click to toggle source</span>
188
+ <div class="method-header">
189
+ <div class="method-heading">
190
+ <span class="method-name">==</span><span
191
+ class="method-args">(other)</span>
192
+ <span class="method-click-advice">click to toggle source</span>
193
+ </div>
188
194
  </div>
189
195
 
190
196
  <div class="method-description">
191
197
 
192
198
 
193
199
  <div class="method-source-code" id="3D-3D-source">
194
- <pre><span class="ruby-comment"># File lib/rubyXL/objects/ooxml_object.rb, line 255</span>
200
+ <pre><span class="ruby-comment"># File lib/rubyXL/objects/ooxml_object.rb, line 258</span>
195
201
  <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">==</span>(<span class="ruby-identifier">other</span>)
196
202
  <span class="ruby-identifier">other</span>.<span class="ruby-identifier">is_a?</span>(<span class="ruby-keyword">self</span>.<span class="ruby-identifier">class</span>) <span class="ruby-operator">&amp;&amp;</span>
197
- <span class="ruby-identifier">obtain_class_variable</span>(<span class="ruby-value">:@@ooxml_attributes</span>).<span class="ruby-identifier">all?</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">k</span>, <span class="ruby-identifier">v</span><span class="ruby-operator">|</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">send</span>(<span class="ruby-identifier">v</span>[<span class="ruby-value">:accessor</span>]) <span class="ruby-operator">==</span> <span class="ruby-identifier">other</span>.<span class="ruby-identifier">send</span>(<span class="ruby-identifier">v</span>[<span class="ruby-value">:accessor</span>]) } <span class="ruby-operator">&amp;&amp;</span>
198
- <span class="ruby-identifier">obtain_class_variable</span>(<span class="ruby-value">:@@ooxml_child_nodes</span>).<span class="ruby-identifier">all?</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">k</span>, <span class="ruby-identifier">v</span><span class="ruby-operator">|</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">send</span>(<span class="ruby-identifier">v</span>[<span class="ruby-value">:accessor</span>]) <span class="ruby-operator">==</span> <span class="ruby-identifier">other</span>.<span class="ruby-identifier">send</span>(<span class="ruby-identifier">v</span>[<span class="ruby-value">:accessor</span>]) }
203
+ <span class="ruby-identifier">obtain_class_variable</span>(<span class="ruby-value">:@@ooxml_attributes</span>).<span class="ruby-identifier">all?</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">_k</span>, <span class="ruby-identifier">v</span><span class="ruby-operator">|</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">send</span>(<span class="ruby-identifier">v</span>[<span class="ruby-value">:accessor</span>]) <span class="ruby-operator">==</span> <span class="ruby-identifier">other</span>.<span class="ruby-identifier">send</span>(<span class="ruby-identifier">v</span>[<span class="ruby-value">:accessor</span>]) } <span class="ruby-operator">&amp;&amp;</span>
204
+ <span class="ruby-identifier">obtain_class_variable</span>(<span class="ruby-value">:@@ooxml_child_nodes</span>).<span class="ruby-identifier">all?</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">_k</span>, <span class="ruby-identifier">v</span><span class="ruby-operator">|</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">send</span>(<span class="ruby-identifier">v</span>[<span class="ruby-value">:accessor</span>]) <span class="ruby-operator">==</span> <span class="ruby-identifier">other</span>.<span class="ruby-identifier">send</span>(<span class="ruby-identifier">v</span>[<span class="ruby-value">:accessor</span>]) }
199
205
  <span class="ruby-keyword">end</span></pre>
200
206
  </div>
201
207
  </div>
@@ -204,21 +210,23 @@
204
210
  </div>
205
211
 
206
212
  <div id="method-i-before_write_xml" class="method-detail ">
207
- <div class="method-heading">
208
- <span class="method-name">before_write_xml</span><span
209
- class="method-args">()</span>
210
- <span class="method-click-advice">click to toggle source</span>
213
+ <div class="method-header">
214
+ <div class="method-heading">
215
+ <span class="method-name">before_write_xml</span><span
216
+ class="method-args">()</span>
217
+ <span class="method-click-advice">click to toggle source</span>
218
+ </div>
211
219
  </div>
212
220
 
213
221
  <div class="method-description">
214
222
  <p>Subclass provided filter to perform last-minute operations (cleanup, count, etc.) immediately prior to write, along with option to terminate the actual write if <code>false</code> is returned (for example, to avoid writing the collection’s root node if the collection is empty).</p>
215
223
 
216
224
  <div class="method-source-code" id="before_write_xml-source">
217
- <pre><span class="ruby-comment"># File lib/rubyXL/objects/ooxml_object.rb, line 355</span>
225
+ <pre><span class="ruby-comment"># File lib/rubyXL/objects/ooxml_object.rb, line 357</span>
218
226
  <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">before_write_xml</span>
219
227
  <span class="ruby-comment">#TODO# This will go away once containers are fully implemented.</span>
220
228
  <span class="ruby-identifier">child_nodes</span> = <span class="ruby-identifier">obtain_class_variable</span>(<span class="ruby-value">:@@ooxml_child_nodes</span>)
221
- <span class="ruby-identifier">child_nodes</span>.<span class="ruby-identifier">each_pair</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">child_node_name</span>, <span class="ruby-identifier">child_node_params</span><span class="ruby-operator">|</span>
229
+ <span class="ruby-identifier">child_nodes</span>.<span class="ruby-identifier">each_pair</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">_child_node_name</span>, <span class="ruby-identifier">child_node_params</span><span class="ruby-operator">|</span>
222
230
  <span class="ruby-keyword">self</span>.<span class="ruby-identifier">count</span> = <span class="ruby-keyword">self</span>.<span class="ruby-identifier">send</span>(<span class="ruby-identifier">child_node_params</span>[<span class="ruby-value">:accessor</span>]).<span class="ruby-identifier">size</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">child_node_params</span>[<span class="ruby-value">:is_array</span>] <span class="ruby-operator">==</span> <span class="ruby-value">:with_count</span>
223
231
  }
224
232
  <span class="ruby-keyword">true</span>
@@ -230,17 +238,19 @@
230
238
  </div>
231
239
 
232
240
  <div id="method-i-index_in_collection" class="method-detail ">
233
- <div class="method-heading">
234
- <span class="method-name">index_in_collection</span><span
235
- class="method-args">()</span>
236
- <span class="method-click-advice">click to toggle source</span>
241
+ <div class="method-header">
242
+ <div class="method-heading">
243
+ <span class="method-name">index_in_collection</span><span
244
+ class="method-args">()</span>
245
+ <span class="method-click-advice">click to toggle source</span>
246
+ </div>
237
247
  </div>
238
248
 
239
249
  <div class="method-description">
240
250
  <p>Prototype method. For sparse collections (<code>Rows</code>, <code>Cells</code>, etc.) must return index at which this object is expected to reside in the collection. If <code>nil</code> is returned, then object is simply added to the end of the collection.</p>
241
251
 
242
252
  <div class="method-source-code" id="index_in_collection-source">
243
- <pre><span class="ruby-comment"># File lib/rubyXL/objects/ooxml_object.rb, line 343</span>
253
+ <pre><span class="ruby-comment"># File lib/rubyXL/objects/ooxml_object.rb, line 345</span>
244
254
  <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">index_in_collection</span>
245
255
  <span class="ruby-keyword">nil</span>
246
256
  <span class="ruby-keyword">end</span></pre>
@@ -251,10 +261,12 @@
251
261
  </div>
252
262
 
253
263
  <div id="method-i-write_xml" class="method-detail ">
254
- <div class="method-heading">
255
- <span class="method-name">write_xml</span><span
256
- class="method-args">(xml = nil, node_name_override = nil)</span>
257
- <span class="method-click-advice">click to toggle source</span>
264
+ <div class="method-header">
265
+ <div class="method-heading">
266
+ <span class="method-name">write_xml</span><span
267
+ class="method-args">(xml = nil, node_name_override = nil)</span>
268
+ <span class="method-click-advice">click to toggle source</span>
269
+ </div>
258
270
  </div>
259
271
 
260
272
  <div class="method-description">
@@ -285,7 +297,7 @@
285
297
  <p>Same as above, but uses the passed-in <code>node_name_override</code> as the new element name, instead of its default name set by <code>define_element_name</code>.</p>
286
298
 
287
299
  <div class="method-source-code" id="write_xml-source">
288
- <pre><span class="ruby-comment"># File lib/rubyXL/objects/ooxml_object.rb, line 275</span>
300
+ <pre><span class="ruby-comment"># File lib/rubyXL/objects/ooxml_object.rb, line 278</span>
289
301
  <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">write_xml</span>(<span class="ruby-identifier">xml</span> = <span class="ruby-keyword">nil</span>, <span class="ruby-identifier">node_name_override</span> = <span class="ruby-keyword">nil</span>)
290
302
  <span class="ruby-keyword">if</span> <span class="ruby-identifier">xml</span>.<span class="ruby-identifier">nil?</span> <span class="ruby-keyword">then</span>
291
303
  <span class="ruby-identifier">seed_xml</span> = <span class="ruby-constant">Nokogiri</span><span class="ruby-operator">::</span><span class="ruby-constant">XML</span>(<span class="ruby-string">&#39;&lt;?xml version = &quot;1.0&quot; standalone =&quot;yes&quot;?&gt;&#39;</span>)
@@ -326,12 +338,11 @@
326
338
  <span class="ruby-identifier">element_text</span> = <span class="ruby-identifier">attrs</span>.<span class="ruby-identifier">delete</span>(<span class="ruby-string">&#39;_&#39;</span>)
327
339
  <span class="ruby-identifier">elem</span> = <span class="ruby-identifier">xml</span>.<span class="ruby-identifier">create_element</span>(<span class="ruby-identifier">node_name_override</span> <span class="ruby-operator">||</span> <span class="ruby-identifier">obtain_class_variable</span>(<span class="ruby-value">:@@ooxml_tag_name</span>), <span class="ruby-identifier">attrs</span>, <span class="ruby-identifier">element_text</span>)
328
340
 
329
- <span class="ruby-keyword">if</span> <span class="ruby-ivar">@local_namespaces</span>.<span class="ruby-identifier">nil?</span> <span class="ruby-operator">||</span> <span class="ruby-ivar">@local_namespaces</span>.<span class="ruby-identifier">empty?</span> <span class="ruby-keyword">then</span> <span class="ruby-comment"># If no local namespaces provided in the original document,</span>
330
- <span class="ruby-comment"># use the defaults</span>
331
- <span class="ruby-identifier">obtain_class_variable</span>(<span class="ruby-value">:@@ooxml_namespaces</span>).<span class="ruby-identifier">each_pair</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">k</span>, <span class="ruby-identifier">v</span><span class="ruby-operator">|</span> <span class="ruby-identifier">elem</span>.<span class="ruby-identifier">add_namespace_definition</span>(<span class="ruby-identifier">v</span>, <span class="ruby-identifier">k</span>) }
332
- <span class="ruby-keyword">else</span> <span class="ruby-comment"># otherwise preserve the original ones</span>
333
- <span class="ruby-ivar">@local_namespaces</span>.<span class="ruby-identifier">each</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">ns</span><span class="ruby-operator">|</span> <span class="ruby-identifier">elem</span>.<span class="ruby-identifier">add_namespace_definition</span>(<span class="ruby-identifier">ns</span>.<span class="ruby-identifier">prefix</span>, <span class="ruby-identifier">ns</span>.<span class="ruby-identifier">href</span>) }
334
- <span class="ruby-keyword">end</span>
341
+ <span class="ruby-comment"># First, populate namespaces from the original document</span>
342
+ <span class="ruby-ivar">@local_namespaces</span>&amp;.<span class="ruby-identifier">each_pair</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">href</span>, <span class="ruby-identifier">prefix</span><span class="ruby-operator">|</span> <span class="ruby-identifier">elem</span>.<span class="ruby-identifier">add_namespace_definition</span>(<span class="ruby-identifier">prefix</span>, <span class="ruby-identifier">href</span>) }
343
+
344
+ <span class="ruby-comment"># Then, add defaults. Note that if some namespace prefix was already set, Nokogiri will NOT change that namespace.</span>
345
+ <span class="ruby-identifier">obtain_class_variable</span>(<span class="ruby-value">:@@ooxml_namespaces</span>).<span class="ruby-identifier">each_pair</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">href</span>, <span class="ruby-identifier">prefix</span><span class="ruby-operator">|</span> <span class="ruby-identifier">elem</span>.<span class="ruby-identifier">add_namespace_definition</span>(<span class="ruby-identifier">prefix</span>, <span class="ruby-identifier">href</span>) }
335
346
 
336
347
  <span class="ruby-identifier">child_nodes</span> = <span class="ruby-identifier">obtain_class_variable</span>(<span class="ruby-value">:@@ooxml_child_nodes</span>)
337
348
  <span class="ruby-identifier">child_nodes</span>.<span class="ruby-identifier">each_pair</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">child_node_name</span>, <span class="ruby-identifier">child_node_params</span><span class="ruby-operator">|</span>
@@ -364,17 +375,19 @@
364
375
  </header>
365
376
 
366
377
  <div id="method-i-get_node_object" class="method-detail ">
367
- <div class="method-heading">
368
- <span class="method-name">get_node_object</span><span
369
- class="method-args">(child_node_params)</span>
370
- <span class="method-click-advice">click to toggle source</span>
378
+ <div class="method-header">
379
+ <div class="method-heading">
380
+ <span class="method-name">get_node_object</span><span
381
+ class="method-args">(child_node_params)</span>
382
+ <span class="method-click-advice">click to toggle source</span>
383
+ </div>
371
384
  </div>
372
385
 
373
386
  <div class="method-description">
374
387
 
375
388
 
376
389
  <div class="method-source-code" id="get_node_object-source">
377
- <pre><span class="ruby-comment"># File lib/rubyXL/objects/ooxml_object.rb, line 347</span>
390
+ <pre><span class="ruby-comment"># File lib/rubyXL/objects/ooxml_object.rb, line 349</span>
378
391
  <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">get_node_object</span>(<span class="ruby-identifier">child_node_params</span>)
379
392
  <span class="ruby-keyword">self</span>.<span class="ruby-identifier">send</span>(<span class="ruby-identifier">child_node_params</span>[<span class="ruby-value">:accessor</span>])
380
393
  <span class="ruby-keyword">end</span></pre>
@@ -385,17 +398,19 @@
385
398
  </div>
386
399
 
387
400
  <div id="method-i-init_child_nodes" class="method-detail ">
388
- <div class="method-heading">
389
- <span class="method-name">init_child_nodes</span><span
390
- class="method-args">(params)</span>
391
- <span class="method-click-advice">click to toggle source</span>
401
+ <div class="method-header">
402
+ <div class="method-heading">
403
+ <span class="method-name">init_child_nodes</span><span
404
+ class="method-args">(params)</span>
405
+ <span class="method-click-advice">click to toggle source</span>
406
+ </div>
392
407
  </div>
393
408
 
394
409
  <div class="method-description">
395
410
 
396
411
 
397
412
  <div class="method-source-code" id="init_child_nodes-source">
398
- <pre><span class="ruby-comment"># File lib/rubyXL/objects/ooxml_object.rb, line 237</span>
413
+ <pre><span class="ruby-comment"># File lib/rubyXL/objects/ooxml_object.rb, line 240</span>
399
414
  <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">init_child_nodes</span>(<span class="ruby-identifier">params</span>)
400
415
  <span class="ruby-identifier">obtain_class_variable</span>(<span class="ruby-value">:@@ooxml_child_nodes</span>).<span class="ruby-identifier">each_value</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">v</span><span class="ruby-operator">|</span>
401
416
  <span class="ruby-identifier">initial_value</span> =
@@ -421,7 +436,7 @@
421
436
 
422
437
  <footer id="validator-badges" role="contentinfo">
423
438
  <p><a href="https://validator.w3.org/check/referer">Validate</a>
424
- <p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.4.0.
439
+ <p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.6.3.1.
425
440
  <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
426
441
  </footer>
427
442
 
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::OOXMLRelationshipsFile - rubyXL 3.4.25</title>
7
+ <title>class RubyXL::OOXMLRelationshipsFile - rubyXL 3.4.33</title>
8
8
 
9
9
  <script type="text/javascript">
10
10
  var rdoc_rel_prefix = "../";
@@ -41,7 +41,7 @@
41
41
  <div id="search-field-wrapper">
42
42
  <input id="search-field" role="combobox" aria-label="Search"
43
43
  aria-autocomplete="list" aria-controls="search-results"
44
- type="text" name="search" placeholder="Search" spellcheck="false"
44
+ type="text" name="search" placeholder="Search (/) for a class, method, ..." spellcheck="false"
45
45
  title="Type to search, Up and Down to navigate, Enter to load">
46
46
  </div>
47
47
 
@@ -146,10 +146,12 @@
146
146
  </header>
147
147
 
148
148
  <div id="method-c-get_class_by_rel_type" class="method-detail ">
149
- <div class="method-heading">
150
- <span class="method-name">get_class_by_rel_type</span><span
151
- class="method-args">(rel_type)</span>
152
- <span class="method-click-advice">click to toggle source</span>
149
+ <div class="method-header">
150
+ <div class="method-heading">
151
+ <span class="method-name">get_class_by_rel_type</span><span
152
+ class="method-args">(rel_type)</span>
153
+ <span class="method-click-advice">click to toggle source</span>
154
+ </div>
153
155
  </div>
154
156
 
155
157
  <div class="method-description">
@@ -178,10 +180,12 @@
178
180
  </div>
179
181
 
180
182
  <div id="method-c-load_relationship_file" class="method-detail ">
181
- <div class="method-heading">
182
- <span class="method-name">load_relationship_file</span><span
183
- class="method-args">(zipdir_path, base_file_path)</span>
184
- <span class="method-click-advice">click to toggle source</span>
183
+ <div class="method-header">
184
+ <div class="method-heading">
185
+ <span class="method-name">load_relationship_file</span><span
186
+ class="method-args">(zipdir_path, base_file_path)</span>
187
+ <span class="method-click-advice">click to toggle source</span>
188
+ </div>
185
189
  </div>
186
190
 
187
191
  <div class="method-description">
@@ -203,10 +207,12 @@
203
207
  </div>
204
208
 
205
209
  <div id="method-c-rel_file_path" class="method-detail ">
206
- <div class="method-heading">
207
- <span class="method-name">rel_file_path</span><span
208
- class="method-args">(base_file_path)</span>
209
- <span class="method-click-advice">click to toggle source</span>
210
+ <div class="method-header">
211
+ <div class="method-heading">
212
+ <span class="method-name">rel_file_path</span><span
213
+ class="method-args">(base_file_path)</span>
214
+ <span class="method-click-advice">click to toggle source</span>
215
+ </div>
210
216
  </div>
211
217
 
212
218
  <div class="method-description">
@@ -232,10 +238,12 @@
232
238
  </header>
233
239
 
234
240
  <div id="method-i-before_write_xml" class="method-detail ">
235
- <div class="method-heading">
236
- <span class="method-name">before_write_xml</span><span
237
- class="method-args">()</span>
238
- <span class="method-click-advice">click to toggle source</span>
241
+ <div class="method-header">
242
+ <div class="method-heading">
243
+ <span class="method-name">before_write_xml</span><span
244
+ class="method-args">()</span>
245
+ <span class="method-click-advice">click to toggle source</span>
246
+ </div>
239
247
  </div>
240
248
 
241
249
  <div class="method-description">
@@ -267,10 +275,12 @@
267
275
  </div>
268
276
 
269
277
  <div id="method-i-find_by_rid" class="method-detail ">
270
- <div class="method-heading">
271
- <span class="method-name">find_by_rid</span><span
272
- class="method-args">(r_id)</span>
273
- <span class="method-click-advice">click to toggle source</span>
278
+ <div class="method-header">
279
+ <div class="method-heading">
280
+ <span class="method-name">find_by_rid</span><span
281
+ class="method-args">(r_id)</span>
282
+ <span class="method-click-advice">click to toggle source</span>
283
+ </div>
274
284
  </div>
275
285
 
276
286
  <div class="method-description">
@@ -288,10 +298,12 @@
288
298
  </div>
289
299
 
290
300
  <div id="method-i-find_by_target" class="method-detail ">
291
- <div class="method-heading">
292
- <span class="method-name">find_by_target</span><span
293
- class="method-args">(target)</span>
294
- <span class="method-click-advice">click to toggle source</span>
301
+ <div class="method-header">
302
+ <div class="method-heading">
303
+ <span class="method-name">find_by_target</span><span
304
+ class="method-args">(target)</span>
305
+ <span class="method-click-advice">click to toggle source</span>
306
+ </div>
295
307
  </div>
296
308
 
297
309
  <div class="method-description">
@@ -311,10 +323,12 @@
311
323
  </div>
312
324
 
313
325
  <div id="method-i-load_related_files" class="method-detail ">
314
- <div class="method-heading">
315
- <span class="method-name">load_related_files</span><span
316
- class="method-args">(zipdir_path, base_file_name)</span>
317
- <span class="method-click-advice">click to toggle source</span>
326
+ <div class="method-header">
327
+ <div class="method-heading">
328
+ <span class="method-name">load_related_files</span><span
329
+ class="method-args">(zipdir_path, base_file_name)</span>
330
+ <span class="method-click-advice">click to toggle source</span>
331
+ </div>
318
332
  </div>
319
333
 
320
334
  <div class="method-description">
@@ -350,7 +364,7 @@
350
364
  <span class="ruby-keyword">self</span>.<span class="ruby-identifier">related_files</span>[<span class="ruby-identifier">rel</span>.<span class="ruby-identifier">id</span>] = <span class="ruby-identifier">obj</span>
351
365
  }
352
366
 
353
- <span class="ruby-identifier">@@debug_indent</span> <span class="ruby-operator">-=</span><span class="ruby-value">2</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">@@debug_indent</span>
367
+ <span class="ruby-identifier">@@debug_indent</span> <span class="ruby-operator">-=</span> <span class="ruby-value">2</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">@@debug_indent</span>
354
368
 
355
369
  <span class="ruby-identifier">related_files</span>
356
370
  <span class="ruby-keyword">end</span></pre>
@@ -361,10 +375,12 @@
361
375
  </div>
362
376
 
363
377
  <div id="method-i-xlsx_path" class="method-detail ">
364
- <div class="method-heading">
365
- <span class="method-name">xlsx_path</span><span
366
- class="method-args">()</span>
367
- <span class="method-click-advice">click to toggle source</span>
378
+ <div class="method-header">
379
+ <div class="method-heading">
380
+ <span class="method-name">xlsx_path</span><span
381
+ class="method-args">()</span>
382
+ <span class="method-click-advice">click to toggle source</span>
383
+ </div>
368
384
  </div>
369
385
 
370
386
  <div class="method-description">
@@ -389,10 +405,12 @@
389
405
  </header>
390
406
 
391
407
  <div id="method-i-add_relationship" class="method-detail ">
392
- <div class="method-heading">
393
- <span class="method-name">add_relationship</span><span
394
- class="method-args">(obj)</span>
395
- <span class="method-click-advice">click to toggle source</span>
408
+ <div class="method-header">
409
+ <div class="method-heading">
410
+ <span class="method-name">add_relationship</span><span
411
+ class="method-args">(obj)</span>
412
+ <span class="method-click-advice">click to toggle source</span>
413
+ </div>
396
414
  </div>
397
415
 
398
416
  <div class="method-description">
@@ -414,10 +432,12 @@
414
432
  </div>
415
433
 
416
434
  <div id="method-i-new_relationship" class="method-detail ">
417
- <div class="method-heading">
418
- <span class="method-name">new_relationship</span><span
419
- class="method-args">(target, type)</span>
420
- <span class="method-click-advice">click to toggle source</span>
435
+ <div class="method-header">
436
+ <div class="method-heading">
437
+ <span class="method-name">new_relationship</span><span
438
+ class="method-args">(target, type)</span>
439
+ <span class="method-click-advice">click to toggle source</span>
440
+ </div>
421
441
  </div>
422
442
 
423
443
  <div class="method-description">
@@ -444,7 +464,7 @@
444
464
 
445
465
  <footer id="validator-badges" role="contentinfo">
446
466
  <p><a href="https://validator.w3.org/check/referer">Validate</a>
447
- <p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.4.0.
467
+ <p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.6.3.1.
448
468
  <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
449
469
  </footer>
450
470