Class: Pdfrb::Model::Type::Mac

Inherits:
Cos::Dictionary show all
Defined in:
lib/pdfrb/model/type/misc_extras.rb

Overview

Mac OS file descriptor (s7.11.4.5, /Mac): resource-fork and creator info for platform-specific embedding.

Instance Attribute Summary

Attributes inherited from Object

#document, #gen, #oid, #value

Instance Method Summary collapse

Methods inherited from Cos::Dictionary

#[], #[]=, apply_arlington_definition, arlington_default, arlington_key_to_symbol, arlington_one_type_to_ruby, arlington_required?, arlington_scalar, arlington_types_to_ruby, arlington_version, define_field, define_field_from_arlington, #delete, #each, each_field, #each_raw, #empty?, field, #initialize, #key?, #keys, lookup_type, merged_field, own_fields, #pdf_type, register_type, type_map, #validate

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::Cos::Dictionary

Instance Method Details

#creatorObject



120
# File 'lib/pdfrb/model/type/misc_extras.rb', line 120

def creator; self[:Creator]; end

#res_forkObject



121
# File 'lib/pdfrb/model/type/misc_extras.rb', line 121

def res_fork; self[:ResFork]; end

#subtypeObject



119
# File 'lib/pdfrb/model/type/misc_extras.rb', line 119

def subtype; self[:Subtype]; end