Exemple #1
0
 public bool Equals(ST_Orientation other)
 {
     if (other == (ST_Orientation)null)
     {
         return(false);
     }
     return(this._ooxmlEnumerationValue == other._ooxmlEnumerationValue);
 }
Exemple #2
0
        public void SetOrientation(AxisOrientation orientation)
        {
            CT_Scaling     scaling       = GetCTScaling();
            ST_Orientation stOrientation = fromAxisOrientation(orientation);

            if (scaling.IsSetOrientation())
            {
                scaling.orientation.val = stOrientation;
            }
            else
            {
                GetCTScaling().AddNewOrientation().val = stOrientation;
            }
        }
        public void SetOrientation(AxisOrientation orientation)
        {
            CT_Scaling     ctScaling     = this.GetCTScaling();
            ST_Orientation stOrientation = XSSFChartAxis.fromAxisOrientation(orientation);

            if (ctScaling.IsSetOrientation())
            {
                ctScaling.orientation.val = stOrientation;
            }
            else
            {
                this.GetCTScaling().AddNewOrientation().val = stOrientation;
            }
        }
Exemple #4
0
 public CT_CsPageSetup()
 {
     this.paperSizeField = ((uint)(1));
     this.firstPageNumberField = ((uint)(1));
     this.orientationField = ST_Orientation.@default;
     this.usePrinterDefaultsField = true;
     this.blackAndWhiteField = false;
     this.draftField = false;
     this.useFirstPageNumberField = false;
     this.horizontalDpiField = ((uint)(600));
     this.verticalDpiField = ((uint)(600));
     this.copiesField = ((uint)(1));
 }
Exemple #5
0
 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;
 }
Exemple #6
0
 public CT_Orientation()
 {
     this.valField = ST_Orientation.minMax;
 }
Exemple #7
0
 static ST_Orientation()
 {
     ST_Orientation._default  = new ST_Orientation("default");
     ST_Orientation.portrait  = new ST_Orientation("portrait");
     ST_Orientation.landscape = new ST_Orientation("landscape");
 }
Exemple #8
0
 static ST_Orientation()
 {
     _default  = new ST_Orientation("default");
     portrait  = new ST_Orientation("portrait");
     landscape = new ST_Orientation("landscape");
 }