/usr/lib/rads/venv/lib/python3.13/site-packages/pygments/formatters/__pycache__
NameSizeModeActions
bbcode.cpython-313.pyc42340644editdlrm
groff.cpython-313.pyc73860644editdlrm
html.cpython-313.pyc413700644editdlrm
img.cpython-313.pyc284800644editdlrm
irc.cpython-313.pyc60570644editdlrm
latex.cpython-313.pyc203110644editdlrm
other.cpython-313.pyc68810644editdlrm
pangomarkup.cpython-313.pyc29940644editdlrm
rtf.cpython-313.pyc138080644editdlrm
svg.cpython-313.pyc91110644editdlrm
terminal.cpython-313.pyc58250644editdlrm
terminal256.cpython-313.pyc154610644editdlrm
_mapping.cpython-313.pyc41890644editdlrm
__init__.cpython-313.pyc68640644editdlrm
Edit: /usr/lib/rads/venv/lib/python3.13/site-packages/pygments/formatters/__pycache__/rtf.cpython-313.pyc (13808B)
j.`SrSSKJr SSKJr SSKJr SSKJrJ r J r J r S/r "SS\5r g) z pygments.formatters.rtf ~~~~~~~~~~~~~~~~~~~~~~~ A formatter that generates RTF files. :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. ) OrderedDict) Formatter)_ansimap) get_bool_opt get_int_opt get_list_opt surrogatepair RtfFormatterc\rSrSrSrSrS/rS/rSrSr Sr \ S 5r S r S r\S 5r\S 5r\S5rSrSrg)r a Format tokens as RTF markup. This formatter automatically outputs full RTF documents with color information and other useful stuff. Perfect for Copy and Paste into Microsoft(R) Word(R) documents. Please note that ``encoding`` and ``outencoding`` options are ignored. The RTF format is ASCII natively, but handles unicode characters correctly thanks to escape sequences. .. versionadded:: 0.6 Additional options accepted: `style` The style to use, can be a string or a Style subclass (default: ``'default'``). `fontface` The used font family, for example ``Bitstream Vera Sans``. Defaults to some generic font which is supposed to have fixed width. `fontsize` Size of the font used. Size is specified in half points. The default is 24 half-points, giving a size 12 font. .. versionadded:: 2.0 `linenos` Turn on line numbering (default: ``False``). .. versionadded:: 2.18 `lineno_fontsize` Font size for line numbers. Size is specified in half points (default: `fontsize`). .. versionadded:: 2.18 `lineno_padding` Number of spaces between the (inline) line numbers and the source code (default: ``2``). .. versionadded:: 2.18 `linenostart` The line number for the first line (default: ``1``). .. versionadded:: 2.18 `linenostep` If set to a number n > 1, only every nth line number is printed. .. versionadded:: 2.18 `lineno_color` Color for line numbers specified as a hex triplet, e.g. ``'5e5e5e'``. Defaults to the style's line number color if it is a hex triplet, otherwise ansi bright black. .. versionadded:: 2.18 `hl_lines` Specify a list of lines to be highlighted, as line numbers separated by spaces, e.g. ``'3 7 8'``. The line numbers are relative to the input (i.e. the first line is line 1) unless `hl_linenostart` is set. .. versionadded:: 2.18 `hl_color` Color for highlighting the lines specified in `hl_lines`, specified as a hex triplet (default: style's `highlight_color`). .. versionadded:: 2.18 `hl_linenostart` If set to ``True`` line numbers in `hl_lines` are specified relative to `linenostart` (default ``False``). .. versionadded:: 2.18 RTFrtfz*.rtfc [R"U40UD6 URS5=(d SUl[ USS5Ul[ USS5Ul[ USUR 5Ul[ USS 5Ul [[ US S 55Ul [[ US S 55Ul [ US S5Ul URSS5UlUR(dURR Ul/Ul[%US/5HLn['U5nUR(aX R- S -nUR"R)U5 MN URSS5UlUR,(dDURR.S:Xa[0SUlOURR.UlUR35Ulg![*a Mf=f)aR Additional options accepted: ``fontface`` Name of the font used. Could for example be ``'Courier New'`` to further specify the default which is ``'\fmodern'``. The RTF specification claims that ``\fmodern`` are "Fixed-pitch serif and sans serif fonts". Hope every RTF implementation thinks the same about modern... fontfacefontsizerlinenosFlineno_fontsizelineno_padding linenostart linenostephl_linenostarthl_colorhl_lines lineno_colorinheritansibrightblackN)r__init__getrrrrrrrabsrrrrstylehighlight_colorrrintappend ValueErrorrline_number_colorr_create_color_mapping color_mapping)selfoptionslinenos J/usr/lib/rads/venv/lib/python3.13/site-packages/pygments/formatters/rtf.pyr RtfFormatter.__init__is 4+7+ J/52 #GZ; #GY> *74E+/== :)'3CQG{7M1EFk'<CD*74DeL J3 }} JJ66DM "7J;F V&&#&6&66:F $$V, <$KK;   ,, 9%-->$?!%)JJ$@$@!!779  s,AG:: HHcfURSS5RSS5RSS5$)N\z\\{z\{}z\})replace)r+texts r._escapeRtfFormatter._escapes-||D&)GC'GC' (c|U(dgURU5n/nUH{n[U5nUS:aUR[U55 M0SUs=::aS:aO OURSU-5 MVSU::dM^URS[ U5-5 M} SR U5R SS5$)Nriz{\u%d}z {\u%d}{\u%d} z\par)r6ordr&strr joinr4)r+r5bufccns r. _escape_textRtfFormatter._escape_texts||D!AQBT{ 3q6"2'' 9r>*B +mB.??@wws|##D'22r8c|USS:XaUSSnS[USSS5[USSS5[USSS54-$) Nr#rz\red%d\green%d\blue%d;r)r%) hex_colors r.hex_to_rtf_colorRtfFormatter.hex_to_rtf_colors[ Q<3 !!" I*IaNB/IaNB/IaNB/. r8c## UHXup#US:XaX#4v MSU;a;URS5nUSSH nX%S-4v M US(a X$S4v MQMSX#4v MZ g7f)z Split tokens containing newline characters into multiple token each representing a line of the input file. Needed for numbering lines of e.g. multiline comments. r;N)split)r+ tokensourcettypevaluelineslines r._split_tokens_on_newlines&RtfFormatter._split_tokens_on_newlinessw (LE}n$ D)!#2JD t),,'9 ),,n$(sA A"c4[5nSnUR(aX!UR'US- nUR(aX!UR'US- nUR H3up4USUSUS4HnU(dM XQ;dMX!U'US- nM M5 U$)zN Create a mapping of style hex colors to index/offset in the RTF color table. rcolorbgcolorborder)rrrrrr#)r+r*offset_r#rWs r.r)"RtfFormatter._create_color_mappings $  <->? 3 335 5!''(:(:4;L;L(MD///1 1r8c<SURURS3$)Nz {\highlightr^)r*rr`s r. _hl_open_strRtfFormatter._hl_open_strs!t11$--@ACCr8c/nURSUR=(a SURUR5-=(d S-5 URS5 URR 5H%up#URUR U55 M' URS5 URS5 UR (aURSUR -5 URS5 U$) Nz?{\rtf1\ansi\uc0\deff0{\fonttbl{\f0\fmodern\fprq1\fcharset0%s;}}r^rz {\colortbl;r3z\f0\sa0z\fs%dz \dntblnsbdb)r&rr6r*itemsrJr)r+rRrWr[s r. _rtf_headerRtfFormatter._rtf_headers G 6#,,t}}5+6<9;= >  ^$**002HE LL..u5 63 S  [! == LLDMM1 2  ^$ r8clURHnURUS-5 M URU5nUR(acSn/nUH4upgUR Xg45 UR S5(dM/US- nM6 [ [X@R-S- 55nUnSn Sn UGHupgU (a*XR;aURUR5 U (aUR(a}XR- S-UR-S:Xa,XR-S- n [U 5RW5n OSRW5n URURU -5 URRU5(dPUR (a?UR nURRU5(dUR (aM?URR#U5n /nU S(a$UR SUR$U S-5 U S(a$UR S UR$U S-5 U S (aUR S 5 U S (aUR S 5 U S(aUR S5 U S(a$UR SUR$U S-5 SR'U5nU(aURSUS35 URUR)U55 U(aURS5 Sn UR S5(dGMXR;aURS5 URS5 Sn U S- n GM URS5 g)Nr;rrTrrXz\cb%drWz\cf%dboldz\bitalicz\i underlinez\ulrYz\chbrdr\chcfpat%dr2r^r3Fz} )rhwriterTrr&endswithlenr=rrrdrrjustrar# styles_tokenparentstyle_for_tokenr*r>rB)r+rOoutfilerS line_counttokensrPrQ linenos_widthr-start_new_linecurrent_lineno lineno_strr#r?starts r.format_unencodedRtfFormatter.format_unencodeds$$D MM$+ &%44[A  <<JF +  un->>$''!OJ!,  J/?/?$?$A BCM K'LE&MM"9 d//0$,,+++A-t>!C%+.>.>%>%BN!$^!4!:!:=!IJ!#-!8J d33j@Ajj--e44 jj--e44JJ..u5ECY 8d&8&8y9I&JJKW~ 8d&8&8w&HHIV} 5!X 5![! 6"X 0--eHo>?@GGCLE 5'm, MM$++E2 3 c""N~~d##]]*MM#& d#!%! ](`  er8) r*rrrrrrrrrrrN)__name__ __module__ __qualname____firstlineno____doc__namealiases filenamesr r6rB staticmethodrJrTr)propertyrardrhr}__static_attributes__r8r.r r sO` DgG I0:d( 30%$011DD4Gr8N)r collectionsrpygments.formatterrpygments.styler pygments.utilrrrr __all__r rr8r.rs3$(#PP  I9Ir8