Сравнение версий

Ключ

  • Эта строка добавлена.
  • Эта строка удалена.
  • Изменено форматирование.

...

Output parameters

NameDescription
Документ с отличиями

Путь до файла, в который записан первый документ с отмеченными правками, полученных при сравнении со вторым документом. Название файла берется из параметра "Имя файла".

Расширение нового файла зависит от расширения поданных документов:

  • Если в "Документ 1" и "Документ 2" указаны файлы расширения docx, то создастся файл расширения docx

  • Если в "Документ 1" и "Документ 2" указаны файлы расширения xlsx, то создастся файл расширения xlsx

  • Если в "Документ 1" и "Документ 2" указаны файлы других допустимых расширений, то создастся файл расширения html

  • Если в "Документ 1" и "Документ 2" указаны файлы расширений docx/xlsx версии 2003, то создастся файл расширения html"

Document with differences

The path to the file where the first document with the marked edits obtained by comparing it with the second document is written. The name of the file is taken from the "File name" parameter.

The extension of the new file depends on the extension of the submitted documents:

  • If "Document 1" and "Document 2" specify .docx extension files, a .docx extension file will be created
  • If "Document 1" and "Document 2" have .xlsx extension files, then a .xlsx extension file will be created
  • If "Document 1" and "Document 2" contain files with other valid extensions, the .html extension file will be created.
  • If "Document 1" and "Document 2" contain .docx/.xlsx extension files of version 2003, the .html extension file will be created
Differences

Table. The first column is the beginning of the text range to which the difference applies. The second column is the end of the range. The third column is the description of the difference.

Example

Отличия

Таблица. Первый столбец - начало диапазона текста, к которому относится отличие. Второй столбец - конец диапазона. Третий столбец - описание отличия.

Пример: 

5869
Сноску
Footnote 1
пункта
of paragraph 2
исключить
delete.
123250
Сноску
Footnote 1
исключить
delete.

...

Settings

  • "Имя файла" - имя для нового файла, в который будет записан Документ 1 с отмеченными правками. В названии недопустимы следующие символы   \/:* ?"<>| +
  • "Перезаписать" - логический параметр. Если значение «true», и в указанной папке существует файл с таким же именем, то новый файл его перезапишет. Если «false», документ перезаписан не будет и действие вернет ошибку.
  • "Тайм-аут, мс" - предельное время ожидания результата сравнения. Измеряется в миллисекундах. Может быть любым числом. Минус в отрицательных числах будет игнорироваться. Тайма-аут начинает отсчет с момента работы библиотеки Preferentum.

...




5869Сноску 1 пункта 2 исключить.
123250Сноску 1 исключить.

Настройки

Свойство

Описание

Тип

Пример заполнения

Обязательность заполнения поля

Параметры

Document 1

Path to the file of the first document to be compared. Acceptable formats: doc, docx, xls, xlsx, csv, ppt, pptx, txt, rtf, pdf, html, odf, odt, ods, wps, wpd, xml. The format must match the file from the "Document 2" field.

File path

file1.doc

Yes

Document 2

Path to the file of the second document to be compared. Acceptable formats: doc, docx, xls, xlsx, csv, ppt, pptx, txt, rtf, pdf, html, odf, odt, ods, wps, wpd, xml. The format must match the file from the "Document 1" field.

File path

file2.doc

Yes
Folder pathPath to the folder where a new file will be created containing the first document with the marked differences found when comparing the documents.

Folder path

C:\Users\admin\DesktopYes
File nameThe name of the file (without extension) where the first document with marked differences that were found when comparing documents will be written.StringtestYes
OverwriteIf the value is "true" and a file with the same name and extension exists in the specified folder, the new file will overwrite it. If "false", the file will not be overwritten and the action will return an error.BooleanДаNo
Timeout, msLimit time to wait for the comparison result. It is specified in milliseconds.Numeric10000No
Результаты

...