コード例 #1
0
 static ST_PrintError()
 {
     displayed = new ST_PrintError("displayed");
     blank     = new ST_PrintError("blank");
     dash      = new ST_PrintError("dash");
     NA        = new ST_PrintError("NA");
 }
コード例 #2
0
 public bool Equals(ST_PrintError other)
 {
     if (other == null)
     {
         return(false);
     }
     return(_ooxmlEnumerationValue == other._ooxmlEnumerationValue);
 }
コード例 #3
0
 protected override void InitAttributes()
 {
     this._paperSize_attr                = Convert.ToUInt32("1", CultureInfo.InvariantCulture);
     this._scale_attr                    = Convert.ToUInt32("100", CultureInfo.InvariantCulture);
     this._firstPageNumber_attr          = Convert.ToUInt32("1", CultureInfo.InvariantCulture);
     this._fitToWidth_attr               = Convert.ToUInt32("1", CultureInfo.InvariantCulture);
     this._fitToHeight_attr              = Convert.ToUInt32("1", CultureInfo.InvariantCulture);
     this._pageOrder_attr                = ST_PageOrder.downThenOver;
     this._orientation_attr              = ST_Orientation._default;
     this._usePrinterDefaults_attr       = OoxmlBool.OoxmlTrue;
     this._blackAndWhite_attr            = OoxmlBool.OoxmlFalse;
     this._draft_attr                    = OoxmlBool.OoxmlFalse;
     this._cellComments_attr             = ST_CellComments.none;
     this._useFirstPageNumber_attr       = OoxmlBool.OoxmlFalse;
     this._errors_attr                   = ST_PrintError.displayed;
     this._horizontalDpi_attr            = Convert.ToUInt32("600", CultureInfo.InvariantCulture);
     this._verticalDpi_attr              = Convert.ToUInt32("600", CultureInfo.InvariantCulture);
     this._copies_attr                   = Convert.ToUInt32("1", CultureInfo.InvariantCulture);
     this._paperHeight_attr_is_specified = false;
     this._paperWidth_attr_is_specified  = false;
     this._id_attr_is_specified          = false;
 }
コード例 #4
0
ファイル: Sheet.cs プロジェクト: vardars/npoi
 public CT_PageSetup()
 {
     this.paperSizeField = (uint)1;
     this.scaleField = (uint)100;
     this.firstPageNumberField = (uint)1;
     this.fitToWidthField = (uint)1;
     this.fitToHeightField = (uint)1;
     this.pageOrderField = ST_PageOrder.downThenOver;
     this.orientationField = ST_Orientation.@default;
     this.usePrinterDefaultsField = true;
     this.blackAndWhiteField = false;
     this.draftField = false;
     this.cellCommentsField = ST_CellComments.none;
     this.useFirstPageNumberField = false;
     this.errorsField = ST_PrintError.displayed;
     this.horizontalDpiField = (uint)600;
     this.verticalDpiField = (uint)600;
     this.copiesField = (uint)1;
 }