lib/wiz_rtf/text.rb in wiz_rtf-0.6.7 vs lib/wiz_rtf/text.rb in wiz_rtf-0.6.8

- old
+ new

@@ -11,10 +11,14 @@ TEXT_ALIGN_MAP = {left:'ql',center:'qc',right:'qr'} # creates a text of +str+ to the document. # == Styles: # * +text-align+ - sets the horizontal alignment of the text. optional values: +:left+, +:center+, +:right+ - # * +font-family+ - set the font family of the text. optional values: + # * +font-family+ - set the font family of the text. optional values: 'Arial', 'Arial Black', 'Arial Narrow','Bitstream Vera Sans Mono', + # 'Bitstream Vera Sans','Bitstream Vera Serif','Book Antiqua','Bookman Old Style','Castellar','Century Gothic', + # 'Comic Sans MS','Courier New','Franklin Gothic Medium','Garamond','Georgia','Haettenschweiler','Impact','Lucida Console' + # 'Lucida Sans Unicode','Microsoft Sans Serif','Monotype Corsiva','Palatino Linotype','Papyrus','Sylfaen','Symbol' + # 'Tahoma','Times New Roman','Trebuchet MS','Verdana'. # * +font-size+ - set font size of the text. # * +font-bold+ - setting the value true for bold of the text. # * +font-italic+ - setting the value true for italic of the text. # * +font-underline+ - setting the value true for underline of the text. # == Example: