Coverage for src / rtflite / pagination / __init__.py: 100%
3 statements
« prev ^ index » next coverage.py v7.12.0, created at 2025-11-28 05:09 +0000
« prev ^ index » next coverage.py v7.12.0, created at 2025-11-28 05:09 +0000
1"""
2Pagination system for rtflite.
4This package provides advanced pagination capabilities inspired by r2rtf's
5approach, including page_index-like functionality through the PageDict and
6PageIndexManager classes.
7"""
9# Import existing core pagination classes for backward compatibility
10from .core import ContentDistributor, PageBreakCalculator, RTFPagination
12# Import new advanced pagination classes
13from .page_dict import (
14 PageBreakRule,
15 PageBreakType,
16 PageConfig,
17 PageDict,
18 PageIndexManager,
19)
21__all__ = [
22 # Core pagination (existing)
23 "RTFPagination",
24 "PageBreakCalculator",
25 "ContentDistributor",
26 # Advanced pagination (new)
27 "PageBreakType",
28 "PageConfig",
29 "PageBreakRule",
30 "PageDict",
31 "PageIndexManager",
32]