rocx 0.5.6 → 0.5.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.travis.yml +6 -0
- data/Gemfile.lock +1 -1
- data/lib/rocx.rb +1 -1
- data/lib/rocx/elements/base_container.rb +17 -2
- data/lib/rocx/elements/paragraph.rb +33 -21
- data/lib/rocx/elements/run.rb +2 -2
- data/lib/rocx/elements/style.rb +19 -0
- data/lib/rocx/parts/base_part.rb +4 -0
- data/lib/rocx/parts/content_types.rb +2 -6
- data/lib/rocx/parts/document.rb +2 -3
- data/lib/rocx/parts/global_rels.rb +2 -3
- data/lib/rocx/parts/rels.rb +2 -3
- data/lib/rocx/parts/settings.rb +2 -3
- data/lib/rocx/parts/styles.rb +2 -3
- data/lib/rocx/properties/alignment.rb +1 -1
- data/lib/rocx/properties/attribute_builder.rb +283 -0
- data/lib/rocx/properties/base_property.rb +4 -0
- data/lib/rocx/properties/border.rb +32 -0
- data/lib/rocx/properties/borders.rb +48 -0
- data/lib/rocx/properties/compress_punctuation.rb +11 -0
- data/lib/rocx/properties/frame.rb +70 -0
- data/lib/rocx/properties/indentation.rb +1 -1
- data/lib/rocx/properties/numbering.rb +28 -0
- data/lib/rocx/properties/shading.rb +75 -0
- data/lib/rocx/properties/spacing.rb +38 -0
- data/lib/rocx/properties/tab.rb +77 -0
- data/lib/rocx/properties/tabs.rb +55 -0
- data/lib/rocx/properties/text_direction.rb +15 -0
- data/lib/rocx/properties/textbox_tight_wrap.rb +15 -0
- data/lib/rocx/properties/vertical_alignment.rb +19 -0
- data/lib/rocx/version.rb +1 -1
- data/rocx.gemspec +1 -0
- data/test/package_test.rb +6 -6
- data/test/properties/auto_adjust_right_indent_test.rb +4 -4
- data/test/properties/auto_space_de_test.rb +4 -4
- data/test/properties/auto_space_dn_test.rb +4 -4
- data/test/properties/bidi_test.rb +4 -4
- data/test/properties/bold_test.rb +4 -4
- data/test/properties/border_test.rb +216 -0
- data/test/properties/borders_test.rb +95 -0
- data/test/properties/compress_punctuation_test.rb +50 -0
- data/test/properties/conditional_formatting_test.rb +4 -4
- data/test/properties/contextual_spacing_test.rb +4 -4
- data/test/properties/div_id_test.rb +3 -3
- data/test/properties/frame_test.rb +497 -0
- data/test/properties/italics_test.rb +4 -4
- data/test/properties/keep_lines_test.rb +4 -4
- data/test/properties/keep_next_test.rb +4 -4
- data/test/properties/kinsoku_test.rb +4 -4
- data/test/properties/mirror_indent_test.rb +4 -4
- data/test/properties/numbering_test.rb +86 -0
- data/test/properties/outline_level_test.rb +4 -4
- data/test/properties/overflow_punctuation_test.rb +4 -4
- data/test/properties/page_break_before_test.rb +4 -4
- data/test/properties/shading_test.rb +225 -0
- data/test/properties/snap_to_grid_test.rb +4 -4
- data/test/properties/spacing_test.rb +248 -0
- data/test/properties/style_test.rb +30 -0
- data/test/properties/supress_auto_hyphens_test.rb +4 -4
- data/test/properties/supress_line_numbers_test.rb +4 -4
- data/test/properties/supress_overlap_test.rb +4 -4
- data/test/properties/tab_test.rb +63 -0
- data/test/properties/tabs_test.rb +54 -0
- data/test/properties/text_direction_test.rb +100 -0
- data/test/properties/textbox_tight_wrap_test.rb +88 -0
- data/test/properties/vertical_alignment_test.rb +88 -0
- data/test/properties/widow_control_test.rb +4 -4
- data/test/properties/word_wrap_test.rb +4 -4
- data/test/test_helper.rb +2 -5
- metadata +45 -3
@@ -0,0 +1,54 @@
|
|
1
|
+
require "test_helper"
|
2
|
+
|
3
|
+
class TabsTest < PropertyTest
|
4
|
+
attr_reader :tabs
|
5
|
+
|
6
|
+
context "always" do
|
7
|
+
setup do
|
8
|
+
@tabs = Tabs.new
|
9
|
+
end
|
10
|
+
|
11
|
+
should "have the right name" do
|
12
|
+
assert_equal "tabs", tabs.name
|
13
|
+
end
|
14
|
+
|
15
|
+
should "have the right tag" do
|
16
|
+
assert_equal :tabs, tabs.tag
|
17
|
+
end
|
18
|
+
end
|
19
|
+
|
20
|
+
context "when trying to add tabs, it" do
|
21
|
+
setup do
|
22
|
+
@tabs = Tabs.new
|
23
|
+
end
|
24
|
+
|
25
|
+
should "raise an exception if the tab to be added isn't a tab at all" do
|
26
|
+
assert_raises ArgumentError do
|
27
|
+
tabs << []
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end
|
31
|
+
|
32
|
+
context "when there are no tabs, it" do
|
33
|
+
setup do
|
34
|
+
@tabs = Tabs.new
|
35
|
+
end
|
36
|
+
|
37
|
+
should "not return any XML" do
|
38
|
+
assert_equal "", xml(tabs)
|
39
|
+
end
|
40
|
+
end
|
41
|
+
|
42
|
+
context "when there are tabs, it" do
|
43
|
+
setup do
|
44
|
+
@tabs = Tabs.new
|
45
|
+
tabs << Tab.new(1234, :start)
|
46
|
+
tabs << Tab.new(5678, :end, :heavy)
|
47
|
+
end
|
48
|
+
|
49
|
+
should "return the correct XML" do
|
50
|
+
assert_equal "<w:tabs>\n <w:tab w:pos=\"1234\" w:val=\"start\"/>\n <w:tab w:pos=\"5678\" w:val=\"end\" w:leader=\"heavy\"/>\n </w:tabs>", xml(tabs)
|
51
|
+
end
|
52
|
+
end
|
53
|
+
|
54
|
+
end
|
@@ -0,0 +1,100 @@
|
|
1
|
+
require "test_helper"
|
2
|
+
|
3
|
+
class TextDirectionTest < PropertyTest
|
4
|
+
attr_reader :text_direction
|
5
|
+
|
6
|
+
context "always" do
|
7
|
+
setup do
|
8
|
+
@text_direction = TextDirection.new(:lr)
|
9
|
+
end
|
10
|
+
|
11
|
+
should "have the right tag" do
|
12
|
+
assert_equal :textDirection, text_direction.tag
|
13
|
+
end
|
14
|
+
|
15
|
+
should "have the right name" do
|
16
|
+
assert_equal "text_direction", text_direction.name
|
17
|
+
end
|
18
|
+
end
|
19
|
+
|
20
|
+
context "with valid values," do
|
21
|
+
context "like :lr, it" do
|
22
|
+
setup do
|
23
|
+
@text_direction = TextDirection.new(:lr)
|
24
|
+
end
|
25
|
+
|
26
|
+
should "return the right XML" do
|
27
|
+
assert_equal "<w:textDirection w:val=\"lr\"/>", xml(text_direction)
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end
|
31
|
+
|
32
|
+
context "with valid values," do
|
33
|
+
context "like :lrV, it" do
|
34
|
+
setup do
|
35
|
+
@text_direction = TextDirection.new(:lrV)
|
36
|
+
end
|
37
|
+
|
38
|
+
should "return the right XML" do
|
39
|
+
assert_equal "<w:textDirection w:val=\"lrV\"/>", xml(text_direction)
|
40
|
+
end
|
41
|
+
end
|
42
|
+
end
|
43
|
+
|
44
|
+
context "with valid values," do
|
45
|
+
context "like :rl, it" do
|
46
|
+
setup do
|
47
|
+
@text_direction = TextDirection.new(:rl)
|
48
|
+
end
|
49
|
+
|
50
|
+
should "return the right XML" do
|
51
|
+
assert_equal "<w:textDirection w:val=\"rl\"/>", xml(text_direction)
|
52
|
+
end
|
53
|
+
end
|
54
|
+
end
|
55
|
+
|
56
|
+
context "with valid values," do
|
57
|
+
context "like :rlV, it" do
|
58
|
+
setup do
|
59
|
+
@text_direction = TextDirection.new(:rlV)
|
60
|
+
end
|
61
|
+
|
62
|
+
should "return the right XML" do
|
63
|
+
assert_equal "<w:textDirection w:val=\"rlV\"/>", xml(text_direction)
|
64
|
+
end
|
65
|
+
end
|
66
|
+
end
|
67
|
+
|
68
|
+
context "with valid values," do
|
69
|
+
context "like :tb, it" do
|
70
|
+
setup do
|
71
|
+
@text_direction = TextDirection.new(:tb)
|
72
|
+
end
|
73
|
+
|
74
|
+
should "return the right XML" do
|
75
|
+
assert_equal "<w:textDirection w:val=\"tb\"/>", xml(text_direction)
|
76
|
+
end
|
77
|
+
end
|
78
|
+
end
|
79
|
+
|
80
|
+
context "with valid values," do
|
81
|
+
context "like :tbV, it" do
|
82
|
+
setup do
|
83
|
+
@text_direction = TextDirection.new(:tbV)
|
84
|
+
end
|
85
|
+
|
86
|
+
should "return the right XML" do
|
87
|
+
assert_equal "<w:textDirection w:val=\"tbV\"/>", xml(text_direction)
|
88
|
+
end
|
89
|
+
end
|
90
|
+
end
|
91
|
+
|
92
|
+
context "with invalid values, it" do
|
93
|
+
should "raise an error" do
|
94
|
+
assert_raises ArgumentError do
|
95
|
+
@text_direction = TextDirection.new(:left_to_right)
|
96
|
+
end
|
97
|
+
end
|
98
|
+
end
|
99
|
+
|
100
|
+
end
|
@@ -0,0 +1,88 @@
|
|
1
|
+
require "test_helper"
|
2
|
+
|
3
|
+
class TextboxTightWrapTest < PropertyTest
|
4
|
+
attr_reader :textbox_tight_wrap
|
5
|
+
|
6
|
+
context "always" do
|
7
|
+
setup do
|
8
|
+
@textbox_tight_wrap = TextboxTightWrap.new(:allLines)
|
9
|
+
end
|
10
|
+
|
11
|
+
should "have the right tag" do
|
12
|
+
assert_equal :textboxTightWrap, textbox_tight_wrap.tag
|
13
|
+
end
|
14
|
+
|
15
|
+
should "have the right name" do
|
16
|
+
assert_equal "textbox_tight_wrap", textbox_tight_wrap.name
|
17
|
+
end
|
18
|
+
end
|
19
|
+
|
20
|
+
context "with valid values," do
|
21
|
+
context "like :allLines, it" do
|
22
|
+
setup do
|
23
|
+
@textbox_tight_wrap = TextboxTightWrap.new(:allLines)
|
24
|
+
end
|
25
|
+
|
26
|
+
should "return the right XML" do
|
27
|
+
assert_equal "<w:textboxTightWrap w:val=\"allLines\"/>", xml(textbox_tight_wrap)
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end
|
31
|
+
|
32
|
+
context "with valid values," do
|
33
|
+
context "like :firstAndLastLine, it" do
|
34
|
+
setup do
|
35
|
+
@textbox_tight_wrap = TextboxTightWrap.new(:firstAndLastLine)
|
36
|
+
end
|
37
|
+
|
38
|
+
should "return the right XML" do
|
39
|
+
assert_equal "<w:textboxTightWrap w:val=\"firstAndLastLine\"/>", xml(textbox_tight_wrap)
|
40
|
+
end
|
41
|
+
end
|
42
|
+
end
|
43
|
+
|
44
|
+
context "with valid values," do
|
45
|
+
context "like :firstLineOnly, it" do
|
46
|
+
setup do
|
47
|
+
@textbox_tight_wrap = TextboxTightWrap.new(:firstLineOnly)
|
48
|
+
end
|
49
|
+
|
50
|
+
should "return the right XML" do
|
51
|
+
assert_equal "<w:textboxTightWrap w:val=\"firstLineOnly\"/>", xml(textbox_tight_wrap)
|
52
|
+
end
|
53
|
+
end
|
54
|
+
end
|
55
|
+
|
56
|
+
context "with valid values," do
|
57
|
+
context "like :lastLineOnly, it" do
|
58
|
+
setup do
|
59
|
+
@textbox_tight_wrap = TextboxTightWrap.new(:lastLineOnly)
|
60
|
+
end
|
61
|
+
|
62
|
+
should "return the right XML" do
|
63
|
+
assert_equal "<w:textboxTightWrap w:val=\"lastLineOnly\"/>", xml(textbox_tight_wrap)
|
64
|
+
end
|
65
|
+
end
|
66
|
+
end
|
67
|
+
|
68
|
+
context "with valid values," do
|
69
|
+
context "like :none, it" do
|
70
|
+
setup do
|
71
|
+
@textbox_tight_wrap = TextboxTightWrap.new(:none)
|
72
|
+
end
|
73
|
+
|
74
|
+
should "return the right XML" do
|
75
|
+
assert_equal "<w:textboxTightWrap w:val=\"none\"/>", xml(textbox_tight_wrap)
|
76
|
+
end
|
77
|
+
end
|
78
|
+
end
|
79
|
+
|
80
|
+
context "with invalid values, it" do
|
81
|
+
should "raise an error" do
|
82
|
+
assert_raises ArgumentError do
|
83
|
+
@textbox_tight_wrap = TextboxTightWrap.new(:something_terrible)
|
84
|
+
end
|
85
|
+
end
|
86
|
+
end
|
87
|
+
|
88
|
+
end
|
@@ -0,0 +1,88 @@
|
|
1
|
+
require "test_helper"
|
2
|
+
|
3
|
+
class VerticalAlignmentTest < PropertyTest
|
4
|
+
attr_reader :vertical_alignment
|
5
|
+
|
6
|
+
context "always" do
|
7
|
+
setup do
|
8
|
+
@vertical_alignment = VerticalAlignment.new(:auto)
|
9
|
+
end
|
10
|
+
|
11
|
+
should "have the right tag" do
|
12
|
+
assert_equal :textAlignment, vertical_alignment.tag
|
13
|
+
end
|
14
|
+
|
15
|
+
should "have the right name" do
|
16
|
+
assert_equal "vertical_alignment", vertical_alignment.name
|
17
|
+
end
|
18
|
+
end
|
19
|
+
|
20
|
+
context "with valid values," do
|
21
|
+
context "like :auto, it" do
|
22
|
+
setup do
|
23
|
+
@vertical_alignment = VerticalAlignment.new(:auto)
|
24
|
+
end
|
25
|
+
|
26
|
+
should "return the right XML" do
|
27
|
+
assert_equal "<w:textAlignment w:val=\"auto\"/>", xml(vertical_alignment)
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end
|
31
|
+
|
32
|
+
context "with valid values," do
|
33
|
+
context "like :baseline, it" do
|
34
|
+
setup do
|
35
|
+
@vertical_alignment = VerticalAlignment.new(:baseline)
|
36
|
+
end
|
37
|
+
|
38
|
+
should "return the right XML" do
|
39
|
+
assert_equal "<w:textAlignment w:val=\"baseline\"/>", xml(vertical_alignment)
|
40
|
+
end
|
41
|
+
end
|
42
|
+
end
|
43
|
+
|
44
|
+
context "with valid values," do
|
45
|
+
context "like :bottom, it" do
|
46
|
+
setup do
|
47
|
+
@vertical_alignment = VerticalAlignment.new(:bottom)
|
48
|
+
end
|
49
|
+
|
50
|
+
should "return the right XML" do
|
51
|
+
assert_equal "<w:textAlignment w:val=\"bottom\"/>", xml(vertical_alignment)
|
52
|
+
end
|
53
|
+
end
|
54
|
+
end
|
55
|
+
|
56
|
+
context "with valid values," do
|
57
|
+
context "like :center, it" do
|
58
|
+
setup do
|
59
|
+
@vertical_alignment = VerticalAlignment.new(:center)
|
60
|
+
end
|
61
|
+
|
62
|
+
should "return the right XML" do
|
63
|
+
assert_equal "<w:textAlignment w:val=\"center\"/>", xml(vertical_alignment)
|
64
|
+
end
|
65
|
+
end
|
66
|
+
end
|
67
|
+
|
68
|
+
context "with valid values," do
|
69
|
+
context "like :top, it" do
|
70
|
+
setup do
|
71
|
+
@vertical_alignment = VerticalAlignment.new(:top)
|
72
|
+
end
|
73
|
+
|
74
|
+
should "return the right XML" do
|
75
|
+
assert_equal "<w:textAlignment w:val=\"top\"/>", xml(vertical_alignment)
|
76
|
+
end
|
77
|
+
end
|
78
|
+
end
|
79
|
+
|
80
|
+
context "with invalid values, it" do
|
81
|
+
should "raise an error" do
|
82
|
+
assert_raises ArgumentError do
|
83
|
+
@vertical_alignment = VerticalAlignment.new(:something_terrible)
|
84
|
+
end
|
85
|
+
end
|
86
|
+
end
|
87
|
+
|
88
|
+
end
|
@@ -5,7 +5,7 @@ class WidowControlTest < PropertyTest
|
|
5
5
|
|
6
6
|
context "always" do
|
7
7
|
setup do
|
8
|
-
@widow_control =
|
8
|
+
@widow_control = WidowControl.new(:on)
|
9
9
|
end
|
10
10
|
|
11
11
|
should "have the right tag" do
|
@@ -19,7 +19,7 @@ class WidowControlTest < PropertyTest
|
|
19
19
|
|
20
20
|
context "when the value is on, it" do
|
21
21
|
setup do
|
22
|
-
@widow_control =
|
22
|
+
@widow_control = WidowControl.new(:on)
|
23
23
|
end
|
24
24
|
|
25
25
|
should "return XML to that effect" do
|
@@ -29,7 +29,7 @@ class WidowControlTest < PropertyTest
|
|
29
29
|
|
30
30
|
context "when the value is off, it" do
|
31
31
|
setup do
|
32
|
-
@widow_control =
|
32
|
+
@widow_control = WidowControl.new(:off)
|
33
33
|
end
|
34
34
|
|
35
35
|
should "return XML to that effect" do
|
@@ -39,7 +39,7 @@ class WidowControlTest < PropertyTest
|
|
39
39
|
|
40
40
|
context "when the value is nil, it" do
|
41
41
|
setup do
|
42
|
-
@widow_control =
|
42
|
+
@widow_control = WidowControl.new(nil)
|
43
43
|
end
|
44
44
|
|
45
45
|
should "not return XML" do
|
@@ -5,7 +5,7 @@ class WordWrapTest < PropertyTest
|
|
5
5
|
|
6
6
|
context "always" do
|
7
7
|
setup do
|
8
|
-
@word_wrap =
|
8
|
+
@word_wrap = WordWrap.new(:on)
|
9
9
|
end
|
10
10
|
|
11
11
|
should "have the right tag" do
|
@@ -19,7 +19,7 @@ class WordWrapTest < PropertyTest
|
|
19
19
|
|
20
20
|
context "when the value is on, it" do
|
21
21
|
setup do
|
22
|
-
@word_wrap =
|
22
|
+
@word_wrap = WordWrap.new(:on)
|
23
23
|
end
|
24
24
|
|
25
25
|
should "return XML to that effect" do
|
@@ -29,7 +29,7 @@ class WordWrapTest < PropertyTest
|
|
29
29
|
|
30
30
|
context "when the value is off, it" do
|
31
31
|
setup do
|
32
|
-
@word_wrap =
|
32
|
+
@word_wrap = WordWrap.new(:off)
|
33
33
|
end
|
34
34
|
|
35
35
|
should "return XML to that effect" do
|
@@ -39,7 +39,7 @@ class WordWrapTest < PropertyTest
|
|
39
39
|
|
40
40
|
context "when the value is nil, it" do
|
41
41
|
setup do
|
42
|
-
@word_wrap =
|
42
|
+
@word_wrap = WordWrap.new(nil)
|
43
43
|
end
|
44
44
|
|
45
45
|
should "not return XML" do
|
data/test/test_helper.rb
CHANGED
@@ -21,10 +21,6 @@ def element_xml(part)
|
|
21
21
|
File.read(File.join(File.dirname(__FILE__), "data", "elements", "#{part}_element.xml"))
|
22
22
|
end
|
23
23
|
|
24
|
-
def assert_is_a(klass, instance)
|
25
|
-
assert instance.is_a?(klass), "Expected #{instance} to be a #{klass}"
|
26
|
-
end
|
27
|
-
|
28
24
|
def build_xml
|
29
25
|
Nokogiri::XML::Builder.new do |xml|
|
30
26
|
xml.root("xmlns:w" => "http://wnamespace.org") {
|
@@ -36,6 +32,7 @@ end
|
|
36
32
|
require "test_helper"
|
37
33
|
|
38
34
|
class PropertyTest < Test::Unit::TestCase
|
35
|
+
include Rocx::Properties
|
39
36
|
|
40
37
|
private
|
41
38
|
|
@@ -49,7 +46,7 @@ private
|
|
49
46
|
end
|
50
47
|
|
51
48
|
def doc_pattern
|
52
|
-
/<\?xml\sversion="1.0"\?>\n<root xmlns:w="http:\/\/wnamespace.org">\n\s+([^\s].+)\n<\/root>/
|
49
|
+
/<\?xml\sversion="1.0"\?>\n<root xmlns:w="http:\/\/wnamespace.org">\n\s+([^\s].+)\n<\/root>/m
|
53
50
|
end
|
54
51
|
|
55
52
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rocx
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gene Doyel
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-06-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|
@@ -144,6 +144,7 @@ extensions: []
|
|
144
144
|
extra_rdoc_files: []
|
145
145
|
files:
|
146
146
|
- .gitignore
|
147
|
+
- .travis.yml
|
147
148
|
- Gemfile
|
148
149
|
- Gemfile.lock
|
149
150
|
- LICENSE.txt
|
@@ -156,6 +157,7 @@ files:
|
|
156
157
|
- lib/rocx/elements/break.rb
|
157
158
|
- lib/rocx/elements/paragraph.rb
|
158
159
|
- lib/rocx/elements/run.rb
|
160
|
+
- lib/rocx/elements/style.rb
|
159
161
|
- lib/rocx/elements/symbol.rb
|
160
162
|
- lib/rocx/elements/text.rb
|
161
163
|
- lib/rocx/package.rb
|
@@ -169,6 +171,7 @@ files:
|
|
169
171
|
- lib/rocx/parts/styles.rb
|
170
172
|
- lib/rocx/properties.rb
|
171
173
|
- lib/rocx/properties/alignment.rb
|
174
|
+
- lib/rocx/properties/attribute_builder.rb
|
172
175
|
- lib/rocx/properties/auto_adjust_right_indent.rb
|
173
176
|
- lib/rocx/properties/auto_space_de.rb
|
174
177
|
- lib/rocx/properties/auto_space_dn.rb
|
@@ -176,24 +179,36 @@ files:
|
|
176
179
|
- lib/rocx/properties/bidi.rb
|
177
180
|
- lib/rocx/properties/bold.rb
|
178
181
|
- lib/rocx/properties/boolean_property.rb
|
182
|
+
- lib/rocx/properties/border.rb
|
183
|
+
- lib/rocx/properties/borders.rb
|
184
|
+
- lib/rocx/properties/compress_punctuation.rb
|
179
185
|
- lib/rocx/properties/conditional_formatting.rb
|
180
186
|
- lib/rocx/properties/contextual_spacing.rb
|
181
187
|
- lib/rocx/properties/div_id.rb
|
188
|
+
- lib/rocx/properties/frame.rb
|
182
189
|
- lib/rocx/properties/indentation.rb
|
183
190
|
- lib/rocx/properties/italics.rb
|
184
191
|
- lib/rocx/properties/keep_lines.rb
|
185
192
|
- lib/rocx/properties/keep_next.rb
|
186
193
|
- lib/rocx/properties/kinsoku.rb
|
187
194
|
- lib/rocx/properties/mirror_indent.rb
|
195
|
+
- lib/rocx/properties/numbering.rb
|
188
196
|
- lib/rocx/properties/on_off_property.rb
|
189
197
|
- lib/rocx/properties/outline_level.rb
|
190
198
|
- lib/rocx/properties/overflow_punctuation.rb
|
191
199
|
- lib/rocx/properties/page_break_before.rb
|
200
|
+
- lib/rocx/properties/shading.rb
|
192
201
|
- lib/rocx/properties/snap_to_grid.rb
|
202
|
+
- lib/rocx/properties/spacing.rb
|
193
203
|
- lib/rocx/properties/supress_auto_hyphens.rb
|
194
204
|
- lib/rocx/properties/supress_line_numbers.rb
|
195
205
|
- lib/rocx/properties/supress_overlap.rb
|
206
|
+
- lib/rocx/properties/tab.rb
|
207
|
+
- lib/rocx/properties/tabs.rb
|
208
|
+
- lib/rocx/properties/text_direction.rb
|
209
|
+
- lib/rocx/properties/textbox_tight_wrap.rb
|
196
210
|
- lib/rocx/properties/toggle_property.rb
|
211
|
+
- lib/rocx/properties/vertical_alignment.rb
|
197
212
|
- lib/rocx/properties/widow_control.rb
|
198
213
|
- lib/rocx/properties/word_wrap.rb
|
199
214
|
- lib/rocx/style.rb
|
@@ -233,27 +248,41 @@ files:
|
|
233
248
|
- test/properties/auto_space_dn_test.rb
|
234
249
|
- test/properties/bidi_test.rb
|
235
250
|
- test/properties/bold_test.rb
|
251
|
+
- test/properties/border_test.rb
|
252
|
+
- test/properties/borders_test.rb
|
253
|
+
- test/properties/compress_punctuation_test.rb
|
236
254
|
- test/properties/conditional_formatting_test.rb
|
237
255
|
- test/properties/contextual_spacing_test.rb
|
238
256
|
- test/properties/div_id_test.rb
|
257
|
+
- test/properties/frame_test.rb
|
239
258
|
- test/properties/italics_test.rb
|
240
259
|
- test/properties/keep_lines_test.rb
|
241
260
|
- test/properties/keep_next_test.rb
|
242
261
|
- test/properties/kinsoku_test.rb
|
243
262
|
- test/properties/mirror_indent_test.rb
|
263
|
+
- test/properties/numbering_test.rb
|
244
264
|
- test/properties/outline_level_test.rb
|
245
265
|
- test/properties/overflow_punctuation_test.rb
|
246
266
|
- test/properties/page_break_before_test.rb
|
267
|
+
- test/properties/shading_test.rb
|
247
268
|
- test/properties/snap_to_grid_test.rb
|
269
|
+
- test/properties/spacing_test.rb
|
270
|
+
- test/properties/style_test.rb
|
248
271
|
- test/properties/supress_auto_hyphens_test.rb
|
249
272
|
- test/properties/supress_line_numbers_test.rb
|
250
273
|
- test/properties/supress_overlap_test.rb
|
274
|
+
- test/properties/tab_test.rb
|
275
|
+
- test/properties/tabs_test.rb
|
276
|
+
- test/properties/text_direction_test.rb
|
277
|
+
- test/properties/textbox_tight_wrap_test.rb
|
278
|
+
- test/properties/vertical_alignment_test.rb
|
251
279
|
- test/properties/widow_control_test.rb
|
252
280
|
- test/properties/word_wrap_test.rb
|
253
281
|
- test/style_test.rb
|
254
282
|
- test/test_helper.rb
|
255
283
|
homepage: https://github.com/genebot/rocx
|
256
|
-
licenses:
|
284
|
+
licenses:
|
285
|
+
- MIT
|
257
286
|
metadata: {}
|
258
287
|
post_install_message:
|
259
288
|
rdoc_options: []
|
@@ -294,21 +323,34 @@ test_files:
|
|
294
323
|
- test/properties/auto_space_dn_test.rb
|
295
324
|
- test/properties/bidi_test.rb
|
296
325
|
- test/properties/bold_test.rb
|
326
|
+
- test/properties/border_test.rb
|
327
|
+
- test/properties/borders_test.rb
|
328
|
+
- test/properties/compress_punctuation_test.rb
|
297
329
|
- test/properties/conditional_formatting_test.rb
|
298
330
|
- test/properties/contextual_spacing_test.rb
|
299
331
|
- test/properties/div_id_test.rb
|
332
|
+
- test/properties/frame_test.rb
|
300
333
|
- test/properties/italics_test.rb
|
301
334
|
- test/properties/keep_lines_test.rb
|
302
335
|
- test/properties/keep_next_test.rb
|
303
336
|
- test/properties/kinsoku_test.rb
|
304
337
|
- test/properties/mirror_indent_test.rb
|
338
|
+
- test/properties/numbering_test.rb
|
305
339
|
- test/properties/outline_level_test.rb
|
306
340
|
- test/properties/overflow_punctuation_test.rb
|
307
341
|
- test/properties/page_break_before_test.rb
|
342
|
+
- test/properties/shading_test.rb
|
308
343
|
- test/properties/snap_to_grid_test.rb
|
344
|
+
- test/properties/spacing_test.rb
|
345
|
+
- test/properties/style_test.rb
|
309
346
|
- test/properties/supress_auto_hyphens_test.rb
|
310
347
|
- test/properties/supress_line_numbers_test.rb
|
311
348
|
- test/properties/supress_overlap_test.rb
|
349
|
+
- test/properties/tab_test.rb
|
350
|
+
- test/properties/tabs_test.rb
|
351
|
+
- test/properties/text_direction_test.rb
|
352
|
+
- test/properties/textbox_tight_wrap_test.rb
|
353
|
+
- test/properties/vertical_alignment_test.rb
|
312
354
|
- test/properties/widow_control_test.rb
|
313
355
|
- test/properties/word_wrap_test.rb
|
314
356
|
- test/style_test.rb
|