From 2dea87f6f601795e32c7c14fbba5717c4b04fc1e Mon Sep 17 00:00:00 2001 From: Randy Morgan Date: Wed, 23 Nov 2011 12:38:14 +0900 Subject: update docs --- README.md | 2 +- doc/Axlsx.html | 2 +- doc/Axlsx/App.html | 2 +- doc/Axlsx/Axis.html | 2 +- doc/Axlsx/Bar3DChart.html | 2 +- doc/Axlsx/BarSeries.html | 2 +- doc/Axlsx/Border.html | 2 +- doc/Axlsx/BorderPr.html | 2 +- doc/Axlsx/CatAxis.html | 2 +- doc/Axlsx/CatAxisData.html | 2 +- doc/Axlsx/Cell.html | 2 +- doc/Axlsx/CellAlignment.html | 2 +- doc/Axlsx/CellProtection.html | 2 +- doc/Axlsx/CellStyle.html | 2 +- doc/Axlsx/Chart.html | 2 +- doc/Axlsx/Color.html | 2 +- doc/Axlsx/ContentType.html | 2 +- doc/Axlsx/Core.html | 2 +- doc/Axlsx/DataTypeValidator.html | 2 +- doc/Axlsx/Default.html | 2 +- doc/Axlsx/Drawing.html | 2 +- doc/Axlsx/Fill.html | 2 +- doc/Axlsx/Font.html | 2 +- doc/Axlsx/GradientFill.html | 2 +- doc/Axlsx/GradientStop.html | 2 +- doc/Axlsx/GraphicFrame.html | 2 +- doc/Axlsx/Line3DChart.html | 2 +- doc/Axlsx/LineSeries.html | 2 +- doc/Axlsx/Marker.html | 2 +- doc/Axlsx/NumFmt.html | 2 +- doc/Axlsx/Override.html | 2 +- doc/Axlsx/Package.html | 2 +- doc/Axlsx/PatternFill.html | 2 +- doc/Axlsx/Pie3DChart.html | 2 +- doc/Axlsx/PieSeries.html | 2 +- doc/Axlsx/RegexValidator.html | 2 +- doc/Axlsx/Relationship.html | 2 +- doc/Axlsx/Relationships.html | 2 +- doc/Axlsx/RestrictionValidator.html | 2 +- doc/Axlsx/Row.html | 2 +- doc/Axlsx/Scaling.html | 2 +- doc/Axlsx/SerAxis.html | 2 +- doc/Axlsx/Series.html | 2 +- doc/Axlsx/SeriesTitle.html | 2 +- doc/Axlsx/SimpleTypedList.html | 2 +- doc/Axlsx/Styles.html | 2 +- doc/Axlsx/TableStyle.html | 2 +- doc/Axlsx/TableStyleElement.html | 2 +- doc/Axlsx/TableStyles.html | 2 +- doc/Axlsx/Title.html | 2 +- doc/Axlsx/TwoCellAnchor.html | 2 +- doc/Axlsx/ValAxis.html | 2 +- doc/Axlsx/ValAxisData.html | 2 +- doc/Axlsx/View3D.html | 2 +- doc/Axlsx/Workbook.html | 2 +- doc/Axlsx/Worksheet.html | 2 +- doc/Axlsx/Xf.html | 2 +- doc/_index.html | 2 +- doc/file.README.html | 13 ++++++++----- doc/index.html | 13 ++++++++----- doc/top-level-namespace.html | 2 +- 61 files changed, 75 insertions(+), 69 deletions(-) diff --git a/README.md b/README.md index 109429a0..d81c10a1 100644 --- a/README.md +++ b/README.md @@ -150,7 +150,7 @@ This gem has 100% test coverage using test/unit. To execute tests for this gem, Changelog --------- -- **October.23.11**: 1.0.7 release preparation +- **October.23.11**: 1.0.7 released - Added support for 3D options when creating a new chart. This lets you set the persective, rotation and other 3D attributes when using worksheet.add_chart - Updated serialization write test to verify write permissions and warn if it cannot run the test due to permission restrcitions. - updated rake to include build, genoc and deploy tasks. diff --git a/doc/Axlsx.html b/doc/Axlsx.html index 02a04a9a..2a8b517f 100644 --- a/doc/Axlsx.html +++ b/doc/Axlsx.html @@ -2434,7 +2434,7 @@ The value validated diff --git a/doc/Axlsx/App.html b/doc/Axlsx/App.html index fcbd72ee..c7e072d2 100644 --- a/doc/Axlsx/App.html +++ b/doc/Axlsx/App.html @@ -2631,7 +2631,7 @@ The document as a string diff --git a/doc/Axlsx/Axis.html b/doc/Axlsx/Axis.html index 4ae315c3..f999a62c 100644 --- a/doc/Axlsx/Axis.html +++ b/doc/Axlsx/Axis.html @@ -1064,7 +1064,7 @@ The document builder instance this objects xml will be added to. diff --git a/doc/Axlsx/Bar3DChart.html b/doc/Axlsx/Bar3DChart.html index fcee1a86..adc2e51e 100644 --- a/doc/Axlsx/Bar3DChart.html +++ b/doc/Axlsx/Bar3DChart.html @@ -1171,7 +1171,7 @@ Serializes the bar chart diff --git a/doc/Axlsx/BarSeries.html b/doc/Axlsx/BarSeries.html index 303d12f3..6528def1 100644 --- a/doc/Axlsx/BarSeries.html +++ b/doc/Axlsx/BarSeries.html @@ -697,7 +697,7 @@ The document builder instance this objects xml will be added to. diff --git a/doc/Axlsx/Border.html b/doc/Axlsx/Border.html index 209a4388..259897a0 100644 --- a/doc/Axlsx/Border.html +++ b/doc/Axlsx/Border.html @@ -766,7 +766,7 @@ The document builder instance this objects xml will be added to. diff --git a/doc/Axlsx/BorderPr.html b/doc/Axlsx/BorderPr.html index e4bcb6ab..e199b368 100644 --- a/doc/Axlsx/BorderPr.html +++ b/doc/Axlsx/BorderPr.html @@ -700,7 +700,7 @@ The document builder instance this objects xml will be added to. diff --git a/doc/Axlsx/CatAxis.html b/doc/Axlsx/CatAxis.html index 5babf097..4f5b14cf 100644 --- a/doc/Axlsx/CatAxis.html +++ b/doc/Axlsx/CatAxis.html @@ -760,7 +760,7 @@ The document builder instance this objects xml will be added to. diff --git a/doc/Axlsx/CatAxisData.html b/doc/Axlsx/CatAxisData.html index fd0ea3aa..46378225 100644 --- a/doc/Axlsx/CatAxisData.html +++ b/doc/Axlsx/CatAxisData.html @@ -391,7 +391,7 @@ The document builder instance this objects xml will be added to. diff --git a/doc/Axlsx/Cell.html b/doc/Axlsx/Cell.html index bef1219e..97c47170 100644 --- a/doc/Axlsx/Cell.html +++ b/doc/Axlsx/Cell.html @@ -1614,7 +1614,7 @@ xml text for the cell diff --git a/doc/Axlsx/CellAlignment.html b/doc/Axlsx/CellAlignment.html index 4ac86068..5bdcf895 100644 --- a/doc/Axlsx/CellAlignment.html +++ b/doc/Axlsx/CellAlignment.html @@ -1238,7 +1238,7 @@ The document builder instance this objects xml will be added to. diff --git a/doc/Axlsx/CellProtection.html b/doc/Axlsx/CellProtection.html index 267d5865..669e70ef 100644 --- a/doc/Axlsx/CellProtection.html +++ b/doc/Axlsx/CellProtection.html @@ -556,7 +556,7 @@ The document builder instance this objects xml will be added to. diff --git a/doc/Axlsx/CellStyle.html b/doc/Axlsx/CellStyle.html index 26d4d512..6f8eec14 100644 --- a/doc/Axlsx/CellStyle.html +++ b/doc/Axlsx/CellStyle.html @@ -940,7 +940,7 @@ The document builder instance this objects xml will be added to. diff --git a/doc/Axlsx/Chart.html b/doc/Axlsx/Chart.html index 6665f8a0..1260ec43 100644 --- a/doc/Axlsx/Chart.html +++ b/doc/Axlsx/Chart.html @@ -1687,7 +1687,7 @@ Chart Serialization serializes the chart diff --git a/doc/Axlsx/Color.html b/doc/Axlsx/Color.html index e1479faf..04ffc461 100644 --- a/doc/Axlsx/Color.html +++ b/doc/Axlsx/Color.html @@ -656,7 +656,7 @@ The document builder instance this objects xml will be added to. diff --git a/doc/Axlsx/ContentType.html b/doc/Axlsx/ContentType.html index 21d7c70d..5f853af7 100644 --- a/doc/Axlsx/ContentType.html +++ b/doc/Axlsx/ContentType.html @@ -331,7 +331,7 @@ The document as a string. diff --git a/doc/Axlsx/Core.html b/doc/Axlsx/Core.html index ed241c2b..5ad9e059 100644 --- a/doc/Axlsx/Core.html +++ b/doc/Axlsx/Core.html @@ -456,7 +456,7 @@ time when this method is called. diff --git a/doc/Axlsx/DataTypeValidator.html b/doc/Axlsx/DataTypeValidator.html index 6f2f98ac..ed694a90 100644 --- a/doc/Axlsx/DataTypeValidator.html +++ b/doc/Axlsx/DataTypeValidator.html @@ -315,7 +315,7 @@ types or the block passed returns false diff --git a/doc/Axlsx/Default.html b/doc/Axlsx/Default.html index b53c8ea5..3f689e96 100644 --- a/doc/Axlsx/Default.html +++ b/doc/Axlsx/Default.html @@ -566,7 +566,7 @@ The document builder instance this objects xml will be added to. diff --git a/doc/Axlsx/Drawing.html b/doc/Axlsx/Drawing.html index 1d2bce32..26f3f3fa 100644 --- a/doc/Axlsx/Drawing.html +++ b/doc/Axlsx/Drawing.html @@ -1119,7 +1119,7 @@ Serializes the drawing diff --git a/doc/Axlsx/Fill.html b/doc/Axlsx/Fill.html index f5c9b6fa..298476de 100644 --- a/doc/Axlsx/Fill.html +++ b/doc/Axlsx/Fill.html @@ -451,7 +451,7 @@ The document builder instance this objects xml will be added to. diff --git a/doc/Axlsx/Font.html b/doc/Axlsx/Font.html index 0091cf69..f5afba14 100644 --- a/doc/Axlsx/Font.html +++ b/doc/Axlsx/Font.html @@ -1545,7 +1545,7 @@ The document builder instance this objects xml will be added to. diff --git a/doc/Axlsx/GradientFill.html b/doc/Axlsx/GradientFill.html index 7cb1494f..503858e2 100644 --- a/doc/Axlsx/GradientFill.html +++ b/doc/Axlsx/GradientFill.html @@ -1017,7 +1017,7 @@ The document builder instance this objects xml will be added to. diff --git a/doc/Axlsx/GradientStop.html b/doc/Axlsx/GradientStop.html index 89bc1e26..3e172370 100644 --- a/doc/Axlsx/GradientStop.html +++ b/doc/Axlsx/GradientStop.html @@ -517,7 +517,7 @@ The document builder instance this objects xml will be added to. diff --git a/doc/Axlsx/GraphicFrame.html b/doc/Axlsx/GraphicFrame.html index 0c328ab9..6a3d3052 100644 --- a/doc/Axlsx/GraphicFrame.html +++ b/doc/Axlsx/GraphicFrame.html @@ -639,7 +639,7 @@ The document builder instance this objects xml will be added to. diff --git a/doc/Axlsx/Line3DChart.html b/doc/Axlsx/Line3DChart.html index 3512d2a7..3c39226b 100644 --- a/doc/Axlsx/Line3DChart.html +++ b/doc/Axlsx/Line3DChart.html @@ -993,7 +993,7 @@ Serializes the bar chart diff --git a/doc/Axlsx/LineSeries.html b/doc/Axlsx/LineSeries.html index b1b59a0b..4e0ca266 100644 --- a/doc/Axlsx/LineSeries.html +++ b/doc/Axlsx/LineSeries.html @@ -591,7 +591,7 @@ The document builder instance this objects xml will be added to. diff --git a/doc/Axlsx/Marker.html b/doc/Axlsx/Marker.html index a35500f7..aaa0ffd7 100644 --- a/doc/Axlsx/Marker.html +++ b/doc/Axlsx/Marker.html @@ -848,7 +848,7 @@ The document builder instance this objects xml will be added to. diff --git a/doc/Axlsx/NumFmt.html b/doc/Axlsx/NumFmt.html index 2fe65d34..f82acc34 100644 --- a/doc/Axlsx/NumFmt.html +++ b/doc/Axlsx/NumFmt.html @@ -553,7 +553,7 @@ The document builder instance this objects xml will be added to. diff --git a/doc/Axlsx/Override.html b/doc/Axlsx/Override.html index 2157fc29..41bc5195 100644 --- a/doc/Axlsx/Override.html +++ b/doc/Axlsx/Override.html @@ -559,7 +559,7 @@ The document builder instance this objects xml will be added to. diff --git a/doc/Axlsx/Package.html b/doc/Axlsx/Package.html index dccd861b..ca431570 100644 --- a/doc/Axlsx/Package.html +++ b/doc/Axlsx/Package.html @@ -1284,7 +1284,7 @@ An array of all validation errors encountered. diff --git a/doc/Axlsx/PatternFill.html b/doc/Axlsx/PatternFill.html index 22009d77..be70ff59 100644 --- a/doc/Axlsx/PatternFill.html +++ b/doc/Axlsx/PatternFill.html @@ -672,7 +672,7 @@ The document builder instance this objects xml will be added to. diff --git a/doc/Axlsx/Pie3DChart.html b/doc/Axlsx/Pie3DChart.html index 668d4797..463ee085 100644 --- a/doc/Axlsx/Pie3DChart.html +++ b/doc/Axlsx/Pie3DChart.html @@ -482,7 +482,7 @@ Serializes the pie chart diff --git a/doc/Axlsx/PieSeries.html b/doc/Axlsx/PieSeries.html index 07ca6f75..ac8bc6bb 100644 --- a/doc/Axlsx/PieSeries.html +++ b/doc/Axlsx/PieSeries.html @@ -694,7 +694,7 @@ The document builder instance this objects xml will be added to. diff --git a/doc/Axlsx/RegexValidator.html b/doc/Axlsx/RegexValidator.html index f644c404..5e0f6f0f 100644 --- a/doc/Axlsx/RegexValidator.html +++ b/doc/Axlsx/RegexValidator.html @@ -259,7 +259,7 @@ The value to validate. diff --git a/doc/Axlsx/Relationship.html b/doc/Axlsx/Relationship.html index f9786c69..8bea1e24 100644 --- a/doc/Axlsx/Relationship.html +++ b/doc/Axlsx/Relationship.html @@ -545,7 +545,7 @@ the reference id of the object. diff --git a/doc/Axlsx/Relationships.html b/doc/Axlsx/Relationships.html index 95e4f3b3..a2d44c51 100644 --- a/doc/Axlsx/Relationships.html +++ b/doc/Axlsx/Relationships.html @@ -334,7 +334,7 @@ Serializes the relationships document. diff --git a/doc/Axlsx/RestrictionValidator.html b/doc/Axlsx/RestrictionValidator.html index dcb9402f..5cea69a1 100644 --- a/doc/Axlsx/RestrictionValidator.html +++ b/doc/Axlsx/RestrictionValidator.html @@ -291,7 +291,7 @@ Raised if the value provided is not in the list of choices. diff --git a/doc/Axlsx/Row.html b/doc/Axlsx/Row.html index cd95e0ec..f4793412 100644 --- a/doc/Axlsx/Row.html +++ b/doc/Axlsx/Row.html @@ -762,7 +762,7 @@ The document builder instance this objects xml will be added to. diff --git a/doc/Axlsx/Scaling.html b/doc/Axlsx/Scaling.html index 341bd7d8..2d734018 100644 --- a/doc/Axlsx/Scaling.html +++ b/doc/Axlsx/Scaling.html @@ -731,7 +731,7 @@ The document builder instance this objects xml will be added to. diff --git a/doc/Axlsx/SerAxis.html b/doc/Axlsx/SerAxis.html index e46afa7e..54fdcdaf 100644 --- a/doc/Axlsx/SerAxis.html +++ b/doc/Axlsx/SerAxis.html @@ -630,7 +630,7 @@ The document builder instance this objects xml will be added to. diff --git a/doc/Axlsx/Series.html b/doc/Axlsx/Series.html index 32106681..22614377 100644 --- a/doc/Axlsx/Series.html +++ b/doc/Axlsx/Series.html @@ -752,7 +752,7 @@ The document builder instance this objects xml will be added to. diff --git a/doc/Axlsx/SeriesTitle.html b/doc/Axlsx/SeriesTitle.html index 46224b97..0d48cf72 100644 --- a/doc/Axlsx/SeriesTitle.html +++ b/doc/Axlsx/SeriesTitle.html @@ -281,7 +281,7 @@ The document builder instance this objects xml will be added to. diff --git a/doc/Axlsx/SimpleTypedList.html b/doc/Axlsx/SimpleTypedList.html index 72ff9c07..268f2fc4 100644 --- a/doc/Axlsx/SimpleTypedList.html +++ b/doc/Axlsx/SimpleTypedList.html @@ -1677,7 +1677,7 @@ Unlock the list diff --git a/doc/Axlsx/Styles.html b/doc/Axlsx/Styles.html index 8044712f..3d111991 100644 --- a/doc/Axlsx/Styles.html +++ b/doc/Axlsx/Styles.html @@ -1745,7 +1745,7 @@ Serializes the styles document diff --git a/doc/Axlsx/TableStyle.html b/doc/Axlsx/TableStyle.html index 5318b1d7..1d8f1584 100644 --- a/doc/Axlsx/TableStyle.html +++ b/doc/Axlsx/TableStyle.html @@ -701,7 +701,7 @@ The document builder instance this objects xml will be added to. diff --git a/doc/Axlsx/TableStyleElement.html b/doc/Axlsx/TableStyleElement.html index 7616bef5..316cdc18 100644 --- a/doc/Axlsx/TableStyleElement.html +++ b/doc/Axlsx/TableStyleElement.html @@ -668,7 +668,7 @@ The document builder instance this objects xml will be added to. diff --git a/doc/Axlsx/TableStyles.html b/doc/Axlsx/TableStyles.html index 2458c69b..bf84de69 100644 --- a/doc/Axlsx/TableStyles.html +++ b/doc/Axlsx/TableStyles.html @@ -590,7 +590,7 @@ The document builder instance this objects xml will be added to. diff --git a/doc/Axlsx/Title.html b/doc/Axlsx/Title.html index f66f1339..b785b91f 100644 --- a/doc/Axlsx/Title.html +++ b/doc/Axlsx/Title.html @@ -616,7 +616,7 @@ The document builder instance this objects xml will be added to. diff --git a/doc/Axlsx/TwoCellAnchor.html b/doc/Axlsx/TwoCellAnchor.html index 20e6e8c8..0e1ca139 100644 --- a/doc/Axlsx/TwoCellAnchor.html +++ b/doc/Axlsx/TwoCellAnchor.html @@ -866,7 +866,7 @@ The document builder instance this objects xml will be added to. diff --git a/doc/Axlsx/ValAxis.html b/doc/Axlsx/ValAxis.html index 6275d10b..54a0fd41 100644 --- a/doc/Axlsx/ValAxis.html +++ b/doc/Axlsx/ValAxis.html @@ -529,7 +529,7 @@ The document builder instance this objects xml will be added to. diff --git a/doc/Axlsx/ValAxisData.html b/doc/Axlsx/ValAxisData.html index 25145718..7fb222d2 100644 --- a/doc/Axlsx/ValAxisData.html +++ b/doc/Axlsx/ValAxisData.html @@ -317,7 +317,7 @@ The document builder instance this objects xml will be added to. diff --git a/doc/Axlsx/View3D.html b/doc/Axlsx/View3D.html index cdc5599f..c310792f 100644 --- a/doc/Axlsx/View3D.html +++ b/doc/Axlsx/View3D.html @@ -962,7 +962,7 @@ The document builder instance this objects xml will be added to. diff --git a/doc/Axlsx/Workbook.html b/doc/Axlsx/Workbook.html index 37e81c09..47675817 100644 --- a/doc/Axlsx/Workbook.html +++ b/doc/Axlsx/Workbook.html @@ -1338,7 +1338,7 @@ Serializes the workbook document diff --git a/doc/Axlsx/Worksheet.html b/doc/Axlsx/Worksheet.html index 93e90793..3b43a42c 100644 --- a/doc/Axlsx/Worksheet.html +++ b/doc/Axlsx/Worksheet.html @@ -1900,7 +1900,7 @@ of Cell objects diff --git a/doc/Axlsx/Xf.html b/doc/Axlsx/Xf.html index f92867c7..3bc5617c 100644 --- a/doc/Axlsx/Xf.html +++ b/doc/Axlsx/Xf.html @@ -1672,7 +1672,7 @@ The document builder instance this objects xml will be added to. diff --git a/doc/_index.html b/doc/_index.html index dc411c2f..aecdfb4b 100644 --- a/doc/_index.html +++ b/doc/_index.html @@ -616,7 +616,7 @@ diff --git a/doc/file.README.html b/doc/file.README.html index 312220af..028a3e27 100644 --- a/doc/file.README.html +++ b/doc/file.README.html @@ -63,7 +63,7 @@ License: MIT License
Latest Version: 1.0.7
Ruby Version: 1.8.7
-Release Date: November 22nd 2011

+Release Date: November 23nd 2011

Synopsis

@@ -182,10 +182,13 @@ It enables the you to generate 100% valid xlsx files that include customised sty p.workbook.add_worksheet do |sheet| sheet.add_row ["First", 1, 5, 7, 9] sheet.add_row ["Second", 5, 2, 14, 9] - sheet.add_chart(Axlsx::Line3DChart, :start_at => [0,2], :end_at => [10, 15], :title=>"example 6: Line Chart") do |chart| + sheet.add_chart(Axlsx::Line3DChart, :title=>"example 6: Line Chart") do |chart| + chart.start_at 0, 2 + chart.end_at 10, 15 chart.add_series :data=>sheet.rows.first.cells[(1..-1)], :title=> sheet.rows.first.cells.first chart.add_series :data=>sheet.rows.last.cells[(1..-1)], :title=> sheet.rows.last.cells.first end + end p.serialize("example6.xlsx") @@ -205,9 +208,10 @@ It enables the you to generate 100% valid xlsx files that include customised sty

Changelog