Ejemplo n.º 1
0
 /// <summary>
 /// Constructor.
 /// </summary>
 /// <param name="wordVersion">Set to enWordVersion.Word2003 for an XLS file. Set to enWordVersion.Word2007 for an XLSX file.</param>
 /// <param name="outputFilename">Full path to the output file.</param>
 public WordFileOutputProcessor(enWordVersion wordVersion, string outputFilename)
 {
     _wordVersion    = wordVersion;
     _outputFileName = outputFilename;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Constructor.
 /// </summary>
 /// <param name="wordVersion">Set to enWordVersion.Word2003 for an XLS file. Set to enWordVersion.Word2007 for an XLSX file.</param>
 /// <param name="outputFilename">Full path to the output file.</param>
 /// <param name="replaceExistingFile">True to overwrite existing file with same name. Otherwise, set to false to throw an error if file with same name already exists.</param>
 public WordFileOutputProcessor(enWordVersion wordVersion, string outputFilename, bool replaceExistingFile)
 {
     _wordVersion         = wordVersion;
     _outputFileName      = outputFilename;
     _replaceExistingFile = replaceExistingFile;
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Constructor.
 /// </summary>
 /// <param name="wordVersion">Set to enWordVersion.Word2003 for an XLS file. Set to enWordVersion.Word2007 for an XLSX file.</param>
 public WordFileOutputProcessor(enWordVersion wordVersion)
 {
     _wordVersion = wordVersion;
 }