struct Markd::Pdf::HeadingEntry

Overview

One collected heading, as the shim's heading map reports it: index counts headings with visible text in document order (the same numbering as the #mtoc-N anchor ids rewrite_heading_anchors injects), level is 1-6, page is the 1-based page the heading lands on (0 when it fell on no page window), title is the whitespace-collapsed heading text.

Defined in:

pdf.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(index : Int32, level : Int32, page : Int32, title : String) #

[View source]

Instance Method Detail

def clone #

[View source]
def copy_with(index _index = @index, level _level = @level, page _page = @page, title _title = @title) #

[View source]
def index : Int32 #

def level : Int32 #

def page : Int32 #

def title : String #