Skip to content

Commit 5c48309

Browse files
authored
Merge pull request #1521 from antony-liu/poi/XDDF
Add support for XDDF
2 parents d4f0963 + c081e9d commit 5c48309

File tree

191 files changed

+25453
-964
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

191 files changed

+25453
-964
lines changed

OpenXmlFormats/Drawing/BaseTypes.cs

Lines changed: 315 additions & 70 deletions
Large diffs are not rendered by default.

OpenXmlFormats/Drawing/Chart/BarChart.cs

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -298,6 +298,37 @@ public CT_BarDir AddNewBarDir()
298298
this.barDirField = new CT_BarDir();
299299
return this.barDirField;
300300
}
301+
302+
public int SizeOfAxIdArray()
303+
{
304+
return axIdField.Count;
305+
}
306+
307+
public bool IsSetVaryColors()
308+
{
309+
return this.varyColorsField != null;
310+
}
311+
312+
public bool IsSetGrouping()
313+
{
314+
return this.groupingField != null;
315+
}
316+
317+
public bool IsSetGapWidth()
318+
{
319+
return this.gapWidthField != null;
320+
}
321+
322+
public CT_GapAmount AddNewGapWidth()
323+
{
324+
this.gapWidthField = new CT_GapAmount();
325+
return this.gapWidthField;
326+
}
327+
328+
public CT_UnsignedInt[] GetAxIdArray()
329+
{
330+
return [.. this.axIdField];
331+
}
301332
}
302333

303334

@@ -772,6 +803,43 @@ public CT_NumDataSource AddNewVal()
772803
this.valField = new CT_NumDataSource();
773804
return this.valField;
774805
}
806+
807+
public CT_SerTx AddNewTx()
808+
{
809+
this.tx = new CT_SerTx();
810+
return this.tx;
811+
}
812+
813+
public bool IsSetTx()
814+
{
815+
return this.txField != null;
816+
}
817+
818+
public bool IsSetDLbls()
819+
{
820+
return this.dLblsField != null;
821+
}
822+
823+
public void AddNewDLbls()
824+
{
825+
this.dLblsField = new CT_DLbls();
826+
}
827+
828+
public bool IsSetSpPr()
829+
{
830+
return this.spPrField != null;
831+
}
832+
833+
public void UnsetSpPr()
834+
{
835+
this.spPrField = null;
836+
}
837+
838+
public CT_ShapeProperties AddNewSpPr()
839+
{
840+
this.spPrField = new CT_ShapeProperties();
841+
return this.spPrField;
842+
}
775843
}
776844

777845

0 commit comments

Comments
 (0)