Метод Aspose::Pdf::Comparison::TextPdfComparer::CompareFlatDocuments
Содержание
[
Скрывать
]TextPdfComparer::CompareFlatDocuments(const System::SharedPtr<Document>&, const System::SharedPtr<Document>&, const System::SharedPtr<ComparisonOptions>&) method
Сравнивает два документа постранично. Документы сравниваются целиком. Перед сравнением текста тексты страниц документов объединяются в один текст.
static System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<DiffOperation>>> Aspose::Pdf::Comparison::TextPdfComparer::CompareFlatDocuments(const System::SharedPtr<Document> &document1, const System::SharedPtr<Document> &document2, const System::SharedPtr<ComparisonOptions> &options)
| Параметр | Тип | Описание |
|---|---|---|
| document1 | const System::SharedPtr<Document>& | Первый документ. |
| document2 | const System::SharedPtr<Document>& | Второй документ. |
| options | const System::SharedPtr<ComparisonOptions>& | Сравнение параметры. |
ReturnValue
Список изменений.
См. также
- Typedef SharedPtr
- Class List
- Class DiffOperation
- Class Document
- Class ComparisonOptions
- Class TextPdfComparer
- Namespace Aspose::Pdf::Comparison
- Library Aspose.PDF for C++
TextPdfComparer::CompareFlatDocuments(const System::SharedPtr<Document>&, const System::SharedPtr<Document>&, const System::SharedPtr<ComparisonOptions>&, const System::String&) method
Сравнивает два документа постранично. Результат сохраняется в PDF‑файл. Документы сравниваются целиком. Перед сравнением текста тексты страниц документов объединяются в один текст.
static System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<DiffOperation>>> Aspose::Pdf::Comparison::TextPdfComparer::CompareFlatDocuments(const System::SharedPtr<Document> &document1, const System::SharedPtr<Document> &document2, const System::SharedPtr<ComparisonOptions> &options, const System::String &resultPdfDocumentPath)
| Параметр | Тип | Описание |
|---|---|---|
| document1 | const System::SharedPtr<Document>& | Первый документ. |
| document2 | const System::SharedPtr<Document>& | Второй документ. |
| options | const System::SharedPtr<ComparisonOptions>& | Сравнение параметры. |
| resultPdfDocumentPath | const System::String& | Путь к PDF‑файлу для сохранения результатов сравнения. |
ReturnValue
Список изменений.
См. также
- Typedef SharedPtr
- Class List
- Class DiffOperation
- Class Document
- Class ComparisonOptions
- Class String
- Class TextPdfComparer
- Namespace Aspose::Pdf::Comparison
- Library Aspose.PDF for C++