Skip to content

Commit

Permalink
V2.2.0 Released
Browse files Browse the repository at this point in the history
  • Loading branch information
XceedBoucherS committed Jun 1, 2022
1 parent 9c431af commit 2bc905c
Show file tree
Hide file tree
Showing 137 changed files with 536 additions and 432 deletions.
4 changes: 2 additions & 2 deletions Xceed.Document.NET/AssemblyVersionInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
DocX – DocX is the community edition of Xceed Words for .NET
Copyright (C) 2009-2020 Xceed Software Inc.
Copyright (C) 2009-2022 Xceed Software Inc.
This program is provided to you under the terms of the XCEED SOFTWARE, INC.
COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at
Expand All @@ -21,7 +21,7 @@ COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at
internal static class _XceedVersionInfo
{
[System.Diagnostics.CodeAnalysis.SuppressMessage( "Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields" )]
public const string BaseVersion = "2.1";
public const string BaseVersion = "2.2";
[System.Diagnostics.CodeAnalysis.SuppressMessage( "Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields" )]
public const string Version = BaseVersion +
".0.0";
Expand Down
2 changes: 1 addition & 1 deletion Xceed.Document.NET/AssemblyVersionInfoCommon.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
DocX – DocX is the community edition of Xceed Words for .NET
Copyright (C) 2009-2020 Xceed Software Inc.
Copyright (C) 2009-2022 Xceed Software Inc.
This program is provided to you under the terms of the XCEED SOFTWARE, INC.
COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at
Expand Down
4 changes: 2 additions & 2 deletions Xceed.Document.NET/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
DocX – DocX is the community edition of Xceed Words for .NET
Copyright (C) 2009-2020 Xceed Software Inc.
Copyright (C) 2009-2022 Xceed Software Inc.
This program is provided to you under the terms of the XCEED SOFTWARE, INC.
COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at
Expand All @@ -26,7 +26,7 @@ COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at

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


Expand Down
2 changes: 1 addition & 1 deletion Xceed.Document.NET/Src/Bookmark.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
DocX – DocX is the community edition of Xceed Words for .NET
Copyright (C) 2009-2020 Xceed Software Inc.
Copyright (C) 2009-2022 Xceed Software Inc.
This program is provided to you under the terms of the XCEED SOFTWARE, INC.
COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at
Expand Down
2 changes: 1 addition & 1 deletion Xceed.Document.NET/Src/BookmarkCollection.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
DocX – DocX is the community edition of Xceed Words for .NET
Copyright (C) 2009-2020 Xceed Software Inc.
Copyright (C) 2009-2022 Xceed Software Inc.
This program is provided to you under the terms of the XCEED SOFTWARE, INC.
COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at
Expand Down
2 changes: 1 addition & 1 deletion Xceed.Document.NET/Src/Border.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
DocX – DocX is the community edition of Xceed Words for .NET
Copyright (C) 2009-2020 Xceed Software Inc.
Copyright (C) 2009-2022 Xceed Software Inc.
This program is provided to you under the terms of the XCEED SOFTWARE, INC.
COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at
Expand Down
2 changes: 1 addition & 1 deletion Xceed.Document.NET/Src/Borders.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
DocX – DocX is the community edition of Xceed Words for .NET
Copyright (C) 2009-2020 Xceed Software Inc.
Copyright (C) 2009-2022 Xceed Software Inc.
This program is provided to you under the terms of the XCEED SOFTWARE, INC.
COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at
Expand Down
2 changes: 1 addition & 1 deletion Xceed.Document.NET/Src/Charts/Axis.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
DocX – DocX is the community edition of Xceed Words for .NET
Copyright (C) 2009-2020 Xceed Software Inc.
Copyright (C) 2009-2022 Xceed Software Inc.
This program is provided to you under the terms of the XCEED SOFTWARE, INC.
COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at
Expand Down
2 changes: 1 addition & 1 deletion Xceed.Document.NET/Src/Charts/BarChart.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
DocX – DocX is the community edition of Xceed Words for .NET
Copyright (C) 2009-2020 Xceed Software Inc.
Copyright (C) 2009-2022 Xceed Software Inc.
This program is provided to you under the terms of the XCEED SOFTWARE, INC.
COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at
Expand Down
2 changes: 1 addition & 1 deletion Xceed.Document.NET/Src/Charts/CategoryAxis.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
DocX – DocX is the community edition of Xceed Words for .NET
Copyright (C) 2009-2020 Xceed Software Inc.
Copyright (C) 2009-2022 Xceed Software Inc.
This program is provided to you under the terms of the XCEED SOFTWARE, INC.
COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at
Expand Down
2 changes: 1 addition & 1 deletion Xceed.Document.NET/Src/Charts/Chart.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
DocX – DocX is the community edition of Xceed Words for .NET
Copyright (C) 2009-2020 Xceed Software Inc.
Copyright (C) 2009-2022 Xceed Software Inc.
This program is provided to you under the terms of the XCEED SOFTWARE, INC.
COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at
Expand Down
2 changes: 1 addition & 1 deletion Xceed.Document.NET/Src/Charts/LineChart.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
DocX – DocX is the community edition of Xceed Words for .NET
Copyright (C) 2009-2020 Xceed Software Inc.
Copyright (C) 2009-2022 Xceed Software Inc.
This program is provided to you under the terms of the XCEED SOFTWARE, INC.
COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at
Expand Down
2 changes: 1 addition & 1 deletion Xceed.Document.NET/Src/Charts/PieChart.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
DocX – DocX is the community edition of Xceed Words for .NET
Copyright (C) 2009-2020 Xceed Software Inc.
Copyright (C) 2009-2022 Xceed Software Inc.
This program is provided to you under the terms of the XCEED SOFTWARE, INC.
COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at
Expand Down
2 changes: 1 addition & 1 deletion Xceed.Document.NET/Src/Charts/Series.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
DocX – DocX is the community edition of Xceed Words for .NET
Copyright (C) 2009-2020 Xceed Software Inc.
Copyright (C) 2009-2022 Xceed Software Inc.
This program is provided to you under the terms of the XCEED SOFTWARE, INC.
COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at
Expand Down
2 changes: 1 addition & 1 deletion Xceed.Document.NET/Src/Charts/ValueAxis.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
DocX – DocX is the community edition of Xceed Words for .NET
Copyright (C) 2009-2020 Xceed Software Inc.
Copyright (C) 2009-2022 Xceed Software Inc.
This program is provided to you under the terms of the XCEED SOFTWARE, INC.
COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at
Expand Down
2 changes: 1 addition & 1 deletion Xceed.Document.NET/Src/Charts/XElementHelpers.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
DocX – DocX is the community edition of Xceed Words for .NET
Copyright (C) 2009-2020 Xceed Software Inc.
Copyright (C) 2009-2022 Xceed Software Inc.
This program is provided to you under the terms of the XCEED SOFTWARE, INC.
COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at
Expand Down
11 changes: 9 additions & 2 deletions Xceed.Document.NET/Src/Container.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
DocX – DocX is the community edition of Xceed Words for .NET
Copyright (C) 2009-2020 Xceed Software Inc.
Copyright (C) 2009-2022 Xceed Software Inc.
This program is provided to you under the terms of the XCEED SOFTWARE, INC.
COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at
Expand Down Expand Up @@ -732,6 +732,13 @@ public bool RemoveParagraphAt( int index )
{
paragraphs[ index ].Remove();
this.RemoveParagraphFromCache( index );

// Remove empty tables (when they do not contains parahgraphs anymore).
var emptyTables = this.Tables.Where( table => table.Paragraphs.Count == 0 ).ToList();
if( emptyTables.Count() > 0 )
{
emptyTables.ForEach( table => table.Remove() );
}
return true;
}

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

private void RemoveParagraphFromCache( int index )
{
if( index != -1 )
if( (index != -1) && ( _editableParagraphsCollection.Count > 0 ) )
{
_editableParagraphsCollection.RemoveAt( index );
}
Expand Down
2 changes: 1 addition & 1 deletion Xceed.Document.NET/Src/CustomProperty.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
DocX – DocX is the community edition of Xceed Words for .NET
Copyright (C) 2009-2020 Xceed Software Inc.
Copyright (C) 2009-2022 Xceed Software Inc.
This program is provided to you under the terms of the XCEED SOFTWARE, INC.
COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at
Expand Down
2 changes: 1 addition & 1 deletion Xceed.Document.NET/Src/DocProperty.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
DocX – DocX is the community edition of Xceed Words for .NET
Copyright (C) 2009-2020 Xceed Software Inc.
Copyright (C) 2009-2022 Xceed Software Inc.
This program is provided to you under the terms of the XCEED SOFTWARE, INC.
COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at
Expand Down
Loading

0 comments on commit 2bc905c

Please sign in to comment.