/*
 * 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
 */


/**
 * Параметры генерации плоского текста функциями GetPlaintext и GetPlaintextString
 * Параметры генерации плоского текста
 */
class GetPlaintextParam {
    
    constructor() {
        this.setPositions = false;
        this.newLine = "\r\n";
        this.tab = "\t";
        this.pageBreak = "\f";
        this.tableStart = ((String.fromCharCode(0x1E)));
        this.tableEnd = ((String.fromCharCode(0x1F)));
        this.tableCellEnd = ((String.fromCharCode(7)));
        this.tableRowEnd = ((String.fromCharCode(7)));
        this.footnotesTemplate = " (%1)";
        this.hyperlinksTemplate = null;
        this.supTemplate = "<%1>";
        this.subTemplate = "<%1>";
        this.imageTemplate = "[Картинка%1]";
        this.ignoreShapes = false;
        this.maxTextLength = 0;
        this.useInnerDocuments = true;
        this.keepIgnored = false;
        this.ignoreLevel = 0;
    }
    
    static _new2(_arg1, _arg2, _arg3) {
        let res = new GetPlaintextParam();
        res.newLine = _arg1;
        res.tab = _arg2;
        res.pageBreak = _arg3;
        return res;
    }
    
    static _new356(_arg1) {
        let res = new GetPlaintextParam();
        res.setPositions = _arg1;
        return res;
    }
    
    static _new605(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6) {
        let res = new GetPlaintextParam();
        res.setPositions = _arg1;
        res.newLine = _arg2;
        res.pageBreak = _arg3;
        res.tableStart = _arg4;
        res.tableCellEnd = _arg5;
        res.tableEnd = _arg6;
        return res;
    }
}


module.exports = GetPlaintextParam