class Hpdf::Outline

Overview

The outline handle is used to operate an outline of a document.

Included Modules

Defined in:

hpdf/outline.cr

Constructors

Instance Method Summary

Instance methods inherited from module Hpdf::Helper

bool(val : Bool) : Int32 bool, nilable_str(v : Pointer(UInt8)) : String | Nil nilable_str, real(val : Number) : LibHaru::Real real, uint(val : Number) : LibHaru::UInt uint, uint16(val : Number) : UInt16 uint16

Constructor Detail

def self.new(outline : LibHaru::Outline, doc : Doc) #

[View source]

Instance Method Detail

def destination=(dst : Destination) #

sets a destination object which becomes to a target to jump when the outline is clicked.

  • dst specify the handle of an destination object.

[View source]
def opened=(v : Bool) #

sets whether this node is opened or not when the outline is displayed for the first time.

  • opened specify whether the node is opened or not.

[View source]
def to_unsafe : LibHaru::Outline #

[View source]