Newer
Older
ClosedXML / ClosedXML / Excel / SaveOptions.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ClosedXML.Excel
{
    public sealed class SaveOptions
    {
        public SaveOptions()
        {
#if DEBUG
            this.ValidatePackage = true;
#else
            this.ValidatePackage = false;
#endif

            this.EvaluateFormulasBeforeSaving = false;
            this.GenerateCalculationChain = true;
        }
        public Boolean ValidatePackage;
        public Boolean EvaluateFormulasBeforeSaving;
        public Boolean GenerateCalculationChain;
    }
}