protected var _duration:int = -1
protected var _hashCode:int
protected var _marginBottom:Number = 36.0
protected var _marginLeft:Number = 36.0
protected var _marginMirroring:Boolean = false
protected var _marginRight:Number = 36.0
protected var _marginTop:Number = 36.0
protected var _nextPageSize:RectangleElement
protected var _opened:Boolean
protected var _pageResources:PageResources
protected var _pageSize:RectangleElement
protected var _transition:PdfTransition = null
protected var _writer:PdfWriter
protected var additionalActions:PdfDictionary
protected var alignment:int = 0
protected var anchorAction:PdfAction = null
protected var annotationsImp:PdfAnnotationsImp
protected var boxSize:HashMap
protected var chapternumber:int = 0
protected var closed:Boolean
public static var compress:Boolean = true
protected var currentHeight:Number = 0
protected var currentOutline:PdfOutline
protected var documentFileAttachment:HashMap
protected var documentLevelJS:HashMap
duration:int
[write-only]
Sets the display duration for the page (for presentations)
Implementation public function set duration(value:int):void
protected var firstPageEvent:Boolean = true
protected var footer:HeaderFooter = null
protected var graphics:PdfContentByte
protected var header:HeaderFooter = null
protected var imageEnd:Number = -1
protected var imageWait:ImageElement
protected var indentation:Indentation
indentBottom:Number
[read-only]
Implementation protected function get indentBottom():Number
indentLeft:Number
[read-only]
Implementation protected function get indentLeft():Number
indentRight:Number
[read-only]
Implementation protected function get indentRight():Number
indentTop:Number
[read-only]
Implementation protected function get indentTop():Number
protected var info:PdfInfo
isPageEmpty:Boolean
[read-only]
Implementation public function get isPageEmpty():Boolean
protected var isSectionTitle:Boolean = false
protected var lastElementType:int = -1
protected var leading:Number = 0
protected var leadingCount:int = 0
protected var line:PdfLine = null
protected var lines:Vector.<PdfLine>
protected var localDestinations:HashMap
marginBottom:Number
[read-only]
Implementation public function get marginBottom():Number
marginLeft:Number
[read-only]
Implementation public function get marginLeft():Number
marginMirroring:Boolean
Implementation public function get marginMirroring():Boolean
public function set marginMirroring(value:Boolean):void
protected var marginMirroringTopBottom:Boolean = false
marginRight:Number
[read-only]
Implementation public function get marginRight():Number
marginTop:Number
[read-only]
Implementation public function get marginTop():Number
protected var markPoint:int = 0
protected var nextMarginBottom:Number = 36.0
protected var nextMarginLeft:Number = 36.0
protected var nextMarginRight:Number = 36.0
protected var nextMarginTop:Number = 36.0
opened:Boolean
[read-only]
Return true if the document is already opened
Implementation public function get opened():Boolean
protected var pageEmpty:Boolean = true
protected var pageLabels:PdfPageLabels
protected var pageN:int = 0
pageNumber:int
[read-only]
Implementation public function get pageNumber():int
pageResources:PageResources
[read-only]
Implementation public function get pageResources():PageResources
pageSize:RectangleElement
Return the current pagesize
Implementation public function get pageSize():RectangleElement
public function set pageSize(value:RectangleElement):void
protected var rootOutline:PdfOutline
protected var strictImageSequence:Boolean = false
protected var text:PdfContentByte
protected var textEmptySize:int
protected var thisBoxSize:HashMap
protected var thumb:PdfIndirectReference
transition:PdfTransition
[write-only]
Set the transition for the page
Implementation public function set transition(value:PdfTransition):void
userunit:Number
Use this method to set the user unit
A UserUnit is a value that defines the default user space unit
The minimum UserUnit is 1 (1 unit = 1/72 inch).
The maximum UserUnit is 75,000.
Remember that you need to set the pdf version to 1.6
Implementation public function get userunit():Number
public function set userunit(value:Number):void
Throws protected var viewerPreferences:PdfViewerPreferencesImp
writer:PdfWriter
[read-only]
Implementation public function get writer():PdfWriter
public function PdfDocument(size:RectangleElement)
Parameters public function add(element:IElement):Boolean
Add a new element to the current pdf document
Parameters
Returns | Boolean — true if the element was succesfully added to the documnet
|
See also
public function addAdditionalAction(actionType:PdfName, action:PdfAction):void
Adds additional javascript action to the document
Parameters
See also
public function addAnnotation(annot:PdfAnnotation):void
Parameters
public function addAuthor(value:String):Boolean
Parameters
Returns public function addCreationDate():Boolean
Returns public function addCreator(creator:String):Boolean
Parameters
Returns public function addElement(element:IElement):Boolean
Don't use this directly if you are 100% sure what
you're doing. Use add() instead
Parameters
ReturnsSee also
addElement()
public function addFileAttachment(description:String, file:ByteArray, fileName:String):void
Add a file attachment at the document level
Parameters
| description:String — the file description
|
|
| file:ByteArray — file contents
|
|
| fileName:String — file name
|
public function addJavaScript(code:String, unicode:Boolean = false):void
Add a JavaScript action at the document level.
When the document opens, all this JavaScript runs.
Parameters
| code:String — the JavaScript code
|
|
| unicode:Boolean (default = false ) — select JavaScript unicode
|
public function addKeywords(keywords:String):Boolean
Parameters
Returns public function addProducer():Boolean
Returns protected function addSpacing(extraspace:Number, oldleading:Number, f:Font):void
Adds extra space.
This method should probably be rewritten.
Parameters
| extraspace:Number |
|
| oldleading:Number |
|
| f:Font |
public function addSubject(subject:String):Boolean
Parameters
Returns public function addTitle(title:String):Boolean
Parameters
Returns public function addWriter(w:PdfWriter):void
Parameters
public function bottom(margin:Number = 0):Number
Parameters
| margin:Number (default = 0 )
|
Returns public function calculateOutlineCount():void
protected function carriageReturn():void
public function close():void
Close the document
protected function doFooter():void
Draw the document footer
Throws protected function doHeader():void
Draw the document headers
Throws protected function ensureNewLine():void
Ensure a new line is started
protected function flushLines():Number
Returns public function getCatalog(pages:PdfIndirectReference):PdfCatalog
Parameters
Returns public function getCurrentPage():PdfIndirectReference
Returns public function getDefaultColorSpace():PdfDictionary
Returns public function getDirectContent():PdfContentByte
Returns public function getDirectContentUnder():PdfContentByte
Returns public function getInfo():PdfInfo
Returns pdf_core function getMarkPoint():int
Returns public function getPageReference(page:int):PdfIndirectReference
Parameters
ReturnsSee also
public function getVerticalPosition(ensurenewline:Boolean):Number
Gets the current vertical page position.
Parameters
| ensurenewline:Boolean — Tells whether a new line shall be enforced
|
Returns public function hashCode():int
Returns pdf_core function incMarkPoint():void
protected function initPage():void
public function left(margin:Number = 0):Number
Parameters
| margin:Number (default = 0 )
|
Returns public function localDestination(name:String, destination:PdfDestination):Boolean
The local destination to where a local goto with the same
name will jump to.
Parameters
| name:String — the name of this local destination
|
|
| destination:PdfDestination — the PdfDestination with the jump coordinates
|
Returns | Boolean — true if the local destination was added,
false if a local destination with the same name
already existed
|
public function localGoto(name:String, llx:Number, lly:Number, urx:Number, ury:Number):void
Implements a link to other part of the document. The jump will
be made to a local destination with the same name, that must exist.
Parameters
| name:String — the name for this link
|
|
| llx:Number — the lower left x corner of the activation area
|
|
| lly:Number — the lower left y corner of the activation area
|
|
| urx:Number — the upper right x corner of the activation area
|
|
| ury:Number — the upper right y corner of the activation area
|
public function lockLayer(layer:PdfLayer):void
Use this method to lock a content group
The state of a locked group can not be changed using the user
interface of a viewer application
Parameters
protected function newLine():void
Adds the current line to the list of lines and also adds an empty line.
public function newPage():Boolean
make a new page
Returns public function open():void
open the document
public function outlineTree(outline:PdfOutline):void
Parameters
public function resetFooter():void
public function resetHeader():void
public function resetPageCount():void
public function right(margin:Number = 0):Number
Parameters
| margin:Number (default = 0 )
|
Returns public function setDefaultColorSpace(key:PdfName, value:PdfObject):void
Parameters
public function setFooter(value:HeaderFooter):void
Parameters
public function setHeader(value:HeaderFooter):void
Parameters
public function setMargins(marginLeft:Number, marginRight:Number, marginTop:Number, marginBottom:Number):Boolean
Parameters
| marginLeft:Number |
|
| marginRight:Number |
|
| marginTop:Number |
|
| marginBottom:Number |
Returns protected function setNewPageSizeAndMargins():void
public function setPageLabels(pageLabels:PdfPageLabels):void
Sets the page labels
Parameters
public function setPdfVersion(value:String):void
Parameters
public function setThumbnail(image:ImageElement):void
Deprecated: Deprecated
Assign a thumbnail to the current page
Acrobat/Reader 9 no longer use the embedded thumbnail.
Parameters
Throws public function setViewerPreferences(preferences:int):void
Set the view preferences for this document
Parameters
See also
public function top(margin:Number = 0):Number
Parameters
| margin:Number (default = 0 )
|
Returns public function traverseOutlineCount(outline:PdfOutline):void
Parameters
pdf_core function writeLineToContent(line:PdfLine, text:PdfContentByte, graphics:PdfContentByte, currentValues:Vector.<Object>, ratio:Number):void
Writes a text line to the document. It takes care of all the attributes.
Parameters
Throws public function writeOutlines():void
Event Object Type: flash.events.ProgressEvent
public static const DID_PRINT:PdfName
public static const DID_SAVE:PdfName
public static const DOCUMENT_CLOSE:PdfName
public static const hangingPunctuation:String = .,;:'
public static const WILL_PRINT:PdfName
public static const WILL_SAVE:PdfName
public static const wmfFontCorrection:Number = 0.86
Thu May 27 2010, 07:51 AM +02:00