1
0
mirror of https://github.com/fumiama/go-docx.git synced 2026-06-08 01:00:25 +08:00

feat: add shade effect

This commit is contained in:
源文雨
2023-02-26 15:01:17 +08:00
parent 592c7b5d13
commit 0e18f8a163
11 changed files with 154 additions and 80 deletions

View File

@@ -236,10 +236,7 @@ func (r *WPExtent) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error {
}
// Consume the end element
_, err = d.Token()
if err != nil {
return err
}
return nil
return err
}
// WPEffectExtent represents the effect extent of a drawing in a Word document.
@@ -280,10 +277,7 @@ func (r *WPEffectExtent) UnmarshalXML(d *xml.Decoder, start xml.StartElement) er
}
// Consume the end element
_, err = d.Token()
if err != nil {
return err
}
return nil
return err
}
// WPDocPr represents the document properties of a drawing in a Word document.
@@ -312,10 +306,7 @@ func (r *WPDocPr) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error {
}
// Consume the end element
_, err := d.Token()
if err != nil {
return err
}
return nil
return err
}
// WPCNvGraphicFramePr represents the non-visual properties of a graphic frame.