C# Класс 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.
Наследование: IElementHandler
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
addElement ( IElement divChildElement ) : void
fixNestedTablesRunDirection ( IElement element ) : void

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

Описание методов

Add() публичный Метод

Intercepting the XMLWorker's parser and collecting its interpreted pdf elements.
public Add ( IWritable htmlElement ) : void
htmlElement IWritable
Результат void

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.
public RtlElementsCollector ( ) : iTextSharp.text
Результат iTextSharp.text