clbustos-rtf 0.4.2 → 0.5.0

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.
Files changed (55) hide show
  1. data/.gemtest +0 -0
  2. data/History.txt +53 -0
  3. data/{LICENSE → LICENSE.txt} +0 -0
  4. data/Manifest.txt +52 -0
  5. data/README.rdoc +60 -63
  6. data/README.txt +201 -0
  7. data/Rakefile +18 -34
  8. data/examples/example01.rb +5 -1
  9. data/examples/example02.rb +1 -0
  10. data/examples/example03.rb +1 -0
  11. data/examples/example03.rtf +0 -0
  12. data/examples/example04.rb +1 -0
  13. data/examples/rubyrtf.bmp +0 -0
  14. data/examples/rubyrtf.jpg +0 -0
  15. data/examples/rubyrtf.png +0 -0
  16. data/ifad-rtf.gemspec +120 -0
  17. data/lib/rtf.rb +1 -0
  18. data/lib/rtf/colour.rb +0 -0
  19. data/lib/rtf/converters.rb +5 -0
  20. data/lib/rtf/converters/html.rb +123 -0
  21. data/lib/rtf/font.rb +0 -0
  22. data/lib/rtf/information.rb +0 -0
  23. data/lib/rtf/node.rb +136 -109
  24. data/lib/rtf/paper.rb +0 -0
  25. data/lib/rtf/style.rb +0 -0
  26. data/test/fixtures/bitmap1.bmp +0 -0
  27. data/test/fixtures/bitmap2.bmp +0 -0
  28. data/test/fixtures/jpeg1.jpg +0 -0
  29. data/test/fixtures/jpeg2.jpg +0 -0
  30. data/test/fixtures/png1.png +0 -0
  31. data/test/fixtures/png2.png +0 -0
  32. data/test/{test_helper.rb → helper_tests.rb} +1 -0
  33. data/test/{character_style_test.rb → test_character_style.rb} +1 -1
  34. data/test/{colour_test.rb → test_colour.rb} +2 -2
  35. data/test/{colour_table_test.rb → test_colour_table.rb} +2 -2
  36. data/test/{command_node_test.rb → test_command_node.rb} +1 -1
  37. data/test/{container_node_test.rb → test_container_node.rb} +2 -1
  38. data/test/{document_test.rb → test_document.rb} +1 -1
  39. data/test/{document_style_test.rb → test_document_style.rb} +1 -1
  40. data/test/{font_test.rb → test_font.rb} +2 -2
  41. data/test/{font_table_test.rb → test_font_table.rb} +2 -2
  42. data/test/{footer_node_test.rb → test_footer_node.rb} +1 -1
  43. data/test/{header_node_test.rb → test_header_node.rb} +1 -1
  44. data/test/{image_node_test.rb → test_image_node.rb} +10 -3
  45. data/test/{information_test.rb → test_information.rb} +1 -1
  46. data/test/{node_test.rb → test_node.rb} +1 -1
  47. data/test/{paragraph_style_test.rb → test_paragraph_style.rb} +1 -1
  48. data/test/{style_test.rb → test_style.rb} +1 -1
  49. data/test/{table_cell_node_test.rb → test_table_cell_node.rb} +1 -1
  50. data/test/{table_node_test.rb → test_table_node.rb} +2 -1
  51. data/test/{table_row_node_test.rb → test_table_row_node.rb} +1 -1
  52. data/test/text_node_test.rb +35 -10
  53. metadata +137 -97
  54. data/CHANGES +0 -23
  55. data/VERSION.yml +0 -5
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -1,6 +1,7 @@
1
1
  require 'rubygems'
2
2
  require 'test/unit'
3
3
 
4
+ $LOAD_PATH.unshift(File.dirname(__FILE__)+"/../lib/")
4
5
  $LOAD_PATH.unshift(File.dirname(__FILE__))
5
6
  require 'rtf'
6
7
  include RTF
@@ -1,4 +1,4 @@
1
- require File.expand_path(File.dirname(__FILE__)+'/test_helper')
1
+ require File.expand_path(File.dirname(__FILE__)+'/helper_tests')
2
2
 
3
3
  # Information class unit test class.
4
4
  class CharacterStyleTest < Test::Unit::TestCase
@@ -1,4 +1,4 @@
1
- require File.expand_path(File.dirname(__FILE__)+'/test_helper')
1
+ require File.expand_path(File.dirname(__FILE__)+'/helper_tests')
2
2
 
