Skip to main content
Version: API v2 Preview

TextLayoutRequest

Kind: class
Module/package: text_editing
SDK: pdfdancer-client-python 2.0.0

TextLayoutRequest(mode: 'Optional[TextLayoutMode]' = None, profile: 'Optional[TextLayoutProfile]' = None, hyphenation_enabled: 'Optional[bool]' = None)

Declaration

TextLayoutRequest(mode: 'Optional[TextLayoutMode]' = None, profile: 'Optional[TextLayoutProfile]' = None, hyphenation_enabled: 'Optional[bool]' = None) -> None

Members

__init__

__init__(self, mode: 'Optional[TextLayoutMode]' = None, profile: 'Optional[TextLayoutProfile]' = None, hyphenation_enabled: 'Optional[bool]' = None) -> None

Initialize self. See help(type(self)) for accurate signature.

reflow_when_supported

reflow_when_supported(cls, profile: 'TextLayoutProfile') -> "'TextLayoutRequest'"

require_reflow

require_reflow(cls, profile: 'TextLayoutProfile') -> "'TextLayoutRequest'"

source_anchored

source_anchored(cls) -> "'TextLayoutRequest'"

to_dict

to_dict(self) -> 'dict[str, Any]'

validated

validated(self) -> "'TextLayoutRequest'"

with_hyphenation_enabled

with_hyphenation_enabled(self, enabled: 'bool') -> "'TextLayoutRequest'"

View source at af2a1171a1b9