Aspose::Pdf::Comparison::HtmlDiffOutputGenerator klass

HtmlDiffOutputGenerator class

Representerar en klass för att generera HTML‑representation av textskillnader. Borttagna radbrytningar indikeras med ett styckemärke.

class HtmlDiffOutputGenerator : public Aspose::Pdf::Comparison::IStringOutputGenerator,
                                public Aspose::Pdf::Comparison::IFileOutputGenerator

Metoder

MetodBeskrivning
GenerateOutput(System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<DiffOperation>>>) overrideGenererar utdata baserat på skillnaderna mellan texter och sparar den till en fil.
GenerateOutput(System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<DiffOperation>>>, System::String) overrideGenererar utdata baserat på skillnaderna mellan texter och sparar den till en fil.
GenerateOutput(System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<DiffOperation>>>>>) overrideGenererar utdata baserat på skillnaderna mellan texter och sparar den till en fil.
GenerateOutput(System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<DiffOperation>>>>>, System::String) overrideGenererar utdata baserat på skillnaderna mellan texter och sparar den till en fil.
get_DeleteStyle() constHämtar och anger CSS‑stilssträngen för Delete‑operationen. Exempel: color: #003300; background-color: #ccff66;
get_EqualStyle() constHämtar och anger CSS‑stilssträngen för Equal‑operationen. Exempel: color: #003300; background-color: #ccff66;
get_InsertStyle() constHämtar och anger CSS‑stilssträngen för Insert‑operationen. Exempel: color: #003300; background-color: #ccff66;
get_StrikethroughDeleted() constHämta eller ange text-decoration: line-through‑stil för delete‑operationen. Standardvärdet är False.
HtmlDiffOutputGenerator()Skapar en instans av klassen HtmlDiffOutputGenerator.
HtmlDiffOutputGenerator(const System::SharedPtr<OutputTextStyle>&)Skapar en instans av klassen HtmlDiffOutputGenerator.
set_DeleteStyle(const System::String&)Hämtar och anger CSS‑stilssträngen för Delete‑operationen. Exempel: color: #003300; background-color: #ccff66;
set_EqualStyle(const System::String&)Hämtar och anger CSS‑stilssträngen för Equal‑operationen. Exempel: color: #003300; background-color: #ccff66;
set_InsertStyle(const System::String&)Hämtar och anger CSS‑stilssträngen för Insert‑operationen. Exempel: color: #003300; background-color: #ccff66;
set_StrikethroughDeleted(bool)Hämta eller ange text-decoration: line-through‑stil för delete‑operationen. Standardvärdet är False.

Se även