Class: Pdfrb::Model::Type::DestinationXYZStruct

Inherits:
DestinationXYZ show all
Defined in:
lib/pdfrb/model/type/destination.rb

Overview

Structure-destination variants (s7.9.4, PDF 1.3+ tagging). Element 0 may be a structure element reference (string) instead of a page — used by GoToE /D chains with structure content.

Instance Attribute Summary

Attributes inherited from Object

#document, #gen, #oid, #value

Instance Method Summary collapse

Methods inherited from DestinationXYZ

#left, #retains_position?, #top, #zoom

Methods inherited from Destination

#display_type, #fit?, #fit_b?, #fit_bh?, #fit_bv?, #fit_h?, #fit_r?, #fit_v?, #page_number, #page_number?, #page_ref, #xyz?

Methods inherited from PdfArray

#<<, #==, #[], #[]=, apply_arlington_definition, arlington_definition, #delete_at, #each, element_field, #empty?, #initialize, #inspect, #length, #push, #to_a

Methods included from Cos::ArlingtonBacked

#arlington_object

Methods inherited from Object

#==, define_type, #deref, #indirect?, #initialize, #must_be_indirect?, #pdf_type, pdf_type

Constructor Details

This class inherits a constructor from Pdfrb::Model::PdfArray

Instance Method Details

#struct_ref?Boolean

Returns:

  • (Boolean)


75
# File 'lib/pdfrb/model/type/destination.rb', line 75

def struct_ref?; page_ref.is_a?(String); end