summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorRandy Morgan <[email protected]>2012-08-27 08:22:48 +0900
committerRandy Morgan <[email protected]>2012-08-27 08:22:48 +0900
commit5782f294135b5e02d69b3388a0c496892644c207 (patch)
tree1ffcde5a95346bbec2c3302ebf8f4c86ee770cdc
parentbfac5e8cb64783e55c69b7ab26c5050a6c9e7ebe (diff)
downloadcaxlsx-5782f294135b5e02d69b3388a0c496892644c207.tar.gz
caxlsx-5782f294135b5e02d69b3388a0c496892644c207.zip
release prep
-rw-r--r--README.md7
-rw-r--r--lib/axlsx/drawing/view_3D.rb2
-rw-r--r--lib/axlsx/util/constants.rb16
-rw-r--r--lib/axlsx/version.rb2
4 files changed, 23 insertions, 4 deletions
diff --git a/README.md b/README.md
index 48e6103c..b134d446 100644
--- a/README.md
+++ b/README.md
@@ -17,7 +17,7 @@ Axlsx: Office Open XML Spreadsheet Generation
**License**: MIT License
-**Latest Version**: 1.2.0
+**Latest Version**: 1.2.2
**Ruby Version**: 1.8.7, 1.9.2, 1.9.3
@@ -25,7 +25,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**: August 12th 2012
+**Release Date**: August 27th 2012
If you are working in rails, or with active record see:
* http://github.com/randym/acts_as_xlsx
@@ -145,6 +145,9 @@ This gem has 100% test coverage using test/unit. To execute tests for this gem,
#Change log
---------
+- **August.27.12**: 1.2.2
+ - minor patch for auto-filters
+ - minor documentation improvements.
- **August.12.12**: 1.2.1
- Add support for hyperlinks in worksheets
- Fix example that was using old style cell merging with concact.
diff --git a/lib/axlsx/drawing/view_3D.rb b/lib/axlsx/drawing/view_3D.rb
index 241fcd3b..33a4dbe2 100644
--- a/lib/axlsx/drawing/view_3D.rb
+++ b/lib/axlsx/drawing/view_3D.rb
@@ -15,7 +15,7 @@ module Axlsx
attr_reader :rot_x
alias :rotX :rot_x
- # height of chart as % of chart
+ # height of chart as % of chart width
# must be between 5% and 500%
# @return [String]
attr_reader :h_percent
diff --git a/lib/axlsx/util/constants.rb b/lib/axlsx/util/constants.rb
index 122f680d..28460e8b 100644
--- a/lib/axlsx/util/constants.rb
+++ b/lib/axlsx/util/constants.rb
@@ -31,6 +31,9 @@ module Axlsx
# xml schema namespace
CORE_NS_XSI = "http://www.w3.org/2001/XMLSchema-instance"
+ # Digital signature namespace
+ DIGITAL_SIGNATURE_NS = "http://schemas.openxmlformats.org/package/2006/digital-signature"
+
# spreadsheet drawing namespace
XML_NS_XDR = "http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing"
@@ -61,6 +64,9 @@ module Axlsx
# core rels namespace
CORE_R = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/metadata/core-properties"
+ # digital signature rels namespace
+ DIGITAL_SIGNATURE_R = "http://schemas.openxmlformats.org/package/2006/relationships/digital- signature/signature"
+
# styles rels namespace
STYLES_R = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles"
@@ -118,6 +124,15 @@ module Axlsx
# core content type
CORE_CT = "application/vnd.openxmlformats-package.core-properties+xml"
+ # digital signature xml content type
+ DIGITAL_SIGNATURE_XML_CT = "application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml"
+
+ # digital signature origin content type
+ DIGITAL_SIGNATURE_ORIGIN_CT = "application/vnd.openxmlformats-package.digital-signature-origin"
+
+ # digital signature certificate content type
+ DIGITAL_SIGNATURE_CERTIFICATE_CT = "application/vnd.openxmlformats-package.digital-signature-certificate"
+
# chart content type
CHART_CT = "application/vnd.openxmlformats-officedocument.drawingml.chart+xml"
@@ -136,6 +151,7 @@ module Axlsx
#drawing content type
DRAWING_CT = "application/vnd.openxmlformats-officedocument.drawing+xml"
+
# xml content type extensions
XML_EX = "xml"
diff --git a/lib/axlsx/version.rb b/lib/axlsx/version.rb
index bb914f7a..219d3fc4 100644
--- a/lib/axlsx/version.rb
+++ b/lib/axlsx/version.rb
@@ -1,5 +1,5 @@
# encoding: UTF-8
module Axlsx
# The current version
- VERSION="1.2.1"
+ VERSION="1.2.2"
end