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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 83b80fb3e76c1777ecc53959807d74d79f384902
|
4
|
+
data.tar.gz: bf561fbe368a0d1533d5fd726065a1cf801f4ee1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bc95a3ec56c670a36de88de57b5e96a221e284c08d00c5eae3cc85eb45c78eeaa4b17f9cf4ac24b53f93f396cf1164754100a5e06a1cf96ee4a318e2ef0f4031
|
7
|
+
data.tar.gz: ff1cf70b3015775728f306f11283c44d21adea29e239c2118a1eecfd00e3dbcd7d1c471d1c812873d16302d7634e9470264942f62a77d3a59b501131ec831e15
|
data/Gemfile.lock
CHANGED
@@ -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
|
data/lib/openxml/docx/version.rb
CHANGED
@@ -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
|
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
|
+
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-
|
11
|
+
date: 2016-05-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|