rubyXL 3.3.1 → 3.3.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (363) hide show
  1. checksums.yaml +4 -4
  2. data/VERSION +1 -1
  3. data/lib/rubyXL/objects/content_types.rb +8 -3
  4. data/lib/rubyXL/objects/ooxml_object.rb +0 -1
  5. data/lib/rubyXL/objects/relationships.rb +1 -1
  6. data/lib/rubyXL/objects/storage.rb +28 -5
  7. data/lib/rubyXL/objects/text.rb +8 -1
  8. data/lib/rubyXL/objects/workbook.rb +9 -2
  9. data/rdoc/README_rdoc.html +179 -152
  10. data/rdoc/RubyXL.html +7 -10
  11. data/rdoc/RubyXL/AExtension.html +7 -10
  12. data/rdoc/RubyXL/AExtensionStorageArea.html +7 -10
  13. data/rdoc/RubyXL/AdjustHandleList.html +10 -10
  14. data/rdoc/RubyXL/Alignment.html +7 -10
  15. data/rdoc/RubyXL/AlternateContent.html +7 -10
  16. data/rdoc/RubyXL/Authors.html +10 -10
  17. data/rdoc/RubyXL/AutoFilter.html +10 -10
  18. data/rdoc/RubyXL/AutoFilterColumn.html +10 -10
  19. data/rdoc/RubyXL/BinaryImageFile.html +26 -10
  20. data/rdoc/RubyXL/BodyProperties.html +10 -10
  21. data/rdoc/RubyXL/BooleanNode.html +7 -10
  22. data/rdoc/RubyXL/BooleanValue.html +7 -10
  23. data/rdoc/RubyXL/Border.html +97 -10
  24. data/rdoc/RubyXL/BorderEdge.html +7 -10
  25. data/rdoc/RubyXL/Borders.html +61 -10
  26. data/rdoc/RubyXL/Break.html +10 -10
  27. data/rdoc/RubyXL/BreakList.html +10 -10
  28. data/rdoc/RubyXL/CT_AdjPoint2D.html +10 -10
  29. data/rdoc/RubyXL/CT_AlphaBiLevelEffect.html +10 -10
  30. data/rdoc/RubyXL/CT_AlphaModulateEffect.html +10 -10
  31. data/rdoc/RubyXL/CT_AlphaModulateFixedEffect.html +10 -10
  32. data/rdoc/RubyXL/CT_AlphaOutsetEffect.html +10 -10
  33. data/rdoc/RubyXL/CT_AlphaReplaceEffect.html +10 -10
  34. data/rdoc/RubyXL/CT_Backdrop.html +10 -10
  35. data/rdoc/RubyXL/CT_Bevel.html +10 -10
  36. data/rdoc/RubyXL/CT_BiLevelEffect.html +10 -10
  37. data/rdoc/RubyXL/CT_BlendEffect.html +10 -10
  38. data/rdoc/RubyXL/CT_Blip.html +10 -10
  39. data/rdoc/RubyXL/CT_BlipFillProperties.html +10 -10
  40. data/rdoc/RubyXL/CT_BlurEffect.html +10 -10
  41. data/rdoc/RubyXL/CT_Camera.html +10 -10
  42. data/rdoc/RubyXL/CT_Color.html +10 -10
  43. data/rdoc/RubyXL/CT_ColorChangeEffect.html +10 -10
  44. data/rdoc/RubyXL/CT_ColorMapping.html +10 -10
  45. data/rdoc/RubyXL/CT_ColorScheme.html +10 -10
  46. data/rdoc/RubyXL/CT_ColorSchemeAndMapping.html +10 -10
  47. data/rdoc/RubyXL/CT_ConnectionSite.html +10 -10
  48. data/rdoc/RubyXL/CT_ConnectionSiteList.html +10 -10
  49. data/rdoc/RubyXL/CT_DashStop.html +10 -10
  50. data/rdoc/RubyXL/CT_DashStopList.html +10 -10
  51. data/rdoc/RubyXL/CT_DefaultShapeDefinition.html +10 -10
  52. data/rdoc/RubyXL/CT_DuotoneEffect.html +10 -10
  53. data/rdoc/RubyXL/CT_EffectContainer.html +10 -10
  54. data/rdoc/RubyXL/CT_EffectList.html +10 -10
  55. data/rdoc/RubyXL/CT_EffectReference.html +10 -10
  56. data/rdoc/RubyXL/CT_EffectStyleItem.html +10 -10
  57. data/rdoc/RubyXL/CT_EffectStyleList.html +10 -10
  58. data/rdoc/RubyXL/CT_EmbeddedWAVAudioFile.html +10 -10
  59. data/rdoc/RubyXL/CT_FillEffect.html +10 -10
  60. data/rdoc/RubyXL/CT_FillOverlayEffect.html +10 -10
  61. data/rdoc/RubyXL/CT_FillStyleList.html +10 -10
  62. data/rdoc/RubyXL/CT_FlatText.html +10 -10
  63. data/rdoc/RubyXL/CT_FontCollection.html +10 -10
  64. data/rdoc/RubyXL/CT_FontReference.html +10 -10
  65. data/rdoc/RubyXL/CT_GeomGuideList.html +10 -10
  66. data/rdoc/RubyXL/CT_GlowEffect.html +10 -10
  67. data/rdoc/RubyXL/CT_GradientFillProperties.html +10 -10
  68. data/rdoc/RubyXL/CT_GradientStop.html +10 -10
  69. data/rdoc/RubyXL/CT_GradientStopList.html +10 -10
  70. data/rdoc/RubyXL/CT_HSLEffect.html +10 -10
  71. data/rdoc/RubyXL/CT_HslColor.html +10 -10
  72. data/rdoc/RubyXL/CT_Hyperlink.html +10 -10
  73. data/rdoc/RubyXL/CT_InnerShadowEffect.html +10 -10
  74. data/rdoc/RubyXL/CT_LightRig.html +10 -10
  75. data/rdoc/RubyXL/CT_LineEndProperties.html +10 -10
  76. data/rdoc/RubyXL/CT_LineJoinMiterProperties.html +10 -10
  77. data/rdoc/RubyXL/CT_LineProperties.html +10 -10
  78. data/rdoc/RubyXL/CT_LineStyleList.html +10 -10
  79. data/rdoc/RubyXL/CT_LinearShadeProperties.html +10 -10
  80. data/rdoc/RubyXL/CT_LuminanceEffect.html +10 -10
  81. data/rdoc/RubyXL/CT_ObjectStyleDefaults.html +10 -10
  82. data/rdoc/RubyXL/CT_OuterShadowEffect.html +10 -10
  83. data/rdoc/RubyXL/CT_Path2D.html +10 -10
  84. data/rdoc/RubyXL/CT_Path2DArcTo.html +10 -10
  85. data/rdoc/RubyXL/CT_Path2DCubicBezierTo.html +10 -10
  86. data/rdoc/RubyXL/CT_Path2DList.html +10 -10
  87. data/rdoc/RubyXL/CT_Path2DQuadBezierTo.html +10 -10
  88. data/rdoc/RubyXL/CT_Path2DTo.html +10 -10
  89. data/rdoc/RubyXL/CT_PathShadeProperties.html +10 -10
  90. data/rdoc/RubyXL/CT_PatternFillProperties.html +10 -10
  91. data/rdoc/RubyXL/CT_Point3D.html +10 -10
  92. data/rdoc/RubyXL/CT_PolarAdjustHandle.html +10 -10
  93. data/rdoc/RubyXL/CT_PresetColor.html +10 -10
  94. data/rdoc/RubyXL/CT_PresetLineDashProperties.html +10 -10
  95. data/rdoc/RubyXL/CT_PresetShadowEffect.html +10 -10
  96. data/rdoc/RubyXL/CT_PresetTextShape.html +10 -10
  97. data/rdoc/RubyXL/CT_ReflectionEffect.html +10 -10
  98. data/rdoc/RubyXL/CT_RelativeOffsetEffect.html +10 -10
  99. data/rdoc/RubyXL/CT_RelativeRect.html +10 -10
  100. data/rdoc/RubyXL/CT_SRgbColor.html +10 -10
  101. data/rdoc/RubyXL/CT_ScRgbColor.html +10 -10
  102. data/rdoc/RubyXL/CT_Scene3D.html +10 -10
  103. data/rdoc/RubyXL/CT_SchemeColor.html +10 -10
  104. data/rdoc/RubyXL/CT_Shape3D.html +10 -10
  105. data/rdoc/RubyXL/CT_ShapeStyle.html +10 -10
  106. data/rdoc/RubyXL/CT_SoftEdgesEffect.html +10 -10
  107. data/rdoc/RubyXL/CT_SphereCoords.html +10 -10
  108. data/rdoc/RubyXL/CT_StretchInfoProperties.html +10 -10
  109. data/rdoc/RubyXL/CT_StyleMatrix.html +10 -10
  110. data/rdoc/RubyXL/CT_StyleMatrixReference.html +10 -10
  111. data/rdoc/RubyXL/CT_SupplementalFont.html +10 -10
  112. data/rdoc/RubyXL/CT_SystemColor.html +10 -10
  113. data/rdoc/RubyXL/CT_TextAutonumberBullet.html +10 -10
  114. data/rdoc/RubyXL/CT_TextBlipBullet.html +10 -10
  115. data/rdoc/RubyXL/CT_TextCharBullet.html +10 -10
  116. data/rdoc/RubyXL/CT_TextCharacterProperties.html +10 -10
  117. data/rdoc/RubyXL/CT_TextFont.html +10 -10
  118. data/rdoc/RubyXL/CT_TextListStyle.html +10 -10
  119. data/rdoc/RubyXL/CT_TextNormalAutofit.html +10 -10
  120. data/rdoc/RubyXL/CT_TextParagraphProperties.html +10 -10
  121. data/rdoc/RubyXL/CT_TextSpacing.html +10 -10
  122. data/rdoc/RubyXL/CT_TextTabStop.html +10 -10
  123. data/rdoc/RubyXL/CT_TextTabStopList.html +10 -10
  124. data/rdoc/RubyXL/CT_TileInfoProperties.html +10 -10
  125. data/rdoc/RubyXL/CT_TintEffect.html +10 -10
  126. data/rdoc/RubyXL/CT_Transform2D.html +10 -10
  127. data/rdoc/RubyXL/CT_TransformEffect.html +10 -10
  128. data/rdoc/RubyXL/CT_Vector3D.html +10 -10
  129. data/rdoc/RubyXL/CT_XYAdjustHandle.html +10 -10
  130. data/rdoc/RubyXL/CalculationChain.html +7 -10
  131. data/rdoc/RubyXL/CalculationChainCell.html +7 -10
  132. data/rdoc/RubyXL/CalculationProperties.html +10 -10
  133. data/rdoc/RubyXL/Cell.html +9 -11
  134. data/rdoc/RubyXL/CellConvenienceMethods.html +203 -10
  135. data/rdoc/RubyXL/CellSmartTag.html +10 -10
  136. data/rdoc/RubyXL/CellSmartTagProperty.html +10 -10
  137. data/rdoc/RubyXL/CellSmartTags.html +10 -10
  138. data/rdoc/RubyXL/CellStyle.html +7 -10
  139. data/rdoc/RubyXL/CellStyleXFs.html +61 -10
  140. data/rdoc/RubyXL/CellStyles.html +61 -10
  141. data/rdoc/RubyXL/CellValue.html +7 -10
  142. data/rdoc/RubyXL/CellWatch.html +10 -10
  143. data/rdoc/RubyXL/CellWatches.html +10 -10
  144. data/rdoc/RubyXL/CellXFs.html +65 -10
  145. data/rdoc/RubyXL/ChartColorsFile.html +26 -10
  146. data/rdoc/RubyXL/ChartFile.html +93 -10
  147. data/rdoc/RubyXL/ChartStyleFile.html +26 -10
  148. data/rdoc/RubyXL/ChartUserShapesFile.html +26 -10
  149. data/rdoc/RubyXL/Chartsheet.html +164 -10
  150. data/rdoc/RubyXL/ChartsheetPageSetup.html +10 -10
  151. data/rdoc/RubyXL/ChartsheetProperties.html +7 -10
  152. data/rdoc/RubyXL/ChartsheetProtection.html +7 -10
  153. data/rdoc/RubyXL/ChartsheetView.html +10 -10
  154. data/rdoc/RubyXL/ChartsheetViews.html +10 -10
  155. data/rdoc/RubyXL/Color.html +7 -10
  156. data/rdoc/RubyXL/ColorFilter.html +10 -10
  157. data/rdoc/RubyXL/ColorScale.html +10 -10
  158. data/rdoc/RubyXL/ColorSet.html +10 -10
  159. data/rdoc/RubyXL/Colors.html +10 -10
  160. data/rdoc/RubyXL/ColumnRange.html +7 -10
  161. data/rdoc/RubyXL/ColumnRanges.html +7 -10
  162. data/rdoc/RubyXL/Comment.html +7 -10
  163. data/rdoc/RubyXL/CommentList.html +10 -10
  164. data/rdoc/RubyXL/CommentsFile.html +101 -10
  165. data/rdoc/RubyXL/ConditionalFormatValue.html +10 -10
  166. data/rdoc/RubyXL/ConditionalFormatting.html +10 -10
  167. data/rdoc/RubyXL/ConditionalFormattingRule.html +10 -10
  168. data/rdoc/RubyXL/ContentTypeDefault.html +7 -10
  169. data/rdoc/RubyXL/ContentTypeOverride.html +7 -10
  170. data/rdoc/RubyXL/ContentTypes.html +15 -13
  171. data/rdoc/RubyXL/ControlPropertiesFile.html +21 -10
  172. data/rdoc/RubyXL/CorePropertiesFile.html +378 -10
  173. data/rdoc/RubyXL/CustomColor.html +10 -10
  174. data/rdoc/RubyXL/CustomColorList.html +10 -10
  175. data/rdoc/RubyXL/CustomFilter.html +10 -10
  176. data/rdoc/RubyXL/CustomFilters.html +10 -10
  177. data/rdoc/RubyXL/CustomGeometry.html +10 -10
  178. data/rdoc/RubyXL/CustomProperties.html +10 -10
  179. data/rdoc/RubyXL/CustomPropertiesFile.html +26 -10
  180. data/rdoc/RubyXL/CustomProperty.html +10 -10
  181. data/rdoc/RubyXL/CustomSheetView.html +10 -10
  182. data/rdoc/RubyXL/CustomSheetViews.html +10 -10
  183. data/rdoc/RubyXL/CustomWorkbookView.html +10 -10
  184. data/rdoc/RubyXL/CustomWorkbookViews.html +10 -10
  185. data/rdoc/RubyXL/CustomXMLFile.html +21 -10
  186. data/rdoc/RubyXL/DXF.html +10 -10
  187. data/rdoc/RubyXL/DXFs.html +10 -10
  188. data/rdoc/RubyXL/DataBar.html +10 -10
  189. data/rdoc/RubyXL/DataConsolidate.html +10 -10
  190. data/rdoc/RubyXL/DataConsolidationReference.html +10 -10
  191. data/rdoc/RubyXL/DataConsolidationReferences.html +10 -10
  192. data/rdoc/RubyXL/DataType.html +7 -10
  193. data/rdoc/RubyXL/DataValidation.html +7 -10
  194. data/rdoc/RubyXL/DataValidations.html +10 -10
  195. data/rdoc/RubyXL/DateGroupItem.html +7 -10
  196. data/rdoc/RubyXL/DefinedName.html +10 -10
  197. data/rdoc/RubyXL/DefinedNames.html +10 -10
  198. data/rdoc/RubyXL/DocumentPropertiesFile.html +7 -10
  199. data/rdoc/RubyXL/DrawingFile.html +92 -10
  200. data/rdoc/RubyXL/DynamicFilter.html +10 -10
  201. data/rdoc/RubyXL/EmbeddedControl.html +10 -10
  202. data/rdoc/RubyXL/EmbeddedControls.html +10 -10
  203. data/rdoc/RubyXL/Extension.html +7 -10
  204. data/rdoc/RubyXL/ExtensionStorageArea.html +7 -10
  205. data/rdoc/RubyXL/Extents.html +10 -10
  206. data/rdoc/RubyXL/ExternalLinksFile.html +26 -10
  207. data/rdoc/RubyXL/ExternalReference.html +10 -10
  208. data/rdoc/RubyXL/ExternalReferences.html +10 -10
  209. data/rdoc/RubyXL/ExtraColorSchemeList.html +10 -10
  210. data/rdoc/RubyXL/FieldItem.html +10 -10
  211. data/rdoc/RubyXL/FileRecoveryProperties.html +10 -10
  212. data/rdoc/RubyXL/FileSharing.html +7 -10
  213. data/rdoc/RubyXL/FileVersion.html +7 -10
  214. data/rdoc/RubyXL/Fill.html +61 -10
  215. data/rdoc/RubyXL/Fills.html +61 -10
  216. data/rdoc/RubyXL/FilterContainer.html +10 -10
  217. data/rdoc/RubyXL/FloatNode.html +7 -10
  218. data/rdoc/RubyXL/FloatValue.html +7 -10
  219. data/rdoc/RubyXL/Font.html +7 -10
  220. data/rdoc/RubyXL/FontScheme.html +10 -10
  221. data/rdoc/RubyXL/Fonts.html +61 -10
  222. data/rdoc/RubyXL/Formula.html +7 -10
  223. data/rdoc/RubyXL/FunctionGroup.html +10 -10
  224. data/rdoc/RubyXL/FunctionGroups.html +10 -10
  225. data/rdoc/RubyXL/GenericStorageObject.html +7 -10
  226. data/rdoc/RubyXL/GradientFill.html +10 -10
  227. data/rdoc/RubyXL/HeaderFooterSettings.html +10 -10
  228. data/rdoc/RubyXL/Hyperlink.html +10 -10
  229. data/rdoc/RubyXL/HyperlinkRelFile.html +21 -10
  230. data/rdoc/RubyXL/Hyperlinks.html +10 -10
  231. data/rdoc/RubyXL/IconFilter.html +10 -10
  232. data/rdoc/RubyXL/IconSet.html +10 -10
  233. data/rdoc/RubyXL/IgnoredError.html +10 -10
  234. data/rdoc/RubyXL/IgnoredErrors.html +10 -10
  235. data/rdoc/RubyXL/IndexedColors.html +10 -10
  236. data/rdoc/RubyXL/InputCells.html +10 -10
  237. data/rdoc/RubyXL/IntegerNode.html +7 -10
  238. data/rdoc/RubyXL/IntegerValue.html +7 -10
  239. data/rdoc/RubyXL/LegacyCell.html +7 -10
  240. data/rdoc/RubyXL/LegacyWorksheet.html +7 -10
  241. data/rdoc/RubyXL/MRUColors.html +10 -10
  242. data/rdoc/RubyXL/MacrosFile.html +26 -10
  243. data/rdoc/RubyXL/MergedCell.html +10 -10
  244. data/rdoc/RubyXL/MergedCells.html +10 -10
  245. data/rdoc/RubyXL/NumFmt.html +10 -10
  246. data/rdoc/RubyXL/NumberFormat.html +7 -10
  247. data/rdoc/RubyXL/NumberFormats.html +7 -10
  248. data/rdoc/RubyXL/OLEObject.html +10 -10
  249. data/rdoc/RubyXL/OLEObjectFile.html +26 -10
  250. data/rdoc/RubyXL/OLEObjects.html +10 -10
  251. data/rdoc/RubyXL/OLESize.html +10 -10
  252. data/rdoc/RubyXL/OOXMLContainerObject.html +298 -10
  253. data/rdoc/RubyXL/OOXMLObject.html +23 -11
  254. data/rdoc/RubyXL/OOXMLObjectClassMethods.html +23 -22
  255. data/rdoc/RubyXL/OOXMLObjectInstanceMethods.html +447 -10
  256. data/rdoc/RubyXL/OOXMLRelationshipsFile.html +8 -11
  257. data/rdoc/RubyXL/OOXMLTopLevelObject.html +284 -10
  258. data/rdoc/RubyXL/Offset.html +10 -10
  259. data/rdoc/RubyXL/OutlineProperties.html +7 -10
  260. data/rdoc/RubyXL/PageMargins.html +10 -10
  261. data/rdoc/RubyXL/PageSetup.html +10 -10
  262. data/rdoc/RubyXL/PageSetupProperties.html +7 -10
  263. data/rdoc/RubyXL/Pane.html +10 -10
  264. data/rdoc/RubyXL/Parser.html +7 -10
  265. data/rdoc/RubyXL/PatternFill.html +10 -10
  266. data/rdoc/RubyXL/PhoneticProperties.html +10 -10
  267. data/rdoc/RubyXL/PhoneticRun.html +10 -10
  268. data/rdoc/RubyXL/PivotArea.html +10 -10
  269. data/rdoc/RubyXL/PivotCache.html +10 -10
  270. data/rdoc/RubyXL/PivotCacheDefinitionFile.html +38 -11
  271. data/rdoc/RubyXL/PivotCacheRecordsFile.html +121 -0
  272. data/rdoc/RubyXL/PivotCaches.html +10 -10
  273. data/rdoc/RubyXL/PivotReference.html +10 -10
  274. data/rdoc/RubyXL/PivotReferences.html +10 -10
  275. data/rdoc/RubyXL/PivotTableFile.html +38 -11
  276. data/rdoc/RubyXL/PivotTableSelection.html +10 -10
  277. data/rdoc/RubyXL/PresetGeometry.html +10 -10
  278. data/rdoc/RubyXL/PrintOptions.html +10 -10
  279. data/rdoc/RubyXL/PrinterSettingsFile.html +26 -10
  280. data/rdoc/RubyXL/ProtectedRange.html +10 -10
  281. data/rdoc/RubyXL/ProtectedRanges.html +10 -10
  282. data/rdoc/RubyXL/Protection.html +10 -10
  283. data/rdoc/RubyXL/RID.html +7 -10
  284. data/rdoc/RubyXL/RawOOXML.html +7 -10
  285. data/rdoc/RubyXL/Reference.html +7 -10
  286. data/rdoc/RubyXL/Relationship.html +7 -10
  287. data/rdoc/RubyXL/RelationshipSupport.html +324 -10
  288. data/rdoc/RubyXL/RelationshipSupport/ClassMehods.html +59 -10
  289. data/rdoc/RubyXL/RichText.html +63 -10
  290. data/rdoc/RubyXL/RichTextRun.html +61 -10
  291. data/rdoc/RubyXL/Row.html +329 -10
  292. data/rdoc/RubyXL/RunProperties.html +7 -10
  293. data/rdoc/RubyXL/Scenario.html +10 -10
  294. data/rdoc/RubyXL/Scenarios.html +10 -10
  295. data/rdoc/RubyXL/Selection.html +69 -10
  296. data/rdoc/RubyXL/ShapeGuide.html +10 -10
  297. data/rdoc/RubyXL/ShapeTextRectangle.html +10 -10
  298. data/rdoc/RubyXL/SharedStringsTable.html +9 -12
  299. data/rdoc/RubyXL/Sheet.html +10 -10
  300. data/rdoc/RubyXL/SheetCalculationProperties.html +10 -10
  301. data/rdoc/RubyXL/SheetData.html +96 -10
  302. data/rdoc/RubyXL/Sheets.html +10 -10
  303. data/rdoc/RubyXL/SlicerCacheFile.html +26 -10
  304. data/rdoc/RubyXL/SlicerFile.html +26 -10
  305. data/rdoc/RubyXL/SmartTagProperties.html +10 -10
  306. data/rdoc/RubyXL/SmartTagType.html +10 -10
  307. data/rdoc/RubyXL/SmartTagTypes.html +10 -10
  308. data/rdoc/RubyXL/SmartTags.html +10 -10
  309. data/rdoc/RubyXL/SortCondition.html +10 -10
  310. data/rdoc/RubyXL/SortState.html +10 -10
  311. data/rdoc/RubyXL/Sqref.html +7 -10
  312. data/rdoc/RubyXL/Stop.html +7 -10
  313. data/rdoc/RubyXL/StringNode.html +7 -10
  314. data/rdoc/RubyXL/StringNodeW3C.html +7 -10
  315. data/rdoc/RubyXL/StringValue.html +7 -10
  316. data/rdoc/RubyXL/Stylesheet.html +211 -10
  317. data/rdoc/RubyXL/TableFile.html +26 -10
  318. data/rdoc/RubyXL/TableParts.html +7 -10
  319. data/rdoc/RubyXL/TableStyle.html +10 -10
  320. data/rdoc/RubyXL/TableStyles.html +10 -10
  321. data/rdoc/RubyXL/Text.html +33 -13
  322. data/rdoc/RubyXL/Theme.html +439 -10
  323. data/rdoc/RubyXL/ThemeElements.html +10 -10
  324. data/rdoc/RubyXL/ThumbnailFile.html +26 -10
  325. data/rdoc/RubyXL/Top10.html +10 -10
  326. data/rdoc/RubyXL/VMLDrawingFile.html +39 -11
  327. data/rdoc/RubyXL/Variant.html +7 -10
  328. data/rdoc/RubyXL/Vector.html +65 -10
  329. data/rdoc/RubyXL/VectorValue.html +7 -10
  330. data/rdoc/RubyXL/VisualProperties.html +10 -10
  331. data/rdoc/RubyXL/WebPublishObject.html +10 -10
  332. data/rdoc/RubyXL/WebPublishObjects.html +10 -10
  333. data/rdoc/RubyXL/WebPublishingItem.html +7 -10
  334. data/rdoc/RubyXL/WebPublishingItems.html +10 -10
  335. data/rdoc/RubyXL/WebPublishingProperties.html +10 -10
  336. data/rdoc/RubyXL/Workbook.html +514 -10
  337. data/rdoc/RubyXL/WorkbookConvenienceMethods.html +7 -10
  338. data/rdoc/RubyXL/WorkbookProperties.html +7 -10
  339. data/rdoc/RubyXL/WorkbookProtection.html +10 -10
  340. data/rdoc/RubyXL/WorkbookRoot.html +7 -10
  341. data/rdoc/RubyXL/WorkbookView.html +10 -10
  342. data/rdoc/RubyXL/WorkbookViews.html +10 -10
  343. data/rdoc/RubyXL/Worksheet.html +337 -10
  344. data/rdoc/RubyXL/WorksheetConvenienceMethods.html +2624 -10
  345. data/rdoc/RubyXL/WorksheetDimensions.html +10 -10
  346. data/rdoc/RubyXL/WorksheetFormatProperties.html +7 -10
  347. data/rdoc/RubyXL/WorksheetProperties.html +7 -10
  348. data/rdoc/RubyXL/WorksheetProtection.html +10 -10
  349. data/rdoc/RubyXL/WorksheetView.html +10 -10
  350. data/rdoc/RubyXL/WorksheetViews.html +10 -10
  351. data/rdoc/RubyXL/XF.html +10 -10
  352. data/rdoc/created.rid +8 -8
  353. data/rdoc/{fonts.css → css/fonts.css} +0 -0
  354. data/rdoc/{rdoc.css → css/rdoc.css} +11 -1
  355. data/rdoc/index.html +570 -11
  356. data/rdoc/js/darkfish.js +32 -11
  357. data/rdoc/js/navigation.js.gz +0 -0
  358. data/rdoc/js/search_index.js +1 -1
  359. data/rdoc/js/search_index.js.gz +0 -0
  360. data/rdoc/js/searcher.js.gz +0 -0
  361. data/rdoc/table_of_contents.html +1920 -295
  362. data/rubyXL.gemspec +9 -5
  363. metadata +8 -4
@@ -4,22 +4,19 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::WebPublishObject - rubyXL 3.3.1</title>
8
-
9
- <link href="../fonts.css" rel="stylesheet">
10
- <link href="../rdoc.css" rel="stylesheet">
7
+ <title>class RubyXL::WebPublishObject - rubyXL 3.3.2</title>
11
8
 
12
9
  <script type="text/javascript">
13
10
  var rdoc_rel_prefix = "../";
14
11
  </script>
15
12
 
16
13
  <script src="../js/jquery.js"></script>
17
- <script src="../js/navigation.js"></script>
18
- <script src="../js/search_index.js"></script>
19
- <script src="../js/search.js"></script>
20
- <script src="../js/searcher.js"></script>
21
14
  <script src="../js/darkfish.js"></script>
22
15
 
16
+ <link href="../css/fonts.css" rel="stylesheet">
17
+ <link href="../css/rdoc.css" rel="stylesheet">
18
+
19
+
23
20
 
24
21
  <body id="top" role="document" class="class">
25
22
  <nav role="navigation">
@@ -78,6 +75,9 @@
78
75
 
79
76
  <section class="description">
80
77
 
78
+ <p><a
79
+ href="http://www.schemacentral.com/sc/ooxml/e-ssml_webPublishObject-1.html">www.schemacentral.com/sc/ooxml/e-ssml_webPublishObject-1.html</a></p>
80
+
81
81
  </section>
