TextReplaceBuilder
Kind: class
Module/package: text_editing
SDK: pdfdancer-client-python 2.0.0
Declaration
TextReplaceBuilder() -> 'None'
Members
__init__
__init__(self) -> 'None'
Initialize self. See help(type(self)) for accurate signature.
build
build(self) -> 'TextReplaceRequest'
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') -> 'Self'
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') -> 'Self'
replace_with
replace_with(self, value: 'str') -> "'TextReplaceBuilder'"
replace_with_image
replace_with_image(self, image: 'bytes | bytearray | Path | str', transformation: 'PdfAffineTransform') -> "'TextReplaceBuilder'"
require_reflow
require_reflow(self, profile: 'TextLayoutProfile') -> 'Self'
reset_spacing_overrides
reset_spacing_overrides(self) -> "'TextReplaceBuilder'"
size
size(self, size: 'float') -> 'Self'
source_anchored
source_anchored(self) -> 'Self'
stroke_color
stroke_color(self, color: 'PdfColorRequest') -> 'Self'
style
style(self, style: 'TextStyleSetRequest') -> "'TextReplaceBuilder'"
whole_words
whole_words(self, whole_words: 'bool') -> 'Self'
word_spacing
word_spacing(self, spacing: 'float') -> 'Self'