3
3
  # Colour class unit test class.
4
4
  class ColourTest < Test::Unit::TestCase
@@ -113,4 +113,4 @@ class ColourTest < Test::Unit::TestCase
113
113
  "Message: #{error.message}")
114
114
  end
115
115
  end
116
- end
116
+ end
@@ -1,4 +1,4 @@
1
- require File.expand_path(File.dirname(__FILE__)+'/test_helper')
1
+ require File.expand_path(File.dirname(__FILE__)+'/helper_tests')
2
2
 
3
3
  # ColourTable class unit test class.
4
4
  class ColourTableTest < Test::Unit::TestCase
@@ -90,4 +90,4 @@ class ColourTableTest < Test::Unit::TestCase
90
90
  "\\red100\\green100\\blue100;\n"\
91
91
  "}")
92
92
  end
93
- end
93
+ end
@@ -1,4 +1,4 @@
1
- require File.expand_path(File.dirname(__FILE__)+'/test_helper')
1
+ require File.expand_path(File.dirname(__FILE__)+'/helper_tests')
2
2
 
3
3
  # Information class unit test class.
4
4
  class CommandNodeTest < Test::Unit::TestCase
@@ -1,4 +1,4 @@
1
- require File.expand_path(File.dirname(__FILE__)+'/test_helper')
1
+ require File.expand_path(File.dirname(__FILE__)+'/helper_tests')
2
2
 
3
3
  # Information class unit test class.
4
4
  class ContainerNodeTest < Test::Unit::TestCase
@@ -59,6 +59,7 @@ class ContainerNodeTest < Test::Unit::TestCase
59
59
  ContainerNode.new(nil).to_rtf
60
60
  flunk("Successfully called ContainerNode#to_rtf().")
61
61
  rescue => error
62
+ #puts error
62
63
  end
63
64
  end
64
65
  end
@@ -1,4 +1,4 @@
1
- require File.expand_path(File.dirname(__FILE__)+'/test_helper')
1
+ require File.expand_path(File.dirname(__FILE__)+'/helper_tests')
2
2
 
3
3
  # Information class unit test class.
4
4
  class DocumentTest < Test::Unit::TestCase
@@ -1,4 +1,4 @@
1
- require File.expand_path(File.dirname(__FILE__)+'/test_helper')
1
+ require File.expand_path(File.dirname(__FILE__)+'/helper_tests')
2
2
 
3
3
  # Information class unit test class.
4
4
  class DocumentStyleTest < Test::Unit::TestCase
@@ -1,4 +1,4 @@
1
- require File.expand_path(File.dirname(__FILE__)+'/test_helper')
1
+ require File.expand_path(File.dirname(__FILE__)+'/helper_tests')
2
2
 
3
3
  # Font class unit test class.
4
4
  class FontTest < Test::Unit::TestCase
@@ -45,4 +45,4 @@ class FontTest < Test::Unit::TestCase
45
45
  "an invalid family. Exception type #{error.class.name}.")
46
46
  end
47
47
  end
48
- end
48
+ end
@@ -1,4 +1,4 @@
1
- require File.expand_path(File.dirname(__FILE__)+'/test_helper')
1
+ require File.expand_path(File.dirname(__FILE__)+'/helper_tests')
2
2
 
3
3
  # FontTable class unit test class.
4
4
  class FontTableTest < Test::Unit::TestCase
@@ -88,4 +88,4 @@ class FontTableTest < Test::Unit::TestCase
88
88
  "{\\f1\\fswiss Tahoma;}\n"\
89
89
  "}")
90
90
  end
91
- end
91
+ end
@@ -1,4 +1,4 @@
1
- require File.expand_path(File.dirname(__FILE__)+'/test_helper')
1
+ require File.expand_path(File.dirname(__FILE__)+'/helper_tests')
2
2
 
3
3
  # Information class unit test class.
4
4
  class FooterNodeTest < Test::Unit::TestCase
@@ -1,4 +1,4 @@
1
- require File.expand_path(File.dirname(__FILE__)+'/test_helper')
1
+ require File.expand_path(File.dirname(__FILE__)+'/helper_tests')
2
2
 
3
3
  # Information class unit test class.
4
4
  class HeaderNodeTest < Test::Unit::TestCase
