summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorRandy Morgan <[email protected]>2012-04-25 20:57:49 +0900
committerRandy Morgan <[email protected]>2012-04-25 20:57:49 +0900
commit91ea5ff009672adbad8587a1a4437d0b02519b0e (patch)
tree383b2747b674cf64296fc05c95a44c3ee8f3dbfc
parent1381dca8d62748ad103004a2cf35cbc51e7c336c (diff)
downloadcaxlsx-91ea5ff009672adbad8587a1a4437d0b02519b0e.tar.gz
caxlsx-91ea5ff009672adbad8587a1a4437d0b02519b0e.zip
documentation updates and example dir restructuring.
-rw-r--r--README.md6
-rw-r--r--examples/conditional_formatting/example_conditional_formatting.rb (renamed from examples/example_conditional_formatting.rb)0
-rw-r--r--examples/conditional_formatting/getting_barred.rb (renamed from examples/getting_barred.rb)0
-rw-r--r--examples/conditional_formatting/hitting_the_high_notes.rb (renamed from examples/hitting_the_high_notes.rb)0
-rw-r--r--examples/conditional_formatting/scaled_colors.rb (renamed from examples/scaled_colors.rb)0
-rw-r--r--examples/conditional_formatting/stop_and_go.rb (renamed from examples/stop_and_go.rb)0
-rw-r--r--examples/skydrive/real_example.rb (renamed from examples/real_example.rb)0
-rw-r--r--lib/axlsx/workbook/worksheet/conditional_formatting_rule.rb2
-rw-r--r--lib/axlsx/workbook/worksheet/data_bar.rb2
-rw-r--r--lib/axlsx/workbook/worksheet/icon_set.rb2
10 files changed, 9 insertions, 3 deletions
diff --git a/README.md b/README.md
index 1591d13f..bc2b0454 100644
--- a/README.md
+++ b/README.md
@@ -24,7 +24,7 @@ Axlsx: Office Open XML Spreadsheet Generation
**Rubinius Version**: rubinius 2.0.0dev * lower versions may run, this gem always tests against head.
-**Release Date**: April 18th 2012
+**Release Date**: April 25th 2012
Synopsis
--------
@@ -478,7 +478,7 @@ This gem has 100% test coverage using test/unit. To execute tests for this gem,
- Conditional Formatting completely implemented.
- refactoring / documentation for Style#add_style
- added in label rotation for chart axis labels
- - bugfix to porperly assign style and type info to cells when only partial information is provided in the types/style option
+ - bugfix to properly assign style and type info to cells when only partial information is provided in the types/style option
- ** April.18.12**: 1.1.1 release
- bugfix for autowidth calculations across multiple rows
@@ -530,4 +530,4 @@ Please see the {file:CHANGELOG.md} document for past release information.
----------
Axlsx &copy; 2011-2012 by [Randy Morgan](mailto:[email protected]). Axlsx is
-licensed under the MIT license. Please see the {file:LICENSE} document for more information.
+licensed under the MIT license. Please see the LICENSE document for more information.
diff --git a/examples/example_conditional_formatting.rb b/examples/conditional_formatting/example_conditional_formatting.rb
index ab49d238..ab49d238 100644
--- a/examples/example_conditional_formatting.rb
+++ b/examples/conditional_formatting/example_conditional_formatting.rb
diff --git a/examples/getting_barred.rb b/examples/conditional_formatting/getting_barred.rb
index 6e69b6ab..6e69b6ab 100644
--- a/examples/getting_barred.rb
+++ b/examples/conditional_formatting/getting_barred.rb
diff --git a/examples/hitting_the_high_notes.rb b/examples/conditional_formatting/hitting_the_high_notes.rb
index 6ea7ea0f..6ea7ea0f 100644
--- a/examples/hitting_the_high_notes.rb
+++ b/examples/conditional_formatting/hitting_the_high_notes.rb
diff --git a/examples/scaled_colors.rb b/examples/conditional_formatting/scaled_colors.rb
index dcbaf11d..dcbaf11d 100644
--- a/examples/scaled_colors.rb
+++ b/examples/conditional_formatting/scaled_colors.rb
diff --git a/examples/stop_and_go.rb b/examples/conditional_formatting/stop_and_go.rb
index 301bf3fa..301bf3fa 100644
--- a/examples/stop_and_go.rb
+++ b/examples/conditional_formatting/stop_and_go.rb
diff --git a/examples/real_example.rb b/examples/skydrive/real_example.rb
index 0274ebe9..0274ebe9 100644
--- a/examples/real_example.rb
+++ b/examples/skydrive/real_example.rb
diff --git a/lib/axlsx/workbook/worksheet/conditional_formatting_rule.rb b/lib/axlsx/workbook/worksheet/conditional_formatting_rule.rb
index 3e6192e0..3e8c3e1b 100644
--- a/lib/axlsx/workbook/worksheet/conditional_formatting_rule.rb
+++ b/lib/axlsx/workbook/worksheet/conditional_formatting_rule.rb
@@ -7,6 +7,8 @@ module Axlsx
# @see Worksheet#add_conditional_formatting
# @see ConditionalFormattingRule#initialize
class ConditionalFormattingRule
+
+ # instance values that must be serialized as their own elements - e.g. not attributes.
CHILD_ELEMENTS = [:formula, :color_scale, :data_bar, :icon_set]
# Formula
diff --git a/lib/axlsx/workbook/worksheet/data_bar.rb b/lib/axlsx/workbook/worksheet/data_bar.rb
index 701fba84..c5054876 100644
--- a/lib/axlsx/workbook/worksheet/data_bar.rb
+++ b/lib/axlsx/workbook/worksheet/data_bar.rb
@@ -6,6 +6,8 @@ module Axlsx
# @see Worksheet#add_conditional_formatting
# @see ConditionalFormattingRule#initialize
class DataBar
+
+ # instance values that must be serialized as their own elements - e.g. not attributes.
CHILD_ELEMENTS = [:value_objects, :color]
# minLength attribute
diff --git a/lib/axlsx/workbook/worksheet/icon_set.rb b/lib/axlsx/workbook/worksheet/icon_set.rb
index 68f217da..534c33c1 100644
--- a/lib/axlsx/workbook/worksheet/icon_set.rb
+++ b/lib/axlsx/workbook/worksheet/icon_set.rb
@@ -6,6 +6,8 @@ module Axlsx
# @see Worksheet#add_conditional_formatting
# @see ConditionalFormattingRule#initialize
class IconSet
+
+ # instance values that must be serialized as their own elements - e.g. not attributes.
CHILD_ELEMENTS = [:value_objects]
# The icon set to display.