Options
All
  • Public
  • Public/Protected
  • All
Menu

A fragment selector implementing the PDF fragment selector as specified by http://tools.ietf.org/rfc/rfc3778 PDF fragment selector example: page=10&highlight=50,50,640,480

A valid PDF fragment selector must specify either namedDest or pageNumber

Hierarchy

Implements

Index

Constructors

constructor

Methods

collapseToEnd

collapseToStart

createRangeSelectorTo

  • Creates a new selector describing the range using this instance as startSelector and the passed value as endSelector. Returns null, if the selector implementation cannot create range selectors or if endSelector type is incompatible with this selector.

    The caller must guarantee that endSelector is after this selector. The implementation will not check that endSelector is after this selector.

    Parameters

    Returns PdfFragmentSelector

getFragmentSpecificationIri

  • getFragmentSpecificationIri(): string

getHighlight

  • getHighlight(): DOMRect

getNamedDest

  • getNamedDest(): string

getPageNumber

  • getPageNumber(): number

getRefinementSelectors

getType

getValue

  • getValue(): string

getViewRect

  • getViewRect(): DOMRect
  • Returns the view rectactangle component if any. The returned DOMRect defines the rectangle in default user space coordinate system.

    Returns DOMRect

isRangeSelector

  • isRangeSelector(): boolean

toJSON

toString

  • toString(): string

Generated using TypeDoc