ScroogeXHTML for Delphi  6.7
 All Classes Functions Variables Pages
TXHTML10TransitionalTranslator Class Reference

XHTML 1.0 Transitional Translator. More...

Inheritance diagram for TXHTML10TransitionalTranslator:
TXHTMLTranslator

Public Member Functions

string GetDocType ()
 
string GetDocTypeName ()
 
string GetParagraphStyle (const TParagraphProperties PP)
 Returns the HTML for a P element (paragraph). More...
 
Boolean IsTransitional ()
 
- Public Member Functions inherited from TXHTMLTranslator
string GetRootElement ()
 Returns the document root element. More...
 
string GetCloseEmptyElement ()
 Returns " />".
 
SxText FormatElement (const SxText Text, const TCharacterProperties CP)
 Returns text with formatting CSS/XHTML tags.
 
Boolean IsXml ()
 Returns True because all subclasses are XML based.
 

Detailed Description

XHTML 1.0 Transitional Translator.

Member Function Documentation

string TXHTML10TransitionalTranslator::GetParagraphStyle ( const TParagraphProperties  PP)

Returns the HTML for a P element (paragraph).

Note
XHTML 1.0 Transitional supports the 'classic' HTML parameter align="..." for left or right aligned and centered paragraphs for the P element (see: xhtml1-transitional.dtd). To be backward compatible with older HTML browsers, this parameter will be used where possible. For justified paragraphs, a CSS style parameter will be used.

References TXHTMLTranslator::FormatElement(), and TXHTMLTranslator::GetRootElement().