public override void WriteAttributes(TextWriter s)
 {
     base.WriteAttributes(s);
     s.Write(" w:type=\"");
     OoxmlComplexType.WriteData(s, this._type_attr);
     s.Write("\"");
 }
示例#2
0
 public override void WriteAttributes(TextWriter s)
 {
     if ((bool)(this._differentOddEven_attr != OoxmlBool.OoxmlFalse))
     {
         s.Write(" differentOddEven=\"");
         OoxmlComplexType.WriteData(s, this._differentOddEven_attr);
         s.Write("\"");
     }
     if ((bool)(this._differentFirst_attr != OoxmlBool.OoxmlFalse))
     {
         s.Write(" differentFirst=\"");
         OoxmlComplexType.WriteData(s, this._differentFirst_attr);
         s.Write("\"");
     }
     if ((bool)(this._scaleWithDoc_attr != OoxmlBool.OoxmlTrue))
     {
         s.Write(" scaleWithDoc=\"");
         OoxmlComplexType.WriteData(s, this._scaleWithDoc_attr);
         s.Write("\"");
     }
     if ((bool)(this._alignWithMargins_attr != OoxmlBool.OoxmlTrue))
     {
         s.Write(" alignWithMargins=\"");
         OoxmlComplexType.WriteData(s, this._alignWithMargins_attr);
         s.Write("\"");
     }
 }
示例#3
0
 public override void WriteAttributes(TextWriter s)
 {
     if (this._ascii_attr_is_specified)
     {
         s.Write(" w:ascii=\"");
         OoxmlComplexType.WriteData(s, this._ascii_attr);
         s.Write("\"");
     }
     if (this._hAnsi_attr_is_specified)
     {
         s.Write(" w:hAnsi=\"");
         OoxmlComplexType.WriteData(s, this._hAnsi_attr);
         s.Write("\"");
     }
     if (this._eastAsia_attr_is_specified)
     {
         s.Write(" w:eastAsia=\"");
         OoxmlComplexType.WriteData(s, this._eastAsia_attr);
         s.Write("\"");
     }
     if (this._cs_attr_is_specified)
     {
         s.Write(" w:cs=\"");
         OoxmlComplexType.WriteData(s, this._cs_attr);
         s.Write("\"");
     }
 }
示例#4
0
 public override void WriteAttributes(TextWriter s)
 {
     if ((bool)(_auto_attr != OoxmlBool.OoxmlFalse))
     {
         s.Write(" auto=\"");
         OoxmlComplexType.WriteData(s, _auto_attr);
         s.Write("\"");
     }
     if (_tint_attr != Convert.ToDouble("0.0", CultureInfo.InvariantCulture))
     {
         s.Write(" tint=\"");
         OoxmlComplexType.WriteData(s, _tint_attr);
         s.Write("\"");
     }
     if (_indexed_attr_is_specified)
     {
         s.Write(" indexed=\"");
         OoxmlComplexType.WriteData(s, _indexed_attr);
         s.Write("\"");
     }
     if (_rgb_attr_is_specified)
     {
         s.Write(" rgb=\"");
         OoxmlComplexType.WriteData(s, _rgb_attr);
         s.Write("\"");
     }
     if (_theme_attr_is_specified)
     {
         s.Write(" theme=\"");
         OoxmlComplexType.WriteData(s, _theme_attr);
         s.Write("\"");
     }
 }
示例#5
0
 public void Write_v(TextWriter s, int depth, Dictionary <string, string> namespaces)
 {
     if (this._v != null)
     {
         OoxmlComplexType.WriteRawTag(s, depth, namespaces, "v", "http://schemas.openxmlformats.org/spreadsheetml/2006/main", this._v);
     }
 }
示例#6
0
 public override void WriteCloseTag(TextWriter s, string tagName, int depth, Dictionary <string, string> namespaces)
 {
     s.Write("</");
     OoxmlComplexType.WriteXmlPrefix(s, namespaces, "http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes");
     s.Write(tagName);
     s.Write(">");
 }
