Text format - HTML
Keyword is <TF>.
| Supported tags by FoxyPreviewer | ||||
|---|---|---|---|---|
| Start tag | End tag | Notice | ||
| Bold | <b> |
| ||
| Italic | <i> | </i> | ||
| Underline | <u> | </u> | ||
| StrikeThru | <s> | </s> | ||
| Color | <color=> | </color> |
| rgba(), hsla(), cmyka() was add in XFRX 24.0 |
<c=> | </c> | | ||
| Back Color | <highlight=> | </highlight> |
| |
<h=> | </h> | | ||
| Font Name | <fontname=""> | </fontname> | ||
<fname=""> | </fname> | |||
Font Size | <fontsize=> | </fontsize> | | |
<fsize=> | </fsize> | | ||
| Fonty style | <fontstyle=""> | </fontstyle> |
| |
<fstyle=""> | </fstyle> | |||
| CRLF | <br> | |||
| Extended tags and attributes by XFRX | |||||
| Start tag | End tag | Notice | CSS attributes | XFRX Version | |
|---|---|---|---|---|---|
| Bold | <strong> |
| 17.3.1 | ||
| Italic | <em> |
| 17.3.1 | ||
| Superscript | <sup> | </sup> | |||
| Subscript | <sub> | </sub> | |||
| Paragraph | <p> | </p> | <p style=""></p> | text-align; | |
| Span | <span> | </span> | <span style=""></span> | background-color; | |
| Rectangle | <rectangle> | </rectangle> | <rectangle style=""></rectangle> | float; | |
| Image | <img> | </img> | <img>field</img> | float; | |
| Horizontal line | <hr> | </hr> | | float; | |
| Vertical line | <vr> | </vr> | | float; margin; border-width; border-style; height; position; left; right; wrap-image; wrap-side; | |
| Quote | <quote> | </quote> | <quote></quote> | text-align; margin; padding; border-width; border-style; background-color; tab-stops; curvature; text-indent; direction; charset; tab-size; color; font-name; font-size; font-style; font-weight; text-decoration; line-height; | |
| Code | <code> | <code> | | text-align; | |
| Preformated text | <pre> | </pre> | | text-align; | |
| Ordered list | <ol> | </ol> | <ol style=""> | list-style-type; | |
| Unorder list | <ul> | </ul> |
| list-style-image; font-style; font-weight; text-decoration; | |
| | <list style=""> | list-style-image; | ||
| Item list | <li> | | | list-style-image; | |
| VFP Expression | <vfpev> | </vfpev> | <vfpev>DTOC(DATE())+" "+TIME()</vfpev> | ||
| VFP Expression with conversion format | <vfpev pictureformat="" xlsf=""> | </vfpev> | <vfpev pictureformat="99.99" xlsf="#0.00">10</vfpev> | ||
Hyperlink | <a href=""> | </a> | <a href="static address"></a> | ||
<a name=""> | </a> | <a name="#static name"></a> | |||
| Tabelator | <tab/> | | <tab/> | ||
| <tab=X/> | X count of tabelators | |||
| Code page | fontcharset=""> | </fcp> | <fcp=42></fcp> | ||
| Options block | <options> | </options> |
Attribute mode was added in version 21.0. | ||
| Table | <table> | </table> |
|
| |
Header | <h1> | </h1> | | font-name; | 19.0.0 |
<h2> | </h2> | ||||
<h3> | </h3> | ||||
<h4> | </h4> | ||||
<h5> | </h5> | ||||
<h6> | </h6> | ||||
| Conditional style | stylefor="" | | 19.1.0 | ||
| Condition for element | for="logical_expression" | <table> | 19.1.0 | ||
Expand row by source alias | template="alias_expression" | | <table> | | |
| | ||||
| |||||
| Expand elements by source alias | <data:template> | </data:template> |
| 19.1.0 | |
| CSS attributes | ||
| Name | Values | Notice |
|---|---|---|
| left | size | percent | 10pt or 12px or 1cm 10% |
| top | size | percent | 10pt or 12px or 1cm 10% |
| width | size | percent | 10pt or 12px or 1cm 10% |
| height | size | percent | 10pt or 12px or 1cm 10% |
| right | size | percent | 10pt or 12px or 1cm 10% |
| position | static | relative | absolute | relative-paragraph | |
| stretch | clip | isometric | stretch | |
| curvature | number | without units |
| float | left | right | center | text-top-bottom | text-rectangle | For values left | right can be position only static. |
| wrap-image | text-top-bottom | text-rectangle | Attribute added in XFRX 17.2.0. |
| wrap-side | both | left | right | Attribute added in XFRX 17.2.0. |
list-style-type | decimal | | Values none, circle, disc, square, diamond, custom added in XFRX 21.0 |
| list-style-bullet | #dec #xhex | Attribute added in XFRX 21.0.0. Applied for list-style-type:custom |
list-style-image | url('') | url('filename.png') 'expression' |
| list-style-position | outside | outside-right | | Attribute added in XFRX 21.0.0. Values outside and inside are from CSS. *left - align bullet to left |
| list-style-bullet-postfix | space | none | tab | Attribute added in XFRX 21.0.0. space - add space after bullet (default value) |
| charset | windows-1250 | windows-1252 | windows-1251 | which knows VFP windows-42 is for symbol font |
| direction | ltr | rtl | |
| font-name | "Arial" | "Symbols" etc. | |
| font-size | size | 10pt or 12px or 1cm |
| tab-size | size | 10pt or 12px or 1cm |
| tab-stops | left size center size right size | left 1in center 1in right 1in; |
| text-align | left | center | right | block | justify | |
| text-indent | size | 10pt or 12px or 1cm |
| font-style | normal | italic | inherit | |
| font-weight | normal | bold | inherit | |
| text-decoration | normal | underline | line-through | inherit | |
| background-color | R,G,B | #HEX | "WEB Color Name" | | rgba(), hsla(), cmyka() was add in XFRX 24.0 |
| color | R,G,B | #HEX | "WEB Color Name" | rgb(r,g,b) | hsl(h,s,l) | cmyk(c,m,y,k) | rgba(r,g,b,a) | hsla(h,s,l,a) | cmyka(c,m,y,k,a) | rgba(), hsla(), cmyka() was add in XFRX 24.0 |
| line-height | size | number | percent | 10pt or 12px or 1cm 2.5 is coficient for paragraph font-size 250% is coficient for paragraph font-size |
| margin | A A B A B C A B C D | top-right-bottom-left top-bottom, right-left top, right-left, bottom top, right, bottom left |
| margin-top | size | |
| margin-right | size | percent | |
| margin-bottom | size | |
| margin-left | size | percent | |
| padding | A A B A B C A B C D | top-right-bottom-left top-bottom, right-left top, right-left, bottom top, right, bottom left |
| padding-top | size | |
| padding-right | size | percent | |
| padding-bottom | size | |
| padding-left | size | percent | |
| border-width | size | medium | thin | thick | medium, thin, thick was add in XFRX 21.1 |
| border-style | none | dotted | dashed | dashdot | dashdotdot | solid | |
| units | px | pt | in | cm | mm | pc | % | rem | em | ex | vw | vh | vmin | vmax | tw | % (only for width, height, left, top, right, margin, padding, font-size, line-height) Unit vh is meaningful for fixed height of textbox in report.
|