Skip to content

Commit 86321a1

Browse files
release Aspose.Cells for .NET 25.10
1 parent ed76379 commit 86321a1

File tree

37 files changed

+433
-72
lines changed

37 files changed

+433
-72
lines changed

english/net/aspose.cells.charts/series/_index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ public class Series
2222
| [Border](../../aspose.cells.charts/series/border/) { get; } | Represents border of Series object. |
2323
| [BubbleScale](../../aspose.cells.charts/series/bubblescale/) { getset; } | Gets or sets the scale factor for bubbles in the specified chart group. It can be an integer value from 0 (zero) to 300, corresponding to a percentage of the default size. Applies only to bubble charts. |
2424
| [BubbleSizes](../../aspose.cells.charts/series/bubblesizes/) { getset; } | Gets or sets the bubble sizes values of the chart series. |
25+
| [CachedCategoryValues](../../aspose.cells.charts/series/cachedcategoryvalues/) { get; } | (**Obsolete.**) Gets the cached category values for the series |
26+
| [CachedValues](../../aspose.cells.charts/series/cachedvalues/) { get; } | (**Obsolete.**) Gets the cached values for the series |
2527
| [CountOfDataValues](../../aspose.cells.charts/series/countofdatavalues/) { get; } | Gets the number of the data values. |
2628
| [DataLabels](../../aspose.cells.charts/series/datalabels/) { get; } | Represents the DataLabels object for the specified ASeries. |
2729
| [DisplayName](../../aspose.cells.charts/series/displayname/) { get; } | Gets the series's name that displays on the chart graph. |
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
---
2+
title: Series.CachedCategoryValues
3+
second_title: Aspose.Cells for .NET API Reference
4+
description: Series property. Gets the cached category values for the series
5+
type: docs
6+
url: /net/aspose.cells.charts/series/cachedcategoryvalues/
7+
---
8+
## Series.CachedCategoryValues property
9+
10+
Gets the cached category values for the series
11+
12+
```csharp
13+
[Obsolete("internal use only")]
14+
[EditorBrowsable(EditorBrowsableState.Never)]
15+
public ArrayList CachedCategoryValues { get; }
16+
```
17+
18+
### Remarks
19+
20+
NOTE: This property is currently for internal use only. It will be changed or removed in next version.
21+
22+
### See Also
23+
24+
* class [Series](../)
25+
* namespace [Aspose.Cells.Charts](../../../aspose.cells.charts/)
26+
* assembly [Aspose.Cells](../../../)
27+
28+
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
---
2+
title: Series.CachedValues
3+
second_title: Aspose.Cells for .NET API Reference
4+
description: Series property. Gets the cached values for the series
5+
type: docs
6+
url: /net/aspose.cells.charts/series/cachedvalues/
7+
---
8+
## Series.CachedValues property
9+
10+
Gets the cached values for the series
11+
12+
```csharp
13+
[Obsolete("internal use only")]
14+
[EditorBrowsable(EditorBrowsableState.Never)]
15+
public ArrayList CachedValues { get; }
16+
```
17+
18+
### Remarks
19+
20+
NOTE: This property is currently for internal use only. It will be changed or removed in next version.
21+
22+
### See Also
23+
24+
* class [Series](../)
25+
* namespace [Aspose.Cells.Charts](../../../aspose.cells.charts/)
26+
* assembly [Aspose.Cells](../../../)
27+
28+

english/net/aspose.cells.drawing.equations/equationcomponentnode/equals/_index.md

