__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
from _typeshed import Incomplete, SupportsKeysAndGetItem
from collections.abc import Callable, Iterable, Mapping
from html.parser import HTMLParser
from logging import Logger
from typing import ClassVar, Final, Literal
from typing_extensions import TypeAlias
from fpdf import FPDF
from .enums import TextEmphasis
from .fonts import FontFace
from .table import Row, Table
__author__: Final[str]
__copyright__: Final[str]
_OLType: TypeAlias = Literal["1", "a", "A", "I", "i"]
LOGGER: Logger
BULLET_WIN1252: Final[str]
DEGREE_WIN1252: Final[str]
HEADING_TAGS: Final[tuple[str, ...]]
DEFAULT_TAG_STYLES: Final[dict[str, FontFace]]
INLINE_TAGS: Final[tuple[str, ...]]
BLOCK_TAGS: Final[tuple[str, ...]]
COLOR_DICT: Final[dict[str, str]]
def color_as_decimal(color: str | None = "#000000") -> tuple[int, int, int] | None: ...
def parse_css_style(style_attr: str) -> dict[str, str]: ...
class HTML2FPDF(HTMLParser):
HTML_UNCLOSED_TAGS: ClassVar[tuple[str, ...]]
TABLE_LINE_HEIGHT: ClassVar[float]
pdf: FPDF
image_map: Callable[[str], str]
ul_bullet_char: str
li_prefix_color: tuple[int, int, int]
warn_on_tags_not_matching: bool
font_family: str
font_size_pt: float
font_emphasis: TextEmphasis
font_color: tuple[int, int, int]
style_stack: list[FontFace]
h: float
follows_trailing_space: bool
follows_heading: bool
href: str
align: str
indent: int
line_height_stack: list[Incomplete]
ol_type: list[_OLType]
bullet: list[Incomplete]
heading_level: Incomplete | None
render_title_tag: bool
table_line_separators: bool
table: Table | None
table_row: Row | None
tr: dict[str, str] | None
td_th: dict[str, str] | None
tag_indents: dict[str, int]
tag_styles: dict[str, FontFace]
def __init__(
self,
pdf: FPDF,
image_map: Callable[[str], str] | None = None,
li_tag_indent: int | None = None,
dd_tag_indent: int | None = None,
table_line_separators: bool = False,
ul_bullet_char: str = "\x95",
li_prefix_color: tuple[int, int, int] = (190, 0, 0),
heading_sizes: SupportsKeysAndGetItem[str, int] | Iterable[tuple[str, int]] | None = None,
pre_code_font: str | None = None,
warn_on_tags_not_matching: bool = True,
tag_indents: dict[str, int] | None = None,
tag_styles: Mapping[str, FontFace] | None = None,
font_family: str = "times",
render_title_tag: bool = False,
) -> None: ...
def handle_data(self, data) -> None: ...
def handle_starttag(self, tag, attrs) -> None: ...
def handle_endtag(self, tag) -> None: ...
def put_link(self, text) -> None: ...
def render_toc(self, pdf, outline) -> None: ...
def error(self, message: str) -> None: ...
def ul_prefix(ul_type: str) -> str: ...
def ol_prefix(ol_type: _OLType, index: int) -> str: ...
class HTMLMixin:
def __init__(self, *args, **kwargs) -> None: ...
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| __init__.pyi | File | 937 B | 0644 |
|
| _fonttools_shims.pyi | File | 1.94 KB | 0644 |
|
| actions.pyi | File | 1.15 KB | 0644 |
|
| annotations.pyi | File | 2.39 KB | 0644 |
|
| bidi.pyi | File | 2.38 KB | 0644 |
|
| deprecation.pyi | File | 342 B | 0644 |
|
| drawing.pyi | File | 15.02 KB | 0644 |
|
| encryption.pyi | File | 3.61 KB | 0644 |
|
| enums.pyi | File | 7.51 KB | 0644 |
|
| errors.pyi | File | 365 B | 0644 |
|
| fonts.pyi | File | 4.93 KB | 0644 |
|
| fpdf.pyi | File | 23.71 KB | 0644 |
|
| graphics_state.pyi | File | 3.64 KB | 0644 |
|
| html.pyi | File | 2.91 KB | 0644 |
|
| image_datastructures.pyi | File | 1.25 KB | 0644 |
|
| image_parsing.pyi | File | 2 KB | 0644 |
|
| line_break.pyi | File | 4.97 KB | 0644 |
|
| linearization.pyi | File | 1.53 KB | 0644 |
|
| outline.pyi | File | 1.74 KB | 0644 |
|
| output.pyi | File | 6.45 KB | 0644 |
|
| prefs.pyi | File | 2.19 KB | 0644 |
|
| py.typed | File | 0 B | 0644 |
|
| recorder.pyi | File | 383 B | 0644 |
|
| sign.pyi | File | 604 B | 0644 |
|
| structure_tree.pyi | File | 1.56 KB | 0644 |
|
| svg.pyi | File | 4.65 KB | 0644 |
|
| syntax.pyi | File | 2.25 KB | 0644 |
|
| table.pyi | File | 3.99 KB | 0644 |
|
| template.pyi | File | 1.45 KB | 0644 |
|
| text_region.pyi | File | 5.43 KB | 0644 |
|
| transitions.pyi | File | 1.93 KB | 0644 |
|
| unicode_script.pyi | File | 3.21 KB | 0644 |
|
| util.pyi | File | 1.35 KB | 0644 |
|