Aspose::Pdf::Comparison::TextPdfComparer klass

TextPdfComparer class

Representerar en klass för att jämföra två PDF-sidor eller PDF-dokument.

class TextPdfComparer : public System::Object

Metoder

MetodBeskrivning
static AssemblyDestinationPageText(const System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<DiffOperation>>>&)Återställer ändrad text från listan över förändringar.
static AssemblySourcePageText(const System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<DiffOperation>>>&)Återställer originaltexten från listan över förändringar.
static CompareDocumentsPageByPage(const System::SharedPtr<Document>&, const System::SharedPtr<Document>&, const System::SharedPtr<ComparisonOptions>&)Jämför två dokument sida för sida.
static CompareDocumentsPageByPage(const System::SharedPtr<Document>&, const System::SharedPtr<Document>&, const System::SharedPtr<ComparisonOptions>&, const System::String&)Jämför två dokument sida för sida. Resultatet sparas i en PDF‑fil.
static CompareFlatDocuments(const System::SharedPtr<Document>&, const System::SharedPtr<Document>&, const System::SharedPtr<ComparisonOptions>&)Jämför två dokument sida för sida. Dokumenten jämförs som helhet. Innan text jämförs kombineras texterna på dokumentens sidor till en enda text.
static CompareFlatDocuments(const System::SharedPtr<Document>&, const System::SharedPtr<Document>&, const System::SharedPtr<ComparisonOptions>&, const System::String&)Jämför två dokument sida för sida. Resultatet sparas i en PDF‑fil. Dokumenten jämförs som helhet. Innan text jämförs kombineras texterna på dokumentens sidor till en enda text.
static ComparePages(const System::SharedPtr<Page>&, const System::SharedPtr<Page>&, const System::SharedPtr<ComparisonOptions>&)Jämför dokumentsidor.
static CreateComparisonStatistics(const System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<DiffOperation>>>&)Hämtar jämförelsestatistik.
static CreateComparisonStatistics(const System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<DiffOperation>>>>>&)Hämtar statistik för dokumentjämförelse.

Se även