Lines changed: 28 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -22,36 +22,41 @@ public override bool Equals(object obj)
2222
```csharp
2323
namespace AsposeCellsExamples
2424
{
25+
using Aspose.Cells;
26+
using Aspose.Cells.Drawing;
2527
using Aspose.Cells.Drawing.Equations;
2628
using System;
2729

2830
public class EquationComponentNodeMethodEqualsWithObjectDemo
2931
{
3032
public static void Run()
3133
{
32-
try
33-
{
34-
// Create two EquationComponentNode instances for comparison
35-
// Since EquationComponentNode doesn't have a parameterless constructor,
36-
// we'll use the base class's constructor or create them differently
37-
EquationComponentNode node1 = null;
38-
EquationComponentNode node2 = null;
39-
40-
// Compare the nodes using Equals method
41-
bool areEqual = node1?.Equals((object)node2) ?? false;
42-
43-
// Display the comparison result
44-
Console.WriteLine($"Nodes are equal: {areEqual}");
45-
46-
// Compare with a different object type
47-
object nonNodeObject = new object();
48-
bool areEqualWithObject = node1?.Equals(nonNodeObject) ?? false;
49-
Console.WriteLine($"Node equals generic object: {areEqualWithObject}");
50-
}
51-
catch (Exception ex)
52-
{
53-
Console.WriteLine($"Error in Equals comparison: {ex.Message}");
54-
}
34+
Workbook workbook = new Workbook();
35+
TextBox textBox = workbook.Worksheets[0].Shapes.AddEquation(3, 0, 3, 0, 100, 200);
36+
37+
//test get mathnode
38+
EquationNode mathNode = textBox.GetEquationParagraph().GetChild(0);
39+
40+
//test insert Fraction
41+
FractionEquationNode node = (FractionEquationNode)mathNode.AddChild(EquationNodeType.Fraction);
42+
node.FractionType = EquationFractionType.Skewed;
43+
44+
string str1 = "A";
45+
EquationComponentNode numerator = (EquationComponentNode)node.AddChild(EquationNodeType.Numerator);
46+
TextRunEquationNode TR = (TextRunEquationNode)(numerator.AddChild(EquationNodeType.Text));
47+
TR.Text = str1;
48+
49+
string str2 = "B";
50+
EquationComponentNode denominator = (EquationComponentNode)node.AddChild(EquationNodeType.Denominator);
51+
TR = (TextRunEquationNode)(denominator.AddChild(EquationNodeType.Text));
52+
TR.Text = str2;
53+
54+
// Compare the nodes using Equals method
55+
bool areEqual = numerator?.Equals((object)denominator) ?? false;
56+
57+
// Display the comparison result
58+
Console.WriteLine($"Nodes are equal: {areEqual}");
59+
workbook.Save("EquationComponentNodeMethodEqualsWithObjectDemo.xlsx");
5560
}
5661
}
5762
}

english/net/aspose.cells.drawing.equations/subsupequationnode/equals/_index.md

Lines changed: 68 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ public override bool Equals(object obj)
2222
```csharp
2323
namespace AsposeCellsExamples
2424
{
25+
using Aspose.Cells.Drawing;
26+
using Aspose.Cells;
2527
using Aspose.Cells.Drawing.Equations;
2628
using System;
2729

@@ -31,22 +33,82 @@ namespace AsposeCellsExamples
3133
{
3234
try
3335
{
34-
// Create two SubSupEquationNode instances for comparison
35-
// Since SubSupEquationNode doesn't have a parameterless constructor,
36-
// we'll use the base class's constructor or create with minimal parameters
37-
SubSupEquationNode node1 = (SubSupEquationNode)Activator.CreateInstance(typeof(SubSupEquationNode), nonPublic: true);
38-
SubSupEquationNode node2 = (SubSupEquationNode)Activator.CreateInstance(typeof(SubSupEquationNode), nonPublic: true);
36+
Workbook workbook = new Workbook();
37+
TextBox textBox = workbook.Worksheets[0].Shapes.AddEquation(3, 0, 3, 0, 100, 200);
38+
39+
//test get mathnode
40+
EquationNode mathNode = textBox.GetEquationParagraph().GetChild(0);
41+
42+
string[] vals = new string[] { "A", "B", "C" };
43+
int[] vs = null;
44+
EquationNode node = null;
45+
for (int i = 0; i < 4; i++)
46+
{
47+
switch (i)
48+
{
49+
case 0:
50+
node = mathNode.AddChild(EquationNodeType.Sub);
51+
vs = new int[2] { 0, 1 };
52+
break;
53+
case 1:
54+
node = mathNode.AddChild(EquationNodeType.Sup);
55+
vs = new int[2] { 0, 2 };
56+
break;
57+
case 2:
58+
node = mathNode.AddChild(EquationNodeType.SubSup);
59+
vs = new int[3] { 0, 1, 2 };
60+
break;
61+
case 3:
62+
node = mathNode.AddChild(EquationNodeType.PreSubSup);
63+
vs = new int[3] { 1, 2, 0 };
64+
break;
65+
}
66+
67+
foreach (var v in vs)
68+
{
69+
switch (v)
70+
{
71+
case 0:
72+
EquationNode e = node.AddChild(EquationNodeType.Base);
73+
TextRunEquationNode TR = (TextRunEquationNode)(e.AddChild(EquationNodeType.Text));
74+
TR.Text = vals[v];
75+
break;
76+
case 1:
77+
EquationNode sub = node.AddChild(EquationNodeType.Subscript);
78+
TR = (TextRunEquationNode)(sub.AddChild(EquationNodeType.Text));
79+
TR.Text = vals[v];
80+
break;
81+
case 2:
82+
EquationNode sup = node.AddChild(EquationNodeType.Superscript);
83+
TR = (TextRunEquationNode)(sup.AddChild(EquationNodeType.Text));
84+
TR.Text = vals[v];
85+
break;
86+
}
87+
}
88+
}
89+
90+
SubSupEquationNode node1 = (SubSupEquationNode)mathNode.GetChild(0);
91+
SubSupEquationNode node2 = (SubSupEquationNode)mathNode.GetChild(1);
3992

93+
4094
// Compare the nodes using Equals method
4195
bool areEqual = node1.Equals((object)node2);
4296

4397
// Display the comparison result
4498
Console.WriteLine($"Are the nodes equal? {areEqual}");
45-
99+
100+
// Compare the nodes using Equals method
101+
areEqual = node1.Equals((object)node1);
102+
103+
// Display the comparison result
104+
Console.WriteLine($"Are the nodes equal? {areEqual}");
105+
46106
// Compare with a different object type
47107
object differentObject = new object();
48108
bool areEqualWithObject = node1.Equals(differentObject);
49109
Console.WriteLine($"Is node equal to a generic object? {areEqualWithObject}");
110+
111+
workbook.Save("SubSupEquationNodeMethodEqualsWithObjectDemo.xlsx");
50112
}
51113
catch (Exception ex)
52114
{

english/net/aspose.cells.drawing/autoshapetype/_index.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -57,18 +57,18 @@ public enum AutoShapeType
5757
| CurvedConnector | `38` | |
5858
| CurvedConnector4 | `39` | |
5959
| CurvedConnector5 | `40` | |
60-
| LineCalloutNoBorder2 | `41` | |
61-
| LineCalloutNoBorder3 | `42` | |
62-
| LineCalloutNoBorder4 | `43` | |
63-
| LineCalloutWithAccentBar2 | `44` | |
64-
| LineCalloutWithAccentBar3 | `45` | |
65-
| LineCalloutWithAccentBar4 | `46` | |
66-
| LineCalloutWithBorder2 | `47` | |
67-
| LineCalloutWithBorder3 | `48` | |
68-
| LineCalloutWithBorder4 | `49` | |
69-
| LineCalloutWithBorderAndAccentBar2 | `50` | |
70-
| LineCalloutWithBorderAndAccentBar3 | `51` | |
71-
| LineCalloutWithBorderAndAccentBar4 | `52` | |
60+
| LineCalloutNoBorder2 | `41` | Specifies the "Line Callout 2(No Border)" type of the Ms Excel 97-2003 version or the "Callout: Line with No Border" type of the Ms Excel 2007 version. |
61+
| LineCalloutNoBorder3 | `42` | Specifies the "Line Callout 3(No Border)" type of the Ms Excel 97-2003 version or the "Callout: Bent Line with No Border" type of the Ms Excel 2007 version. |
62+
| LineCalloutNoBorder4 | `43` | Specifies the "Line Callout 4(No Border)" type of the Ms Excel 97-2003 version or the "Callout: Double Bent Line with No Border" type of the Ms Excel 2007 version. |
63+
| LineCalloutWithAccentBar2 | `44` | Specifies the "Line Callout 2(Accent Bar)" type of the Ms Excel 97-2003 version or the "Callout: Line with Accent Bar" type of the Ms Excel 2007 version. |
64+
| LineCalloutWithAccentBar3 | `45` | Specifies the "Line Callout 3(Accent Bar)" type of the Ms Excel 97-2003 version or the "Callout: Bent Line with Accent Bar" type of the Ms Excel 2007 version. |
65+
| LineCalloutWithAccentBar4 | `46` | Specifies the "Line Callout 4(Accent Bar)" type of the Ms Excel 97-2003 version or the "Callout: Double Bent Line with Accent Bar" type of the Ms Excel 2007 version. |
66+
| LineCalloutWithBorder2 | `47` | Specifies the "Line Callout 2" type of the Ms Excel 97-2003 version or the "Callout: Line" type of the Ms Excel 2007 version. |
67+
| LineCalloutWithBorder3 | `48` | Specifies the "Line Callout 3" type of the Ms Excel 97-2003 version or the "Callout: Bent Line" type of the Ms Excel 2007 version. |
68+
| LineCalloutWithBorder4 | `49` | Specifies the "Line Callout 4" type of the Ms Excel 97-2003 version or the "Callout: Double Bent Line" type of the Ms Excel 2007 version. |
69+
| LineCalloutWithBorderAndAccentBar2 | `50` | Specifies the "Line Callout 2(Border and Accent Bar)" type of the Ms Excel 97-2003 version or the "Callout: Line with Border and Accent Bar" type of the Ms Excel 2007 version. |
70+
| LineCalloutWithBorderAndAccentBar3 | `51` | Specifies the "Line Callout 3(Border and Accent Bar)" type of the Ms Excel 97-2003 version or the "Callout: Bent Line with Border and Accent Bar" type of the Ms Excel 2007 version. |
71+
| LineCalloutWithBorderAndAccentBar4 | `52` | Specifies the "Line Callout 4(Border and Accent Bar)" type of the Ms Excel 97-2003 version or the "Callout: Double Bent Line with Border and Accent Bar" type of the Ms Excel 2007 version. |
7272
| DownRibbon | `53` | |
7373
| UpRibbon | `54` | |
7474
| Chevron | `55` | |
@@ -194,10 +194,10 @@ public enum AutoShapeType
194194
| TextCanDown | `175` | A text shape that is curved downwards as if being read on the side of a can. |
195195
| FlowChartAlternateProcess | `176` | |
196196
| FlowChartOffpageConnector | `177` | |
197-
| LineCalloutNoBorder1 | `178` | |
198-
| LineCalloutWithAccentBar1 | `179` | |
199-
| LineCalloutWithBorder1 | `180` | |
200-
| LineCalloutWithBorderAndAccentBar1 | `181` | |
197+
| LineCalloutNoBorder1 | `178` | Specifies the "Line Callout 1(No Border)" type of the Ms Excel 97-2003 version. |
198+
| LineCalloutWithAccentBar1 | `179` | Specifies the "Line Callout 1(Accent Bar)" type of the Ms Excel 97-2003 version. |
199+
| LineCalloutWithBorder1 | `180` | Specifies the "Line Callout 1" type of the Ms Excel 97-2003 version. |
200+
| LineCalloutWithBorderAndAccentBar1 | `181` | Specifies the "Line Callout 1(Border and Accent Bar)" type of the Ms Excel 97-2003 version. |
201201
| LeftRightUpArrow | `182` | |
202202
| Sun | `183` | |
203203
| Moon | `184` | |

english/net/aspose.cells.gridjs/config/_index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ public class Config
2525
| --- | --- |
2626
| static [AutoOptimizeForLargeCells](../../aspose.cells.gridjs/config/autooptimizeforlargecells/) { get; set; } | Gets/Sets whether to automatically optimize the load performance for worksheet with large cells. it will ignore some style /borders to reduce the load time. the default value is true. |
2727
| static [BaseRouteName](../../aspose.cells.gridjs/config/baseroutename/) { getset; } | Gets/Sets the base route name for GridJs controller URL. the default is "/GridJs2". |
28+
| static [CustomPdfSaveOptions](../../aspose.cells.gridjs/config/custompdfsaveoptions/) { getset; } | Gets/Sets the custom PdfSaveOptions for PDF export. If set, this will be used instead of the default options. the default value is null. |
2829
| static [EmptySheetMaxCol](../../aspose.cells.gridjs/config/emptysheetmaxcol/) { getset; } | Gets/Sets default max column for an empty worksheet. the default value is 15. |
2930
| static [EmptySheetMaxRow](../../aspose.cells.gridjs/config/emptysheetmaxrow/) { getset; } | Gets/Sets default max row for an empty worksheet. the default value is 12. |
3031
| static [FileCacheDirectory](../../aspose.cells.gridjs/config/filecachedirectory/) { getset; } | Gets/Sets the cache directory for storing spreadsheet file. We need to set it to a specific path before we use GridJs. |
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
title: Config.CustomPdfSaveOptions
3+
second_title: Aspose.Cells for .NET API Reference
4+
description: Config property. Gets/Sets the custom PdfSaveOptions for PDF export. If set this will be used instead of the default options. the default value is null
5+
type: docs
6+
url: /net/aspose.cells.gridjs/config/custompdfsaveoptions/
7+
---
8+
## Config.CustomPdfSaveOptions property
9+
10+
Gets/Sets the custom PdfSaveOptions for PDF export. If set, this will be used instead of the default options. the default value is null.
11+
12+
```csharp
13+
public static PdfSaveOptions CustomPdfSaveOptions { get; set; }
14+
```
15+
16+
### See Also
17+
18+
* class [Config](../)
19+
* namespace [Aspose.Cells.GridJs](../../../aspose.cells.gridjs/)
20+
* assembly [Aspose.Cells.GridJs](../../../)
21+
22+

english/net/aspose.cells.gridjs/gridjsoptions/_index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ public class GridJsOptions
2525
| --- | --- |
2626
| [AutoOptimizeForLargeCells](../../aspose.cells.gridjs/gridjsoptions/autooptimizeforlargecells/) { get; set; } | Gets/Sets whether to automatically optimize the load performance for worksheet with large cells. it will ignore some style /borders to reduce the load time. the default value is true. |
2727
| [BaseRouteName](../../aspose.cells.gridjs/gridjsoptions/baseroutename/) { getset; } | Gets/Sets the route URL base name for GridJs controller.the default is GridJs2 |
28+
| [CustomPdfSaveOptions](../../aspose.cells.gridjs/gridjsoptions/custompdfsaveoptions/) { getset; } | Gets/Sets the custom PdfSaveOptions for PDF export. If set, this will be used instead of the default options. the default value is null. |
2829
| [EmptySheetMaxCol](../../aspose.cells.gridjs/gridjsoptions/emptysheetmaxcol/) { getset; } | Gets/Sets default max column for an empty worksheet. the default value is 15. |
2930
| [EmptySheetMaxRow](../../aspose.cells.gridjs/gridjsoptions/emptysheetmaxrow/) { getset; } | Gets/Sets default max row for an empty worksheet. the default value is 12. |
3031
| [FileCacheDirectory](../../aspose.cells.gridjs/gridjsoptions/filecachedirectory/) { getset; } | Gets/Sets the cache directory for storing spreadsheet file. We need to set it to a specific path before we use GridJs. |
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
title: GridJsOptions.CustomPdfSaveOptions
3+
second_title: Aspose.Cells for .NET API Reference
4+
description: GridJsOptions property. Gets/Sets the custom PdfSaveOptions for PDF export. If set this will be used instead of the default options. the default value is null
5+
type: docs
6+
url: /net/aspose.cells.gridjs/gridjsoptions/custompdfsaveoptions/
7+
---
8+
## GridJsOptions.CustomPdfSaveOptions property
9+
10+
Gets/Sets the custom PdfSaveOptions for PDF export. If set, this will be used instead of the default options. the default value is null.
11+
12+
```csharp
13+
public PdfSaveOptions CustomPdfSaveOptions { get; set; }
14+
```
15+
16+
### See Also
17+
18+
* class [GridJsOptions](../)
19+
* namespace [Aspose.Cells.GridJs](../../../aspose.cells.gridjs/)
20+
* assembly [Aspose.Cells.GridJs](../../../)
21+
22+

0 commit comments

Comments
 (0)