Skip to content

Commit 9e666e7

Browse files
committed
V5.0.0 Released
1 parent b9e5554 commit 9e666e7

File tree

105 files changed

+1999
-804
lines changed

Some content is hidden

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

105 files changed

+1999
-804
lines changed
Binary file not shown.

.vs/Xceed.Words.NET/FileContentIndex/read.lock

Whitespace-only changes.

.vs/Xceed.Words.NET/v17/.suo

-97 KB
Binary file not shown.

CommunityLicense.txt

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
XCEED SOFTWARE, INC.
2+
3+
COMMUNITY LICENSE AGREEMENT (for non-commercial use)
4+
5+
This Community License Agreement (the "Agreement") is a legal agreement between you ("Licensee") and Xceed Software, Inc. ("Xceed"). Licensee wishes to use the "Xceed DocX" (the "Software"), an Xceed product, for "Non-Commercial Use". Such use of the Software means that it is not primarily intended for commercial advantages or for monetary compensation or any other type of compensation, including donations. Xceed agrees to license its products to developers like you as along as all terms & conditions set forth herein are respected. The Software is provided under a license; it is not "sold" in any manner. By installing, copying or otherwise using the Software, you confirm your agreement to the terms and conditions expressed in this Agreement. If you do not agree, you are not authorized to use our Software.
6+
7+
GENERAL
8+
9+
Subject to compliance with the conditions set out below, Xceed grants to Licensee a non-exclusive and perpetual right (unless/until revoked by Xceed at its discretion) to install and use the Software for designing, building, testing and/or deploying/distributing (to less than 10 users or end-users) an application, system or program for Non-Commercial Use only. Would Licensee need to use the Software for any purpose that is not strictly Non-Commercial Use, or if the Software is to be deployed or distributed to more than 10 users/end-users - even in a Non-Commercial Use, Licensee must acquire a Commercial License (with a paid subscription).
10+
11+
The license granted under this Agreement is conditional on Licensee complying at all times with the following conditions:
12+
13+
-All of the Agreement's terms & conditions are strictly complied with by the Licensee;
14+
15+
-The Software is used for Non-Commercial Use only;
16+
17+
-The Software cannot be resold, licensed, sublicensed or distributed by Licensee in any manner other than as specified above;
18+
19+
-Xceed's name and logo must appear clearly in the resulting work with an Xceed Copyright notice; the name and notice must be visible, not be hidden;
20+
21+
-Licensee is not authorized to "deploy" the Software for/in any commercial environment;
22+
23+
-Licensee commits not to create a competitive software product based on the Software;
24+
25+
-Licensee is not authorized to sell or license/sub-license/lease the resulting work to anyone nor charge any amounts of money or accept donations or exchange services for the said resulting work.
26+
27+
SUPPORT
28+
29+
Support is not included in Community Licenses. The Software is provided on an "as is" basis only. Licensee can send requests to Xceed's technical support team only if a commercial license has been obtained. Bugs may be corrected at Xceed's discretion.
30+
31+
WARRANTY
32+
33+
Xceed clearly states that this Community License includes no warranty of any type. Xceed products are provided on an "as is" basis. In no case shall Xceed be responsible or liable for any direct or indirect, or consequential damages whatsoever (including, without limitation, any damages for loss of revenues, of business profits, business interruption, or loss of business information, or any other type of loss or damages) arising out of the use of the Software even if Xceed may have been advised of such potential damages or loss.
34+
35+
OTHER
36+
37+
Xceed does not allow Community Licensees to publish results from benchmarks or performance comparison tests (with other products) without advance permission by Xceed. Licensee is not authorized to use Xceed's name, tradenames and trademarks without Xceed's written permission (other than the Copyright notice stated above in the "General" section).
38+
39+
GOVERNING LAW
40+
41+
This Agreement shall be governed by the laws of the Province of Quebec (Canada). Any claim, dispute or problem arising out of this Agreement shall be deemed non-receivable or may be settled or disposed of at Xceed's discretion. Xceed reserves the right to settle any action before an arbitration board in Quebec as per generally accepted, international rules of arbitration prevailing in Quebec.
42+
43+
Xceed reserves the right to modify this Agreement at all times without notice.
44+
45+
(C) Copyright: Xceed Software, Inc. - 2020. All rights reserved.

Xceed.Document.NET/AssemblyVersionInfo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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 = "4.0";
24+
public const string BaseVersion = "5.0";
2525
[System.Diagnostics.CodeAnalysis.SuppressMessage( "Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields" )]
2626
public const string Version = BaseVersion +
2727
".0.0";

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

Lines changed: 40 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at
1515

1616

1717
using System;
18+
using System.Collections.Generic;
1819
using System.Globalization;
1920
using System.IO.Packaging;
2021
using System.Linq;
@@ -24,6 +25,12 @@ namespace Xceed.Document.NET
2425
{
2526
public class BarChart : Chart
2627
{
28+
#region Private Properties
29+
30+
private List<BaseSeries> _series;
31+
32+
#endregion
33+
2734
#region Public Properties
2835

2936
public BarDirection BarDirection
@@ -88,10 +95,42 @@ public Int32 GapWidth
8895
}
8996
}
9097

98+
public override List<BaseSeries> Series
99+
{
100+
get
101+
{
102+
if( _series == null )
103+
{
104+
_series = new List<BaseSeries>();
105+
var chart = this.GetChartTypeXElement();
106+
var ser = chart.Elements( XName.Get( "ser", Document.c.NamespaceName ) );
107+
foreach( var element in ser )
108+
{
109+
var serie = new BarSeries( element );
110+
serie.PackagePart = this.PackagePart;
111+
_series.Add( serie );
112+
}
113+
}
114+
return _series;
115+
}
116+
}
117+
91118
#endregion
92119

120+
#region Protected Properties
121+
122+
protected override Type AllowedSeriesType
123+
{
124+
get
125+
{
126+
return typeof( BarSeries );
127+
}
128+
}
129+
130+
#endregion // Protected Properties
131+
93132
#region Constructors
94-
[Obsolete("BarChart() is obsolete. Use Document.AddChart<BarChart>() instead.")]
133+
[Obsolete( "BarChart() is obsolete. Use Document.AddChart<BarChart>() instead." )]
95134
public BarChart()
96135
{
97136
}
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
/***************************************************************************************
2+
3+
DocX – DocX is the community edition of Xceed Words for .NET
4+
5+
Copyright (C) 2009-2025 Xceed Software Inc.
6+
7+
This program is provided to you under the terms of the XCEED SOFTWARE, INC.
8+
COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at
9+
https://github.com/xceedsoftware/DocX/blob/master/license.md
10+
11+
For more features and fast professional support,
12+
pick up Xceed Words for .NET at https://xceed.com/xceed-words-for-net/
13+
14+
*************************************************************************************/
15+
16+
17+
using System.Linq;
18+
using System.Xml.Linq;
19+
20+
namespace Xceed.Document.NET
21+
{
22+
public class BarSeries : Series
23+
{
24+
25+
#region Constructors
26+
public BarSeries( string name ) : base( name )
27+
{
28+
}
29+
30+
internal BarSeries( XElement xml ) : base( xml )
31+
{
32+
}
33+
34+
#endregion // Constructors
35+
}
36+
37+
}

0 commit comments

Comments
 (0)