패키지 | coldfusion.service.mxml |
클래스 | public class Document |
상속 | Document BasicService InternalConfig Object |
언어 버전: | ActionScript 3.0 |
제품 버전: | ColdFusion 9 |
런타임 버전: | Flash Player 9, AIR 1.0 |
속성 | 정의 주체 | ||
---|---|---|---|
action : String
Action string for the service. | BasicService | ||
authPassword : String
Password sent to the target URL for Basic Authentication. | Document | ||
authUser : String
User name sent to the target URL for Basic Authentication. | Document | ||
backgroundVisible : Boolean
Specifies whether the background prints when the user prints the document:
yes: Includes the background when printing.
no: Does not includes the background when printing.
| Document | ||
bookmark : Boolean
Specifies whether bookmarks are created in the document:
yes: Creates bookmarks.
no: Does not create bookmarks.
| Document | ||
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 | ||
content : String | Document | ||
destination : String
Specifies the destination for the remoting call. | InternalConfig | ||
documentItem : Array
Specifies action items for a PDF or FlashPaper document created by the
cfdocument tag. | Document | ||
documentSection : Array
Divides a PDF or FlashPaper document into sections. | Document | ||
encryption : String
Specifies whether the output is encrypted:
128-bit
40-bit
none
| Document | ||
fontEmbed : Boolean = true
Specifies whether ColdFusion embeds fonts in the output:
yes: Embeds fonts.
no: Does not embed fonts.
selective: Embeds all fonts except Java fonts and core fonts.
| Document | ||
format : String
Report format:
PDF
FlashPaper
| Document | ||
marginBottom : String
Bottom margin in inches (default) or centimeters. | Document | ||
marginLeft : String
Left margin in inches (default) or centimeters. | Document | ||
marginRight : String
Right margin in inches (default) or centimeters. | Document | ||
marginTop : String
Top margin in inches (default) or centimeters. | Document | ||
mimeType : String
MIME type of the source document. | Document | ||
orientation : String
Page orientation:
portrait
landscape
| Document | ||
ownerPassword : String
Specifies the owner password; format="PDF" only. | Document | ||
pageHeight : String
Page height in inches (default) or centimeters. | Document | ||
pageType : String
Page type into which ColdFusion generates the report:
legal: 8.5 inches x 14 inches.
letter: 8.5 inches x 11 inches
A4: 8.27 inches x 11.69 inches
A5: 5.81 inches x 8.25 inches
B4: 9.88 inches x 13.88 inches
B5: 7 inches x 9.88 inches
B4-JIS: 10.13 inches x 14.31 inches
B5-JIS: 7.19 inches x 10.13 inches
custom: custom height and width. | Document | ||
pageWidth : String
Page width in inches (default) or centimeters. | Document | ||
permissions : String
Format="PDF" only; sets one or more of the following permissions:
AllowPrinting
AllowModifyContents
AllowCopy
AllowModifyAnnotations
AllowFillIn
AllowScreenReaders
AllowAssembly
AllowDegradedPrinting
Separate multiple permissions with commas. | Document | ||
proxyHost : String
Host name or IP address of a proxy server to which to send the request. | Document | ||
proxyPassword : String
Password required by the proxy server. | Document | ||
proxyPort : String
The port to connect to on the proxy server. | Document | ||
proxyUser : String
User name to provide to the proxy server. | Document | ||
scale : String
Scale factor as a percentage. | Document | ||
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 | ||
src : String
URL or the relative path to the web root. | Document | ||
srcFile : String
Absolute path of a file that is on the server. | Document | ||
unit : String
Default unit for the pageHeight, pageWidth,
and margin attributes:
in: inches
cm: centimeters
| Document | ||
userAgent : String
Text to put in the HTTP User-Agent request header field. | Document | ||
userPassword : String
Specifies a user password; format="PDF" only. | Document |
메서드 | 정의 주체 | ||
---|---|---|---|
Document()
Creates an instance of the document class. | Document | ||
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. | Document | ||
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 |
authPassword | 속성 |
public var authPassword:String
언어 버전: | ActionScript 3.0 |
제품 버전: | ColdFusion 9 |
런타임 버전: | Flash Player 9, AIR 1.0 |
Password sent to the target URL for Basic Authentication.
authUser | 속성 |
public var authUser:String
언어 버전: | ActionScript 3.0 |
제품 버전: | ColdFusion 9 |
런타임 버전: | Flash Player 9, AIR 1.0 |
User name sent to the target URL for Basic Authentication.
backgroundVisible | 속성 |
public var backgroundVisible:Boolean
언어 버전: | ActionScript 3.0 |
제품 버전: | ColdFusion 9 |
런타임 버전: | Flash Player 9, AIR 1.0 |
Specifies whether the background prints when the user prints the document:
yes
: Includes the background when printing.no
: Does not includes the background when printing.
기본값: no
.
bookmark | 속성 |
public var bookmark:Boolean
언어 버전: | ActionScript 3.0 |
제품 버전: | ColdFusion 9 |
런타임 버전: | Flash Player 9, AIR 1.0 |
Specifies whether bookmarks are created in the document:
yes
: Creates bookmarks.no
: Does not create bookmarks.
기본값: no
.
content | 속성 |
documentItem | 속성 |
public var documentItem:Array
언어 버전: | ActionScript 3.0 |
제품 버전: | ColdFusion 9 |
런타임 버전: | Flash Player 9, AIR 1.0 |
Specifies action items for a PDF or FlashPaper document created by the
cfdocument
tag. Action items include the following:
header
footer
pagebreak
documentSection | 속성 |
public var documentSection:Array
언어 버전: | ActionScript 3.0 |
제품 버전: | ColdFusion 9 |
런타임 버전: | Flash Player 9, AIR 1.0 |
Divides a PDF or FlashPaper document into sections.
By using the documentSection
tag in conjunction with a
cfdocumentitem
tag, each section can have unique headers,
footers, and page numbers.
encryption | 속성 |
public var encryption:String
언어 버전: | ActionScript 3.0 |
제품 버전: | ColdFusion 9 |
런타임 버전: | Flash Player 9, AIR 1.0 |
Specifies whether the output is encrypted:
128-bit
40-bit
none
기본값: none
.
fontEmbed | 속성 |
public var fontEmbed:Boolean = true
언어 버전: | ActionScript 3.0 |
제품 버전: | ColdFusion 9 |
런타임 버전: | Flash Player 9, AIR 1.0 |
Specifies whether ColdFusion embeds fonts in the output:
yes
: Embeds fonts.no
: Does not embed fonts.selective
: Embeds all fonts except Java fonts and core fonts.
기본값: yes
.
format | 속성 |
public var format:String
언어 버전: | ActionScript 3.0 |
제품 버전: | ColdFusion 9 |
런타임 버전: | Flash Player 9, AIR 1.0 |
Report format:
PDF
FlashPaper
marginBottom | 속성 |
public var marginBottom:String
언어 버전: | ActionScript 3.0 |
제품 버전: | ColdFusion 9 |
런타임 버전: | Flash Player 9, AIR 1.0 |
Bottom margin in inches (default) or centimeters.
To specify the bottom margin in centimeters, include the unit=cm
attribute.
marginLeft | 속성 |
public var marginLeft:String
언어 버전: | ActionScript 3.0 |
제품 버전: | ColdFusion 9 |
런타임 버전: | Flash Player 9, AIR 1.0 |
Left margin in inches (default) or centimeters.
To specify the left margin in centimeters, include the unit=cm
attribute.
marginRight | 속성 |
public var marginRight:String
언어 버전: | ActionScript 3.0 |
제품 버전: | ColdFusion 9 |
런타임 버전: | Flash Player 9, AIR 1.0 |
Right margin in inches (default) or centimeters.
To specify the right margin in centimeters, include the unit=cm
attribute.
marginTop | 속성 |
public var marginTop:String
언어 버전: | ActionScript 3.0 |
제품 버전: | ColdFusion 9 |
런타임 버전: | Flash Player 9, AIR 1.0 |
Top margin in inches (default) or centimeters.
To specify the top margin in centimeters, include the unit=cm
attribute.
mimeType | 속성 |
public var mimeType:String
언어 버전: | ActionScript 3.0 |
제품 버전: | ColdFusion 9 |
런타임 버전: | Flash Player 9, AIR 1.0 |
MIME type of the source document. Supported MIME types are:
text/html
text/plain
application/xml
image/bmp
image/jpeg
image/png
image/gif
기본값: text/html
.
orientation | 속성 |
public var orientation:String
언어 버전: | ActionScript 3.0 |
제품 버전: | ColdFusion 9 |
런타임 버전: | Flash Player 9, AIR 1.0 |
Page orientation:
portrait
landscape
기본값: portrait
.
ownerPassword | 속성 |
public var ownerPassword:String
언어 버전: | ActionScript 3.0 |
제품 버전: | ColdFusion 9 |
런타임 버전: | Flash Player 9, AIR 1.0 |
Specifies the owner password; format="PDF"
only.
pageHeight | 속성 |
public var pageHeight:String
언어 버전: | ActionScript 3.0 |
제품 버전: | ColdFusion 9 |
런타임 버전: | Flash Player 9, AIR 1.0 |
Page height in inches (default) or centimeters.
This attribute is only valid if pagetype=custom
.
To specify page height in centimeters, include the unit=cm
attribute.
pageType | 속성 |
public var pageType:String
언어 버전: | ActionScript 3.0 |
제품 버전: | ColdFusion 9 |
런타임 버전: | Flash Player 9, AIR 1.0 |
Page type into which ColdFusion generates the report:
legal
: 8.5 inches x 14 inches.letter
: 8.5 inches x 11 inchesA4
: 8.27 inches x 11.69 inchesA5
: 5.81 inches x 8.25 inchesB4
: 9.88 inches x 13.88 inchesB5
: 7 inches x 9.88 inchesB4-JIS
: 10.13 inches x 14.31 inchesB5-JIS
: 7.19 inches x 10.13 inchescustom
: custom height and width. If you specify custom, you must also specify the pageHeight and pageWidth attributes. You can optionally specify margin attributes and whether the units are inches or centimeters.
기본값: letter
.
pageWidth | 속성 |
public var pageWidth:String
언어 버전: | ActionScript 3.0 |
제품 버전: | ColdFusion 9 |
런타임 버전: | Flash Player 9, AIR 1.0 |
Page width in inches (default) or centimeters.
This attribute is only valid if pagetype=custom
.
To specify page width in centimeters, include the unit=cm
attribute.
permissions | 속성 |
public var permissions:String
언어 버전: | ActionScript 3.0 |
제품 버전: | ColdFusion 9 |
런타임 버전: | Flash Player 9, AIR 1.0 |
Format="PDF" only; sets one or more of the following permissions:
AllowPrinting
AllowModifyContents
AllowCopy
AllowModifyAnnotations
AllowFillIn
AllowScreenReaders
AllowAssembly
AllowDegradedPrinting
proxyHost | 속성 |
public var proxyHost:String
언어 버전: | ActionScript 3.0 |
제품 버전: | ColdFusion 9 |
런타임 버전: | Flash Player 9, AIR 1.0 |
Host name or IP address of a proxy server to which to send the request.
proxyPassword | 속성 |
public var proxyPassword:String
언어 버전: | ActionScript 3.0 |
제품 버전: | ColdFusion 9 |
런타임 버전: | Flash Player 9, AIR 1.0 |
Password required by the proxy server.
proxyPort | 속성 |
public var proxyPort:String
언어 버전: | ActionScript 3.0 |
제품 버전: | ColdFusion 9 |
런타임 버전: | Flash Player 9, AIR 1.0 |
The port to connect to on the proxy server.
기본값: 80.
proxyUser | 속성 |
public var proxyUser:String
언어 버전: | ActionScript 3.0 |
제품 버전: | ColdFusion 9 |
런타임 버전: | Flash Player 9, AIR 1.0 |
User name to provide to the proxy server.
scale | 속성 |
public var scale:String
언어 버전: | ActionScript 3.0 |
제품 버전: | ColdFusion 9 |
런타임 버전: | Flash Player 9, AIR 1.0 |
Scale factor as a percentage. Use this option to reduce the size of the HTML output so that it fits on that paper. Specify a number less than 100.
기본값: Calculated by ColdFusion.
src | 속성 |
public var src:String
언어 버전: | ActionScript 3.0 |
제품 버전: | ColdFusion 9 |
런타임 버전: | Flash Player 9, AIR 1.0 |
URL or the relative path to the web root. You cannot specify both the src and srcfile attributes. The file must be in a browser-writable format such as, HTML, HTM, BMP, PNG, and so on.
srcFile | 속성 |
public var srcFile:String
언어 버전: | ActionScript 3.0 |
제품 버전: | ColdFusion 9 |
런타임 버전: | Flash Player 9, AIR 1.0 |
Absolute path of a file that is on the server. You cannot specify both the src and srcfile attributes. The file must be a PPT file, a Word file, or be in a browser-writable format such as, HTML, HTM, BMP, PNG, and so on.
unit | 속성 |
public var unit:String
언어 버전: | ActionScript 3.0 |
제품 버전: | ColdFusion 9 |
런타임 버전: | Flash Player 9, AIR 1.0 |
Default unit for the pageHeight
, pageWidth
,
and margin
attributes:
in
: inchescm
: centimeters
기본값: in
.
userAgent | 속성 |
public var userAgent:String
언어 버전: | ActionScript 3.0 |
제품 버전: | ColdFusion 9 |
런타임 버전: | Flash Player 9, AIR 1.0 |
Text to put in the HTTP User-Agent request header field. Used to identify the request client software.
기본값: ColdFusion
.
userPassword | 속성 |
public var userPassword:String
언어 버전: | ActionScript 3.0 |
제품 버전: | ColdFusion 9 |
런타임 버전: | Flash Player 9, AIR 1.0 |
Specifies a user password; format="PDF"
only.
Document | () | 생성자 |
public function Document()
언어 버전: | ActionScript 3.0 |
제품 버전: | ColdFusion 9 |
런타임 버전: | Flash Player 9, AIR 1.0 |
Creates an instance of the document
class.
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