for x in ('wordspace', 'header', 'header_format', 'minimum_indent', 'serif_family', 'render_tables_as_images', 'sans_family', 'mono_family', 'text_size_multiplier_for_rendered_tables'):
setattr(self, x, getattr(opts, x))
class LRFOutput(OutputFormatPlugin):
name = 'LRF Output'
author = 'Kovid Goyal'
file_type = 'lrf'
options = set([
OptionRecommendation(name = 'enable_autorotation', recommended_value = False, help = _('Enable autorotation of images that are wider than the screen width.')),
OptionRecommendation(name = 'wordspace', recommended_value = 2.5, level = OptionRecommendation.LOW, help = _('Set the space between words in pts. Default is %default')),
OptionRecommendation(name = 'header', recommended_value = False, help = _('Add a header to all the pages with title and author.')),
OptionRecommendation(name = 'header_format', recommended_value = '%t by %a', help = _('Set the format of the header. %a is replaced by the author and %t by the title. Default is %default')),
OptionRecommendation(name = 'header_separation', recommended_value = 0, help = _('Add extra spacing below the header. Default is %default pt.')),
OptionRecommendation(name = 'minimum_indent', recommended_value = 0, help = _('Minimum paragraph indent (the indent of the first line of a paragraph) in pts. Default: %default')),
OptionRecommendation(name = 'render_tables_as_images', recommended_value = False, help = _('Render tables in the HTML as images (useful if the document has large or complex tables)')),
OptionRecommendation(name = 'text_size_multiplier_for_rendered_tables', recommended_value = 1, help = _('Multiply the size of text in rendered tables by this factor. Default is %default')),
OptionRecommendation(name = 'serif_family', recommended_value = None, help = _('The serif family of fonts to embed')),
OptionRecommendation(name = 'sans_family', recommended_value = None, help = _('The sans-serif family of fonts to embed')),
OptionRecommendation(name = 'mono_family', recommended_value = None, help = _('The monospace family of fonts to embed'))])