82
82
 
83
83
 
@@ -99,7 +99,7 @@
99
99
 
100
100
  <footer id="validator-badges" role="contentinfo">
101
101
  <p><a href="http://validator.w3.org/check/referer">Validate</a>
102
- <p>Generated by <a href="http://rdoc.rubyforge.org">RDoc</a> 4.1.2.
103
- <p>Based on <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
102
+ <p>Generated by <a href="http://docs.seattlerb.org/rdoc/">RDoc</a> 4.2.0.
103
+ <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
104
104
  </footer>
105
105
 
@@ -4,22 +4,19 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::WebPublishObjects - rubyXL 3.3.1</title>
8
-
9
- <link href="../fonts.css" rel="stylesheet">
10
- <link href="../rdoc.css" rel="stylesheet">
7
+ <title>class RubyXL::WebPublishObjects - rubyXL 3.3.2</title>
11
8
 
12
9
  <script type="text/javascript">
13
10
  var rdoc_rel_prefix = "../";
14
11
  </script>
15
12
 
16
13
  <script src="../js/jquery.js"></script>
17
- <script src="../js/navigation.js"></script>
18
- <script src="../js/search_index.js"></script>
19
- <script src="../js/search.js"></script>
20
- <script src="../js/searcher.js"></script>
21
14
  <script src="../js/darkfish.js"></script>
22
15
 
16
+ <link href="../css/fonts.css" rel="stylesheet">
17
+ <link href="../css/rdoc.css" rel="stylesheet">
18
+
19
+
23
20
 
24
21
  <body id="top" role="document" class="class">
25
22
  <nav role="navigation">
@@ -78,6 +75,9 @@
78
75
 
79
76
  <section class="description">
80
77
 
78
+ <p><a
79
+ href="http://www.schemacentral.com/sc/ooxml/e-ssml_webPublishObjects-1.html">www.schemacentral.com/sc/ooxml/e-ssml_webPublishObjects-1.html</a></p>
80
+
81
81
  </section>
82
82
 
83
83
 
@@ -99,7 +99,7 @@
99
99
 
100
100
  <footer id="validator-badges" role="contentinfo">
101
101
  <p><a href="http://validator.w3.org/check/referer">Validate</a>
102
- <p>Generated by <a href="http://rdoc.rubyforge.org">RDoc</a> 4.1.2.
103
- <p>Based on <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
102
+ <p>Generated by <a href="http://docs.seattlerb.org/rdoc/">RDoc</a> 4.2.0.
103
+ <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
104
104
  </footer>
105
105
 
@@ -4,22 +4,19 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::WebPublishingItem - rubyXL 3.3.1</title>
8
-
9
- <link href="../fonts.css" rel="stylesheet">
10
- <link href="../rdoc.css" rel="stylesheet">
7
+ <title>class RubyXL::WebPublishingItem - rubyXL 3.3.2</title>
11
8
 
12
9
  <script type="text/javascript">
13
10
  var rdoc_rel_prefix = "../";
14
11
  </script>
15
12
 
16
13
  <script src="../js/jquery.js"></script>
17
- <script src="../js/navigation.js"></script>
18
- <script src="../js/search_index.js"></script>
19
- <script src="../js/search.js"></script>
20
- <script src="../js/searcher.js"></script>
21
14
  <script src="../js/darkfish.js"></script>
22
15
 
16
+ <link href="../css/fonts.css" rel="stylesheet">
17
+ <link href="../css/rdoc.css" rel="stylesheet">
18
+
19
+
23
20
 
24
21
  <body id="top" role="document" class="class">
25
22
  <nav role="navigation">
@@ -102,7 +99,7 @@ href="http://www.schemacentral.com/sc/ooxml/e-ssml_webPublishItem-1.html">www.sc
102
99
 
103
100
  <footer id="validator-badges" role="contentinfo">
104
101
  <p><a href="http://validator.w3.org/check/referer">Validate</a>
105
- <p>Generated by <a href="http://rdoc.rubyforge.org">RDoc</a> 4.1.2.
106
- <p>Based on <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
102
+ <p>Generated by <a href="http://docs.seattlerb.org/rdoc/">RDoc</a> 4.2.0.
103
+ <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
107
104
  </footer>
108
105
 
@@ -4,22 +4,19 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::WebPublishingItems - rubyXL 3.3.1</title>
8
-
9
- <link href="../fonts.css" rel="stylesheet">
10
- <link href="../rdoc.css" rel="stylesheet">
7
+ <title>class RubyXL::WebPublishingItems - rubyXL 3.3.2</title>
11
8
 
12
9
  <script type="text/javascript">
13
10
  var rdoc_rel_prefix = "../";
14
11
  </script>
15
12
 
16
13
  <script src="../js/jquery.js"></script>
17
- <script src="../js/navigation.js"></script>
18
- <script src="../js/search_index.js"></script>
19
- <script src="../js/search.js"></script>
20
- <script src="../js/searcher.js"></script>
21
14
  <script src="../js/darkfish.js"></script>
22
15
 
16
+ <link href="../css/fonts.css" rel="stylesheet">
17
+ <link href="../css/rdoc.css" rel="stylesheet">
18
+
19
+
23
20
 
24
21
  <body id="top" role="document" class="class">
25
22
  <nav role="navigation">
@@ -78,6 +75,9 @@
78
75
 
79
76
  <section class="description">
80
77
 
78
+ <p><a
79
+ href="http://www.schemacentral.com/sc/ooxml/e-ssml_webPublishItems-1.html">www.schemacentral.com/sc/ooxml/e-ssml_webPublishItems-1.html</a></p>
80
+
81
81
  </section>
82
82
 
83
83
 
@@ -99,7 +99,7 @@
99
99
 
100
100
  <footer id="validator-badges" role="contentinfo">
101
101
  <p><a href="http://validator.w3.org/check/referer">Validate</a>
102
- <p>Generated by <a href="http://rdoc.rubyforge.org">RDoc</a> 4.1.2.
103
- <p>Based on <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
102
+ <p>Generated by <a href="http://docs.seattlerb.org/rdoc/">RDoc</a> 4.2.0.
103
+ <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
104
104
  </footer>
105
105
 
@@ -4,22 +4,19 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::WebPublishingProperties - rubyXL 3.3.1</title>
8
-
9
- <link href="../fonts.css" rel="stylesheet">
10
- <link href="../rdoc.css" rel="stylesheet">
7
+ <title>class RubyXL::WebPublishingProperties - rubyXL 3.3.2</title>
11
8
 
12
9
  <script type="text/javascript">
13
10
  var rdoc_rel_prefix = "../";
14
11
  </script>
15
12
 
16
13
  <script src="../js/jquery.js"></script>
17
- <script src="../js/navigation.js"></script>
18
- <script src="../js/search_index.js"></script>
19
- <script src="../js/search.js"></script>
20
- <script src="../js/searcher.js"></script>
21
14
  <script src="../js/darkfish.js"></script>
22
15
 
16
+ <link href="../css/fonts.css" rel="stylesheet">
17
+ <link href="../css/rdoc.css" rel="stylesheet">
18
+
19
+
23
20
 
24
21
  <body id="top" role="document" class="class">
25
22
  <nav role="navigation">
@@ -78,6 +75,9 @@
78
75
 
79
76
  <section class="description">
80
77
 
78
+ <p><a
79
+ href="http://www.schemacentral.com/sc/ooxml/e-ssml_webPublishing-1.html">www.schemacentral.com/sc/ooxml/e-ssml_webPublishing-1.html</a></p>
80
+
81
81
  </section>
82
82
 
83
83
 
@@ -99,7 +99,7 @@
99
99
 
100
100
  <footer id="validator-badges" role="contentinfo">
101
101
  <p><a href="http://validator.w3.org/check/referer">Validate</a>
102
- <p>Generated by <a href="http://rdoc.rubyforge.org">RDoc</a> 4.1.2.
103
- <p>Based on <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
102
+ <p>Generated by <a href="http://docs.seattlerb.org/rdoc/">RDoc</a> 4.2.0.
103
+ <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
104
104
  </footer>
105
105
 
@@ -4,22 +4,19 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::Workbook - rubyXL 3.3.1</title>
8
-
9
- <link href="../fonts.css" rel="stylesheet">
10
- <link href="../rdoc.css" rel="stylesheet">
7
+ <title>class RubyXL::Workbook - rubyXL 3.3.2</title>
11
8
 
