protected var _compressionLevel:int
protected var _rgbTransparencyBlending:Boolean
protected var _structureTreeRoot:PdfStructureTreeRoot
protected var _tagged:Boolean = false
protected var _userunit:Number = 0
protected var body:PdfBody
protected var colorNumber:int = 1
compressionLevel:int
[read-only]
Returns the compression level used for streams written by this writer.
Implementation public function get compressionLevel():int
public var crypto:PdfEncryption
protected var currentPageNumber:int = 1
protected var defaultColorspace:PdfDictionary
protected var defaultPageSize:PageSize
protected var directContent:PdfContentByte
protected var directContentUnder:PdfContentByte
protected var documentColors:HashMap
protected var documentExtGState:HashMap
protected var documentFonts:HashMap
protected var documentOCG:HashSet
protected var documentOCGOrder:Vector.<IPdfOCG>
protected var documentPatterns:HashMap
protected var documentProperties:HashMap
protected var documentShadingPatterns:HashMap
protected var documentShadings:HashMap
protected var documentSpotPatterns:HashMap
protected var extraCatalog:PdfDictionary
protected var fontCount:int = 1
protected var formXObjects:HashMap
protected var formXObjectsCounter:int = 1
protected var fullCompression:Boolean = false
protected var group:PdfDictionary
protected var imageDictionary:PdfDictionary
protected var images:HashMap
protected var newBookmarks:Array
protected var OCGLocked:PdfArray
protected var OCGRadioGroup:PdfArray
protected var OCProperties:PdfOCProperties
protected var opened:Boolean = false
pageNumber:int
[read-only]
Gets the pagenumber of this document.
This number can be different from the real pagenumber,
if you have (re)set the page number previously.
Implementation public function get pageNumber():int
protected var pageReferences:Vector.<PdfIndirectReference>
protected var patternColorspaceCMYK:ColorDetails
protected var patternColorspaceGRAY:ColorDetails
protected var patternColorspaceRGB:ColorDetails
protected var patternCounter:int = 1
protected var paused:Boolean = false
protected var pdf:PdfDocument
protected var pdf_version:PdfVersion
pdfDocument:PdfDocument
[read-only]
Implementation public function get pdfDocument():PdfDocument
pdfIndirectReference:PdfIndirectReference
[read-only]
Use this to get an PdfIndirectReference
for an object that
will be created in the future.
Use this method only if you know what you're doing!
Implementation public function get pdfIndirectReference():PdfIndirectReference
protected var prevxref:int = 0
rgbTransparencyBlending:Boolean
Gets the transparency blending colorspace
Implementation public function get rgbTransparencyBlending():Boolean
public function set rgbTransparencyBlending(value:Boolean):void
protected var root:PdfPages
protected var runDirection:int = 1
spaceCharRatio:Number
[read-only]
Implementation public function get spaceCharRatio():Number
structureTreeRoot:PdfStructureTreeRoot
[read-only]
Gets the structure tree root.
If the document is not marked for tagging it will return null.
Implementation public function get structureTreeRoot():PdfStructureTreeRoot
protected var tabs:PdfName = null
tagged:Boolean
Implementation public function get tagged():Boolean
public function set tagged(value:Boolean):void
userProperties:Boolean
Sets the flag indicating the presence of structure elements that contain user properties attributes.
Implementation public function get userProperties():Boolean
public function set userProperties(value:Boolean):void
userunit:Number
Implementation public function get userunit():Number
public function set userunit(value:Number):void
protected var xmpMetadata:Bytes = null
public function PdfWriter(instance:Lock, output:ByteArray, pagesize:RectangleElement)
Parameters public function add(page:PdfPage, contents:PdfContents):PdfIndirectReference
Parameters
Returns pdf_core function addDirectImageSimple(image:ImageElement):PdfName
Parameters
Returns pdf_core function addDirectImageSimple2(image:ImageElement, fixedRef:PdfIndirectReference):PdfName
Parameters
Returns pdf_core function addDirectTemplateSimple(template:PdfTemplate, forcedName:PdfName):PdfName
Adds a template to the document but not to the page resources.
Parameters
| template:PdfTemplate — the template to add
|
|
| forcedName:PdfName — the template name, rather than a generated one. Can be null
|
Returns | PdfName — the PdfName for this template
|
public function addLocalDestinations(dest:HashMap):void
Parameters
protected function addSharedObjectsToBody():void
pdf_core function addSimpleExtGState(gstate:PdfDictionary):Vector.<PdfObject>
Parameters
Returns pdf_core function addSimpleFont(bf:BaseFont):FontDetails
Adds a font to the document but not to the page resources.
It is used for templates.
Parameters
ReturnsSee also
pdf_core function addSimplePattern(painter:PdfPatternPainter):PdfName
Parameters
Returns pdf_core function addSimplePatternColorSpace(color:RGBColor):ColorDetails
Parameters
Returns pdf_core function addSimpleProperty(prop:Object, refi:PdfIndirectReference):Vector.<PdfObject>
adding properties (OCG, marked content)
Parameters
Returns pdf_core function addSimpleShading(value:PdfShading):void
Parameters
pdf_core function addSimpleShadingPattern(shading:PdfShadingPattern):void
Parameters
pdf_core function addSimpleSpotColor(spc:PdfSpotColor):ColorDetails
Adds a SpotColor to the document but not to the page resources.
Parameters
Returns | ColorDetails — a Vector of Objects where position 0 is a PdfName
and position 1 is an PdfIndirectReference
|
pdf_core function addToBody(object:PdfObject):PdfIndirectObject
Parameters
Returns pdf_core function addToBody1(object:PdfObject, ref:PdfIndirectReference):PdfIndirectObject
Parameters
Returns pdf_core function addToBody2(object:PdfObject, inObjStm:Boolean):PdfIndirectObject
Parameters
Returns public function close():void
public static function create(output:ByteArray, pagesize:RectangleElement):PdfWriter
Parameters
Returns pdf_core function eliminateFontSubset(fonts:PdfDictionary):void
Parameters
protected function fillOCProperties(erase:Boolean):void
Parameters
protected function getCatalog(rootObj:PdfIndirectReference):PdfDictionary
Parameters
Returns public function getColorspaceName():PdfName
Returns public function getCurrentPage():PdfIndirectReference
Returns public function getCurrentPageNumber():int
Returns public function getDefaultColorSpace():PdfDictionary
Returns public function getDirectContent():PdfContentByte
Returns public function getDirectContentUnder():PdfContentByte
Returns public function getEncryption():PdfEncryption
Returns public function getExtraCatalog():PdfDictionary
Returns public function getGroup():PdfDictionary
Returns public function getImageReference(name:PdfName):PdfIndirectReference
Parameters
Returns public function getInfo():PdfDictionary
Use this method to get the info dictionary if you want to
change it directly (add keys and values to the info dictionary).
Returns public static function getISOBytes(text:String):Bytes
Parameters
Returns public function getOCProperties():PdfOCProperties
Returns public function getOs():OutputStreamCounter
Returns public function getPageReference(page:int):PdfIndirectReference
Use this method to get a reference to a page existing or not.
If the page does not exist yet the reference will be created
in advance. If on closing the document, a page number greater
than the total number of pages was requested, an exception
is thrown.
Parameters
| page:int — the page number. The first page is 1
|
Returns public function getPdfVersion():PdfVersion
Returns public function getTabs():PdfName
Returns public static function getVectorISOBytes(text:String):Vector.<int>
Parameters
Returns public function isFullCompression():Boolean
Returns public function isOpen():Boolean
Returns public function isPaused():Boolean
Returns public function isRgbTransparencyBlending():Boolean
Gets the transparency blending colorspace.
Returns | Boolean — true if the transparency blending colorspace is RGB, false
if it is the default blending colorspace
|
public function lockLayer(layer:PdfLayer):void
Parameters
public function open():PdfDocument
Returns pdf_core function propertyExists(prop:Object):Boolean
Parameters
Returns public function registerLayer(layer:IPdfOCG):void
Parameters
public function resetContent():void
Resets all the direct contents to empty.
This happens when a new page is started.
public function setAtLeastPdfVersion(version:String):void
Parameters
public function setDefaultColorSpace(key:PdfName, value:PdfObject):void
Parameters
| key:PdfName — the name of the colorspace. It can be PdfName.DEFAULTGRAY, PdfName.DEFAULTRGB or PdfName.DEFAULTCMYK
|
|
| value:PdfObject |
public function setEncryption(value:PdfEncryption):void
Parameters
public function setFullCompression():void
Set the document compression to the PDF 1.5 mode
with object streams ans xref streams.
Once set it can't be unset anymore.
public function setGroup(value:PdfDictionary):void
Parameters
public function setOutlines(outlines:Array):void
Parameters
public function setPdfVersion(value:String):void
Parameters
public function setTabs(value:PdfName):void
Parameters
protected function writeOutlines(catalog:PdfDictionary, namedAsNames:Boolean):void
Parameters
public static const BUILD_DATE:String = 20100527
public static const BUILD_NUMBER:String = 74
public static const ENCRYPTION_AES_128:int = 2
public static const GENERATION_MAX:int = 65535
public static const MAIN_VERSION:String = 0
public static const NAME:String = purepdf
public static const NO_SPACE_CHAR_RATIO:Number = 10000000
public static const RELEASE:String
public static const RUN_DIRECTION_DEFAULT:int = 0
public static const RUN_DIRECTION_LTR:int = 2
public static const RUN_DIRECTION_NO_BIDI:int = 1
public static const RUN_DIRECTION_RTL:int = 3
public static const SPACE_CHAR_RATIO_DEFAULT:Number = 2.5
public static const STANDARD_ENCRYPTION_128:int = 1
public static const STANDARD_ENCRYPTION_40:int = 0
public static const VERSION:String
Thu May 27 2010, 07:51 AM +02:00