{
    "content": [
        {
            "type": "text",
            "text": "# HTML::FormatRTF (info)\n\n## NAME\n\nHTML::FormatRTF - Format HTML as RTF\n\n## SYNOPSIS\n\nuse HTML::FormatRTF;\nmy $outfile = \"test.rtf\";\nopen(RTF, \">$outfile\")\nor die \"Can't write-open $outfile: $!\\nAborting\";\nprint RTF HTML::FormatRTF->formatfile(\n'test.html',\n'fontnameheadings' => \"Verdana\",\n);\nclose(RTF);\n\n## DESCRIPTION\n\nHTML::FormatRTF is a class for objects that you use to convert HTML to\nRTF.  There is currently no proper support for tables or forms.\n\n## Sections\n\n- **NAME**\n- **VERSION**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **SEE ALSO**\n- **INSTALLATION**\n- **BUGS AND LIMITATIONS**\n- **AVAILABILITY**\n- **AUTHORS**\n- **COPYRIGHT AND LICENSE**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "HTML::FormatRTF",
        "section": "",
        "mode": "info",
        "summary": "HTML::FormatRTF - Format HTML as RTF",
        "synopsis": "use HTML::FormatRTF;\nmy $outfile = \"test.rtf\";\nopen(RTF, \">$outfile\")\nor die \"Can't write-open $outfile: $!\\nAborting\";\nprint RTF HTML::FormatRTF->formatfile(\n'test.html',\n'fontnameheadings' => \"Verdana\",\n);\nclose(RTF);",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "VERSION",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 12,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 84,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "INSTALLATION",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "BUGS AND LIMITATIONS",
                "lines": 4,
                "subsections": []
            },
            {
                "name": "AVAILABILITY",
                "lines": 7,
                "subsections": []
            },
            {
                "name": "AUTHORS",
                "lines": 6,
                "subsections": []
            },
            {
                "name": "COPYRIGHT AND LICENSE",
                "lines": 7,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "HTML::FormatRTF - Format HTML as RTF\n",
                "subsections": []
            },
            "VERSION": {
                "content": "version 2.12\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "use HTML::FormatRTF;\n\nmy $outfile = \"test.rtf\";\nopen(RTF, \">$outfile\")\nor die \"Can't write-open $outfile: $!\\nAborting\";\n\nprint RTF HTML::FormatRTF->formatfile(\n'test.html',\n'fontnameheadings' => \"Verdana\",\n);\nclose(RTF);\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "HTML::FormatRTF is a class for objects that you use to convert HTML to\nRTF.  There is currently no proper support for tables or forms.\n\nThis is a subclass of HTML::Formatter, whose documentation you should\nconsult for more information on underlying methods such as \"new\",\n\"format\", \"formatfile\" etc\n\nYou can specify any of the following parameters in the call to \"new\",\n\"formatfile\", or \"formatstring\":\n\nlm  Amount of extra indenting to apply to the left margin, in twips\n(twentieths of a point). Default is 0.\n\nSo if you wanted the left margin to be an additional half inch\nlarger, you'd set \"lm => 720\" (since there's 1440 twips in an\ninch). If you wanted it to be about 1.5cm larger, you'd set \"lw =>\n850\" (since there's about 567 twips in a centimeter).\n\nrm  Amount of extra indenting to apply to the left margin, in twips\n(twentieths of a point).  Default is 0.\n\nnormalhalfpointsize\nThis is the size of normal text in the document, in half-points.\nThe default value is 22, meaning that normal text is in 11 point.\n\nheaderhalfpointsize\nThis is the size of text used in the document's page-header, in\nhalf-points.  The default value is 17, meaning that normal text is\nin 7.5 point.  Currently, the header consists just of \"p.\npagenumber\" in the upper-right-hand corner, and cannot be disabled.\n\nhead1halfpointsize ... head6halfpointsize\nThese control the font size of each heading level, in half-twips.\nFor example, the default for head3halfpointsize is 25, meaning\nthat HTML \"<h3>...</h3>\" text will be in 12.5 point text (in\naddition to being underlined and in the heading font).\n\ncodeblockhalfpointsize\nThis controls the font size (in half-points) of the text used for\n\"<pre>...</pre>\" text.  By default, it is 18, meaning 9 point.\n\nfontnamebody\nThis option controls what font is to be used for the body of the\ntext -- that is, everything other than heading text and text in\npre/code/tt elements. The default value is currently \"Times\".\nOther handy values I can suggest using are \"Georgia\" or \"Bookman\nOld Style\".\n\nfontnamecode\nThis option controls what font is to be used for text in\npre/code/tt elements.  The default value is currently \"Courier\nNew\".\n\nfontnameheadings\nThis option controls what font name is to be used for headings.\nYou can use the same font as fontnamebody, but I prefer a sans-\nserif font, so the default value is currently \"Arial\".  Also\nconsider \"Tahoma\" and \"Verdana\".\n\ndocumentlanguage\nThis option controls what Microsoft language number will be\nspecified as the language for this document. The current default\nvalue is 1033, for US English.  Consult an RTF reference for other\nlanguage numbers.\n\nhrwidth\nThis option controls how many underline characters will be used for\nrendering a \"<hr>\" tag. Its default value is currently 50. You can\nusually leave this alone, but under some circumstances you might\nwant to use a smaller or larger number.\n\nnoprolog\nIf this option is set to a true value, HTML::FormatRTF will make a\npoint of not emitting the RTF prolog before the document.  By\ndefault, this is off, meaning that HTML::FormatRTF will emit the\nprolog.  This option is of interest only to advanced users.\n\nnotrailer\nIf this option is set to a true value, HTML::FormatRTF will make a\npoint of not emitting the RTF trailer at the end of the document.\nBy default, this is off, meaning that HTML::FormatRTF will emit the\nbit of RTF that ends the document.  This option is of interest only\nto advanced users.\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "HTML::Formatter, RTF::Writer\n",
                "subsections": []
            },
            "INSTALLATION": {
                "content": "See perlmodinstall for information and options on installing Perl\nmodules.\n",
                "subsections": []
            },
            "BUGS AND LIMITATIONS": {
                "content": "You can make new bug reports, and view existing ones, through the web\ninterface at\n<http://rt.cpan.org/Public/Dist/Display.html?Name=HTML-Format>.\n",
                "subsections": []
            },
            "AVAILABILITY": {
                "content": "The project homepage is <https://metacpan.org/release/HTML-Format>.\n\nThe latest version of this module is available from the Comprehensive\nPerl Archive Network (CPAN). Visit <http://www.perl.com/CPAN/> to find\na CPAN site near you, or see\n<https://metacpan.org/module/HTML::Format/>.\n",
                "subsections": []
            },
            "AUTHORS": {
                "content": "o   Nigel Metheringham <nigelm@cpan.org>\n\no   Sean M Burke <sburke@cpan.org>\n\no   Gisle Aas <gisle@ActiveState.com>\n",
                "subsections": []
            },
            "COPYRIGHT AND LICENSE": {
                "content": "This software is copyright (c) 2015 by Nigel Metheringham, 2002-2005\nSean M Burke, 1999-2002 Gisle Aas.\n\nThis is free software; you can redistribute it and/or modify it under\nthe same terms as the Perl 5 programming language system itself.\n\nperl v5.32.0                      2020-12-18              HTML::FormatRTF(3pm)",
                "subsections": []
            }
        }
    }
}