TextStyleBuilder
Kind: class
Module/package: text_editing
SDK: pdfdancer-client-python 2.0.0
Declaration
TextStyleBuilder() -> 'None'
Members
__init__
__init__(self) -> 'None'
Initialize self. See help(type(self)) for accurate signature.
build
build(self) -> 'TextStyleRequest'
case_sensitive
case_sensitive(self, case_sensitive: 'bool') -> 'Self'
character_spacing
character_spacing(self, spacing: 'float') -> 'Self'
fill_color
fill_color(self, color: 'PdfColorRequest') -> 'Self'
font
font(self, font: 'str') -> 'Self'
hyphenation_enabled
hyphenation_enabled(self, enabled: 'bool') -> 'Self'
layout
layout(self, layout: 'Optional[TextLayoutRequest]') -> 'Self'
literal
literal(self, literal: 'str') -> "'TextStyleBuilder'"
max_matches
max_matches(self, max_matches: 'int') -> 'Self'
pages
pages(self, *pages: 'int | Sequence[int]') -> 'Self'
reflow_when_supported
reflow_when_supported(self, profile: 'TextLayoutProfile') -> 'Self'
regex
regex(self, regex: 'str') -> "'TextStyleBuilder'"
require_reflow
require_reflow(self, profile: 'TextLayoutProfile') -> 'Self'
reset_spacing_overrides
reset_spacing_overrides(self, value: 'bool' = True) -> "'TextStyleBuilder'"
runs_where
runs_where(self) -> "'TextStyleBuilder'"
size
size(self, size: 'float') -> 'Self'
source_anchored
source_anchored(self) -> 'Self'
stroke_color
stroke_color(self, color: 'PdfColorRequest') -> 'Self'
where_character_spacing
where_character_spacing(self, eq: 'float', tolerance: 'Optional[float]' = None) -> "'TextStyleBuilder'"
where_contains_unmapped_glyphs
where_contains_unmapped_glyphs(self, value: 'bool') -> "'TextStyleBuilder'"
where_fill_color
where_fill_color(self, color: 'PdfColorRequest') -> "'TextStyleBuilder'"
where_font
where_font(self, font: 'str') -> "'TextStyleBuilder'"
where_size
where_size(self, eq: 'float', tolerance: 'Optional[float]' = None) -> "'TextStyleBuilder'"
where_stroke_color
where_stroke_color(self, color: 'PdfColorRequest') -> "'TextStyleBuilder'"
where_text_contains
where_text_contains(self, text: 'str') -> "'TextStyleBuilder'"
where_word_spacing
where_word_spacing(self, eq: 'float', tolerance: 'Optional[float]' = None) -> "'TextStyleBuilder'"
whole_words
whole_words(self, whole_words: 'bool') -> 'Self'
word_spacing
word_spacing(self, spacing: 'float') -> 'Self'