README.rdoc in clbustos-rtf-0.3.1 vs README.rdoc in clbustos-rtf-0.4.2
- old
+ new
@@ -1,5 +1,17 @@
+== Purpose of this fork
+
+ * [DONE] Add support for ordered and unordered lists
+ * [DONE] Add support for hyperlinks
+ * [TODO] Write comprehensive tests for OL and UL
+ * [TODO] Clean up the API
+ * [TODO] DRY the code
+
+Please, please, please: if you come along this library and would lend me an
+hand to complete tests, please help. Thank you!
+
+
== Ruby Rich Text Format (RTF) Library
The RTF library provides a pure Ruby set of functionality that can be used to
programmatically create RTF documents. The main aim in developing this library
is to ease the complexity involved in assembling RTF documents although some
consideration has also been given to generating documents that are easier to
@@ -63,10 +75,10 @@
into the script. The third line of code includes the RTF module into the current
name space. This is a convenience mechanism that saves on specifically having
to refer to the module when accessing the RTF library. Next we want to create
an RTF document and that is done like this...
- document = RTF::Document.new(RTF::Font::ROMAN)
+ document = RTF::Document.new(RTF::Font.new(RTF::Font::ROMAN, 'Times New Roman'))
This line of code creates a new Document object, specifying that the default
font for the document will the the Times New Roman font. So we have a document,
what can we do with it. Well, lets add a short paragraph of text...