| 패키지 | coldfusion.service.mxml |
| 클래스 | public class Pdf |
| 상속 | Pdf BasicService InternalConfig Object |
| 언어 버전: | ActionScript 3.0 |
| 제품 버전: | ColdFusion 9 |
| 런타임 버전: | Flash Player 9, AIR 1.0 |
| 속성 | 정의 주체 | ||
|---|---|---|---|
![]() | action : String
Action string for the service. | BasicService | |
| addQuads : Boolean = false
Add the position or quadrants of the thumbnail
| |||
![]() | cfContextRoot : String
Context root of the ColdFusion server. | InternalConfig | |
![]() | cfPort : int
Port where the ColdFusion server is running. | InternalConfig | |
![]() | cfServer : String
Name or IP address of the ColdFusion server. | InternalConfig | |
![]() | constructor : Object
지정된 객체 인스턴스의 클래스 객체 또는 생성자 함수에 대한 참조입니다. | Object | |
| copyFrom : String
Pathname of the PDF document from which to use the first page as a watermark. | |||
| ddxString : String
Pathname of the DDX file, or a string with DDX instructions. | |||
![]() | destination : String
Specifies the destination for the remoting call. | InternalConfig | |
| encrypt : String
Encryption type for the PDF output file:
RC4_40
RC4_128
RC4_128M
AES_128
None
| |||
| foreground : Boolean
Placement of the watermark on the page:
yes: the watermark appears in the foreground (over the page content).
no: the watermark appears in the background (behind the page content).
| |||
| format : String
File type of thumbnail image output:
jpg
tiff
png
| |||
| honourSpaces : Boolean = false
Set this option to "true", for improved readability and spacing. | |||
| image : String
Image used as a watermark. | |||
| imagePrefix : String
Prefix used for each image thumbnail file generated. | |||
| info : Array
Structure variable for relevant information, for example, “ #infoStruct#". | |||
| inputFiles : Array
Structure that maps the PDF source files to the input variables
in the DDX file, or a string of elements and their pathname. | |||
| isbase64 : Boolean
Valid only when the image attribute is specified. | |||
| keepBookmark : Boolean
Specifies whether bookmarks from the source PDF documents are retained
in the merged document:
yes: the bookmarks are retained.
no: the bookmarks are removed.
| |||
| newOwnerPassword : String
Password used to set permissions on a PDF document. | |||
| newUserPassword : String
Password used to open PDF document. | |||
| opacity : uint = 3
Opacity of the watermark. | |||
| outputFiles : Array
Structure that contains the output files in the DDX file or string as
keys and the pathname to the result file as the value. | |||
| pages : String
Page or pages in the source PDF document on which to perform the action. | |||
| password : String
Owner or user password of the source PDF document,
if the document is password-protected. | |||
| pdfParam : Array
Provides additional information for the cfpdf tag. | |||
| permissions : String
Type of permissions on the PDF document:
All
AllowAssembly
AllowCopy
AllowDegradedPrinting
AllowFillIn
AllowModifyAnnotations
AllowModifyContents
AllowPrinting
AllowScreenReaders
AllowSecure
None
| |||
| position : String
Position on the page where the watermark is placed. | |||
| resolution : String
Image quality used to generate thumbnail images:
high: use high resolution (uses more memory).
low: use low resolution.
| |||
| rotation : String
Degree of rotation of the watermark image on the page, for example, “60”. | |||
| scale : uint = 25
Size of the thumbnail relative to the source page. | |||
![]() | secureHttp : Boolean
Boolean value that specifies if secure HTTP is used:
yes: uses secure HTTP
no: does not use secure HTTP
| InternalConfig | |
![]() | servicePassword : String
Password to access ColdFusion services. | InternalConfig | |
![]() | serviceUserName : String
Username to access ColdFusion services. | InternalConfig | |
| showOnPrint : Boolean
Specify whether to print the watermark with the PDF document:
yes: the watermark is printed with the PDF document.
no: the watermark is display-only.
| |||
| source : String
PDF document used as the source. | |||
| stopOnError : Boolean
Valid only if the directory attribute is specified. | |||
| transparent : Boolean
(format="png" only)
Specifies whether the image background is transparent or opaque:
yes: the background is transparent.
no: the background is opaque.
| |||
| type : String = "string"
Type attribute indicates the text format in which the text
has to be extracted for the action extractText. | |||
| useStructure : Boolean = true
Lets you extract content based on the PDF structure. | |||
| 메서드 | 정의 주체 | ||
|---|---|---|---|
Pdf()
Creates an instance of the Pdf class. | |||
![]() | addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registers an event listener object with an EventDispatcher object so that the listener
receives notification of an event. | BasicService | |
![]() |
Dispatches an event into the event flow. | BasicService | |
Sends the information to the ColdFusion service based on the action and
attributes that the user sets. | |||
![]() |
Returns the RemoteObject instance used by the proxy classes to make the
remote object call. | BasicService | |
![]() |
Checks whether the EventDispatcher object has any listeners registered
for a specific type of event. | BasicService | |
![]() |
지정된 속성이 객체에 정의되어 있는지 여부를 나타냅니다. | Object | |
![]() |
Object 클래스의 인스턴스가 매개 변수로 지정된 객체의 프로토타입 체인에 있는지 여부를 나타냅니다. | Object | |
![]() |
지정된 속성이 존재하고 열거 가능한지 여부를 나타냅니다. | Object | |
![]() |
Removes a listener from the EventDispatcher object. | BasicService | |
![]() |
루프 작업에서 동적 속성을 사용할 수 있는지 여부를 설정합니다. | Object | |
![]() |
로캘별 규칙에 따라 서식이 지정된 이 객체의 문자열 표현을 반환합니다. | Object | |
![]() |
지정된 객체의 문자열 표현을 반환합니다. | Object | |
![]() |
지정된 객체의 프리미티브 값을 반환합니다. | Object | |
![]() |
Checks whether an event listener is registered with this EventDispatcher object or any of its
ancestors for the specified event type. | BasicService | |
| 메서드 | 정의 주체 | ||
|---|---|---|---|
[재정의]
This is the overriden function of the default implementation is BasicService. | |||
addQuads | 속성 |
public var addQuads:Boolean = false| 언어 버전: | ActionScript 3.0 |
| 제품 버전: | ColdFusion 9.0.1 |
| 런타임 버전: | Flash Player 9, AIR 1.0 |
Add the position or quadrants of the thumbnail
기본값: false.
copyFrom | 속성 |
public var copyFrom:String| 언어 버전: | ActionScript 3.0 |
| 제품 버전: | ColdFusion 9 |
| 런타임 버전: | Flash Player 9, AIR 1.0 |
Pathname of the PDF document from which to use the first page as a watermark.
ddxString | 속성 |
public var ddxString:String| 언어 버전: | ActionScript 3.0 |
| 제품 버전: | ColdFusion 9 |
| 런타임 버전: | Flash Player 9, AIR 1.0 |
Pathname of the DDX file, or a string with DDX instructions.
encrypt | 속성 |
public var encrypt:String| 언어 버전: | ActionScript 3.0 |
| 제품 버전: | ColdFusion 9 |
| 런타임 버전: | Flash Player 9, AIR 1.0 |
Encryption type for the PDF output file:
RC4_40RC4_128RC4_128MAES_128None
기본값: RC4_128 (Acrobat 5.0 or higher).
foreground | 속성 |
public var foreground:Boolean| 언어 버전: | ActionScript 3.0 |
| 제품 버전: | ColdFusion 9 |
| 런타임 버전: | Flash Player 9, AIR 1.0 |
Placement of the watermark on the page:
yes: the watermark appears in the foreground (over the page content).no: the watermark appears in the background (behind the page content).
기본값: no.
format | 속성 |
public var format:String| 언어 버전: | ActionScript 3.0 |
| 제품 버전: | ColdFusion 9 |
| 런타임 버전: | Flash Player 9, AIR 1.0 |
File type of thumbnail image output:
jpgtiffpng
기본값: jpg.
honourSpaces | 속성 |
public var honourSpaces:Boolean = false| 언어 버전: | ActionScript 3.0 |
| 제품 버전: | ColdFusion 9.0.1 |
| 런타임 버전: | Flash Player 9, AIR 1.0 |
Set this option to "true", for improved readability and spacing.
기본값: false.
image | 속성 |
public var image:String| 언어 버전: | ActionScript 3.0 |
| 제품 버전: | ColdFusion 9 |
| 런타임 버전: | Flash Player 9, AIR 1.0 |
Image used as a watermark. You can specify a pathname, a variable that contains an image file, or a ColdFusion image variable.
imagePrefix | 속성 |
public var imagePrefix:String| 언어 버전: | ActionScript 3.0 |
| 제품 버전: | ColdFusion 9 |
| 런타임 버전: | Flash Player 9, AIR 1.0 |
Prefix used for each image thumbnail file generated. The image filenames use the format: imagePrefix_page_n.format.
info | 속성 |
public var info:Array| 언어 버전: | ActionScript 3.0 |
| 제품 버전: | ColdFusion 9 |
| 런타임 버전: | Flash Player 9, AIR 1.0 |
Structure variable for relevant information, for example, “ #infoStruct#". You can specify the Author, Subject, Title, and Keywords for the PDF output file.
inputFiles | 속성 |
public var inputFiles:Array| 언어 버전: | ActionScript 3.0 |
| 제품 버전: | ColdFusion 9 |
| 런타임 버전: | Flash Player 9, AIR 1.0 |
Structure that maps the PDF source files to the input variables in the DDX file, or a string of elements and their pathname.
isbase64 | 속성 |
public var isbase64:Boolean| 언어 버전: | ActionScript 3.0 |
| 제품 버전: | ColdFusion 9 |
| 런타임 버전: | Flash Player 9, AIR 1.0 |
Valid only when the image attribute is specified. Specifies whether the image used as a watermark is in Base64 format:
yes: the image is in Base64 format.no: the image is not in Base64 format.
기본값: no.
keepBookmark | 속성 |
public var keepBookmark:Boolean| 언어 버전: | ActionScript 3.0 |
| 제품 버전: | ColdFusion 9 |
| 런타임 버전: | Flash Player 9, AIR 1.0 |
Specifies whether bookmarks from the source PDF documents are retained in the merged document:
yes: the bookmarks are retained.no: the bookmarks are removed.
newOwnerPassword | 속성 |
public var newOwnerPassword:String| 언어 버전: | ActionScript 3.0 |
| 제품 버전: | ColdFusion 9 |
| 런타임 버전: | Flash Player 9, AIR 1.0 |
Password used to set permissions on a PDF document.
newUserPassword | 속성 |
public var newUserPassword:String| 언어 버전: | ActionScript 3.0 |
| 제품 버전: | ColdFusion 9 |
| 런타임 버전: | Flash Player 9, AIR 1.0 |
Password used to open PDF document.
opacity | 속성 |
public var opacity:uint = 3| 언어 버전: | ActionScript 3.0 |
| 제품 버전: | ColdFusion 9 |
| 런타임 버전: | Flash Player 9, AIR 1.0 |
Opacity of the watermark. Valid values are integers in the range 0 (transparent) through 10 (opaque).
outputFiles | 속성 |
public var outputFiles:Array| 언어 버전: | ActionScript 3.0 |
| 제품 버전: | ColdFusion 9 |
| 런타임 버전: | Flash Player 9, AIR 1.0 |
Structure that contains the output files in the DDX file or string as keys and the pathname to the result file as the value.
pages | 속성 |
public var pages:String| 언어 버전: | ActionScript 3.0 |
| 제품 버전: | ColdFusion 9 |
| 런타임 버전: | Flash Player 9, AIR 1.0 |
Page or pages in the source PDF document on which to perform the action.
기본값: all.
password | 속성 |
public var password:String| 언어 버전: | ActionScript 3.0 |
| 제품 버전: | ColdFusion 9 |
| 런타임 버전: | Flash Player 9, AIR 1.0 |
Owner or user password of the source PDF document, if the document is password-protected.
pdfParam | 속성 |
public var pdfParam:Array| 언어 버전: | ActionScript 3.0 |
| 제품 버전: | ColdFusion 9 |
| 런타임 버전: | Flash Player 9, AIR 1.0 |
Provides additional information for the cfpdf tag.
The cfpdfparam tag applies only to the merge action of the
cfpdf tag and is always a child tag of the cfpdf tag.
permissions | 속성 |
public var permissions:String| 언어 버전: | ActionScript 3.0 |
| 제품 버전: | ColdFusion 9 |
| 런타임 버전: | Flash Player 9, AIR 1.0 |
Type of permissions on the PDF document:
AllAllowAssemblyAllowCopyAllowDegradedPrintingAllowFillInAllowModifyAnnotationsAllowModifyContentsAllowPrintingAllowScreenReadersAllowSecureNone
기본값: all.
position | 속성 |
public var position:String| 언어 버전: | ActionScript 3.0 |
| 제품 버전: | ColdFusion 9 |
| 런타임 버전: | Flash Player 9, AIR 1.0 |
Position on the page where the watermark is placed. The position represents the top-left corner of the watermark. Specify the x and y coordinates; for example “50,30”.
resolution | 속성 |
public var resolution:String| 언어 버전: | ActionScript 3.0 |
| 제품 버전: | ColdFusion 9 |
| 런타임 버전: | Flash Player 9, AIR 1.0 |
Image quality used to generate thumbnail images:
high: use high resolution (uses more memory).low: use low resolution.
기본값: high.
rotation | 속성 |
public var rotation:String| 언어 버전: | ActionScript 3.0 |
| 제품 버전: | ColdFusion 9 |
| 런타임 버전: | Flash Player 9, AIR 1.0 |
Degree of rotation of the watermark image on the page, for example, “60”.
scale | 속성 |
public var scale:uint = 25| 언어 버전: | ActionScript 3.0 |
| 제품 버전: | ColdFusion 9 |
| 런타임 버전: | Flash Player 9, AIR 1.0 |
Size of the thumbnail relative to the source page. The value represents a percentage from 1 through 100.
기본값: 25.
showOnPrint | 속성 |
public var showOnPrint:Boolean| 언어 버전: | ActionScript 3.0 |
| 제품 버전: | ColdFusion 9 |
| 런타임 버전: | Flash Player 9, AIR 1.0 |
Specify whether to print the watermark with the PDF document:
yes: the watermark is printed with the PDF document.no: the watermark is display-only.
기본값: no.
source | 속성 |
public var source:String| 언어 버전: | ActionScript 3.0 |
| 제품 버전: | ColdFusion 9 |
| 런타임 버전: | Flash Player 9, AIR 1.0 |
PDF document used as the source. The source can be one of the following:
- An absolute or relative pathname to a PDF document; for example, c:\work\myPDF.pdf or myPDF.pdf.
- A PDF document variable in memory that is generated by the
cfdocumenttag or thecfpdftag.
stopOnError | 속성 |
public var stopOnError:Boolean| 언어 버전: | ActionScript 3.0 |
| 제품 버전: | ColdFusion 9 |
| 런타임 버전: | Flash Player 9, AIR 1.0 |
Valid only if the directory attribute is specified.
If the specified directory contains files other then ColdFusion-readable
PDF files, ColdFusion either stops merge process or continues.
yes: stops the merge process if invalid PDF files exist in the specified directory.no: continues the merge process even if invalid files exist in the specified directory.
transparent | 속성 |
public var transparent:Boolean| 언어 버전: | ActionScript 3.0 |
| 제품 버전: | ColdFusion 9 |
| 런타임 버전: | Flash Player 9, AIR 1.0 |
(format="png" only) Specifies whether the image background is transparent or opaque:
yes:the background is transparent.no:the background is opaque.
기본값: no.
type | 속성 |
public var type:String = "string"| 언어 버전: | ActionScript 3.0 |
| 제품 버전: | ColdFusion 9.0.1 |
| 런타임 버전: | Flash Player 9, AIR 1.0 |
Type attribute indicates the text format in which the text has to be extracted for the action extractText. The values can be string or xml.
기본값: false.
useStructure | 속성 |
public var useStructure:Boolean = true| 언어 버전: | ActionScript 3.0 |
| 제품 버전: | ColdFusion 9.0.1 |
| 런타임 버전: | Flash Player 9, AIR 1.0 |
Lets you extract content based on the PDF structure. For better readability of the extracted text, use this attribute together with the attribute honourspaces.
기본값: true.
| () | 생성자 |
public function Pdf()| 언어 버전: | ActionScript 3.0 |
| 제품 버전: | ColdFusion 9 |
| 런타임 버전: | Flash Player 9, AIR 1.0 |
Creates an instance of the Pdf class.
convertResultInEvent | () | 메서드 |
override protected function convertResultInEvent(event:ResultEvent):ColdFusionServiceResultEventThis is the overriden function of the default implementation is BasicService. This function checks if the result returned is an array of specific object instances. If it is, it converts it into an array of objects and creates an instance of ColdFusionResultEvent and returns the event
매개 변수
event:ResultEvent |
ColdFusionServiceResultEvent |
execute | () | 메서드 |
public function execute():void| 언어 버전: | ActionScript 3.0 |
| 제품 버전: | ColdFusion 9 |
| 런타임 버전: | Flash Player 9, AIR 1.0 |
Sends the information to the ColdFusion service based on the action and attributes that the user sets.
Tue Jun 12 2018, 03:17 PM Z
상속되는 공용 속성 숨기기
상속되는 공용 속성 표시