op.textToDoc IOpInputItem additional parameters

From PDF XChange PDF SDK
Jump to: navigation, search
(Created page with "Category:Editor {{#customTitle:op.textToDoc IOpInputItem additional parameters}} {{#parentPage:PXV:op_textToDoc|IOpInputItem additional parameters|property}} {{ToReview}}...")
 
 
(2 intermediate revisions by the same user not shown)
Line 14: Line 14:
 
| class="op_param_name" | Encoding
 
| class="op_param_name" | Encoding
 
| style="text-align:center" | Integer
 
| style="text-align:center" | Integer
| Specifies the code page's index that will be used for the Text Encoding.
+
| Specifies the code page's index that will be used for the Text Encoding. It can be obtained from this list:
 +
[https://msdn.microsoft.com/en-US/us-us/library/windows/desktop/dd317756(v=vs.85).aspx Code Page Identifiers]
 +
 
 
Default value: <tt>'''0'''</tt>
 
Default value: <tt>'''0'''</tt>
 
|-
 
|-
Line 31: Line 33:
 
| class="op_enum_value" | '''3''' (Double2NewParaSingle2Space) || Double newline character starts a new paragraph, single ones are being converted to spaces.
 
| class="op_enum_value" | '''3''' (Double2NewParaSingle2Space) || Double newline character starts a new paragraph, single ones are being converted to spaces.
 
|}
 
|}
Default value: <tt>'''0'''</tt>
 
|-
 
| class="op_param_name" | PrefixLen
 
| style="text-align:center" | Integer
 
| Specifies length of a prefix.
 
 
Default value: <tt>'''0'''</tt>
 
Default value: <tt>'''0'''</tt>
 
|-
 
|-

Latest revision as of 05:09, 7 May 2018


Additional parameters for the wrapped input item of the textToDoc operation are generally used when there is a need to setup the additional parameters for each file (Text Encoding, New Paragraph Mode, Prefix Length and Place File Mode).

Parameters Table

Name Type Value
Encoding Integer Specifies the code page's index that will be used for the Text Encoding. It can be obtained from this list:

Code Page Identifiers

Default value: 0

ParaMode Integer Specifies the New Paragraph Mode.

Possible values are:

0 (AutoDetect) Automatically detects paragraphs.
1 (Each2NewPara) Each new line character starts a new paragraph.
2 (Double2NewPara) Double newline character starts a new paragraph, single ones are ignored.
3 (Double2NewParaSingle2Space) Double newline character starts a new paragraph, single ones are being converted to spaces.

Default value: 0

FileMode Integer Specifies a File Placement Mode.

Possible values are:

0 (NewPara) Starts each file from a new paragraph.
1 (NewPage) Starts each file from a new page.

Default value: 0

See Also

op_textToDoc
IOpInputItem