12
9
  <script type="text/javascript">
13
10
  var rdoc_rel_prefix = "../";
14
11
  </script>
15
12
 
16
13
  <script src="../js/jquery.js"></script>
17
- <script src="../js/navigation.js"></script>
18
- <script src="../js/search_index.js"></script>
19
- <script src="../js/search.js"></script>
20
- <script src="../js/searcher.js"></script>
21
14
  <script src="../js/darkfish.js"></script>
22
15
 
16
+ <link href="../css/fonts.css" rel="stylesheet">
17
+ <link href="../css/rdoc.css" rel="stylesheet">
18
+
19
+
23
20
 
24
21
  <body id="top" role="document" class="class">
25
22
  <nav role="navigation">
@@ -65,9 +62,56 @@
65
62
 
66
63
  </div>
67
64
 
65
+ <div id="includes-section" class="nav-section">
66
+ <h3>Included Modules</h3>
67
+
68
+ <ul class="link-list">
69
+
70
+
71
+ <li><a class="include" href="RelationshipSupport.html">RubyXL::RelationshipSupport</a>
72
+
73
+
74
+
75
+ <li><span class="include">Enumerable</span>
76
+
77
+
78
+
79
+ <li><a class="include" href="WorkbookConvenienceMethods.html">RubyXL::WorkbookConvenienceMethods</a>
80
+
81
+
82
+ </ul>
83
+ </div>
84
+
85
+
86
+ <!-- Method Quickref -->
87
+ <div id="method-list-section" class="nav-section">
88
+ <h3>Methods</h3>
89
+
90
+ <ul class="link-list" role="directory">
91
+
92
+ <li class="calls-super" ><a href="#method-c-new">::new</a>
93
+
94
+ <li ><a href="#method-i-before_write_xml">#before_write_xml</a>
95
+
96
+ <li ><a href="#method-i-content_type">#content_type</a>
68
97
 
98
+ <li ><a href="#method-i-date_to_num">#date_to_num</a>
69
99
 
100
+ <li ><a href="#method-i-num_to_date">#num_to_date</a>
70
101
 
102
+ <li ><a href="#method-i-related_objects">#related_objects</a>
103
+
104
+ <li ><a href="#method-i-save">#save</a>
105
+
106
+ <li ><a href="#method-i-stream">#stream</a>
107
+
108
+ <li ><a href="#method-i-write">#write</a>
109
+
110
+ <li ><a href="#method-i-xlsx_path">#xlsx_path</a>
111
+
112
+ </ul>
113
+ </div>
114
+
71
115
  </div>
72
116
  </nav>
73
117
 
@@ -78,6 +122,9 @@
78
122
 
79
123
  <section class="description">
80
124
 
125
+ <p><a
126
+ href="http://www.schemacentral.com/sc/ooxml/e-ssml_workbook.html">www.schemacentral.com/sc/ooxml/e-ssml_workbook.html</a></p>
127
+
81
128
  </section>
82
129
 
83
130
 
@@ -89,17 +136,474 @@
89
136
 
90
137
 
91
138
 
