Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

changed PresetTextWrap to PresetTextWarp #1448

Closed
wants to merge 6 commits into from
Closed
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
- `OpenXmlPart`/`OpenXmlContainer`/`OpenXmlPackage` and derived types now have internal constructors (these had internal abstract methods so most likely weren't subclassed externally)
- `OpenXmlElementList` is now a struct that implements `IEnumerable<OpenXmlElement>` and `IReadOnlyList<OpenXmlElement>` (where available)
- Individual implementations of `OpenXmlPartReader` are available now for each package type (i.e. `WordprocessingDocumentPartReader`, `SpreadsheetDocumentPartReader`, `PresentationDocumentPartReader`), and the previous `TypedOpenXmlPartReader` has been removed.
- Changed DocumentFormat.OpenXml.PresetTextWrap to DocumentFormat.OpenXml.PresetTextWarp

## [2.20.0]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2179,7 +2179,7 @@
"Children": [
{
"Name": "a:CT_PresetTextShape/a:prstTxWarp",
"PropertyName": "PresetTextWrap",
"PropertyName": "PresetTextWarp",
"PropertyComments": "Preset Text Shape"
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1878,7 +1878,7 @@
"Children": [
{
"Name": "a:CT_PresetTextShape/a:prstTxWarp",
"PropertyName": "PresetTextWrap",
"PropertyName": "PresetTextWarp",
"PropertyComments": "Preset Text Shape"
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -929,7 +929,7 @@
"Children": [
{
"Name": "a:CT_PresetTextShape/a:prstTxWarp",
"PropertyName": "PresetTextWrap",
"PropertyName": "PresetTextWarp",
"PropertyComments": "Preset Text Shape"
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5610,7 +5610,7 @@
},
{
"Name": "a:CT_PresetTextShape/a:prstTxWarp",
"ClassName": "PresetTextWrap",
"ClassName": "PresetTextWarp",
"Summary": "Preset Text Warp.",
"CompositeType": "OneSequence",
"BaseClass": "OpenXmlCompositeElement",
Expand Down Expand Up @@ -16109,7 +16109,7 @@
"Children": [
{
"Name": "a:CT_PresetTextShape/a:prstTxWarp",
"PropertyName": "PresetTextWrap",
"PropertyName": "PresetTextWarp",
"PropertyComments": "Preset Text Shape"
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1165,7 +1165,7 @@
},
{
"Name": "a:CT_PresetTextShape/a:prstTxWarp",
"ClassName": "PresetTextWrap"
"ClassName": "PresetTextWarp"
},
{
"Name": "a:CT_AdjPoint2D/a:pt",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ private static void Initialize()

// root.Category = "1.1";

// Category modality is compsed by a keywords sequence.
// Category modality is composed by a keywords sequence.
// Only operator and function name are treated as keyword in schematron.
// Single category may have mutiple modalities due to optional parameters.
// Single category may have multiple modalities due to optional parameters.
AddCategoryModality("1.1", new string[] { "@" }, -1, -1);

AddCategoryModality("1.2", new string[] { "fn:matches", "@" }, -1, -1);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,11 +85,11 @@ private static void InitializeWeightDictionary()
/// <summary>
/// Identify keyword from specified text.
/// </summary>
/// <param name="text">Source text from which this method will indentify keyword.</param>
/// <param name="text">Source text from which this method will identify keyword.</param>
/// <param name="pos">
/// Index of specified text.
/// As input, it specifies start index of idenfication.
/// As output, it specifies index of matched keyword's last character in soure text.
/// As input, it specifies start index of identification.
/// As output, it specifies index of matched keyword's last character in source text.
/// i.e. if test="A KEYWORD B", matchedKeyword="KEYWORD" then pos=8 (index of 'D' in "A KEYWORD B").
/// </param>
/// <param name="keywordCandidates">Keyword candidates.</param>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3000,7 +3000,7 @@ public static class A
/// <item><description>has the following parent XML elements: <see cref="bodyPr" />, <see cref="CS.bodyPr" />, <see cref="WPS.bodyPr" />.</description></item>
/// <item><description>has the following child XML elements: <see cref="avLst" />.</description></item>
/// <item><description>has the following XML attributes: <see cref="NoNamespace.prst" />.</description></item>
/// <item><description>corresponds to the following strongly-typed classes: PresetTextWrap.</description></item>
/// <item><description>corresponds to the following strongly-typed classes: PresetTextWarp.</description></item>
/// </list>
/// </remarks>
public static readonly XName prstTxWarp = a + "prstTxWarp";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15534,7 +15534,7 @@ public static class NoNamespace
/// <para>As an XML attribute, it:</para>
/// <list type="bullet">
/// <item><description>is contained in the following XML elements: <see cref="A.camera" />, <see cref="A.pattFill" />, <see cref="A.prstGeom" />, <see cref="A.prstShdw" />, <see cref="A.prstTxWarp" />, <see cref="P15.prstTrans" />.</description></item>
/// <item><description>corresponds to the following strongly-typed properties: Camera.Preset, PatternFill.Preset, PresetGeometry.Preset, PresetShadow.Preset, PresetTextWrap.Preset, PresetTransition.Preset.</description></item>
/// <item><description>corresponds to the following strongly-typed properties: Camera.Preset, PatternFill.Preset, PresetGeometry.Preset, PresetShadow.Preset, PresetTextWarp.Preset, PresetTransition.Preset.</description></item>
/// </list>
/// </remarks>
public static readonly XName prst = "prst";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2174,7 +2174,7 @@ public DocumentFormat.OpenXml.Drawing.Outline? Outline
/// <list type="bullet">
/// <item><description><see cref="DocumentFormat.OpenXml.Drawing.FlatText" /> <c>&lt;a:flatTx></c></description></item>
/// <item><description><see cref="DocumentFormat.OpenXml.Drawing.ExtensionList" /> <c>&lt;a:extLst></c></description></item>
/// <item><description><see cref="DocumentFormat.OpenXml.Drawing.PresetTextWrap" /> <c>&lt;a:prstTxWarp></c></description></item>
/// <item><description><see cref="DocumentFormat.OpenXml.Drawing.PresetTextWarp" /> <c>&lt;a:prstTxWarp></c></description></item>
/// <item><description><see cref="DocumentFormat.OpenXml.Drawing.Scene3DType" /> <c>&lt;a:scene3d></c></description></item>
/// <item><description><see cref="DocumentFormat.OpenXml.Drawing.Shape3DType" /> <c>&lt;a:sp3d></c></description></item>
/// <item><description><see cref="DocumentFormat.OpenXml.Drawing.NoAutoFit" /> <c>&lt;a:noAutofit></c></description></item>
Expand Down Expand Up @@ -2412,7 +2412,7 @@ internal override void ConfigureMetadata(ElementMetadata.Builder builder)
builder.Availability = FileFormatVersions.Office2013;
builder.AddChild<DocumentFormat.OpenXml.Drawing.FlatText>();
builder.AddChild<DocumentFormat.OpenXml.Drawing.ExtensionList>();
builder.AddChild<DocumentFormat.OpenXml.Drawing.PresetTextWrap>();
builder.AddChild<DocumentFormat.OpenXml.Drawing.PresetTextWarp>();
builder.AddChild<DocumentFormat.OpenXml.Drawing.Scene3DType>();
builder.AddChild<DocumentFormat.OpenXml.Drawing.Shape3DType>();
builder.AddChild<DocumentFormat.OpenXml.Drawing.NoAutoFit>();
Expand Down Expand Up @@ -2461,7 +2461,7 @@ internal override void ConfigureMetadata(ElementMetadata.Builder builder)
.AddAttribute("compatLnSpc", a => a.CompatibleLineSpacing);
builder.Particle = new CompositeParticle.Builder(ParticleType.Sequence, 1, 1)
{
new ElementParticle(typeof(DocumentFormat.OpenXml.Drawing.PresetTextWrap), 0, 1),
new ElementParticle(typeof(DocumentFormat.OpenXml.Drawing.PresetTextWarp), 0, 1),
new CompositeParticle.Builder(ParticleType.Group, 0, 1)
{
new CompositeParticle.Builder(ParticleType.Choice, 1, 1)
Expand Down Expand Up @@ -2491,9 +2491,9 @@ internal override void ConfigureMetadata(ElementMetadata.Builder builder)
/// <remark>
/// xmlns:a = http://schemas.openxmlformats.org/drawingml/2006/main
/// </remark>
public DocumentFormat.OpenXml.Drawing.PresetTextWrap? PresetTextWrap
public DocumentFormat.OpenXml.Drawing.PresetTextWarp? PresetTextWarp
{
get => GetElement<DocumentFormat.OpenXml.Drawing.PresetTextWrap>();
get => GetElement<DocumentFormat.OpenXml.Drawing.PresetTextWarp>();
set => SetElement(value);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2796,7 +2796,7 @@ public DocumentFormat.OpenXml.Drawing.SpaceAfter? SpaceAfter
/// <list type="bullet">
/// <item><description><see cref="DocumentFormat.OpenXml.Drawing.FlatText" /> <c>&lt;a:flatTx></c></description></item>
/// <item><description><see cref="DocumentFormat.OpenXml.Drawing.ExtensionList" /> <c>&lt;a:extLst></c></description></item>
/// <item><description><see cref="DocumentFormat.OpenXml.Drawing.PresetTextWrap" /> <c>&lt;a:prstTxWarp></c></description></item>
/// <item><description><see cref="DocumentFormat.OpenXml.Drawing.PresetTextWarp" /> <c>&lt;a:prstTxWarp></c></description></item>
/// <item><description><see cref="DocumentFormat.OpenXml.Drawing.Scene3DType" /> <c>&lt;a:scene3d></c></description></item>
/// <item><description><see cref="DocumentFormat.OpenXml.Drawing.Shape3DType" /> <c>&lt;a:sp3d></c></description></item>
/// <item><description><see cref="DocumentFormat.OpenXml.Drawing.NoAutoFit" /> <c>&lt;a:noAutofit></c></description></item>
Expand Down Expand Up @@ -3034,7 +3034,7 @@ internal override void ConfigureMetadata(ElementMetadata.Builder builder)
builder.Availability = FileFormatVersions.Office2016;
builder.AddChild<DocumentFormat.OpenXml.Drawing.FlatText>();
builder.AddChild<DocumentFormat.OpenXml.Drawing.ExtensionList>();
builder.AddChild<DocumentFormat.OpenXml.Drawing.PresetTextWrap>();
builder.AddChild<DocumentFormat.OpenXml.Drawing.PresetTextWarp>();
builder.AddChild<DocumentFormat.OpenXml.Drawing.Scene3DType>();
builder.AddChild<DocumentFormat.OpenXml.Drawing.Shape3DType>();
builder.AddChild<DocumentFormat.OpenXml.Drawing.NoAutoFit>();
Expand Down Expand Up @@ -3083,7 +3083,7 @@ internal override void ConfigureMetadata(ElementMetadata.Builder builder)
.AddAttribute("compatLnSpc", a => a.CompatibleLineSpacing);
builder.Particle = new CompositeParticle.Builder(ParticleType.Sequence, 1, 1)
{
new ElementParticle(typeof(DocumentFormat.OpenXml.Drawing.PresetTextWrap), 0, 1),
new ElementParticle(typeof(DocumentFormat.OpenXml.Drawing.PresetTextWarp), 0, 1),
new CompositeParticle.Builder(ParticleType.Group, 0, 1)
{
new CompositeParticle.Builder(ParticleType.Choice, 1, 1)
Expand Down Expand Up @@ -3113,9 +3113,9 @@ internal override void ConfigureMetadata(ElementMetadata.Builder builder)
/// <remark>
/// xmlns:a = http://schemas.openxmlformats.org/drawingml/2006/main
/// </remark>
public DocumentFormat.OpenXml.Drawing.PresetTextWrap? PresetTextWrap
public DocumentFormat.OpenXml.Drawing.PresetTextWarp? PresetTextWarp
{
get => GetElement<DocumentFormat.OpenXml.Drawing.PresetTextWrap>();
get => GetElement<DocumentFormat.OpenXml.Drawing.PresetTextWarp>();
set => SetElement(value);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1070,7 +1070,7 @@ public DocumentFormat.OpenXml.Office2010.Word.DrawingShape.OfficeArtExtensionLis
/// <list type="bullet">
/// <item><description><see cref="DocumentFormat.OpenXml.Drawing.FlatText" /> <c>&lt;a:flatTx></c></description></item>
/// <item><description><see cref="DocumentFormat.OpenXml.Drawing.ExtensionList" /> <c>&lt;a:extLst></c></description></item>
/// <item><description><see cref="DocumentFormat.OpenXml.Drawing.PresetTextWrap" /> <c>&lt;a:prstTxWarp></c></description></item>
/// <item><description><see cref="DocumentFormat.OpenXml.Drawing.PresetTextWarp" /> <c>&lt;a:prstTxWarp></c></description></item>
/// <item><description><see cref="DocumentFormat.OpenXml.Drawing.Scene3DType" /> <c>&lt;a:scene3d></c></description></item>
/// <item><description><see cref="DocumentFormat.OpenXml.Drawing.Shape3DType" /> <c>&lt;a:sp3d></c></description></item>
/// <item><description><see cref="DocumentFormat.OpenXml.Drawing.NoAutoFit" /> <c>&lt;a:noAutofit></c></description></item>
Expand Down Expand Up @@ -1308,7 +1308,7 @@ internal override void ConfigureMetadata(ElementMetadata.Builder builder)
builder.Availability = FileFormatVersions.Office2010;
builder.AddChild<DocumentFormat.OpenXml.Drawing.FlatText>();
builder.AddChild<DocumentFormat.OpenXml.Drawing.ExtensionList>();
builder.AddChild<DocumentFormat.OpenXml.Drawing.PresetTextWrap>();
builder.AddChild<DocumentFormat.OpenXml.Drawing.PresetTextWarp>();
builder.AddChild<DocumentFormat.OpenXml.Drawing.Scene3DType>();
builder.AddChild<DocumentFormat.OpenXml.Drawing.Shape3DType>();
builder.AddChild<DocumentFormat.OpenXml.Drawing.NoAutoFit>();
Expand Down Expand Up @@ -1357,7 +1357,7 @@ internal override void ConfigureMetadata(ElementMetadata.Builder builder)
.AddAttribute("compatLnSpc", a => a.CompatibleLineSpacing);
builder.Particle = new CompositeParticle.Builder(ParticleType.Sequence, 1, 1)
{
new ElementParticle(typeof(DocumentFormat.OpenXml.Drawing.PresetTextWrap), 0, 1),
new ElementParticle(typeof(DocumentFormat.OpenXml.Drawing.PresetTextWarp), 0, 1),
new CompositeParticle.Builder(ParticleType.Group, 0, 1)
{
new CompositeParticle.Builder(ParticleType.Choice, 1, 1)
Expand Down Expand Up @@ -1387,9 +1387,9 @@ internal override void ConfigureMetadata(ElementMetadata.Builder builder)
/// <remark>
/// xmlns:a = http://schemas.openxmlformats.org/drawingml/2006/main
/// </remark>
public DocumentFormat.OpenXml.Drawing.PresetTextWrap? PresetTextWrap
public DocumentFormat.OpenXml.Drawing.PresetTextWarp? PresetTextWarp
{
get => GetElement<DocumentFormat.OpenXml.Drawing.PresetTextWrap>();
get => GetElement<DocumentFormat.OpenXml.Drawing.PresetTextWarp>();
set => SetElement(value);
}

Expand Down
Loading