NAME
PurpleWiki::View::text - View Driver used for Text Output.
DESCRIPTION
Prints out a text view of a PurpleWiki::Tree.
OBJECT STATE
outputString
This contains the current working copy of the text that is ultimately returned by view().
METHODS
new(show_links => true/false, columns => $columns)
Returns a new PurpleWiki::View::text object. show_links and columns are not required and default to true and 72 respectively. show_links can also be written as showLinks.
If show_links is true then links are marked with "[n]" style references, where n is an integer. At the bottom of the output the references show what URLs the links were pointing at.
columns is the number of columns to make the text output fit into.
view($wikiTree)
Returns the output as a string of text.
AUTHORS
Matthew O'Connor, <matthew@canonical.org>
Chris Dent, <cdent@blueoxen.org>
Eugene Eric Kim, <eekim@blueoxen.org>