poppler package¶
- poppler.Alignment¶
alias of
alignment_enum
- poppler.CaseSensitivity¶
alias of
case_sensitivity_enum
- poppler.DestinationType¶
alias of
type_enum
- poppler.Direction¶
alias of
direction_enum
- poppler.FontType¶
alias of
type_enum
- poppler.ImageFormat¶
alias of
format_enum
- poppler.LineMode¶
alias of
line_mode_enum
- poppler.PageBox¶
alias of
page_box_enum
- poppler.PageLayout¶
alias of
page_layout_enum
- poppler.PageMode¶
alias of
page_mode_enum
- poppler.PageOrientation¶
alias of
orientation_enum
- class poppler.PageRenderer¶
Bases:
object
PageRenderer
allows to render aPage
object to anImage
.It is a wrapper for
poppler.cpp.page_renderer.page_renderer
.- static can_render()¶
Tell whether poppler was compiled with the Splash render backend.
This should always return True. If it returns False,
render_page()
will systematically return an invalidImage
.- Returns:
whether a render backend was compiled with poppler.
- Return type:
- property image_format¶
- property line_mode¶
- property paper_color¶
- property render_hints¶
- render_page(page, xres=72.0, yres=72.0, x=-1, y=-1, w=-1, h=-1, rotate=<rotation_enum.rotate_0: 0>)¶
- set_render_hint(hint, on=True)¶
- poppler.Permission¶
alias of
permission_enum
- class poppler.Rectangle(x=0, y=0, w=0, h=0, poppler_object=None)¶
Bases:
object
- as_tuple()¶
- property bottom¶
- classmethod from_object(poppler_object)¶
- property height¶
- is_empty()¶
- property left¶
- property right¶
- property top¶
- property width¶
- property x¶
- property y¶
- poppler.RenderHint¶
alias of
render_hint
- poppler.Rotation¶
alias of
rotation_enum
- poppler.SearchDirection¶
alias of
search_direction_enum
- poppler.TextLayout¶
alias of
text_layout_enum
- poppler.TransitionType¶
alias of
type_enum
- poppler.load(arg, owner_password=None, user_password=None)¶
- poppler.load(arg: str, owner_password=None, user_password=None)
- poppler.load(arg: Path, owner_password=None, user_password=None)
- poppler.load(arg: bytes, owner_password=None, user_password=None)
- poppler.load_from_file(file_name, owner_password=None, user_password=None)¶
- poppler.version()¶
Get poppler version, as a tuple
Submodules¶
- poppler.destination module
- poppler.document module
Document
Document.PageLayout
Document.PageMode
Document.author
Document.create_destination_map()
Document.create_font_iterator()
Document.create_page()
Document.create_toc()
Document.creation_date
Document.creator
Document.embedded_files()
Document.fonts()
Document.has_embedded_files()
Document.has_permission()
Document.info_date()
Document.info_key()
Document.info_keys()
Document.infos()
Document.is_encrypted()
Document.is_linearized()
Document.is_locked()
Document.keywords
Document.metadata
Document.modification_date
Document.page_layout
Document.page_mode
Document.pages
Document.pdf_id
Document.pdf_version
Document.producer
Document.remove_info()
Document.save()
Document.save_a_copy()
Document.set_info_date()
Document.set_info_key()
Document.subject
Document.title
Document.unlock()
LockedDocumentError
PDFId
ensure_unlocked()
load()
load_from_data()
load_from_file()
- poppler.embeddedfile module
- poppler.font module
- poppler.image module
- poppler.page module
- poppler.pagerenderer module
- poppler.pagetransition module
- poppler.rectangle module
- poppler.toc module
- poppler.utilities module