This class is a specialized RichTextFunctionHandler that generates a navigation bar for all reports that match the specified LogicalExpression. It currently only supports HTML.
Return a XMLElement tree that represents the navigator in HTML code.
# File lib/RTFNavigator.rb, line 37 37: def to_html(args) 38: if args.nil? || (id = args['id']).nil? 39: error('rtf_nav_id_missing', 40: "Argument 'id' missing to specify the navigator to be used.") 41: end 42: unless (navBar = @project['navigators'][id]) 43: error('rtf_nav_unknown_id', "Unknown navigator #{id}") 44: end 45: navBar.to_html 46: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.