C# Class PdfRpt.Core.Helper.HtmlToPdf.RtlElementsCollector

XMLWorker does not support RTL by default. so we need to collect the parsed elements first and then wrap them with a RTL table.
Inheritance: IElementHandler
Afficher le fichier Open project: VahidN/PdfReport Class Usage Examples

Méthodes publiques

Méthode Description
Add ( IWritable htmlElement ) : void

Intercepting the XMLWorker's parser and collecting its interpreted pdf elements.

RtlElementsCollector ( ) : iTextSharp.text

XMLWorker does not support RTL by default. so we need to collect the parsed elements first and then wrap them with a RTL table.

Private Methods

Méthode Description
addElement ( IElement divChildElement ) : void
fixNestedTablesRunDirection ( IElement element ) : void

It's necessary to fix the RTL of the final PdfPTables.

Method Details

Add() public méthode

Intercepting the XMLWorker's parser and collecting its interpreted pdf elements.
public Add ( IWritable htmlElement ) : void
htmlElement IWritable
Résultat void

RtlElementsCollector() public méthode

XMLWorker does not support RTL by default. so we need to collect the parsed elements first and then wrap them with a RTL table.
public RtlElementsCollector ( ) : iTextSharp.text
Résultat iTextSharp.text