Skip to content

Commit 2bc905c

Browse files
committed
V2.2.0 Released
1 parent 9c431af commit 2bc905c

File tree

137 files changed

+536
-432
lines changed

Some content is hidden

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

137 files changed

+536
-432
lines changed

Xceed.Document.NET/AssemblyVersionInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
33
DocX – DocX is the community edition of Xceed Words for .NET
44
5-
Copyright (C) 2009-2020 Xceed Software Inc.
5+
Copyright (C) 2009-2022 Xceed Software Inc.
66
77
This program is provided to you under the terms of the XCEED SOFTWARE, INC.
88
COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at
@@ -21,7 +21,7 @@ COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at
2121
internal static class _XceedVersionInfo
2222
{
2323
[System.Diagnostics.CodeAnalysis.SuppressMessage( "Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields" )]
24-
public const string BaseVersion = "2.1";
24+
public const string BaseVersion = "2.2";
2525
[System.Diagnostics.CodeAnalysis.SuppressMessage( "Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields" )]
2626
public const string Version = BaseVersion +
2727
".0.0";

Xceed.Document.NET/AssemblyVersionInfoCommon.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
33
DocX – DocX is the community edition of Xceed Words for .NET
44
5-
Copyright (C) 2009-2020 Xceed Software Inc.
5+
Copyright (C) 2009-2022 Xceed Software Inc.
66
77
This program is provided to you under the terms of the XCEED SOFTWARE, INC.
88
COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at

Xceed.Document.NET/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
33
DocX – DocX is the community edition of Xceed Words for .NET
44
5-
Copyright (C) 2009-2020 Xceed Software Inc.
5+
Copyright (C) 2009-2022 Xceed Software Inc.
66
77
This program is provided to you under the terms of the XCEED SOFTWARE, INC.
88
COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at
@@ -26,7 +26,7 @@ COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at
2626

2727
[assembly: AssemblyCompany( "Xceed Software Inc." )]
2828
[assembly: AssemblyProduct( "Xceed Document for .NET" )]
29-
[assembly: AssemblyCopyright( "Copyright (C) Xceed Software Inc. 2009-2021" )]
29+
[assembly: AssemblyCopyright( "Copyright (C) Xceed Software Inc. 2009-2022" )]
3030
[assembly: AssemblyCulture("")]
3131

3232

Xceed.Document.NET/Src/Bookmark.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
33
DocX – DocX is the community edition of Xceed Words for .NET
44
5-
Copyright (C) 2009-2020 Xceed Software Inc.
5+
Copyright (C) 2009-2022 Xceed Software Inc.
66
77
This program is provided to you under the terms of the XCEED SOFTWARE, INC.
88
COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at

Xceed.Document.NET/Src/BookmarkCollection.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
33
DocX – DocX is the community edition of Xceed Words for .NET
44
5-
Copyright (C) 2009-2020 Xceed Software Inc.
5+
Copyright (C) 2009-2022 Xceed Software Inc.
66
77
This program is provided to you under the terms of the XCEED SOFTWARE, INC.
88
COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at

Xceed.Document.NET/Src/Border.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
33
DocX – DocX is the community edition of Xceed Words for .NET
44
5-
Copyright (C) 2009-2020 Xceed Software Inc.
5+
Copyright (C) 2009-2022 Xceed Software Inc.
66
77
This program is provided to you under the terms of the XCEED SOFTWARE, INC.
88
COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at

Xceed.Document.NET/Src/Borders.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
33
DocX – DocX is the community edition of Xceed Words for .NET
44
5-
Copyright (C) 2009-2020 Xceed Software Inc.
5+
Copyright (C) 2009-2022 Xceed Software Inc.
66
77
This program is provided to you under the terms of the XCEED SOFTWARE, INC.
88
COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at

Xceed.Document.NET/Src/Charts/Axis.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
33
DocX – DocX is the community edition of Xceed Words for .NET
44
5-
Copyright (C) 2009-2020 Xceed Software Inc.
5+
Copyright (C) 2009-2022 Xceed Software Inc.
66
77
This program is provided to you under the terms of the XCEED SOFTWARE, INC.
88
COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at

Xceed.Document.NET/Src/Charts/BarChart.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
33
DocX – DocX is the community edition of Xceed Words for .NET
44
5-
Copyright (C) 2009-2020 Xceed Software Inc.
5+
Copyright (C) 2009-2022 Xceed Software Inc.
66
77
This program is provided to you under the terms of the XCEED SOFTWARE, INC.
88
COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at

Xceed.Document.NET/Src/Charts/CategoryAxis.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
33
DocX – DocX is the community edition of Xceed Words for .NET
44
5-
Copyright (C) 2009-2020 Xceed Software Inc.
5+
Copyright (C) 2009-2022 Xceed Software Inc.
66
77
This program is provided to you under the terms of the XCEED SOFTWARE, INC.
88
COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at

Xceed.Document.NET/Src/Charts/Chart.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
33
DocX – DocX is the community edition of Xceed Words for .NET
44
5-
Copyright (C) 2009-2020 Xceed Software Inc.
5+
Copyright (C) 2009-2022 Xceed Software Inc.
66
77
This program is provided to you under the terms of the XCEED SOFTWARE, INC.
88
COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at

Xceed.Document.NET/Src/Charts/LineChart.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
33
DocX – DocX is the community edition of Xceed Words for .NET
44
5-
Copyright (C) 2009-2020 Xceed Software Inc.
5+
Copyright (C) 2009-2022 Xceed Software Inc.
66
77
This program is provided to you under the terms of the XCEED SOFTWARE, INC.
88
COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at

Xceed.Document.NET/Src/Charts/PieChart.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
33
DocX – DocX is the community edition of Xceed Words for .NET
44
5-
Copyright (C) 2009-2020 Xceed Software Inc.
5+
Copyright (C) 2009-2022 Xceed Software Inc.
66
77
This program is provided to you under the terms of the XCEED SOFTWARE, INC.
88
COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at

Xceed.Document.NET/Src/Charts/Series.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
33
DocX – DocX is the community edition of Xceed Words for .NET
44
5-
Copyright (C) 2009-2020 Xceed Software Inc.
5+
Copyright (C) 2009-2022 Xceed Software Inc.
66
77
This program is provided to you under the terms of the XCEED SOFTWARE, INC.
88
COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at

Xceed.Document.NET/Src/Charts/ValueAxis.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
33
DocX – DocX is the community edition of Xceed Words for .NET
44
5-
Copyright (C) 2009-2020 Xceed Software Inc.
5+
Copyright (C) 2009-2022 Xceed Software Inc.
66
77
This program is provided to you under the terms of the XCEED SOFTWARE, INC.
88
COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at

Xceed.Document.NET/Src/Charts/XElementHelpers.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
33
DocX – DocX is the community edition of Xceed Words for .NET
44
5-
Copyright (C) 2009-2020 Xceed Software Inc.
5+
Copyright (C) 2009-2022 Xceed Software Inc.
66
77
This program is provided to you under the terms of the XCEED SOFTWARE, INC.
88
COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at

Xceed.Document.NET/Src/Container.cs

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
33
DocX – DocX is the community edition of Xceed Words for .NET
44
5-
Copyright (C) 2009-2020 Xceed Software Inc.
5+
Copyright (C) 2009-2022 Xceed Software Inc.
66
77
This program is provided to you under the terms of the XCEED SOFTWARE, INC.
88
COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at
@@ -732,6 +732,13 @@ public bool RemoveParagraphAt( int index )
732732
{
733733
paragraphs[ index ].Remove();
734734
this.RemoveParagraphFromCache( index );
735+
736+
// Remove empty tables (when they do not contains parahgraphs anymore).
737+
var emptyTables = this.Tables.Where( table => table.Paragraphs.Count == 0 ).ToList();
738+
if( emptyTables.Count() > 0 )
739+
{
740+
emptyTables.ForEach( table => table.Remove() );
741+
}
735742
return true;
736743
}
737744

@@ -1034,7 +1041,7 @@ internal void RemoveParagraph( Paragraph paragraph, bool trackChanges )
10341041

10351042
private void RemoveParagraphFromCache( int index )
10361043
{
1037-
if( index != -1 )
1044+
if( (index != -1) && ( _editableParagraphsCollection.Count > 0 ) )
10381045
{
10391046
_editableParagraphsCollection.RemoveAt( index );
10401047
}

Xceed.Document.NET/Src/CustomProperty.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
33
DocX – DocX is the community edition of Xceed Words for .NET
44
5-
Copyright (C) 2009-2020 Xceed Software Inc.
5+
Copyright (C) 2009-2022 Xceed Software Inc.
66
77
This program is provided to you under the terms of the XCEED SOFTWARE, INC.
88
COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at

Xceed.Document.NET/Src/DocProperty.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
33
DocX – DocX is the community edition of Xceed Words for .NET
44
5-
Copyright (C) 2009-2020 Xceed Software Inc.
5+
Copyright (C) 2009-2022 Xceed Software Inc.
66
77
This program is provided to you under the terms of the XCEED SOFTWARE, INC.
88
COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at

0 commit comments

Comments
 (0)