@@ -1,6 +1,4 @@
1
- $:.unshift(File.dirname(__FILE__)+"/../lib")
2
-
3
- require File.expand_path(File.dirname(__FILE__)+'/test_helper')
1
+ require File.expand_path(File.dirname(__FILE__)+'/helper_tests')
4
2
 
5
3
  # Colour class unit test class.
6
4
  class ImageNodeTest < Test::Unit::TestCase
@@ -40,6 +38,12 @@ class ImageNodeTest < Test::Unit::TestCase
40
38
 
41
39
  image.left_crop = 50
42
40
  assert(image.left_crop == 50)
41
+
42
+ image.displayed_width = 5000
43
+ assert(image.displayed_width == 5000)
44
+
45
+ image.displayed_height = 9000
46
+ assert(image.displayed_height == 9000)
43
47
  end
44
48
 
45
49
  def test_image_reading
@@ -73,10 +77,13 @@ class ImageNodeTest < Test::Unit::TestCase
73
77
  image.right_crop = 15
74
78
  image.left_crop = 20
75
79
  image.bottom_crop = 25
80
+ image.displayed_width = 5000
81
+ image.displayed_height = 9000
76
82
  rtf = image.to_rtf
77
83
 
78
84
  assert(rtf == "{\\*\\shppict{\\pict\\picscalex100\\picscaley75"\
79
85
  "\\piccropl20\\piccropr15\\piccropt10\\piccropb25"\
86
+ "\\picwgoal5000\\pichgoal9000"\
80
87
  "\\picw20\\pich20\\bliptag1\\pngblip\n"\
81
88
  "89504e470d0a1a0a0000000d494844520000001400000014080200000002eb8a5a00000001735247\n"\
82
89
  "4200aece1ce90000000467414d410000b18f0bfc6105000000206348524d00007a26000080840000\n"\
@@ -1,4 +1,4 @@
1
- require File.expand_path(File.dirname(__FILE__)+'/test_helper')
1
+ require File.expand_path(File.dirname(__FILE__)+'/helper_tests')
2
2
 
3
3
  # Information class unit test class.
4
4
  class InformationTest < Test::Unit::TestCase
@@ -1,4 +1,4 @@
1
- require File.expand_path(File.dirname(__FILE__)+'/test_helper')
1
+ require File.expand_path(File.dirname(__FILE__)+'/helper_tests')
2
2
 
3
3
  # Information class unit test class.
4
4
  class NodeTest < Test::Unit::TestCase
@@ -1,4 +1,4 @@
1
- require File.expand_path(File.dirname(__FILE__)+'/test_helper')
1
+ require File.expand_path(File.dirname(__FILE__)+'/helper_tests')
2
2
 
3
3
  # Information class unit test class.
4
4
  class ParagraphStyleTest < Test::Unit::TestCase
@@ -1,4 +1,4 @@
1
- require File.expand_path(File.dirname(__FILE__)+'/test_helper')
1
+ require File.expand_path(File.dirname(__FILE__)+'/helper_tests')
2
2
 
3
3
  # Information class unit test class.
4
4
  class StyleTest < Test::Unit::TestCase
@@ -1,4 +1,4 @@
1
- require File.expand_path(File.dirname(__FILE__)+'/test_helper')
1
+ require File.expand_path(File.dirname(__FILE__)+'/helper_tests')
2
2
 
3
3
  # Information class unit test class.
4
4
  class TableCellNodeTest < Test::Unit::TestCase
@@ -1,4 +1,4 @@
1
- require File.expand_path(File.dirname(__FILE__)+'/test_helper')
1
+ require File.expand_path(File.dirname(__FILE__)+'/helper_tests')
2
2
 
3
3
  # Information class unit test class.
4
4
  class TableNodeTest < Test::Unit::TestCase
@@ -19,6 +19,7 @@ class TableNodeTest < Test::Unit::TestCase
19
19
  assert(table.columns == 5)
20
20
  assert(table.size == 3)
21
21
  assert(table.cell_margin == 100)
22
+ assert_match(/\\lastrow\n\\row$/, table.to_rtf)
22
23
  end
23
24
 
24
25
  def test_mutators
@@ -1,4 +1,4 @@
1
- require File.expand_path(File.dirname(__FILE__)+'/test_helper')
1
+ require File.expand_path(File.dirname(__FILE__)+'/helper_tests')
2
2
 
3
3
  # Information class unit test class.
4
4
  class TableRowNodeTest < Test::Unit::TestCase
@@ -1,11 +1,12 @@
1
- require File.expand_path(File.dirname(__FILE__)+'/test_helper')
1
+ # encoding:UTF-8
2
+ require File.expand_path(File.dirname(__FILE__)+'/helper_tests')
2
3
 
3
4
  # Information class unit test class.
4
5
  class TextNodeTest < Test::Unit::TestCase
5
6
  def setup
6
7
  @node = Node.new(nil)
7
8
  end
8
-
9
+
9
10
  def test01
10
11
  nodes = []
11
12
  nodes.push(TextNode.new(@node))
@@ -13,25 +14,25 @@ class TextNodeTest < Test::Unit::TestCase
13
14
  nodes.push(TextNode.new(@node))
14
15
  nodes.push(TextNode.new(@node, ''))
15
16
 
16
- assert(nodes[0].text == nil)
17
- assert(nodes[1].text == 'Node 2')
18
- assert(nodes[2].text == nil)
17
+ assert(nodes[0].text == nil)
18
+ assert(nodes[1].text == 'Node 2')
19
+ assert(nodes[2].text == nil)
19
20
  assert(nodes[3].text == '')
20
-
21
+
21
22
  nodes[0].text = 'This is the altered text for node 1.'
22
23
  assert(nodes[0].text == 'This is the altered text for node 1.')
23
-
24
+
24
25
  nodes[1].append('La la la')
25
26
  nodes[2].append('La la la')
26
27
  assert(nodes[1].text == 'Node 2La la la')
27
28
  assert(nodes[2].text == 'La la la')
28
-
29
+
29
30
  nodes[2].text = nil
30
31
  nodes[1].insert(' - ', 6)
31
32
  nodes[2].insert('TEXT', 2)
32
33
  assert(nodes[1].text == 'Node 2 - La la la')
33
34
  assert(nodes[2].text == 'TEXT')
34
-
35
+
35
36
  nodes[2].text = nil
36
37
  nodes[3].text = '{\}'
37
38
  assert(nodes[0].to_rtf == 'This is the altered text for node 1.')
@@ -39,7 +40,7 @@ class TextNodeTest < Test::Unit::TestCase
39
40
  assert(nodes[2].to_rtf == '')
40
41
  assert(nodes[3].to_rtf == '\{\\\}')
41
42
  end
42
-
43
+
43
44
  def test02
44
45
  begin
45
46
  TextNode.new(nil)
@@ -47,4 +48,28 @@ class TextNodeTest < Test::Unit::TestCase
47
48
  rescue => error
48
49
  end
49
50
  end
51
+ def test_utf8
52
+ nodes = []
53
+ nodes.push(TextNode.new(@node))
54
+ nodes.push(TextNode.new(@node))
55
+
56
+ nodes[0].text="ASCCI"
57
+ assert_equal("ASCCI", nodes[0].to_rtf)
58
+ <<<<<<< HEAD
59
+
60
+
61
+ =======
62
+
63
+
64
+ >>>>>>> 1f91b59bae2b26554f7d1d8e8b1b20d9add52b3d
65
+ utf8="Á"
66
+ exp="\\u#{utf8.unpack("U")[0]}\\'3f"
67
+ nodes[0].text=utf8
68
+ assert_equal(exp, nodes[0].to_rtf)
69
+ <<<<<<< HEAD
70
+
71
+ =======
72
+
73
+ >>>>>>> 1f91b59bae2b26554f7d1d8e8b1b20d9add52b3d
74
+ end
50
75
  end
metadata CHANGED
@@ -1,39 +1,88 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: clbustos-rtf
3
- version: !ruby/object:Gem::Version
4
- hash: 11
5
- prerelease: false
6
- segments:
7
- - 0
8
- - 4
9
- - 2
10
- version: 0.4.2
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.5.0
5
+ prerelease:
11
6
  platform: ruby
12
- authors:
13
- - Peter Wood
7
+ authors:
8
+ - Claudio Bustos
14
9
  autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
12
+ date: 2012-01-05 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: hoe
16
+ requirement: &74068890 !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: '0'
22
+ type: :development
23
+ prerelease: false
24
+ version_requirements: *74068890
25
+ - !ruby/object:Gem::Dependency
26
+ name: hoe
27
+ requirement: &74068450 !ruby/object:Gem::Requirement
28
+ none: false
29
+ requirements:
30
+ - - ~>
31
+ - !ruby/object:Gem::Version
32
+ version: '2.12'
33
+ type: :development
34
+ prerelease: false
35
+ version_requirements: *74068450
36
+ description: ! 'The RTF library provides a pure Ruby set of functionality that can
37
+ be used to
17
38
 
18
- date: 2010-11-23 00:00:00 -03:00
19
- default_executable:
20
- dependencies: []
39
+ programmatically create RTF documents. The main aim in developing this library
21
40
 
22
- description: Ruby RTF is a library that can be used to create rich text format (RTF) documents. RTF is a text based standard for laying out document content.
23
- email: clbustos@gmail.com
24
- executables: []
41
+ is to ease the complexity involved in assembling RTF documents although some
25
42
 
26
- extensions: []
43
+ consideration has also been given to generating documents that are easier to
27
44
 
28
- extra_rdoc_files:
29
- - LICENSE
30
- - README.rdoc
31
- files:
32
- - CHANGES
33
- - LICENSE
45
+ manually interpret too.
46
+
47
+
48
+ This library does not include functionality for parsing RTF documents. Nor does
49
+
50
+ the library claim to provide extensive coverage of the RTF specification. The
51
+
52
+ library was developed mostly with reference to the RTF Pocket Guide by Sean M.
53
+
54
+ Burke and some reference to the RTF specification itself. The introduction to
55
+
56
+ the RTF Pocket Guide states that the book covers version 1.7 of the RTF
57
+
58
+ specification so I guess, as this was the primary source, that this is the
59
+
60
+ version that the library covers too. Finally, no consideration was given to
61
+
62
+ making the functionality within the library thread safe.
63
+
64
+
65
+ In creating this library I set out to make it reasonably easy to create RTF
66
+
67
+ documents in code. Having said that I''m certain that it is possible to generate
68
+
69
+ invalid RTF documents with this library.'
70
+ email:
71
+ - clbustos_at_gmail.com
72
+ executables: []
73
+ extensions: []
74
+ extra_rdoc_files:
75
+ - History.txt
76
+ - LICENSE.txt
77
+ - Manifest.txt
78
+ - README.txt
79
+ files:
80
+ - History.txt
81
+ - LICENSE.txt
82
+ - Manifest.txt
34
83
  - README.rdoc
84
+ - README.txt
35
85
  - Rakefile
36
- - VERSION.yml
37
86
  - examples/example01.rb
38
87
  - examples/example02.rb
39
88
  - examples/example03.rb
@@ -42,98 +91,89 @@ files:
42
91
  - examples/rubyrtf.bmp
43
92
  - examples/rubyrtf.jpg
44
93
  - examples/rubyrtf.png
94
+ - ifad-rtf.gemspec
45
95
  - lib/rtf.rb
46
96
  - lib/rtf/colour.rb
97
+ - lib/rtf/converters.rb
98
+ - lib/rtf/converters/html.rb
47
99
  - lib/rtf/font.rb
48
100
  - lib/rtf/information.rb
49
101
  - lib/rtf/list.rb
50
102
  - lib/rtf/node.rb
51
103
  - lib/rtf/paper.rb
52
104
  - lib/rtf/style.rb
53
- - test/character_style_test.rb
54
- - test/colour_table_test.rb
55
- - test/colour_test.rb
56
- - test/command_node_test.rb
57
- - test/container_node_test.rb
58
- - test/document_style_test.rb
59
- - test/document_test.rb
60
105
  - test/fixtures/bitmap1.bmp
61
106
  - test/fixtures/bitmap2.bmp
62
107
  - test/fixtures/jpeg1.jpg
63
108
  - test/fixtures/jpeg2.jpg
64
109
  - test/fixtures/png1.png
65
110
  - test/fixtures/png2.png
66
- - test/font_table_test.rb
67
- - test/font_test.rb
68
- - test/footer_node_test.rb
69
- - test/header_node_test.rb
70
- - test/image_node_test.rb
71
- - test/information_test.rb
72
- - test/node_test.rb
73
- - test/paragraph_style_test.rb
74
- - test/style_test.rb
75
- - test/table_cell_node_test.rb
76
- - test/table_node_test.rb
77
- - test/table_row_node_test.rb
78
- - test/test_helper.rb
111
+ - test/helper_tests.rb
112
+ - test/test_character_style.rb
113
+ - test/test_colour.rb
114
+ - test/test_colour_table.rb
115
+ - test/test_command_node.rb
116
+ - test/test_container_node.rb
117
+ - test/test_document.rb
118
+ - test/test_document_style.rb
119
+ - test/test_font.rb
120
+ - test/test_font_table.rb
121
+ - test/test_footer_node.rb
122
+ - test/test_header_node.rb
123
+ - test/test_image_node.rb
124
+ - test/test_information.rb
125
+ - test/test_node.rb
126
+ - test/test_paragraph_style.rb
127
+ - test/test_style.rb
128
+ - test/test_table_cell_node.rb
129
+ - test/test_table_node.rb
130
+ - test/test_table_row_node.rb
79
131
  - test/text_node_test.rb
80
- has_rdoc: true
81
- homepage: http://github.com/clbustos/rtf
132
+ - .gemtest
133
+ homepage: https://github.com/clbustos/rtf
82
134
  licenses: []
83
-
84
135
  post_install_message:
85
- rdoc_options: []
86
-
87
- require_paths:
136
+ rdoc_options:
137
+ - --main
138
+ - README.txt
139
+ require_paths:
88
140
  - lib
89
- required_ruby_version: !ruby/object:Gem::Requirement
141
+ required_ruby_version: !ruby/object:Gem::Requirement
90
142
  none: false
91
- requirements:
92
- - - ">="
93
- - !ruby/object:Gem::Version
94
- hash: 3
95
- segments:
96
- - 0
97
- version: "0"
98
- required_rubygems_version: !ruby/object:Gem::Requirement
143
+ requirements:
144
+ - - ! '>='
145
+ - !ruby/object:Gem::Version
146
+ version: '0'
147
+ required_rubygems_version: !ruby/object:Gem::Requirement
99
148
  none: false
100
- requirements:
101
- - - ">="
102
- - !ruby/object:Gem::Version
103
- hash: 3
104
- segments:
105
- - 0
106
- version: "0"
149
+ requirements:
150
+ - - ! '>='
151
+ - !ruby/object:Gem::Version
152
+ version: '0'
107
153
  requirements: []
108
-
109
- rubyforge_project: ruby-statsample
110
- rubygems_version: 1.3.7
154
+ rubyforge_project: clbustos-rtf
155
+ rubygems_version: 1.8.6
111
156
  signing_key:
112
157
  specification_version: 3
113
- summary: Ruby library to create rich text format documents.
114
- test_files:
115
- - examples/example01.rb
116
- - examples/example02.rb
117
- - examples/example03.rb
118
- - examples/example04.rb
119
- - test/character_style_test.rb
120
- - test/colour_table_test.rb
121
- - test/colour_test.rb
122
- - test/command_node_test.rb
123
- - test/container_node_test.rb
124
- - test/document_style_test.rb
125
- - test/document_test.rb
126
- - test/font_table_test.rb
127
- - test/font_test.rb
128
- - test/footer_node_test.rb
129
- - test/header_node_test.rb
130
- - test/image_node_test.rb
131
- - test/information_test.rb
132
- - test/node_test.rb
133
- - test/paragraph_style_test.rb
134
- - test/style_test.rb
135
- - test/table_cell_node_test.rb
136
- - test/table_node_test.rb
137
- - test/table_row_node_test.rb
138
- - test/test_helper.rb
139
- - test/text_node_test.rb
158
+ summary: The RTF library provides a pure Ruby set of functionality that can be used
159
+ to programmatically create RTF documents
160
+ test_files:
161
+ - test/test_container_node.rb
162
+ - test/test_document.rb
163
+ - test/test_font.rb
164
+ - test/test_document_style.rb
165
+ - test/test_information.rb
166
+ - test/test_command_node.rb
167
+ - test/test_table_node.rb
168
+ - test/test_colour.rb
169
+ - test/test_table_row_node.rb
170
+ - test/test_table_cell_node.rb
171
+ - test/test_footer_node.rb
172
+ - test/test_header_node.rb
173
+ - test/test_node.rb
174
+ - test/test_font_table.rb
175
+ - test/test_image_node.rb
176
+ - test/test_paragraph_style.rb
177
+ - test/test_character_style.rb
178
+ - test/test_colour_table.rb
179
+ - test/test_style.rb