139
+ <section class="constants-list">
140
+ <header>
141
+ <h3>Constants</h3>
142
+ </header>
143
+ <dl>
144
+
145
+ <dt id="APPLICATION">APPLICATION
146
+
147
+ <dd>
148
+
149
+
150
+ <dt id="APPVERSION">APPVERSION
151
+
152
+ <dd>
153
+
154
+
155
+ <dt id="CONTENT_TYPE">CONTENT_TYPE
156
+
157
+ <dd>
158
+
159
+
160
+ <dt id="CONTENT_TYPE_MACRO">CONTENT_TYPE_MACRO
161
+
162
+ <dd>
163
+
164
+
165
+ <dt id="DATE1899">DATE1899
166
+
167
+ <dd><p>Subtracting one day to accomodate for erroneous 1900 leap year
168
+ compatibility only for 1900 based dates</p>
169
+
170
+
171
+ <dt id="DATE1904">DATE1904
172
+
173
+ <dd>
174
+
175
+
176
+ <dt id="REL_TYPE">REL_TYPE
177
+
178
+ <dd>
179
+
180
+
181
+ </dl>
182
+ </section>
183
+
184
+
185
+
186
+ <section class="attribute-method-details" class="method-section">
187
+ <header>
188
+ <h3>Attributes</h3>
189
+ </header>
190
+
191
+
192
+ <div id="attribute-i-worksheets" class="method-detail">
193
+ <div class="method-heading attribute-method-heading">
194
+ <span class="method-name">worksheets</span><span
195
+ class="attribute-access-type">[RW]</span>
196
+ </div>
197
+
198
+ <div class="method-description">
199
+
200
+
201
+
202
+ </div>
203
+ </div>
204
+
205
+ </section>
206
+
207
+
208
+
209
+ <section id="public-class-5Buntitled-5D-method-details" class="method-section">
210
+ <header>
211
+ <h3>Public Class Methods</h3>
212
+ </header>
213
+
214
+
215
+ <div id="method-c-new" class="method-detail ">
216
+
217
+ <div class="method-heading">
218
+ <span class="method-name">new</span><span
219
+ class="method-args">(worksheets = [], filepath = nil, creator = nil, modifier = nil, created_at = nil, company = '', application = APPLICATION, appversion = APPVERSION, date1904 = 0)</span>
220
+
221
+ <span class="method-click-advice">click to toggle source</span>
222
+
223
+ </div>
224
+
225
+
226
+ <div class="method-description">
227
+
228
+
229
+
230
+
231
+ <div class="method-calls-super">
232
+ Calls superclass method
233
+ <a href="OOXMLObjectInstanceMethods.html#method-c-new">RubyXL::OOXMLObjectInstanceMethods.new</a>
234
+ </div>
235
+
236
+
237
+
238
+ <div class="method-source-code" id="new-source">
239
+ <pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 417</span>
240
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">worksheets</span> = [], <span class="ruby-identifier">filepath</span> = <span class="ruby-keyword">nil</span>, <span class="ruby-identifier">creator</span> = <span class="ruby-keyword">nil</span>, <span class="ruby-identifier">modifier</span> = <span class="ruby-keyword">nil</span>, <span class="ruby-identifier">created_at</span> = <span class="ruby-keyword">nil</span>,
241
+ <span class="ruby-identifier">company</span> = <span class="ruby-string">&#39;&#39;</span>, <span class="ruby-identifier">application</span> = <span class="ruby-constant">APPLICATION</span>, <span class="ruby-identifier">appversion</span> = <span class="ruby-constant">APPVERSION</span>, <span class="ruby-identifier">date1904</span> = <span class="ruby-value">0</span>)
242
+ <span class="ruby-keyword">super</span>()
243
+
244
+ <span class="ruby-comment"># Order of sheets in the +worksheets+ array corresponds to the order of pages in Excel UI.</span>
245
+ <span class="ruby-comment"># SheetId&#39;s, rId&#39;s, etc. are completely unrelated to ordering.</span>
246
+ <span class="ruby-ivar">@worksheets</span> = <span class="ruby-identifier">worksheets</span>
247
+ <span class="ruby-identifier">add_worksheet</span> <span class="ruby-keyword">if</span> <span class="ruby-ivar">@worksheets</span>.<span class="ruby-identifier">empty?</span>
248
+
249
+ <span class="ruby-ivar">@theme</span> = <span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">Theme</span>.<span class="ruby-identifier">default</span>
250
+ <span class="ruby-ivar">@shared_strings_container</span> = <span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">SharedStringsTable</span>.<span class="ruby-identifier">new</span>
251
+ <span class="ruby-ivar">@stylesheet</span> = <span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">Stylesheet</span>.<span class="ruby-identifier">default</span>
252
+ <span class="ruby-ivar">@relationship_container</span> = <span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">OOXMLRelationshipsFile</span>.<span class="ruby-identifier">new</span>
253
+ <span class="ruby-ivar">@root</span> = <span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">WorkbookRoot</span>.<span class="ruby-identifier">default</span>
254
+ <span class="ruby-ivar">@root</span>.<span class="ruby-identifier">workbook</span> = <span class="ruby-keyword">self</span>
255
+ <span class="ruby-ivar">@root</span>.<span class="ruby-identifier">filepath</span> = <span class="ruby-identifier">filepath</span>
256
+
257
+ <span class="ruby-identifier">creation_time</span> = <span class="ruby-constant">DateTime</span>.<span class="ruby-identifier">parse</span>(<span class="ruby-identifier">created_at</span>) <span class="ruby-keyword">rescue</span> <span class="ruby-constant">DateTime</span>.<span class="ruby-identifier">now</span>
258
+ <span class="ruby-keyword">self</span>.<span class="ruby-identifier">created_at</span> = <span class="ruby-identifier">creation_time</span>
259
+ <span class="ruby-keyword">self</span>.<span class="ruby-identifier">modified_at</span> = <span class="ruby-identifier">creation_time</span>
260
+ <span class="ruby-keyword">self</span>.<span class="ruby-identifier">company</span> = <span class="ruby-identifier">company</span>
261
+ <span class="ruby-keyword">self</span>.<span class="ruby-identifier">application</span> = <span class="ruby-identifier">application</span>
262
+ <span class="ruby-keyword">self</span>.<span class="ruby-identifier">appversion</span> = <span class="ruby-identifier">appversion</span>
263
+ <span class="ruby-keyword">self</span>.<span class="ruby-identifier">creator</span> = <span class="ruby-identifier">creator</span>
264
+ <span class="ruby-keyword">self</span>.<span class="ruby-identifier">modifier</span> = <span class="ruby-identifier">modifier</span>
265
+ <span class="ruby-keyword">self</span>.<span class="ruby-identifier">date1904</span> = <span class="ruby-identifier">date1904</span> <span class="ruby-operator">&gt;</span> <span class="ruby-value">0</span>
266
+ <span class="ruby-keyword">end</span></pre>
267
+ </div>
268
+
269
+ </div>
270
+
271
+
272
+
273
+
274
+ </div>
275
+
276
+
277
+ </section>
278
+
279
+ <section id="public-instance-5Buntitled-5D-method-details" class="method-section">
280
+ <header>
281
+ <h3>Public Instance Methods</h3>
282
+ </header>
283
+
284
+
285
+ <div id="method-i-before_write_xml" class="method-detail ">
286
+
287
+ <div class="method-heading">
288
+ <span class="method-name">before_write_xml</span><span
289
+ class="method-args">()</span>
290
+
291
+ <span class="method-click-advice">click to toggle source</span>
292
+
293
+ </div>
294
+
295
+
296
+ <div class="method-description">
297
+
298
+
299
+
300
+
301
+
302
+
303
+ <div class="method-source-code" id="before_write_xml-source">
304
+ <pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 357</span>
305
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">before_write_xml</span>
306
+ <span class="ruby-keyword">self</span>.<span class="ruby-identifier">sheets</span> = <span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">Sheets</span>.<span class="ruby-identifier">new</span>
307
+
308
+ <span class="ruby-identifier">worksheets</span>.<span class="ruby-identifier">each_with_index</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">sheet</span>, <span class="ruby-identifier">i</span><span class="ruby-operator">|</span>
309
+ <span class="ruby-identifier">rel</span> = <span class="ruby-identifier">relationship_container</span>.<span class="ruby-identifier">find_by_target</span>(<span class="ruby-identifier">sheet</span>.<span class="ruby-identifier">xlsx_path</span>)
310
+ <span class="ruby-identifier">sheets</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-constant">RubyXL</span><span class="ruby-operator">::</span><span class="ruby-constant">Sheet</span>.<span class="ruby-identifier">new</span>(<span class="ruby-value">:name</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">sheet</span>.<span class="ruby-identifier">sheet_name</span>[<span class="ruby-value">0</span><span class="ruby-operator">..</span><span class="ruby-value">30</span>], <span class="ruby-comment"># Max sheet name length is 31 char</span>
311
+ <span class="ruby-value">:sheet_id</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">sheet</span>.<span class="ruby-identifier">sheet_id</span> <span class="ruby-operator">||</span> (<span class="ruby-identifier">i</span> <span class="ruby-operator">+</span> <span class="ruby-value">1</span>),
312
+ <span class="ruby-value">:state</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">sheet</span>.<span class="ruby-identifier">state</span>, <span class="ruby-value">:r_id</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">rel</span>.<span class="ruby-identifier">id</span>)
313
+ }
314
+ <span class="ruby-keyword">true</span>
315
+ <span class="ruby-keyword">end</span></pre>
316
+ </div>
317
+
318
+ </div>
319
+
320
+
321
+
322
+
323
+ </div>
324
+
325
+
326
+ <div id="method-i-content_type" class="method-detail ">
327
+
328
+ <div class="method-heading">
329
+ <span class="method-name">content_type</span><span
330
+ class="method-args">()</span>
331
+
332
+ <span class="method-click-advice">click to toggle source</span>
333
+
334
+ </div>
335
+
336
+
337
+ <div class="method-description">
338
+
339
+
340
+
341
+
342
+
343
+
344
+ <div class="method-source-code" id="content_type-source">
345
+ <pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 306</span>
346
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">content_type</span>
347
+ <span class="ruby-keyword">if</span> <span class="ruby-identifier">macros</span> <span class="ruby-keyword">then</span> <span class="ruby-constant">CONTENT_TYPE_MACRO</span> <span class="ruby-keyword">else</span> <span class="ruby-constant">CONTENT_TYPE</span> <span class="ruby-keyword">end</span>
348
+ <span class="ruby-keyword">end</span></pre>
349
+ </div>
350
+
351
+ </div>
352
+
353
+
354
+
355
+
356
+ </div>
357
+
358
+
359
+ <div id="method-i-date_to_num" class="method-detail ">
360
+
361
+ <div class="method-heading">
362
+ <span class="method-name">date_to_num</span><span
363
+ class="method-args">(date)</span>
364
+
365
+ <span class="method-click-advice">click to toggle source</span>
366
+
367
+ </div>
368
+
369
+
370
+ <div class="method-description">
371
+
372
+
373
+
374
+
375
+
376
+
377
+ <div class="method-source-code" id="date_to_num-source">
378
+ <pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 402</span>
379
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">date_to_num</span>(<span class="ruby-identifier">date</span>)
380
+ <span class="ruby-identifier">date</span> <span class="ruby-operator">&amp;&amp;</span> (<span class="ruby-identifier">date</span>.<span class="ruby-identifier">ajd</span> <span class="ruby-operator">-</span> <span class="ruby-identifier">base_date</span>().<span class="ruby-identifier">ajd</span>).<span class="ruby-identifier">to_f</span>
381
+ <span class="ruby-keyword">end</span></pre>
382
+ </div>
383
+
384
+ </div>
385
+
386
+
387
+
388
+
389
+ </div>
92
390
 
93
391
 
