|
| 1 | +--- |
| 2 | +title: Comparer class |
| 3 | +linktitle: Comparer class |
| 4 | +articleTitle: Comparer class |
| 5 | +second_title: Aspose.Words for Python |
| 6 | +description: "aspose.words.lowcode.Comparer class. Provides methods intended to compare documents." |
| 7 | +type: docs |
| 8 | +weight: 10 |
| 9 | +url: /python-net/aspose.words.lowcode/comparer/ |
| 10 | +--- |
| 11 | + |
| 12 | +## Comparer class |
| 13 | + |
| 14 | +Provides methods intended to compare documents. |
| 15 | + |
| 16 | + |
| 17 | +**Inheritance:** [Comparer](./) → [Processor](../processor/) |
| 18 | + |
| 19 | +### Methods |
| 20 | + |
| 21 | +| Name | Description | |
| 22 | +| --- | --- | |
| 23 | +|[ compare(v1, v2, output_file_name, author, date_time)](./compare/#str_str_str_str_datetime) | Compares two documents with additional options and saves the differences to the specified output file, producing changes as a number of edit and format revisions. | |
| 24 | +|[ compare(v1, v2, output_file_name, author, date_time, compare_options)](./compare/#str_str_str_str_datetime_compareoptions) | Compares two documents with additional options and saves the differences to the specified output file, producing changes as a number of edit and format revisions. | |
| 25 | +|[ compare(v1, v2, output_file_name, save_format, author, date_time)](./compare/#str_str_str_saveformat_str_datetime) | Compares two documents with additional options and saves the differences to the specified output file in the provided save format, producing changes as a number of edit and format revisions. | |
| 26 | +|[ compare(v1, v2, output_file_name, save_format, author, date_time, compare_options)](./compare/#str_str_str_saveformat_str_datetime_compareoptions) | Compares two documents with additional options and saves the differences to the specified output file in the provided save format, producing changes as a number of edit and format revisions. | |
| 27 | +|[ compare(v1, v2, output_file_name, save_options, author, date_time)](./compare/#str_str_str_saveoptions_str_datetime) | Compares two documents with additional options and saves the differences to the specified output file in the provided save format, producing changes as a number of edit and format revisions. | |
| 28 | +|[ compare(v1, v2, output_file_name, save_options, author, date_time, compare_options)](./compare/#str_str_str_saveoptions_str_datetime_compareoptions) | Compares two documents with additional options and saves the differences to the specified output file in the provided save format, producing changes as a number of edit and format revisions. | |
| 29 | +|[ compare(v1, v2, output_stream, save_format, author, date_time)](./compare/#bytesio_bytesio_bytesio_saveformat_str_datetime) | Compares two documents loaded from streams with additional options and saves the differences to the provided output stream in the specified save format, producing changes as a number of edit and format revisions. | |
| 30 | +|[ compare(v1, v2, output_stream, save_format, author, date_time, compare_options)](./compare/#bytesio_bytesio_bytesio_saveformat_str_datetime_compareoptions) | Compares two documents loaded from streams with additional options and saves the differences to the provided output stream in the specified save format, producing changes as a number of edit and format revisions. | |
| 31 | +|[ compare(v1, v2, output_stream, save_options, author, date_time)](./compare/#bytesio_bytesio_bytesio_saveoptions_str_datetime) | Compares two documents loaded from streams with additional options and saves the differences to the provided output stream in the specified save format, producing changes as a number of edit and format revisions. | |
| 32 | +|[ compare(v1, v2, output_stream, save_options, author, date_time, compare_options)](./compare/#bytesio_bytesio_bytesio_saveoptions_str_datetime_compareoptions) | Compares two documents loaded from streams with additional options and saves the differences to the provided output stream in the specified save format, producing changes as a number of edit and format revisions. | |
| 33 | +|[ compare_to_images(v1, v2, image_save_options, author, date_time)](./compare_to_images/#str_str_imagesaveoptions_str_datetime) | Compares two documents and saves the differences as images. Each item in the returned array represents a single page of the output rendered as an image. | |
| 34 | +|[ compare_to_images(v1, v2, image_save_options, author, date_time, compare_options)](./compare_to_images/#str_str_imagesaveoptions_str_datetime_compareoptions) | Compares two documents and saves the differences as images. Each item in the returned array represents a single page of the output rendered as an image. | |
| 35 | +|[ compare_to_images(v1, v2, image_save_options, author, date_time)](./compare_to_images/#bytesio_bytesio_imagesaveoptions_str_datetime) | Compares two documents and saves the differences as images. Each item in the returned array represents a single page of the output rendered as an image. | |
| 36 | +|[ compare_to_images(v1, v2, image_save_options, author, date_time, compare_options)](./compare_to_images/#bytesio_bytesio_imagesaveoptions_str_datetime_compareoptions) | Compares two documents and saves the differences as images. Each item in the returned array represents a single page of the output rendered as an image. | |
| 37 | +|[ create()](./create/#default) | Creates new instance of the converter processor. | |
| 38 | +|[ create(context)](./create/#comparercontext) | Creates new instance of the comparer processor. | |
| 39 | +|[ execute()](../processor/execute/#default) | Execute the processor action.<br>(Inherited from [Processor](../processor/)) | |
| 40 | +|[ from_file(input)](../processor/from_file/#str) | Specifies input document for processing.<br>(Inherited from [Processor](../processor/)) | |
| 41 | +|[ from_file(input, load_options)](../processor/from_file/#str_loadoptions) | Specifies input document for processing.<br>(Inherited from [Processor](../processor/)) | |
| 42 | +|[ from_stream(input)](../processor/from_stream/#bytesio) | Specifies input document for processing.<br>(Inherited from [Processor](../processor/)) | |
| 43 | +|[ from_stream(input, load_options)](../processor/from_stream/#bytesio_loadoptions) | Specifies input document for processing.<br>(Inherited from [Processor](../processor/)) | |
| 44 | +|[ to_file(output)](../processor/to_file/#str) | Specifies output file for the processor.<br>(Inherited from [Processor](../processor/)) | |
| 45 | +|[ to_file(output, save_options)](../processor/to_file/#str_saveoptions) | Specifies output file for the processor.<br>(Inherited from [Processor](../processor/)) | |
| 46 | +|[ to_file(output, save_format)](../processor/to_file/#str_saveformat) | Specifies output file for the processor.<br>(Inherited from [Processor](../processor/)) | |
| 47 | +|[ to_stream(output, save_options)](../processor/to_stream/#bytesio_saveoptions) | Specifies output stream for the processor.<br>(Inherited from [Processor](../processor/)) | |
| 48 | +|[ to_stream(output, save_format)](../processor/to_stream/#bytesio_saveformat) | Specifies output stream for the processor.<br>(Inherited from [Processor](../processor/)) | |
| 49 | +|[ to_streams(output, save_options)](../processor/to_streams/#unknown_saveoptions) | <br>(Inherited from [Processor](../processor/)) | |
| 50 | +|[ to_streams(output, save_format)](../processor/to_streams/#unknown_saveformat) | <br>(Inherited from [Processor](../processor/)) | |
| 51 | + |
| 52 | +### See Also |
| 53 | + |
| 54 | +* module [aspose.words.lowcode](../) |
| 55 | +* class [Processor](../processor/) |
| 56 | + |
0 commit comments