__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ 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
from collections.abc import Generator, Iterable
from typing import NamedTuple
from .fonts import TextStyle
from .fpdf import FPDF
from .structure_tree import StructElem
from .syntax import Destination, PDFObject, PDFString
class OutlineSection(NamedTuple):
name: str
level: int
page_number: int
dest: Destination
struct_elem: StructElem | None = None
class OutlineItemDictionary(PDFObject):
title: PDFString
parent: Incomplete | None
prev: Incomplete | None
next: Incomplete | None
first: Incomplete | None
last: Incomplete | None
count: int
dest: Destination | None
struct_elem: StructElem | None
def __init__(self, title: str, dest: Destination | None = None, struct_elem: StructElem | None = None) -> None: ...
class OutlineDictionary(PDFObject):
type: str
first: Incomplete | None
last: Incomplete | None
count: int
def __init__(self) -> None: ...
def build_outline_objs(
sections: Iterable[Incomplete],
) -> Generator[Incomplete, None, list[OutlineDictionary | OutlineItemDictionary]]: ...
class TableOfContents:
text_style: TextStyle
use_section_title_styles: bool
level_indent: float
line_spacing: float
ignore_pages_before_toc: bool
def __init__(
self,
text_style: TextStyle | None = None,
use_section_title_styles: bool = False,
level_indent: float = 7.5,
line_spacing: float = 1.5,
ignore_pages_before_toc: bool = True,
) -> None: ...
def get_text_style(self, pdf: FPDF, item: OutlineSection) -> TextStyle: ...
def render_toc_item(self, pdf: FPDF, item: OutlineSection) -> None: ...
def render_toc(self, pdf: FPDF, outline: Iterable[OutlineSection]) -> 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 |
|