summaryrefslogtreecommitdiffhomepage
path: root/lib/axlsx/util/constants.rb
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 /lib/axlsx/util/constants.rb
parentbfac5e8cb64783e55c69b7ab26c5050a6c9e7ebe (diff)
downloadcaxlsx-5782f294135b5e02d69b3388a0c496892644c207.tar.gz
caxlsx-5782f294135b5e02d69b3388a0c496892644c207.zip
release prep
Diffstat (limited to 'lib/axlsx/util/constants.rb')
-rw-r--r--lib/axlsx/util/constants.rb16
1 files changed, 16 insertions, 0 deletions
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"