ScroogeXHTML for Object Pascal 8.5
Loading...
Searching...
No Matches
SxCustomTranslator.pas File Reference

Classes

class  TCustomTranslator
 Abstract translator class. More...
 

Functions

Integer TwipsToPix (const Integer Twips)
 

Variables

const EM_FACTOR = 12
 scales the font size conversion from point to 'em'
 
const EM_SIGNIFICANT = 2
 number of significant places for 'em' font size
 
const EX_FACTOR = 14
 scales the font size conversion from point to 'ex'
 
const EX_SIGNIFICANT = 2
 number of significant places for 'ex' font size
 
const HTML_SPECIAL_ENTITTY_AMP = "&"
 
const HTML_SPECIAL_ENTITTY_GT = ">"
 
const HTML_SPECIAL_ENTITTY_LT = "<"
 
const HTML_SPECIAL_ENTITTY_QUOT = """
 
const INDENT_RATIO = 15
 scales the left indent of a paragraph
 
const PERCENT_FACTOR = 0.12
 scales the font size conversion from point to ''
 
const PERCENT_SIGNIFICANT = 3
 number of significant places for '' font size
 

Function Documentation

◆ TwipsToPix()

Integer TwipsToPix ( const Integer Twips)

Variable Documentation

◆ EM_FACTOR

const EM_FACTOR = 12

scales the font size conversion from point to 'em'

◆ EM_SIGNIFICANT

const EM_SIGNIFICANT = 2

number of significant places for 'em' font size

◆ EX_FACTOR

const EX_FACTOR = 14

scales the font size conversion from point to 'ex'

◆ EX_SIGNIFICANT

const EX_SIGNIFICANT = 2

number of significant places for 'ex' font size

◆ HTML_SPECIAL_ENTITTY_AMP

const HTML_SPECIAL_ENTITTY_AMP = "&"

◆ HTML_SPECIAL_ENTITTY_GT

const HTML_SPECIAL_ENTITTY_GT = ">"

◆ HTML_SPECIAL_ENTITTY_LT

const HTML_SPECIAL_ENTITTY_LT = "<"

◆ HTML_SPECIAL_ENTITTY_QUOT

const HTML_SPECIAL_ENTITTY_QUOT = """

◆ INDENT_RATIO

const INDENT_RATIO = 15

scales the left indent of a paragraph

◆ PERCENT_FACTOR

const PERCENT_FACTOR = 0.12

scales the font size conversion from point to ''

◆ PERCENT_SIGNIFICANT

const PERCENT_SIGNIFICANT = 3

number of significant places for '' font size