Versions Compared
compared with
Key
- This line was added.
- This line was removed.
- Formatting was changed.
Child pages (Children Display) |
---|
Table of Contents |
---|
Supported engines | ||||
---|---|---|---|---|
Name | Keyword | Description | XFRX version | Examples |
pseudo HTML | <TF> | Equal to <TF> from FoxyPreviewer | 17.1 | TF-UNI.pdf, tf-uni_flow.rtf, TF-UNI.png, TF-UNI-09.pdf, TF-UNI-11.pdf, TF-UNI-28.pdf |
BB code | <BB> | See to http://www.bbcode.org/reference.php | 17.1 | BB-UNI.pdf, bb-uni_flow.rtf, BB-UNI.png |
rtf | <RTF> | Equal to <RTF> from FRX2Any | - |
Default settings - general
Parametr name | Description | Value |
---|---|---|
TF_DEFAULTTABSIZE | Default tabelator size. | "1in" |
Default settings - quote
Parametr name | Description | Value |
---|---|---|
TF_QUOTE_MARGIN | Margin for quote. | "10px" |
TF_QUOTE_BACKCOLOR | Background color for quote. | "RGB(192,192,192)" |
TF_QUOTE_POSTFIX | Author's postfix fro quote. | " wrote: " |
Default settings - list
Parametr name | Description | Value |
---|---|---|
TF_LIST_MARGIN | Margin for list. | "10px" |
TF_LIST_TABSIZE | Default tabelator for list. | "15px" |
TF_LIST_ITEM_CHAR | Char for unorder item. | CHR(168) |
TF_LIST_ITEM_FONTNAME | Font name for unorder item. | "Symbol" |
TF_LIST_ITEM_OL_FORMAT | Order item format. | "lower roman" |
Default settings - Table
Parametr name | Description | Value |
---|---|---|
TF_TABLE_MARGIN | Margin for table. | "10px" |
TF_TABLE_PADDING | Cell padding. | "2px" |
TF_TABLE_BORDERSTYLE | Border style. | "solid" |
TF_TABLE_BORDERCOLOR | Border color. | "RGB(0,0,0)" |
TF_TABLE_BORDERWIDTH | Table border width. | "1px" |
TF_TABLE_BACKGROUNDCOLOR | Table background color. | "RGB(192,192,192)" |
TF_TABLE_THBACKGROUNDCOLOR | Table head bacgroud color | "rgb(255,255,192)" |
TF_TABLE_ALIGN | Table/column align. | "left" |
TF_TABLE_TRBACKGROUNDCOLOR_EVEN | Even row background color. | "RGB(0,255,255)" |
TF_TABLE_TRBACKGROUNDCOLOR_ODD | Odd row background color. | "RGB(128,255,191)" |
Code Block | ||
---|---|---|
| ||
m.loSession.setOtherParams( "TF_DEFAULTTABSIZE", "1in") m.loSession.setOtherParams( "TF_QUOTE_MARGIN", "10px") m.loSession.setOtherParams( "TF_QUOTE_BACKCOLOR", "RGB(192,192,192)") m.loSession.setOtherParams( "TF_QUOTE_POSTFIX", " wrote: ") m.loSession.setOtherParams( "TF_LIST_MARGIN", "10px",0) && default value for all levels m.loSession.setOtherParams( "TF_LIST_MARGIN", "10px",3) && value for third level m.loSession.setOtherParams( "TF_LIST_TABSIZE", "15px") m.loSession.setOtherParams( "TF_LIST_ITEM_CHAR", "CHR(168)") m.loSession.setOtherParams( "TF_LIST_ITEM_FONTNAME", "1in") m.loSession.setOtherParams( "TF_LIST_ITEM_OL_FORMAT", "lower roman") && se to list-style-type CSS attribute m.loSession.setOtherParams( "TF_TABLE_MARGIN", "2px") && default value for all levels m.loSession.setOtherParams( "TF_TABLE_PADDING", "3px") m.loSession.setOtherParams( "TF_TABLE_BORDERSTYLE", "solid") m.loSession.setOtherParams( "TF_TABLE_BORDERCOLOR", "rgb(0,0,0)") m.loSession.setOtherParams( "TF_TABLE_BORDERWIDTH", "1px") m.loSession.setOtherParams( "TF_TABLE_BACKGROUNDCOLOR", "rgb(205,205,205)") m.loSession.setOtherParams( "TF_TABLE_BACKGROUNDCOLOR", "rgb(205,205,205)",0,3) && default value for all levels and third column m.loSession.setOtherParams( "TF_TABLE_THBACKGROUNDCOLOR", "rgb(255,255,192)") m.loSession.setOtherParams( "TF_TABLE_ALIGN", "left") && default value for all levels m.loSession.setOtherParams( "TF_TABLE_ALIGN", "right",0,3) && default value for all levels and third column m.loSession.setOtherParams( "TF_TABLE_TRBACKGROUNDCOLOR_EVEN", "RGB(0,255,255)") && default value for all levels m.loSession.setOtherParams( "TF_TABLE_TRBACKGROUNDCOLOR_ODD", "RGB(128,255,191)") && default value for all levels m.loSession.setOtherParams( "TF_TABLE_PADDING", "3px",2) && default value for second level m.loSession.setOtherParams( "TF_TABLE_BACKGROUNDCOLOR", "rgb(215,215,215)",0) && default value for second level |
How to use textformat with XFRX#LISTENER
Using texformat with report listener is simply, but is require set value 2 to properties CallEvaluateContents and CallAdjustObjectSizeVFP 9.0 SP1
In VFP 9.0 with SP1 textformat doesn't support "Stretch with overflow". Textformat can be rendered to textbox with static height only.
VFP 9.0 SP2
In VFP 9.0 with SP2 textformat can be rendered to textbox with dynamic height or static height. For textbox with dynamic height is need set CallEvaluateContents property.
Code Block |
---|
loSession=EVALUATE([XFRX("XFRX#LISTENER")])
loSession.CallEvaluateContents=2
loSession.CallAdjustObjectSize=2 |