示例#7
0
 public void Write_i2(TextWriter s, int depth, Dictionary <string, string> namespaces)
 {
     if (this._choice_0 == ChoiceBucket_0.i2)
     {
         OoxmlComplexType.WriteRawTag(s, depth, namespaces, "i2", "http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes", this._i2);
     }
 }
 public override void WriteCloseTag(TextWriter s, string tagName, int depth, Dictionary <string, string> namespaces)
 {
     s.Write("</");
     OoxmlComplexType.WriteXmlPrefix(s, namespaces, "http://schemas.openxmlformats.org/spreadsheetml/2006/main");
     s.Write(tagName);
     s.Write(">");
 }
 public override void WriteAttributes(TextWriter s)
 {
     if (_appName_attr_is_specified)
     {
         s.Write(" appName=\"");
         OoxmlComplexType.WriteData(s, _appName_attr);
         s.Write("\"");
     }
     if (_lastEdited_attr_is_specified)
     {
         s.Write(" lastEdited=\"");
         OoxmlComplexType.WriteData(s, _lastEdited_attr);
         s.Write("\"");
     }
     if (_lowestEdited_attr_is_specified)
     {
         s.Write(" lowestEdited=\"");
         OoxmlComplexType.WriteData(s, _lowestEdited_attr);
         s.Write("\"");
     }
     if (_rupBuild_attr_is_specified)
     {
         s.Write(" rupBuild=\"");
         OoxmlComplexType.WriteData(s, _rupBuild_attr);
         s.Write("\"");
     }
     if (_codeName_attr_is_specified)
     {
         s.Write(" codeName=\"");
         OoxmlComplexType.WriteData(s, _codeName_attr);
         s.Write("\"");
     }
 }
 public override void WriteAttributes(TextWriter s)
 {
     if ((bool)(_preferRelativeResize_attr != OoxmlBool.OoxmlTrue))
     {
         s.Write(" preferRelativeResize=\"");
         OoxmlComplexType.WriteData(s, _preferRelativeResize_attr);
         s.Write("\"");
     }
 }
示例#11
0
 public override void WriteAttributes(TextWriter s)
 {
     s.Write(" id=\"");
     OoxmlComplexType.WriteData(s, _id_attr);
     s.Write("\"");
     s.Write(" name=\"");
     OoxmlComplexType.WriteData(s, _name_attr);
     s.Write("\"");
 }
 public override void WriteAttributes(TextWriter s)
 {
     if (_patternType_attr_is_specified)
     {
         s.Write(" patternType=\"");
         OoxmlComplexType.WriteData(s, _patternType_attr);
         s.Write("\"");
     }
 }
示例#13
0
 public override void WriteAttributes(TextWriter s)
 {
     s.Write(" numFmtId=\"");
     OoxmlComplexType.WriteData(s, _numFmtId_attr);
     s.Write("\"");
     s.Write(" formatCode=\"");
     OoxmlComplexType.WriteData(s, _formatCode_attr);
     s.Write("\"");
 }
示例#14
0
 public override void WriteAttributes(TextWriter s)
 {
     s.Write(" baseType=\"");
     OoxmlComplexType.WriteData(s, _baseType_attr);
     s.Write("\"");
     s.Write(" size=\"");
     OoxmlComplexType.WriteData(s, _size_attr);
     s.Write("\"");
 }