392
+ <div id="method-i-num_to_date" class="method-detail ">
393
+
394
+ <div class="method-heading">
395
+ <span class="method-name">num_to_date</span><span
396
+ class="method-args">(num)</span>
397
+
398
+ <span class="method-click-advice">click to toggle source</span>
399
+
400
+ </div>
401
+
402
+
403
+ <div class="method-description">
404
+
405
+
406
+
407
+
408
+
409
+
410
+ <div class="method-source-code" id="num_to_date-source">
411
+ <pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 406</span>
412
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">num_to_date</span>(<span class="ruby-identifier">num</span>)
413
+ <span class="ruby-identifier">num</span> <span class="ruby-operator">&amp;&amp;</span> (<span class="ruby-identifier">base_date</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">num</span>)
414
+ <span class="ruby-keyword">end</span></pre>
415
+ </div>
416
+
417
+ </div>
418
+
419
+
420
+
421
+
422
+ </div>
94
423
 
95
424
 
425
+ <div id="method-i-related_objects" class="method-detail ">
426
+
427
+ <div class="method-heading">
428
+ <span class="method-name">related_objects</span><span
429
+ class="method-args">()</span>
430
+
431
+ <span class="method-click-advice">click to toggle source</span>
432
+
433
+ </div>
434
+
435
+
436
+ <div class="method-description">
437
+
438
+
439
+
440
+
441
+
442
+
443
+ <div class="method-source-code" id="related_objects-source">
444
+ <pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 311</span>
445
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">related_objects</span>
446
+ [ <span class="ruby-identifier">calculation_chain</span>, <span class="ruby-identifier">stylesheet</span>, <span class="ruby-identifier">theme</span>, <span class="ruby-identifier">shared_strings_container</span>, <span class="ruby-identifier">macros</span> ] <span class="ruby-operator">+</span> <span class="ruby-ivar">@worksheets</span>
447
+ <span class="ruby-keyword">end</span></pre>
448
+ </div>
449
+
450
+ </div>
451
+
452
+
453
+
454
+
455
+ </div>
456
+
457
+
458
+ <div id="method-i-save" class="method-detail ">
459
+
460
+ <div class="method-heading">
461
+ <span class="method-name">save</span><span
462
+ class="method-args">(filepath = nil)</span>
463
+
464
+ <span class="method-click-advice">click to toggle source</span>
465
+
466
+ </div>
467
+
468
+
469
+ <div class="method-description">
470
+
471
+ <p>Save the resulting XLSX file to the specified location</p>
472
+
473
+
474
+
475
+
476
+ <div class="method-source-code" id="save-source">
477
+ <pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 379</span>
478
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">save</span>(<span class="ruby-identifier">filepath</span> = <span class="ruby-keyword">nil</span>)
479
+ <span class="ruby-identifier">filepath</span> <span class="ruby-operator">||=</span> <span class="ruby-identifier">root</span>.<span class="ruby-identifier">filepath</span>
480
+
481
+ <span class="ruby-identifier">extension</span> = <span class="ruby-constant">File</span>.<span class="ruby-identifier">extname</span>(<span class="ruby-identifier">filepath</span>)
482
+ <span class="ruby-keyword">unless</span> <span class="ruby-node">%w{.xlsx .xlsm}</span>.<span class="ruby-identifier">include?</span>(<span class="ruby-identifier">extension</span>.<span class="ruby-identifier">downcase</span>)
483
+ <span class="ruby-identifier">raise</span> <span class="ruby-node">&quot;Unsupported extension: #{extension} (only .xlsx and .xlsm files are supported).&quot;</span>
484
+ <span class="ruby-keyword">end</span>
485
+
486
+ <span class="ruby-constant">File</span>.<span class="ruby-identifier">open</span>(<span class="ruby-identifier">filepath</span>, <span class="ruby-string">&quot;wb&quot;</span>) { <span class="ruby-operator">|</span><span class="ruby-identifier">output_file</span><span class="ruby-operator">|</span> <span class="ruby-constant">FileUtils</span>.<span class="ruby-identifier">copy_stream</span>(<span class="ruby-identifier">root</span>.<span class="ruby-identifier">stream</span>, <span class="ruby-identifier">output_file</span>) }
487
+
488
+ <span class="ruby-keyword">return</span> <span class="ruby-identifier">filepath</span>
489
+ <span class="ruby-keyword">end</span></pre>
490
+ </div>
491
+
492
+ </div>
493
+
494
+
495
+ <div class="aliases">
496
+ Also aliased as: <a href="Workbook.html#method-i-write">write</a>
497
+ </div>
498
+
499
+
500
+
501
+ </div>
502
+
503
+
504
+ <div id="method-i-stream" class="method-detail ">
505
+
506
+ <div class="method-heading">
507
+ <span class="method-name">stream</span><span
508
+ class="method-args">()</span>
509
+
510
+ <span class="method-click-advice">click to toggle source</span>
511
+
512
+ </div>
513
+
514
+
515
+ <div class="method-description">
516
+
517
+ <p>Return the resulting XLSX file in a stream (useful for sending over HTTP)</p>
518
+
519
+
520
+
521
+
522
+ <div class="method-source-code" id="stream-source">
523
+ <pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 374</span>
524
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">stream</span>
525
+ <span class="ruby-identifier">root</span>.<span class="ruby-identifier">stream</span>
526
+ <span class="ruby-keyword">end</span></pre>
527
+ </div>
528
+
529
+ </div>
530
+
531
+
532
+
533
+
534
+ </div>
535
+
536
+
537
+ <div id="method-i-write" class="method-detail method-alias">
538
+
539
+ <div class="method-heading">
540
+ <span class="method-name">write</span><span
541
+ class="method-args">(filepath = nil)</span>
542
+
543
+ </div>
544
+
545
+
546
+ <div class="method-description">
547
+
548
+
549
+
550
+
551
+
552
+
553
+ </div>
554
+
555
+
556
+
557
+
558
+ <div class="aliases">
559
+ Alias for: <a href="Workbook.html#method-i-save">save</a>
560
+ </div>
561
+
562
+ </div>
563
+
564
+
565
+ <div id="method-i-xlsx_path" class="method-detail ">
566
+
567
+ <div class="method-heading">
568
+ <span class="method-name">xlsx_path</span><span
569
+ class="method-args">()</span>
570
+
571
+ <span class="method-click-advice">click to toggle source</span>
572
+
573
+ </div>
574
+
575
+
576
+ <div class="method-description">
577
+
578
+
579
+
580
+
581
+
582
+
583
+ <div class="method-source-code" id="xlsx_path-source">
584
+ <pre><span class="ruby-comment"># File lib/rubyXL/objects/workbook.rb, line 369</span>
585
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">xlsx_path</span>
586
+ <span class="ruby-constant">ROOT</span>.<span class="ruby-identifier">join</span>(<span class="ruby-string">&#39;xl&#39;</span>, <span class="ruby-string">&#39;workbook.xml&#39;</span>)
587
+ <span class="ruby-keyword">end</span></pre>
588
+ </div>
589
+
590
+ </div>
591
+
592
+
593
+
594
+
595
+ </div>
596
+
597
+
598
+ </section>
599
+
96
600
  </section>
97
601
  </main>
98
602
 
99
603
 
100
604
  <footer id="validator-badges" role="contentinfo">
101
605
  <p><a href="http://validator.w3.org/check/referer">Validate</a>
102
- <p>Generated by <a href="http://rdoc.rubyforge.org">RDoc</a> 4.1.2.
103
- <p>Based on <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
606
+ <p>Generated by <a href="http://docs.seattlerb.org/rdoc/">RDoc</a> 4.2.0.
607
+ <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
104
608
  </footer>
105
609