Gjsify LogoGjsify Logo

Index

Enumerations

Classes

Interfaces

Variables

Functions

Variables

ANNOT_TEXT_ICON_CIRCLE: string
ANNOT_TEXT_ICON_COMMENT: string
ANNOT_TEXT_ICON_CROSS: string
ANNOT_TEXT_ICON_HELP: string
ANNOT_TEXT_ICON_INSERT: string
ANNOT_TEXT_ICON_KEY: string
ANNOT_TEXT_ICON_NEW_PARAGRAPH: string
ANNOT_TEXT_ICON_NOTE: string
ANNOT_TEXT_ICON_PARAGRAPH: string
HAS_CAIRO: number

Defined if poppler was compiled with cairo support.

MAJOR_VERSION: number

The major version number of the poppler header files (e.g. in poppler version 0.1.2 this is 0.)

MICRO_VERSION: number

The micro version number of the poppler header files (e.g. in poppler version 0.1.2 this is 2.)

MINOR_VERSION: number

The major version number of the poppler header files (e.g. in poppler version 0.1.2 this is 1.)

Functions

  • date_parse(date: string, timet: number): boolean
  • Parses a PDF format date string and converts it to a #time_t. Returns #FALSE if the parsing fails or the input string is not a valid PDF format date string

    Parameters

    • date: string

      string to parse

    • timet: number

      an uninitialized #time_t

    Returns boolean

  • get_version(): string
  • named_dest_from_bytestring(data: Uint8Array): string
  • Converts a bytestring into a zero-terminated string suitable to pass to poppler_document_find_dest().

    Note that the returned string has no defined encoding and is not suitable for display to the user.

    The returned data must be freed using g_free().

    Parameters

    • data: Uint8Array

      the bytestring data

    Returns string

  • named_dest_to_bytestring(name: string): Uint8Array | null
  • Converts a named dest string (e.g. from #PopplerDest.named_dest) into a bytestring, inverting the transformation of poppler_named_dest_from_bytestring().

    Note that the returned data is not zero terminated and may also contains embedded NUL bytes.

    If name is not a valid named dest string, returns %NULL.

    The returned data must be freed using g_free().

    Parameters

    • name: string

      the named dest string

    Returns Uint8Array | null

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method