示例#15
0
 public override void WriteAttributes(TextWriter s)
 {
     s.Write(" cx=\"");
     OoxmlComplexType.WriteData(s, this._cx_attr);
     s.Write("\"");
     s.Write(" cy=\"");
     OoxmlComplexType.WriteData(s, this._cy_attr);
     s.Write("\"");
 }
 public override void WriteAttributes(TextWriter s)
 {
     if (_horizontal_attr_is_specified)
     {
         s.Write(" horizontal=\"");
         OoxmlComplexType.WriteData(s, _horizontal_attr);
         s.Write("\"");
     }
     if (_vertical_attr_is_specified)
     {
         s.Write(" vertical=\"");
         OoxmlComplexType.WriteData(s, _vertical_attr);
         s.Write("\"");
     }
     if (_textRotation_attr_is_specified)
     {
         s.Write(" textRotation=\"");
         OoxmlComplexType.WriteData(s, _textRotation_attr);
         s.Write("\"");
     }
     if (_wrapText_attr_is_specified)
     {
         s.Write(" wrapText=\"");
         OoxmlComplexType.WriteData(s, _wrapText_attr);
         s.Write("\"");
     }
     if (_indent_attr_is_specified)
     {
         s.Write(" indent=\"");
         OoxmlComplexType.WriteData(s, _indent_attr);
         s.Write("\"");
     }
     if (_relativeIndent_attr_is_specified)
     {
         s.Write(" relativeIndent=\"");
         OoxmlComplexType.WriteData(s, _relativeIndent_attr);
         s.Write("\"");
     }
     if (_justifyLastLine_attr_is_specified)
     {
         s.Write(" justifyLastLine=\"");
         OoxmlComplexType.WriteData(s, _justifyLastLine_attr);
         s.Write("\"");
     }
     if (_shrinkToFit_attr_is_specified)
     {
         s.Write(" shrinkToFit=\"");
         OoxmlComplexType.WriteData(s, _shrinkToFit_attr);
         s.Write("\"");
     }
     if (_readingOrder_attr_is_specified)
     {
         s.Write(" readingOrder=\"");
         OoxmlComplexType.WriteData(s, _readingOrder_attr);
         s.Write("\"");
     }
 }
示例#17
0
 public override void WriteAttributes(TextWriter s)
 {
     if ((bool)(this._val_attr != OoxmlBool.OoxmlTrue))
     {
         s.Write(" val=\"");
         OoxmlComplexType.WriteData(s, this._val_attr);
         s.Write("\"");
     }
 }
 public override void WriteAttributes(TextWriter s)
 {
     if ((bool)(this._syncHorizontal_attr != OoxmlBool.OoxmlFalse))
     {
         s.Write(" syncHorizontal=\"");
         OoxmlComplexType.WriteData(s, this._syncHorizontal_attr);
         s.Write("\"");
     }
     if ((bool)(this._syncVertical_attr != OoxmlBool.OoxmlFalse))
     {
         s.Write(" syncVertical=\"");
         OoxmlComplexType.WriteData(s, this._syncVertical_attr);
         s.Write("\"");
     }
     if ((bool)(this._transitionEvaluation_attr != OoxmlBool.OoxmlFalse))
     {
         s.Write(" transitionEvaluation=\"");
         OoxmlComplexType.WriteData(s, this._transitionEvaluation_attr);
         s.Write("\"");
     }
     if ((bool)(this._transitionEntry_attr != OoxmlBool.OoxmlFalse))
     {
         s.Write(" transitionEntry=\"");
         OoxmlComplexType.WriteData(s, this._transitionEntry_attr);
         s.Write("\"");
     }
     if ((bool)(this._published_attr != OoxmlBool.OoxmlTrue))
     {
         s.Write(" published=\"");
         OoxmlComplexType.WriteData(s, this._published_attr);
         s.Write("\"");
     }
     if ((bool)(this._filterMode_attr != OoxmlBool.OoxmlFalse))
     {
         s.Write(" filterMode=\"");
         OoxmlComplexType.WriteData(s, this._filterMode_attr);
         s.Write("\"");
     }
     if ((bool)(this._enableFormatConditionsCalculation_attr != OoxmlBool.OoxmlTrue))
     {
         s.Write(" enableFormatConditionsCalculation=\"");
         OoxmlComplexType.WriteData(s, this._enableFormatConditionsCalculation_attr);
         s.Write("\"");
     }
     if (this._syncRef_attr_is_specified)
     {
         s.Write(" syncRef=\"");
         OoxmlComplexType.WriteData(s, this._syncRef_attr);
         s.Write("\"");
     }
     if (this._codeName_attr_is_specified)
     {
         s.Write(" codeName=\"");
         OoxmlComplexType.WriteData(s, this._codeName_attr);
         s.Write("\"");
     }
 }
示例#19
0
 public override void WriteAttributes(TextWriter s)
 {
     if (!_val_attr)
     {
         s.Write(" w:val=\"");
         OoxmlComplexType.WriteData(s, _val_attr);
         s.Write("\"");
     }
 }
示例#20
0
 public override void WriteAttributes(TextWriter s)
 {
     if (_style_attr != ST_BorderStyle.none)
     {
         s.Write(" style=\"");
         OoxmlComplexType.WriteData(s, _style_attr);
         s.Write("\"");
     }
 }
示例#21
0
 public override void WriteAttributes(TextWriter s)
 {
     if (__default_attr_is_specified)
     {
         s.Write(" w:default=\"");
         OoxmlComplexType.WriteData(s, __default_attr);
         s.Write("\"");
     }
 }
示例#22
0
 public override void WriteAttributes(TextWriter s)
 {
     s.Write(" w:w=\"");
     OoxmlComplexType.WriteData(s, _w_attr);
     s.Write("\"");
     s.Write(" w:type=\"");
     OoxmlComplexType.WriteData(s, _type_attr);
     s.Write("\"");
 }
示例#23
0
 public override void WriteAttributes(TextWriter s)
 {
     if (this._count_attr_is_specified)
     {
         s.Write(" count=\"");
         OoxmlComplexType.WriteData(s, this._count_attr);
         s.Write("\"");
     }
 }
示例#24
0
 public override void WriteAttributes(TextWriter s)
 {
     s.Write(" x=\"");
     OoxmlComplexType.WriteData(s, _x_attr);
     s.Write("\"");
     s.Write(" y=\"");
     OoxmlComplexType.WriteData(s, _y_attr);
     s.Write("\"");
 }
 public override void WriteAttributes(TextWriter s)
 {
     if (this._editAs_attr != ST_EditAs.twoCell)
     {
         s.Write(" editAs=\"");
         OoxmlComplexType.WriteData(s, this._editAs_attr);
         s.Write("\"");
     }
 }
示例#26
0
 public override void WriteAttributes(TextWriter s)
 {
     s.Write(" min=\"");
     OoxmlComplexType.WriteData(s, this._min_attr);
     s.Write("\"");
     s.Write(" max=\"");
     OoxmlComplexType.WriteData(s, this._max_attr);
     s.Write("\"");
     if (this._style_attr != Convert.ToUInt32("0", CultureInfo.InvariantCulture))
     {
         s.Write(" style=\"");
         OoxmlComplexType.WriteData(s, this._style_attr);
         s.Write("\"");
     }
     if ((bool)(this._hidden_attr != OoxmlBool.OoxmlFalse))
     {
         s.Write(" hidden=\"");
         OoxmlComplexType.WriteData(s, this._hidden_attr);
         s.Write("\"");
     }
     if ((bool)(this._bestFit_attr != OoxmlBool.OoxmlFalse))
     {
         s.Write(" bestFit=\"");
         OoxmlComplexType.WriteData(s, this._bestFit_attr);
         s.Write("\"");
     }
     if ((bool)(this._customWidth_attr != OoxmlBool.OoxmlFalse))
     {
         s.Write(" customWidth=\"");
         OoxmlComplexType.WriteData(s, this._customWidth_attr);
         s.Write("\"");
     }
     if ((bool)(this._phonetic_attr != OoxmlBool.OoxmlFalse))
     {
         s.Write(" phonetic=\"");
         OoxmlComplexType.WriteData(s, this._phonetic_attr);
         s.Write("\"");
     }
     if (this._outlineLevel_attr != Convert.ToByte("0", CultureInfo.InvariantCulture))
     {
         s.Write(" outlineLevel=\"");
         OoxmlComplexType.WriteData(s, this._outlineLevel_attr);
         s.Write("\"");
     }
     if ((bool)(this._collapsed_attr != OoxmlBool.OoxmlFalse))
     {
         s.Write(" collapsed=\"");
         OoxmlComplexType.WriteData(s, this._collapsed_attr);
         s.Write("\"");
     }
     if (this._width_attr_is_specified)
     {
         s.Write(" width=\"");
         OoxmlComplexType.WriteData(s, this._width_attr);
         s.Write("\"");
     }
 }
 public override void WriteAttributes(TextWriter s)
 {
     if (this._val_attr != ST_UnderlineValues.single)
     {
         s.Write(" val=\"");
         OoxmlComplexType.WriteData(s, this._val_attr);
         s.Write("\"");
     }
 }
