Класс Aspose::Pdf::Comparison::TextPdfComparer

TextPdfComparer class

Представляет класс для сравнения двух страниц PDF или PDF‑документов.

class TextPdfComparer : public System::Object

Методы

МетодОписание
static AssemblyDestinationPageText(const System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<DiffOperation>>>&)Восстанавливает изменённый текст из списка изменений.
static AssemblySourcePageText(const System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<DiffOperation>>>&)Восстанавливает оригинальный текст из списка изменений.
static CompareDocumentsPageByPage(const System::SharedPtr<Document>&, const System::SharedPtr<Document>&, const System::SharedPtr<ComparisonOptions>&)Сравнивает два документа постранично.
static CompareDocumentsPageByPage(const System::SharedPtr<Document>&, const System::SharedPtr<Document>&, const System::SharedPtr<ComparisonOptions>&, const System::String&)Сравнивает два документа постранично. Результат сохраняется в PDF‑файл.
static CompareFlatDocuments(const System::SharedPtr<Document>&, const System::SharedPtr<Document>&, const System::SharedPtr<ComparisonOptions>&)Сравнивает два документа постранично. Документы сравниваются целиком. Перед сравнением текста тексты страниц документов объединяются в один текст.
static CompareFlatDocuments(const System::SharedPtr<Document>&, const System::SharedPtr<Document>&, const System::SharedPtr<ComparisonOptions>&, const System::String&)Сравнивает два документа постранично. Результат сохраняется в PDF‑файл. Документы сравниваются целиком. Перед сравнением текста тексты страниц документов объединяются в один текст.
static ComparePages(const System::SharedPtr<Page>&, const System::SharedPtr<Page>&, const System::SharedPtr<ComparisonOptions>&)Сравнивает страницы документов.
static CreateComparisonStatistics(const System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<DiffOperation>>>&)Получает статистику сравнения.
static CreateComparisonStatistics(const System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<DiffOperation>>>>>&)Получает статистику сравнения документов.

См. также