/*
 * SDK Pullenti Unitext, version 4.33, fabruary 2026. Copyright (c) 2013-2026, Pullenti. All rights reserved. 
 * Non-Commercial Freeware and Commercial Software. 
 * This class is generated using the converter UniSharping (www.unisharping.ru) from Pullenti C# project. 
 * The latest version of the code is available on the site www.pullenti.ru
 */


/**
 * Параметры корректировки (оптимизации) представления в параметрах создания CreateDocumentParam.CorrextParams.
 * Параметры корректировки документа
 */
class CorrectDocumentParam {
    
    constructor() {
        this.removePageBreakNumeration = true;
        this.removeFalseNewLines = true;
        this.restoreTextFootnotes = true;
        this.restoreTables = true;
        this.removeEmptyTables = true;
        this.concatTables = true;
        this.replaceNbspBySpace = true;
        this.optimizeStructure = true;
        this.transformListsToContainers = false;
    }
    
    get chooseAll() {
        return (((this.removePageBreakNumeration & this.removeFalseNewLines & this.restoreTextFootnotes) & this.restoreTables & this.replaceNbspBySpace) & this.optimizeStructure & this.removeEmptyTables) & this.concatTables;
    }
    set chooseAll(value) {
        this.removePageBreakNumeration = value;
        this.removeFalseNewLines = value;
        this.restoreTextFootnotes = value;
        this.restoreTables = value;
        this.replaceNbspBySpace = value;
        this.optimizeStructure = value;
        this.removeEmptyTables = value;
        this.concatTables = value;
        return value;
    }
}


module.exports = CorrectDocumentParam