示例#28
0
 public override void WriteAttributes(TextWriter s)
 {
     s.Write(" w:val=\"");
     OoxmlComplexType.WriteData(s, this._val_attr);
     s.Write("\"");
     s.Write(" w:hRule=\"");
     OoxmlComplexType.WriteData(s, this._hRule_attr);
     s.Write("\"");
 }
 public override void WriteAttributes(TextWriter s)
 {
     s.Write(" defaultRowHeight=\"");
     OoxmlComplexType.WriteData(s, _defaultRowHeight_attr);
     s.Write("\"");
     if (_baseColWidth_attr != Convert.ToUInt32("8", CultureInfo.InvariantCulture))
     {
         s.Write(" baseColWidth=\"");
         OoxmlComplexType.WriteData(s, _baseColWidth_attr);
         s.Write("\"");
     }
     if ((bool)(_customHeight_attr != OoxmlBool.OoxmlFalse))
     {
         s.Write(" customHeight=\"");
         OoxmlComplexType.WriteData(s, _customHeight_attr);
         s.Write("\"");
     }
     if ((bool)(_zeroHeight_attr != OoxmlBool.OoxmlFalse))
     {
         s.Write(" zeroHeight=\"");
         OoxmlComplexType.WriteData(s, _zeroHeight_attr);
         s.Write("\"");
     }
     if ((bool)(_thickTop_attr != OoxmlBool.OoxmlFalse))
     {
         s.Write(" thickTop=\"");
         OoxmlComplexType.WriteData(s, _thickTop_attr);
         s.Write("\"");
     }
     if ((bool)(_thickBottom_attr != OoxmlBool.OoxmlFalse))
     {
         s.Write(" thickBottom=\"");
         OoxmlComplexType.WriteData(s, _thickBottom_attr);
         s.Write("\"");
     }
     if (_outlineLevelRow_attr != Convert.ToByte("0", CultureInfo.InvariantCulture))
     {
         s.Write(" outlineLevelRow=\"");
         OoxmlComplexType.WriteData(s, _outlineLevelRow_attr);
         s.Write("\"");
     }
     if (_outlineLevelCol_attr != Convert.ToByte("0", CultureInfo.InvariantCulture))
     {
         s.Write(" outlineLevelCol=\"");
         OoxmlComplexType.WriteData(s, _outlineLevelCol_attr);
         s.Write("\"");
     }
     if (_defaultColWidth_attr_is_specified)
     {
         s.Write(" defaultColWidth=\"");
         OoxmlComplexType.WriteData(s, _defaultColWidth_attr);
         s.Write("\"");
     }
 }
示例#30
0
 public override void WriteAttributes(TextWriter s)
 {
     s.Write(" w:rsidRPr=\"");
     OoxmlComplexType.WriteData(s, _rsidRPr_attr);
     s.Write("\"");
     s.Write(" w:rsidDel=\"");
     OoxmlComplexType.WriteData(s, _rsidDel_attr);
     s.Write("\"");
     s.Write(" w:rsidR=\"");
     OoxmlComplexType.WriteData(s, _rsidR_attr);
     s.Write("\"");
 }