rtf 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/doc/README +177 -0
- data/doc/makedoc.bat +2 -0
- data/examples/example01.rb +51 -0
- data/examples/example02.rb +45 -0
- data/examples/example03.rb +66 -0
- data/examples/example03.rtf +164 -0
- data/lib/rtf.rb +34 -0
- data/lib/rtf/colour.rb +173 -0
- data/lib/rtf/font.rb +173 -0
- data/lib/rtf/information.rb +112 -0
- data/lib/rtf/node.rb +1398 -0
- data/lib/rtf/paper.rb +55 -0
- data/lib/rtf/style.rb +305 -0
- data/test/CharacterStyleTest.rb +142 -0
- data/test/ColourTableTest.rb +98 -0
- data/test/ColourTest.rb +122 -0
- data/test/CommandNodeTest.rb +220 -0
- data/test/ContainerNodeTest.rb +70 -0
- data/test/DocumentStyleTest.rb +85 -0
- data/test/DocumentTest.rb +112 -0
- data/test/FontTableTest.rb +96 -0
- data/test/FontTest.rb +53 -0
- data/test/FooterNodeTest.rb +36 -0
- data/test/HeaderNodeTest.rb +36 -0
- data/test/InformationTest.rb +133 -0
- data/test/NodeTest.rb +31 -0
- data/test/ParagraphStyleTest.rb +87 -0
- data/test/StyleTest.rb +22 -0
- data/test/TableCellNodeTest.rb +95 -0
- data/test/TableNodeTest.rb +89 -0
- data/test/TableRowNodeTest.rb +65 -0
- data/test/TextNodeTest.rb +56 -0
- data/test/run.bat +2 -0
- data/test/unittest.bat +2 -0
- data/test/unittest.rb +21 -0
- metadata +78 -0
data/test/run.bat
ADDED
data/test/unittest.bat
ADDED
data/test/unittest.rb
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require 'ColourTest'
|
4
|
+
require 'ColourTableTest'
|
5
|
+
require 'FontTest'
|
6
|
+
require 'FontTableTest'
|
7
|
+
require 'InformationTest'
|
8
|
+
require 'NodeTest'
|
9
|
+
require 'TextNodeTest'
|
10
|
+
require 'ContainerNodeTest'
|
11
|
+
require 'CommandNodeTest'
|
12
|
+
require 'TableCellNodeTest'
|
13
|
+
require 'TableRowNodeTest'
|
14
|
+
require 'TableNodeTest'
|
15
|
+
require 'StyleTest'
|
16
|
+
require 'CharacterStyleTest'
|
17
|
+
require 'ParagraphStyleTest'
|
18
|
+
require 'DocumentStyleTest'
|
19
|
+
require 'DocumentTest'
|
20
|
+
require 'HeaderNodeTest'
|
21
|
+
require 'FooterNodeTest'
|
metadata
ADDED
@@ -0,0 +1,78 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
rubygems_version: 0.8.11
|
3
|
+
specification_version: 1
|
4
|
+
name: rtf
|
5
|
+
version: !ruby/object:Gem::Version
|
6
|
+
version: 0.1.0
|
7
|
+
date: 2005-11-18 00:00:00 +00:00
|
8
|
+
summary: Ruby library to create rich text format documents.
|
9
|
+
require_paths:
|
10
|
+
- lib
|
11
|
+
email: paw220470@yahoo.ie
|
12
|
+
homepage: http://rubyforge.org/projects/rtf/
|
13
|
+
rubyforge_project:
|
14
|
+
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.
|
15
|
+
autorequire: rtf
|
16
|
+
default_executable:
|
17
|
+
bindir: bin
|
18
|
+
has_rdoc: true
|
19
|
+
required_ruby_version: !ruby/object:Gem::Version::Requirement
|
20
|
+
requirements:
|
21
|
+
-
|
22
|
+
- ">"
|
23
|
+
- !ruby/object:Gem::Version
|
24
|
+
version: 0.0.0
|
25
|
+
version:
|
26
|
+
platform: ruby
|
27
|
+
signing_key:
|
28
|
+
cert_chain:
|
29
|
+
authors:
|
30
|
+
- Peter Wood
|
31
|
+
files:
|
32
|
+
- lib/rtf.rb
|
33
|
+
- lib/rtf
|
34
|
+
- lib/rtf/colour.rb
|
35
|
+
- lib/rtf/font.rb
|
36
|
+
- lib/rtf/information.rb
|
37
|
+
- lib/rtf/node.rb
|
38
|
+
- lib/rtf/paper.rb
|
39
|
+
- lib/rtf/style.rb
|
40
|
+
- test/CharacterStyleTest.rb
|
41
|
+
- test/ColourTableTest.rb
|
42
|
+
- test/ColourTest.rb
|
43
|
+
- test/CommandNodeTest.rb
|
44
|
+
- test/ContainerNodeTest.rb
|
45
|
+
- test/DocumentStyleTest.rb
|
46
|
+
- test/DocumentTest.rb
|
47
|
+
- test/FontTableTest.rb
|
48
|
+
- test/FontTest.rb
|
49
|
+
- test/FooterNodeTest.rb
|
50
|
+
- test/HeaderNodeTest.rb
|
51
|
+
- test/InformationTest.rb
|
52
|
+
- test/NodeTest.rb
|
53
|
+
- test/ParagraphStyleTest.rb
|
54
|
+
- test/run.bat
|
55
|
+
- test/StyleTest.rb
|
56
|
+
- test/TableCellNodeTest.rb
|
57
|
+
- test/TableNodeTest.rb
|
58
|
+
- test/TableRowNodeTest.rb
|
59
|
+
- test/TextNodeTest.rb
|
60
|
+
- test/unittest.bat
|
61
|
+
- test/unittest.rb
|
62
|
+
- doc/makedoc.bat
|
63
|
+
- doc/README
|
64
|
+
- examples/example01.rb
|
65
|
+
- examples/example02.rb
|
66
|
+
- examples/example03.rb
|
67
|
+
- examples/example03.rtf
|
68
|
+
test_files:
|
69
|
+
- test/unittest.rb
|
70
|
+
rdoc_options:
|
71
|
+
- "--main"
|
72
|
+
- doc/README
|
73
|
+
extra_rdoc_files:
|
74
|
+
- doc/README
|
75
|
+
executables: []
|
76
|
+
extensions: []
|
77
|
+
requirements: []
|
78
|
+
dependencies: []
|