kr.motd.maven.sphinx.dist.pygments.formatters.rtf$py.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sphinx-maven-plugin Show documentation
Show all versions of sphinx-maven-plugin Show documentation
Maven plugin that creates the site with Sphinx
???? 1? f$0 R(Lorg/python/core/PyFrame;Lorg/python/core/ThreadState;)Lorg/python/core/PyObject; __doc__ ?
pygments.formatters.rtf
~~~~~~~~~~~~~~~~~~~~~~~
A formatter that generates RTF files.
:copyright: Copyright 2006-2017 by the Pygments team, see AUTHORS.
:license: BSD, see LICENSE for details.
org/python/core/PyString fromInterned .(Ljava/lang/String;)Lorg/python/core/PyString;
org/python/core/PyFrame
setglobal /(Ljava/lang/String;Lorg/python/core/PyObject;)V
setline (I)V
pygments.formatter java/lang/String Formatter org/python/core/imp
importFrom \(Ljava/lang/String;[Ljava/lang/String;Lorg/python/core/PyFrame;I)[Lorg/python/core/PyObject;
! setlocal #
$
pygments.util & get_int_opt ( _surrogatepair * org/python/core/PyList , org/python/core/PyObject . RtfFormatter 0 ([Lorg/python/core/PyObject;)V 2 3
- 4 __all__ 6 getname .(Ljava/lang/String;)Lorg/python/core/PyObject; 8 9
: RtfFormatter$1
__module__ = __name__ ??
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 famliy, 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
A RTF C name E rtf G aliases I *.rtf K filenames M org/python/core/Py O EmptyObjects [Lorg/python/core/PyObject; Q R P S org/python/core/PyFunction U f_globals Lorg/python/core/PyObject; W X Y
__init__$2?
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...
\ getglobal ^ 9
_ __init__ a __getattr__ c 9
/ d getlocal (I)Lorg/python/core/PyObject; f g
h
_callextra ~([Lorg/python/core/PyObject;[Ljava/lang/String;Lorg/python/core/PyObject;Lorg/python/core/PyObject;)Lorg/python/core/PyObject; j k
/ l get n fontface p __call__ S(Lorg/python/core/ThreadState;Lorg/python/core/PyObject;)Lorg/python/core/PyObject; r s
/ t __nonzero__ ()Z v w
/ x z __setattr__ |
/ } fontsize
newInteger (I)Lorg/python/core/PyInteger; ? ?
P ? ?(Lorg/python/core/ThreadState;Lorg/python/core/PyObject;Lorg/python/core/PyObject;Lorg/python/core/PyObject;)Lorg/python/core/PyObject; r ?
/ ? f_lasti I ? ? ? None ? X P ? pygments/formatters/rtf$py ? Lorg/python/core/PyCode; [ ? ? ? j(Lorg/python/core/PyObject;[Lorg/python/core/PyObject;Lorg/python/core/PyCode;Lorg/python/core/PyObject;)V 2 ?
V ? _escape$3 replace ? \ ? org/python/core/PyUnicode ? /(Ljava/lang/String;)Lorg/python/core/PyUnicode; ?
? ? \\ ? m(Lorg/python/core/ThreadState;Lorg/python/core/PyObject;Lorg/python/core/PyObject;)Lorg/python/core/PyObject; r ?
/ ? { ? \{ ? } ? \} ? ? ? ? ? _escape ? _escape_text$4 __not__ ()Lorg/python/core/PyObject; ? ?
/ ? (ILorg/python/core/PyObject;)V # ?
? __iter__ ? ?
/ ? ord ? _pow 6(Lorg/python/core/PyObject;)Lorg/python/core/PyObject; ? ?
/ ? _lt ? ?
/ ? append ? str ? _le ? ?
/ ? {\u%d} ? _mod ? ?
/ ? {\u%d}{\u%d} ? __iternext__ ? ?
/ ? join ?
? \par
? ? ? ? ? _escape_text ? format_unencoded$5 write ? J{\rtf1\ansi\uc0\deff0{\fonttbl{\f0\fmodern\fprq1\fcharset0%s;}}{\colortbl; ? ? _add ? ?
/ ? org/python/core/PyDictionary ?
? 4 style ? unpackSequence 8(Lorg/python/core/PyObject;I)[Lorg/python/core/PyObject; ? ?
P ? org/python/core/PyTuple ? color ? __getitem__ ? ?
/ ? bgcolor ? border ?
? 4 _notin ?
/ __setitem__ 7(Lorg/python/core/PyObject;Lorg/python/core/PyObject;)V
/ \red%d\green%d\blue%d; int __getslice__ j(Lorg/python/core/PyObject;Lorg/python/core/PyObject;Lorg/python/core/PyObject;)Lorg/python/core/PyObject;
/
_iadd ?
/ }\f0 \fs%d parent styles_token style_for_token \cb%d \cf%d bold \b" italic$ \i& underline( \ul* \chbrdr\chcfpat%d, {%s . ? ? ?0 format_unencoded2 getf_locals4 ?
5 <