class PdflibMini::Handle::Pdf::Document

Attributes

filename[R]

Public Class Methods

new(doc, p, filename) click to toggle source
Calls superclass method
# File lib/pdflib_mini/handle/pdf/document.rb, line 7
def initialize(doc, p, filename)
  super(doc)
  @p = p
  @filename = filename
end

Public Instance Methods

close_pdi_document() click to toggle source

10.1 Document Functions close_pdi_document(int doc)

# File lib/pdflib_mini/handle/pdf/document.rb, line 15
def close_pdi_document
  @p.close_pdi_document(self)
end
open_pdi_page(*args, &block) click to toggle source

10.2 Page Functions int open_pdi_page(int doc, int pagenumber, string optlist)

# File lib/pdflib_mini/handle/pdf/document.rb, line 21
def open_pdi_page(*args, &block)
  @p.open_pdi_page(self, *args, &block)
end
pcos_get_number(*args) click to toggle source

10.4 pCOS Functions double pcos_get_number(long doc, string path)

# File lib/pdflib_mini/handle/pdf/document.rb, line 33
def pcos_get_number(*args)
  @p.pcos_get_number(self, *args)
end
pcos_get_stream(*args) click to toggle source

10.4 pCOS Functions string pcos_get_stream(long doc, string optlist, string path)

# File lib/pdflib_mini/handle/pdf/document.rb, line 45
def pcos_get_stream(*args)
  @p.pcos_get_stream(self, *args)
end
pcos_get_string(*args) click to toggle source

10.4 pCOS Functions string pcos_get_string(long doc, string path)

# File lib/pdflib_mini/handle/pdf/document.rb, line 39
def pcos_get_string(*args)
  @p.pcos_get_string(self, *args)
end
process_pdi(*args) click to toggle source

10.3 Other PDI Processing int process_pdi(int doc, int page, string optlist)

# File lib/pdflib_mini/handle/pdf/document.rb, line 27
def process_pdi(*args)
  @p.process_pdi(self, *args)
end