Skip to content

Commit

Permalink
schema: remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
tbaliance committed Sep 4, 2017
1 parent 8e48ab7 commit 4004c7d
Show file tree
Hide file tree
Showing 41 changed files with 0 additions and 179 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,31 +46,26 @@ lCT_AxDataSource:
if err := d.DecodeElement(&m.Choice.MultiLvlStrRef, &el); err != nil {
return err
}
_ = m.Choice
case "numRef":
m.Choice = NewCT_AxDataSourceChoice()
if err := d.DecodeElement(&m.Choice.NumRef, &el); err != nil {
return err
}
_ = m.Choice
case "numLit":
m.Choice = NewCT_AxDataSourceChoice()
if err := d.DecodeElement(&m.Choice.NumLit, &el); err != nil {
return err
}
_ = m.Choice
case "strRef":
m.Choice = NewCT_AxDataSourceChoice()
if err := d.DecodeElement(&m.Choice.StrRef, &el); err != nil {
return err
}
_ = m.Choice
case "strLit":
m.Choice = NewCT_AxDataSourceChoice()
if err := d.DecodeElement(&m.Choice.StrLit, &el); err != nil {
return err
}
_ = m.Choice
default:
log.Printf("skipping unsupported element on CT_AxDataSource %v", el.Name)
if err := d.Skip(); err != nil {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -219,13 +219,11 @@ lCT_CatAx:
if err := d.DecodeElement(&m.Choice.Crosses, &el); err != nil {
return err
}
_ = m.Choice
case "crossesAt":
m.Choice = NewEG_AxSharedChoice()
if err := d.DecodeElement(&m.Choice.CrossesAt, &el); err != nil {
return err
}
_ = m.Choice
case "auto":
m.Auto = NewCT_Boolean()
if err := d.DecodeElement(m.Auto, &el); err != nil {
Expand Down
14 changes: 0 additions & 14 deletions schema/schemas.openxmlformats.org/drawingml/2006/chart/CT_DLbl.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,85 +60,71 @@ lCT_DLbl:
if err := d.DecodeElement(&m.Choice.Delete, &el); err != nil {
return err
}
_ = m.Choice
case "layout":
m.Choice = NewCT_DLblChoice()
if err := d.DecodeElement(&m.Choice.Layout, &el); err != nil {
return err
}
_ = m.Choice
case "tx":
m.Choice = NewCT_DLblChoice()
if err := d.DecodeElement(&m.Choice.Tx, &el); err != nil {
return err
}
_ = m.Choice
case "numFmt":
m.Choice = NewCT_DLblChoice()
if err := d.DecodeElement(&m.Choice.NumFmt, &el); err != nil {
return err
}
_ = m.Choice
case "spPr":
m.Choice = NewCT_DLblChoice()
if err := d.DecodeElement(&m.Choice.SpPr, &el); err != nil {
return err
}
_ = m.Choice
case "txPr":
m.Choice = NewCT_DLblChoice()
if err := d.DecodeElement(&m.Choice.TxPr, &el); err != nil {
return err
}
_ = m.Choice
case "dLblPos":
m.Choice = NewCT_DLblChoice()
if err := d.DecodeElement(&m.Choice.DLblPos, &el); err != nil {
return err
}
_ = m.Choice
case "showLegendKey":
m.Choice = NewCT_DLblChoice()
if err := d.DecodeElement(&m.Choice.ShowLegendKey, &el); err != nil {
return err
}
_ = m.Choice
case "showVal":
m.Choice = NewCT_DLblChoice()
if err := d.DecodeElement(&m.Choice.ShowVal, &el); err != nil {
return err
}
_ = m.Choice
case "showCatName":
m.Choice = NewCT_DLblChoice()
if err := d.DecodeElement(&m.Choice.ShowCatName, &el); err != nil {
return err
}
_ = m.Choice
case "showSerName":
m.Choice = NewCT_DLblChoice()
if err := d.DecodeElement(&m.Choice.ShowSerName, &el); err != nil {
return err
}
_ = m.Choice
case "showPercent":
m.Choice = NewCT_DLblChoice()
if err := d.DecodeElement(&m.Choice.ShowPercent, &el); err != nil {
return err
}
_ = m.Choice
case "showBubbleSize":
m.Choice = NewCT_DLblChoice()
if err := d.DecodeElement(&m.Choice.ShowBubbleSize, &el); err != nil {
return err
}
_ = m.Choice
case "separator":
m.Choice = NewCT_DLblChoice()
if err := d.DecodeElement(&m.Choice.Separator, &el); err != nil {
return err
}
_ = m.Choice
case "extLst":
m.ExtLst = NewCT_ExtensionList()
if err := d.DecodeElement(m.ExtLst, &el); err != nil {
Expand Down
14 changes: 0 additions & 14 deletions schema/schemas.openxmlformats.org/drawingml/2006/chart/CT_DLbls.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,85 +63,71 @@ lCT_DLbls:
if err := d.DecodeElement(&m.Choice.Delete, &el); err != nil {
return err
}
_ = m.Choice
case "numFmt":
m.Choice = NewCT_DLblsChoice()
if err := d.DecodeElement(&m.Choice.NumFmt, &el); err != nil {
return err
}
_ = m.Choice
case "spPr":
m.Choice = NewCT_DLblsChoice()
if err := d.DecodeElement(&m.Choice.SpPr, &el); err != nil {
return err
}
_ = m.Choice
case "txPr":
m.Choice = NewCT_DLblsChoice()
if err := d.DecodeElement(&m.Choice.TxPr, &el); err != nil {
return err
}
_ = m.Choice
case "dLblPos":
m.Choice = NewCT_DLblsChoice()
if err := d.DecodeElement(&m.Choice.DLblPos, &el); err != nil {
return err
}
_ = m.Choice
case "showLegendKey":
m.Choice = NewCT_DLblsChoice()
if err := d.DecodeElement(&m.Choice.ShowLegendKey, &el); err != nil {
return err
}
_ = m.Choice
case "showVal":
m.Choice = NewCT_DLblsChoice()
if err := d.DecodeElement(&m.Choice.ShowVal, &el); err != nil {
return err
}
_ = m.Choice
case "showCatName":
m.Choice = NewCT_DLblsChoice()
if err := d.DecodeElement(&m.Choice.ShowCatName, &el); err != nil {
return err
}
_ = m.Choice
case "showSerName":
m.Choice = NewCT_DLblsChoice()
if err := d.DecodeElement(&m.Choice.ShowSerName, &el); err != nil {
return err
}
_ = m.Choice
case "showPercent":
m.Choice = NewCT_DLblsChoice()
if err := d.DecodeElement(&m.Choice.ShowPercent, &el); err != nil {
return err
}
_ = m.Choice
case "showBubbleSize":
m.Choice = NewCT_DLblsChoice()
if err := d.DecodeElement(&m.Choice.ShowBubbleSize, &el); err != nil {
return err
}
_ = m.Choice
case "separator":
m.Choice = NewCT_DLblsChoice()
if err := d.DecodeElement(&m.Choice.Separator, &el); err != nil {
return err
}
_ = m.Choice
case "showLeaderLines":
m.Choice = NewCT_DLblsChoice()
if err := d.DecodeElement(&m.Choice.ShowLeaderLines, &el); err != nil {
return err
}
_ = m.Choice
case "leaderLines":
m.Choice = NewCT_DLblsChoice()
if err := d.DecodeElement(&m.Choice.LeaderLines, &el); err != nil {
return err
}
_ = m.Choice
case "extLst":
m.ExtLst = NewCT_ExtensionList()
if err := d.DecodeElement(m.ExtLst, &el); err != nil {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -224,13 +224,11 @@ lCT_DateAx:
if err := d.DecodeElement(&m.Choice.Crosses, &el); err != nil {
return err
}
_ = m.Choice
case "crossesAt":
m.Choice = NewEG_AxSharedChoice()
if err := d.DecodeElement(&m.Choice.CrossesAt, &el); err != nil {
return err
}
_ = m.Choice
case "auto":
m.Auto = NewCT_Boolean()
if err := d.DecodeElement(m.Auto, &el); err != nil {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,11 @@ lCT_DispUnits:
if err := d.DecodeElement(&m.Choice.CustUnit, &el); err != nil {
return err
}
_ = m.Choice
case "builtInUnit":
m.Choice = NewCT_DispUnitsChoice()
if err := d.DecodeElement(&m.Choice.BuiltInUnit, &el); err != nil {
return err
}
_ = m.Choice
case "dispUnitsLbl":
m.DispUnitsLbl = NewCT_DispUnitsLbl()
if err := d.DecodeElement(m.DispUnitsLbl, &el); err != nil {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,11 @@ lCT_LegendEntry:
if err := d.DecodeElement(&m.Choice.Delete, &el); err != nil {
return err
}
_ = m.Choice
case "txPr":
m.Choice = NewCT_LegendEntryChoice()
if err := d.DecodeElement(&m.Choice.TxPr, &el); err != nil {
return err
}
_ = m.Choice
case "extLst":
m.ExtLst = NewCT_ExtensionList()
if err := d.DecodeElement(m.ExtLst, &el); err != nil {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,11 @@ lCT_NumDataSource:
if err := d.DecodeElement(&m.Choice.NumRef, &el); err != nil {
return err
}
_ = m.Choice
case "numLit":
m.Choice = NewCT_NumDataSourceChoice()
if err := d.DecodeElement(&m.Choice.NumLit, &el); err != nil {
return err
}
_ = m.Choice
default:
log.Printf("skipping unsupported element on CT_NumDataSource %v", el.Name)
if err := d.Skip(); err != nil {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -199,13 +199,11 @@ lCT_SerAx:
if err := d.DecodeElement(&m.Choice.Crosses, &el); err != nil {
return err
}
_ = m.Choice
case "crossesAt":
m.Choice = NewEG_AxSharedChoice()
if err := d.DecodeElement(&m.Choice.CrossesAt, &el); err != nil {
return err
}
_ = m.Choice
case "tickLblSkip":
m.TickLblSkip = NewCT_Skip()
if err := d.DecodeElement(m.TickLblSkip, &el); err != nil {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,11 @@ lCT_SerTx:
if err := d.DecodeElement(&m.Choice.StrRef, &el); err != nil {
return err
}
_ = m.Choice
case "v":
m.Choice = NewCT_SerTxChoice()
if err := d.DecodeElement(&m.Choice.V, &el); err != nil {
return err
}
_ = m.Choice
default:
log.Printf("skipping unsupported element on CT_SerTx %v", el.Name)
if err := d.Skip(); err != nil {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,11 @@ lCT_Tx:
if err := d.DecodeElement(&m.Choice.StrRef, &el); err != nil {
return err
}
_ = m.Choice
case "rich":
m.Choice = NewCT_TxChoice()
if err := d.DecodeElement(&m.Choice.Rich, &el); err != nil {
return err
}
_ = m.Choice
default:
log.Printf("skipping unsupported element on CT_Tx %v", el.Name)
if err := d.Skip(); err != nil {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -209,13 +209,11 @@ lCT_ValAx:
if err := d.DecodeElement(&m.Choice.Crosses, &el); err != nil {
return err
}
_ = m.Choice
case "crossesAt":
m.Choice = NewEG_AxSharedChoice()
if err := d.DecodeElement(&m.Choice.CrossesAt, &el); err != nil {
return err
}
_ = m.Choice
case "crossBetween":
m.CrossBetween = NewCT_CrossBetween()
if err := d.DecodeElement(m.CrossBetween, &el); err != nil {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -182,13 +182,11 @@ lEG_AxShared:
if err := d.DecodeElement(&m.Choice.Crosses, &el); err != nil {
return err
}
_ = m.Choice
case "crossesAt":
m.Choice = NewEG_AxSharedChoice()
if err := d.DecodeElement(&m.Choice.CrossesAt, &el); err != nil {
return err
}
_ = m.Choice
default:
log.Printf("skipping unsupported element on EG_AxShared %v", el.Name)
if err := d.Skip(); err != nil {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,31 +66,26 @@ lCT_AbsSizeAnchor:
if err := d.DecodeElement(&m.Choice.Sp, &el); err != nil {
return err
}
_ = m.Choice
case "grpSp":
m.Choice = NewEG_ObjectChoicesChoice()
if err := d.DecodeElement(&m.Choice.GrpSp, &el); err != nil {
return err
}
_ = m.Choice
case "graphicFrame":
m.Choice = NewEG_ObjectChoicesChoice()
if err := d.DecodeElement(&m.Choice.GraphicFrame, &el); err != nil {
return err
}
_ = m.Choice
case "cxnSp":
m.Choice = NewEG_ObjectChoicesChoice()
if err := d.DecodeElement(&m.Choice.CxnSp, &el); err != nil {
return err
}
_ = m.Choice
case "pic":
m.Choice = NewEG_ObjectChoicesChoice()
if err := d.DecodeElement(&m.Choice.Pic, &el); err != nil {
return err
}
_ = m.Choice
default:
log.Printf("skipping unsupported element on CT_AbsSizeAnchor %v", el.Name)
if err := d.Skip(); err != nil {
Expand Down
Loading

0 comments on commit 4004c7d

Please sign in to comment.