forked from unidoc/unioffice
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
schema: rename presentationml to pml
- Loading branch information
Showing
356 changed files
with
1,407 additions
and
1,408 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ | |
// appearing in the file LICENSE included in the packaging of this file. A | ||
// commercial license can be purchased by contacting [email protected]. | ||
|
||
package presentationml | ||
package pml | ||
|
||
import ( | ||
"encoding/xml" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,28 +7,28 @@ | |
// appearing in the file LICENSE included in the packaging of this file. A | ||
// commercial license can be purchased by contacting [email protected]. | ||
|
||
package presentationml_test | ||
package pml_test | ||
|
||
import ( | ||
"encoding/xml" | ||
"testing" | ||
|
||
"baliance.com/gooxml/schema/soo/presentationml" | ||
"baliance.com/gooxml/schema/soo/pml" | ||
) | ||
|
||
func TestAG_ChildSlideConstructor(t *testing.T) { | ||
v := presentationml.NewAG_ChildSlide() | ||
v := pml.NewAG_ChildSlide() | ||
if v == nil { | ||
t.Errorf("presentationml.NewAG_ChildSlide must return a non-nil value") | ||
t.Errorf("pml.NewAG_ChildSlide must return a non-nil value") | ||
} | ||
if err := v.Validate(); err != nil { | ||
t.Errorf("newly constructed presentationml.AG_ChildSlide should validate: %s", err) | ||
t.Errorf("newly constructed pml.AG_ChildSlide should validate: %s", err) | ||
} | ||
} | ||
|
||
func TestAG_ChildSlideMarshalUnmarshal(t *testing.T) { | ||
v := presentationml.NewAG_ChildSlide() | ||
v := pml.NewAG_ChildSlide() | ||
buf, _ := xml.Marshal(v) | ||
v2 := presentationml.NewAG_ChildSlide() | ||
v2 := pml.NewAG_ChildSlide() | ||
xml.Unmarshal(buf, v2) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ | |
// appearing in the file LICENSE included in the packaging of this file. A | ||
// commercial license can be purchased by contacting [email protected]. | ||
|
||
package presentationml | ||
package pml | ||
|
||
import ( | ||
"encoding/xml" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,28 +7,28 @@ | |
// appearing in the file LICENSE included in the packaging of this file. A | ||
// commercial license can be purchased by contacting [email protected]. | ||
|
||
package presentationml_test | ||
package pml_test | ||
|
||
import ( | ||
"encoding/xml" | ||
"testing" | ||
|
||
"baliance.com/gooxml/schema/soo/presentationml" | ||
"baliance.com/gooxml/schema/soo/pml" | ||
) | ||
|
||
func TestAG_OleConstructor(t *testing.T) { | ||
v := presentationml.NewAG_Ole() | ||
v := pml.NewAG_Ole() | ||
if v == nil { | ||
t.Errorf("presentationml.NewAG_Ole must return a non-nil value") | ||
t.Errorf("pml.NewAG_Ole must return a non-nil value") | ||
} | ||
if err := v.Validate(); err != nil { | ||
t.Errorf("newly constructed presentationml.AG_Ole should validate: %s", err) | ||
t.Errorf("newly constructed pml.AG_Ole should validate: %s", err) | ||
} | ||
} | ||
|
||
func TestAG_OleMarshalUnmarshal(t *testing.T) { | ||
v := presentationml.NewAG_Ole() | ||
v := pml.NewAG_Ole() | ||
buf, _ := xml.Marshal(v) | ||
v2 := presentationml.NewAG_Ole() | ||
v2 := pml.NewAG_Ole() | ||
xml.Unmarshal(buf, v2) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ | |
// appearing in the file LICENSE included in the packaging of this file. A | ||
// commercial license can be purchased by contacting [email protected]. | ||
|
||
package presentationml | ||
package pml | ||
|
||
import ( | ||
"encoding/xml" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,28 +7,28 @@ | |
// appearing in the file LICENSE included in the packaging of this file. A | ||
// commercial license can be purchased by contacting [email protected]. | ||
|
||
package presentationml_test | ||
package pml_test | ||
|
||
import ( | ||
"encoding/xml" | ||
"testing" | ||
|
||
"baliance.com/gooxml/schema/soo/presentationml" | ||
"baliance.com/gooxml/schema/soo/pml" | ||
) | ||
|
||
func TestAG_TLBuildConstructor(t *testing.T) { | ||
v := presentationml.NewAG_TLBuild() | ||
v := pml.NewAG_TLBuild() | ||
if v == nil { | ||
t.Errorf("presentationml.NewAG_TLBuild must return a non-nil value") | ||
t.Errorf("pml.NewAG_TLBuild must return a non-nil value") | ||
} | ||
if err := v.Validate(); err != nil { | ||
t.Errorf("newly constructed presentationml.AG_TLBuild should validate: %s", err) | ||
t.Errorf("newly constructed pml.AG_TLBuild should validate: %s", err) | ||
} | ||
} | ||
|
||
func TestAG_TLBuildMarshalUnmarshal(t *testing.T) { | ||
v := presentationml.NewAG_TLBuild() | ||
v := pml.NewAG_TLBuild() | ||
buf, _ := xml.Marshal(v) | ||
v2 := presentationml.NewAG_TLBuild() | ||
v2 := pml.NewAG_TLBuild() | ||
xml.Unmarshal(buf, v2) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ | |
// appearing in the file LICENSE included in the packaging of this file. A | ||
// commercial license can be purchased by contacting [email protected]. | ||
|
||
package presentationml | ||
package pml | ||
|
||
import ( | ||
"encoding/xml" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,28 +7,28 @@ | |
// appearing in the file LICENSE included in the packaging of this file. A | ||
// commercial license can be purchased by contacting [email protected]. | ||
|
||
package presentationml_test | ||
package pml_test | ||
|
||
import ( | ||
"encoding/xml" | ||
"testing" | ||
|
||
"baliance.com/gooxml/schema/soo/presentationml" | ||
"baliance.com/gooxml/schema/soo/pml" | ||
) | ||
|
||
func TestCT_ApplicationNonVisualDrawingPropsConstructor(t *testing.T) { | ||
v := presentationml.NewCT_ApplicationNonVisualDrawingProps() | ||
v := pml.NewCT_ApplicationNonVisualDrawingProps() | ||
if v == nil { | ||
t.Errorf("presentationml.NewCT_ApplicationNonVisualDrawingProps must return a non-nil value") | ||
t.Errorf("pml.NewCT_ApplicationNonVisualDrawingProps must return a non-nil value") | ||
} | ||
if err := v.Validate(); err != nil { | ||
t.Errorf("newly constructed presentationml.CT_ApplicationNonVisualDrawingProps should validate: %s", err) | ||
t.Errorf("newly constructed pml.CT_ApplicationNonVisualDrawingProps should validate: %s", err) | ||
} | ||
} | ||
|
||
func TestCT_ApplicationNonVisualDrawingPropsMarshalUnmarshal(t *testing.T) { | ||
v := presentationml.NewCT_ApplicationNonVisualDrawingProps() | ||
v := pml.NewCT_ApplicationNonVisualDrawingProps() | ||
buf, _ := xml.Marshal(v) | ||
v2 := presentationml.NewCT_ApplicationNonVisualDrawingProps() | ||
v2 := pml.NewCT_ApplicationNonVisualDrawingProps() | ||
xml.Unmarshal(buf, v2) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ | |
// appearing in the file LICENSE included in the packaging of this file. A | ||
// commercial license can be purchased by contacting [email protected]. | ||
|
||
package presentationml | ||
package pml | ||
|
||
import ( | ||
"encoding/xml" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ | |
// appearing in the file LICENSE included in the packaging of this file. A | ||
// commercial license can be purchased by contacting [email protected]. | ||
|
||
package presentationml | ||
package pml | ||
|
||
import ( | ||
"encoding/xml" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,28 +7,28 @@ | |
// appearing in the file LICENSE included in the packaging of this file. A | ||
// commercial license can be purchased by contacting [email protected]. | ||
|
||
package presentationml_test | ||
package pml_test | ||
|
||
import ( | ||
"encoding/xml" | ||
"testing" | ||
|
||
"baliance.com/gooxml/schema/soo/presentationml" | ||
"baliance.com/gooxml/schema/soo/pml" | ||
) | ||
|
||
func TestCT_BackgroundPropertiesConstructor(t *testing.T) { | ||
v := presentationml.NewCT_BackgroundProperties() | ||
v := pml.NewCT_BackgroundProperties() | ||
if v == nil { | ||
t.Errorf("presentationml.NewCT_BackgroundProperties must return a non-nil value") | ||
t.Errorf("pml.NewCT_BackgroundProperties must return a non-nil value") | ||
} | ||
if err := v.Validate(); err != nil { | ||
t.Errorf("newly constructed presentationml.CT_BackgroundProperties should validate: %s", err) | ||
t.Errorf("newly constructed pml.CT_BackgroundProperties should validate: %s", err) | ||
} | ||
} | ||
|
||
func TestCT_BackgroundPropertiesMarshalUnmarshal(t *testing.T) { | ||
v := presentationml.NewCT_BackgroundProperties() | ||
v := pml.NewCT_BackgroundProperties() | ||
buf, _ := xml.Marshal(v) | ||
v2 := presentationml.NewCT_BackgroundProperties() | ||
v2 := pml.NewCT_BackgroundProperties() | ||
xml.Unmarshal(buf, v2) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,28 +7,28 @@ | |
// appearing in the file LICENSE included in the packaging of this file. A | ||
// commercial license can be purchased by contacting [email protected]. | ||
|
||
package presentationml_test | ||
package pml_test | ||
|
||
import ( | ||
"encoding/xml" | ||
"testing" | ||
|
||
"baliance.com/gooxml/schema/soo/presentationml" | ||
"baliance.com/gooxml/schema/soo/pml" | ||
) | ||
|
||
func TestCT_BackgroundConstructor(t *testing.T) { | ||
v := presentationml.NewCT_Background() | ||
v := pml.NewCT_Background() | ||
if v == nil { | ||
t.Errorf("presentationml.NewCT_Background must return a non-nil value") | ||
t.Errorf("pml.NewCT_Background must return a non-nil value") | ||
} | ||
if err := v.Validate(); err != nil { | ||
t.Errorf("newly constructed presentationml.CT_Background should validate: %s", err) | ||
t.Errorf("newly constructed pml.CT_Background should validate: %s", err) | ||
} | ||
} | ||
|
||
func TestCT_BackgroundMarshalUnmarshal(t *testing.T) { | ||
v := presentationml.NewCT_Background() | ||
v := pml.NewCT_Background() | ||
buf, _ := xml.Marshal(v) | ||
v2 := presentationml.NewCT_Background() | ||
v2 := pml.NewCT_Background() | ||
xml.Unmarshal(buf, v2) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ | |
// appearing in the file LICENSE included in the packaging of this file. A | ||
// commercial license can be purchased by contacting [email protected]. | ||
|
||
package presentationml | ||
package pml | ||
|
||
import ( | ||
"encoding/xml" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,28 +7,28 @@ | |
// appearing in the file LICENSE included in the packaging of this file. A | ||
// commercial license can be purchased by contacting [email protected]. | ||
|
||
package presentationml_test | ||
package pml_test | ||
|
||
import ( | ||
"encoding/xml" | ||
"testing" | ||
|
||
"baliance.com/gooxml/schema/soo/presentationml" | ||
"baliance.com/gooxml/schema/soo/pml" | ||
) | ||
|
||
func TestCT_BuildListConstructor(t *testing.T) { | ||
v := presentationml.NewCT_BuildList() | ||
v := pml.NewCT_BuildList() | ||
if v == nil { | ||
t.Errorf("presentationml.NewCT_BuildList must return a non-nil value") | ||
t.Errorf("pml.NewCT_BuildList must return a non-nil value") | ||
} | ||
if err := v.Validate(); err != nil { | ||
t.Errorf("newly constructed presentationml.CT_BuildList should validate: %s", err) | ||
t.Errorf("newly constructed pml.CT_BuildList should validate: %s", err) | ||
} | ||
} | ||
|
||
func TestCT_BuildListMarshalUnmarshal(t *testing.T) { | ||
v := presentationml.NewCT_BuildList() | ||
v := pml.NewCT_BuildList() | ||
buf, _ := xml.Marshal(v) | ||
v2 := presentationml.NewCT_BuildList() | ||
v2 := pml.NewCT_BuildList() | ||
xml.Unmarshal(buf, v2) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ | |
// appearing in the file LICENSE included in the packaging of this file. A | ||
// commercial license can be purchased by contacting [email protected]. | ||
|
||
package presentationml | ||
package pml | ||
|
||
import ( | ||
"encoding/xml" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ | |
// appearing in the file LICENSE included in the packaging of this file. A | ||
// commercial license can be purchased by contacting [email protected]. | ||
|
||
package presentationml | ||
package pml | ||
|
||
import ( | ||
"encoding/xml" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ | |
// appearing in the file LICENSE included in the packaging of this file. A | ||
// commercial license can be purchased by contacting [email protected]. | ||
|
||
package presentationml | ||
package pml | ||
|
||
import ( | ||
"encoding/xml" | ||
|
Oops, something went wrong.