Package | org.purepdf.elements |
Class | public class Section |
Inheritance | Section Object |
Implements | ITextElementaryArray, ILargeElement, IIterable |
Subclasses | Chapter |
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 [read-only] | Section | ||
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 [read-only] | Section |
Property | Defined By | ||
---|---|---|---|
_addedCompletely : Boolean = false | Section | ||
_bookmarkOpen : Boolean = true | Section | ||
_bookmarkTitle : String | Section | ||
_complete : Boolean = true | Section | ||
_hideNumbers : Boolean | Section | ||
_indentation : Number = 0 | Section | ||
_indentationLeft : Number = 0 | Section | ||
_indentationRight : Number = 0 | Section | ||
_notAddedYet : Boolean = true | Section | ||
_numberDepth : int = 0 | Section | ||
_numbers : Vector.<Number> = null | Section | ||
_numberStyle : int = 0 | Section | ||
subsections : int = 0 | Section | ||
_title : Paragraph | Section | ||
_triggerNewPage : Boolean = false | Section |
Method | Defined By | ||
---|---|---|---|
Section | |||
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 |
Constant | Defined By | ||
---|---|---|---|
NUMBERSTYLE_DOTTED : int = 0 [static] | Section | ||
NUMBERSTYLE_DOTTED_WITHOUT_FINAL_DOT : int = 1 [static] | Section | ||
NUMBERSTYLE_NONE : int = -1 [static]
hide default number in title
| Section |
_addedCompletely | property |
protected var _addedCompletely:Boolean = false
_bookmarkOpen | property |
protected var _bookmarkOpen:Boolean = true
_bookmarkTitle | property |
protected var _bookmarkTitle:String
_complete | property |
protected var _complete:Boolean = true
_hideNumbers | property |
protected var _hideNumbers:Boolean
_indentation | property |
protected var _indentation:Number = 0
_indentationLeft | property |
protected var _indentationLeft:Number = 0
_indentationRight | property |
protected var _indentationRight:Number = 0
_notAddedYet | property |
protected var _notAddedYet:Boolean = true
_numberDepth | property |
protected var _numberDepth:int = 0
_numbers | property |
protected var _numbers:Vector.<Number> = null
_numberStyle | property |
protected var _numberStyle:int = 0
_title | property |
protected var _title:Paragraph
_triggerNewPage | property |
protected var _triggerNewPage:Boolean = false
addedCompletely | property |
addedCompletely:Boolean
public function get addedCompletely():Boolean
public function set addedCompletely(value:Boolean):void
bookmarkOpen | property |
bookmarkOpen:Boolean
public function get bookmarkOpen():Boolean
public function set bookmarkOpen(value:Boolean):void
bookmarkTitle | property |
bookmarkTitle:String
[write-only] public function set bookmarkTitle(value:String):void
chapterNumber | property |
chapterNumber:uint
[write-only] public function set chapterNumber(value:uint):void
complete | property |
complete:Boolean
public function get complete():Boolean
public function set complete(value:Boolean):void
depth | property |
depth:uint
[read-only] public function get depth():uint
indentation | property |
indentation:Number
public function get indentation():Number
public function set indentation(value:Number):void
indentationLeft | property |
indentationLeft:Number
public function get indentationLeft():Number
public function set indentationLeft(value:Number):void
indentationRight | property |
indentationRight:Number
public function get indentationRight():Number
public function set indentationRight(value:Number):void
isChapter | property |
isChapter:Boolean
[read-only] public function get isChapter():Boolean
isContent | property |
isContent:Boolean
[read-only] public function get isContent():Boolean
isNestable | property |
isNestable:Boolean
[read-only] public function get isNestable():Boolean
isSection | property |
isSection:Boolean
[read-only] public function get isSection():Boolean
notAddedYet | property |
notAddedYet:Boolean
public function get notAddedYet():Boolean
public function set notAddedYet(value:Boolean):void
numberDepth | property |
numberDepth:int
public function get numberDepth():int
public function set numberDepth(value:int):void
numbers | property |
numbers:Vector.<Number>
[read-only] public function get numbers():Vector.<Number>
numberStyle | property |
numberStyle:int
public function get numberStyle():int
public function set numberStyle(value:int):void
size | property |
size:uint
[read-only] public function get size():uint
subsections | property |
protected var subsections:int = 0
title | property |
title:Paragraph
public function get title():Paragraph
public function set title(value:Paragraph):void
triggerNewPage | property |
triggerNewPage:Boolean
public function get triggerNewPage():Boolean
public function set triggerNewPage(value:Boolean):void
type | property |
type:int
[read-only] public function get type():int
Section | () | Constructor |
public function Section($title:Paragraph, $depth:int = 1)
$title:Paragraph | |
$depth:int (default = 1 )
|
add | () | method |
public function add(o:Object):Boolean
Parameters
o:Object |
Boolean |
addAll | () | method |
public function addAll(collection:Vector.<IElement>):Boolean
Parameters
collection:Vector.<IElement> |
Boolean |
addMarkedSection | () | method |
addSection | () | method |
addSection1 | () | method |
addSection2 | () | method |
public function addSection2(indentation:Number, title:Paragraph, numberDepth:int):Section
Parameters
indentation:Number | |
title:Paragraph | |
numberDepth:int |
Section |
addSection3 | () | method |
public function addSection3(indentation:Number, title:Paragraph):Section
Parameters
indentation:Number | |
title:Paragraph |
Section |
addSection4 | () | method |
public function addSection4(title:Paragraph, numberDepth:int):Section
Parameters
title:Paragraph | |
numberDepth:int |
Section |
addSection5 | () | method |
public function addSection5(indentation:Number, title:String, numberDepth:int):Section
Parameters
indentation:Number | |
title:String | |
numberDepth:int |
Section |
addSection6 | () | method |
public function addSection6(title:String, numberDepth:int):Section
Parameters
title:String | |
numberDepth:int |
Section |
addSection7 | () | method |
public function addSection7(indentation:Number, title:String):Section
Parameters
indentation:Number | |
title:String |
Section |
constructTitle | () | method |
public static function constructTitle(title:Paragraph, numbers:Vector.<Number>, numberDepth:int, numberStyle:int):Paragraph
Parameters
title:Paragraph | |
numbers:Vector.<Number> | |
numberDepth:int | |
numberStyle:int |
Paragraph |
flushContent | () | method |
public function flushContent():void
getBookmarkTitle | () | method |
getChunks | () | method |
public function getChunks():Vector.<Object>
ReturnsVector.<Object> |
insert | () | method |
public function insert(index:int, o:Object):void
Parameters
index:int | |
o:Object |
iterator | () | method |
public function iterator():Iterator
ReturnsIterator |
newPage | () | method |
public function newPage():void
process | () | method |
public function process(listener:IElementListener):Boolean
Parameters
listener:IElementListener |
Boolean |
toString | () | method |
public function toString():String
ReturnsString |
NUMBERSTYLE_DOTTED | Constant |
public static const NUMBERSTYLE_DOTTED:int = 0
NUMBERSTYLE_DOTTED_WITHOUT_FINAL_DOT | Constant |
public static const NUMBERSTYLE_DOTTED_WITHOUT_FINAL_DOT:int = 1
NUMBERSTYLE_NONE | Constant |
public static const NUMBERSTYLE_NONE:int = -1
hide default number in title