openxml-docx 0.10.4 → 0.10.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f3dfb16056ec9fdc822d040094c61d70283c95f2
4
- data.tar.gz: 9dc43fc4dbb4fb986194bae94d89d3a2b9806fa7
3
+ metadata.gz: 83b80fb3e76c1777ecc53959807d74d79f384902
4
+ data.tar.gz: bf561fbe368a0d1533d5fd726065a1cf801f4ee1
5
5
  SHA512:
6
- metadata.gz: f04788b1ee97bb998beb9dbdee1f2952f4b50a90302a37f1141702d905d347aca0be9dd7aef38f25f005d219067173e09f4d230f13f72c652d5feba674b8198c
7
- data.tar.gz: 7cfe6251c00ae103028098509d2d05a184d3d63de713c510d5e8d08729d04934875bb426d3df6709811c9f11559b3bff1980f27bb3881760b1c1704d71eb33cd
6
+ metadata.gz: bc95a3ec56c670a36de88de57b5e96a221e284c08d00c5eae3cc85eb45c78eeaa4b17f9cf4ac24b53f93f396cf1164754100a5e06a1cf96ee4a318e2ef0f4031
7
+ data.tar.gz: ff1cf70b3015775728f306f11283c44d21adea29e239c2118a1eecfd00e3dbcd7d1c471d1c812873d16302d7634e9470264942f62a77d3a59b501131ec831e15
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- openxml-docx (0.10.4)
4
+ openxml-docx (0.10.5)
5
5
  nokogiri
6
6
  openxml-package (>= 0.2.2)
7
7
 
@@ -62,4 +62,4 @@ DEPENDENCIES
62
62
  timecop
63
63
 
64
64
  BUNDLED WITH
65
- 1.10.6
65
+ 1.11.2
@@ -2,13 +2,14 @@ require "openxml/docx/properties/columns"
2
2
  require "openxml/docx/properties/page_margins"
3
3
  require "openxml/docx/properties/page_size"
4
4
  require "openxml/docx/properties/header_reference"
5
+ require "openxml/docx/properties/section_type"
5
6
 
6
7
  module OpenXml
7
8
  module Docx
8
9
  module Properties
9
10
  class Section < ContainerProperty
10
11
  tag :sectPr
11
- child_classes :page_size, :page_margins, :columns, :header_reference
12
+ child_classes :page_size, :page_margins, :columns, :header_reference, :section_type
12
13
  end
13
14
  end
14
15
  end
@@ -1,5 +1,5 @@
1
1
  module OpenXml
2
2
  module Docx
3
- VERSION = "0.10.4"
3
+ VERSION = "0.10.5"
4
4
  end
5
5
  end
@@ -46,6 +46,8 @@ describe OpenXml::Docx::Elements::Paragraph do
46
46
  pm.right = 1440
47
47
  pm.top = 1440
48
48
 
49
+ @instance.section << OpenXml::Docx::Properties::SectionType.new(:continuous)
50
+
49
51
  @instance.section << pm
50
52
  columns = OpenXml::Docx::Properties::Columns.new
51
53
  columns.space = 720
@@ -4,6 +4,7 @@
4
4
  <w:pPr>
5
5
  <w:sectPr>
6
6
  <w:pgSz w:h="15840" w:w="12240"/>
7
+ <w:type w:val="continuous"/>
7
8
  <w:pgMar w:bottom="1440" w:footer="720" w:header="720" w:left="1440" w:right="1440" w:top="1440"/>
8
9
  <w:cols w:space="720"/>
9
10
  </w:sectPr>
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: openxml-docx
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.4
4
+ version: 0.10.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gene Doyel
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-04-13 00:00:00.000000000 Z
11
+ date: 2016-05-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri