Packageorg.purepdf.elements
Classpublic class ChapterAutoNumber
InheritanceChapterAutoNumber Inheritance Chapter Inheritance Section Inheritance Object

Chapter with auto numbering



Public Properties
 PropertyDefined By
 InheritedaddedCompletely : Boolean
Section
 InheritedbookmarkOpen : Boolean
Section
 InheritedbookmarkTitle : String
[write-only]
Section
 InheritedchapterNumber : uint
[write-only]
Section
 Inheritedcomplete : Boolean
Section
 Inheriteddepth : uint
[read-only]
Section
 Inheritedindentation : Number
Section
 InheritedindentationLeft : Number
Section
 InheritedindentationRight : Number
Section
 InheritedisChapter : Boolean
[read-only]
Section
 InheritedisContent : Boolean
[read-only]
Section
 InheritedisNestable : Boolean
[override] [read-only]
Chapter
 InheritedisSection : Boolean
[read-only]
Section
 InheritednotAddedYet : Boolean
Section
 InheritednumberDepth : int
Section
 Inheritednumbers : Vector.<Number>
[read-only]
Section
 InheritednumberStyle : int
Section
 Inheritedsize : uint
[read-only]
Section
 Inheritedtitle : Paragraph
Section
 InheritedtriggerNewPage : Boolean
Section
 Inheritedtype : int
[override] [read-only]
Chapter
Protected Properties
 PropertyDefined By
 Inherited_addedCompletely : Boolean = false
Section
 Inherited_bookmarkOpen : Boolean = true
Section
 Inherited_bookmarkTitle : String
Section
 Inherited_complete : Boolean = true
Section
 Inherited_hideNumbers : Boolean
Section
 Inherited_indentation : Number = 0
Section
 Inherited_indentationLeft : Number = 0
Section
 Inherited_indentationRight : Number = 0
Section
 Inherited_notAddedYet : Boolean = true
Section
 Inherited_numberDepth : int = 0
Section
 Inherited_numbers : Vector.<Number> = null
Section
  numberSet : Boolean = false
ChapterAutoNumber
 Inherited_numberStyle : int = 0
Section
 Inheritedsubsections : int = 0
Section
 Inherited_title : Paragraph
Section
 Inherited_triggerNewPage : Boolean = false
Section
Public Methods
 MethodDefined By
  
ChapterAutoNumber($title:Object)
ChapterAutoNumber
 Inherited
add(o:Object):Boolean
Section
 Inherited
addAll(collection:Vector.<IElement>):Boolean
Section
 Inherited
Section
  
addSection(title:String):Section
[override]
ChapterAutoNumber
  
[override]
ChapterAutoNumber
 Inherited
addSection2(indentation:Number, title:Paragraph, numberDepth:int):Section
Section
 Inherited
addSection3(indentation:Number, title:Paragraph):Section
Section
 Inherited
addSection4(title:Paragraph, numberDepth:int):Section
Section
 Inherited
addSection5(indentation:Number, title:String, numberDepth:int):Section
Section
 Inherited
addSection6(title:String, numberDepth:int):Section
Section
 Inherited
addSection7(indentation:Number, title:String):Section
Section
 Inherited
constructTitle(title:Paragraph, numbers:Vector.<Number>, numberDepth:int, numberStyle:int):Paragraph
[static]
Section
 Inherited
Section
 Inherited
Section
 Inherited
getChunks():Vector.<Object>
Section
 Inherited
insert(index:int, o:Object):void
Section
 Inherited
iterator():Iterator
Section
 Inherited
newPage():void
Section
 Inherited
process(listener:IElementListener):Boolean
Section
  
setAutomaticNumber(value:int):int
Changes the chapter number
ChapterAutoNumber
 Inherited
toString():String
Section
Public Constants
 ConstantDefined By
 InheritedNUMBERSTYLE_DOTTED : int = 0
[static]
Section
 InheritedNUMBERSTYLE_DOTTED_WITHOUT_FINAL_DOT : int = 1
[static]
Section
 InheritedNUMBERSTYLE_NONE : int = -1
[static] hide default number in title
Section
Property Detail
numberSetproperty
protected var numberSet:Boolean = false

Constructor Detail
ChapterAutoNumber()Constructor
public function ChapterAutoNumber($title:Object)



Parameters
$title:Object
Method Detail
addSection()method
override public function addSection(title:String):Section

Parameters

title:String

Returns
Section
addSection1()method 
override public function addSection1(title:Paragraph):Section

Parameters

title:Paragraph

Returns
Section
setAutomaticNumber()method 
public function setAutomaticNumber(value:int):int

Changes the chapter number

Parameters

value:int

Returns
int