Package | org.purepdf.elements |
Class | public class Chapter |
Inheritance | Chapter Section Object |
Subclasses | ChapterAutoNumber |
Property | Defined By | ||
---|---|---|---|
addedCompletely : Boolean | Section | ||
bookmarkOpen : Boolean | Section | ||
bookmarkTitle : String [write-only] | Section | ||
chapterNumber : uint [write-only] | Section | ||
complete : Boolean | Section | ||
depth : uint [read-only] | Section | ||
indentation : Number | Section | ||
indentationLeft : Number | Section | ||
indentationRight : Number | Section | ||
isChapter : Boolean [read-only] | Section | ||
isContent : Boolean [read-only] | Section | ||
isNestable : Boolean [override] [read-only] | Chapter | ||
isSection : Boolean [read-only] | Section | ||
notAddedYet : Boolean | Section | ||
numberDepth : int | Section | ||
numbers : Vector.<Number> [read-only] | Section | ||
numberStyle : int | Section | ||
size : uint [read-only] | Section | ||
title : Paragraph | Section | ||
triggerNewPage : Boolean | Section | ||
type : int [override] [read-only] | Chapter |
Method | Defined By | ||
---|---|---|---|
Chapter($title:Object, $number:int)
Create a new Chapter object
| Chapter | ||
add(o:Object):Boolean | Section | ||
Section | |||
Section | |||
addSection(title:String):Section | Section | ||
Section | |||
Section | |||
Section | |||
Section | |||
addSection5(indentation:Number, title:String, numberDepth:int):Section | Section | ||
addSection6(title:String, numberDepth:int):Section | Section | ||
addSection7(indentation:Number, title:String):Section | Section | ||
constructTitle(title:Paragraph, numbers:Vector.<Number>, numberDepth:int, numberStyle:int):Paragraph [static] | Section | ||
flushContent():void | Section | ||
Section | |||
getChunks():Vector.<Object> | Section | ||
insert(index:int, o:Object):void | Section | ||
iterator():Iterator | Section | ||
newPage():void | Section | ||
process(listener:IElementListener):Boolean | Section | ||
toString():String | Section |
isNestable | property |
isNestable:Boolean
[read-only] [override] public function get isNestable():Boolean
type | property |
type:int
[read-only] [override] public function get type():int
Chapter | () | Constructor |
public function Chapter($title:Object, $number:int)
Create a new Chapter object
Parameters$title:Object — String or Paragraph allowed
| |
$number:int — chapter number
|
See also