From 77f106e17636a36e2ec59c4d65702ef756c2d44e Mon Sep 17 00:00:00 2001 From: Pavel Lobashov Date: Wed, 14 Sep 2022 13:59:43 +0300 Subject: [PATCH] Add changelog for API --- .aspell.en.pws | 30 +++++++++++++++++++++++++++- CHANGELOG.md | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 83 insertions(+), 1 deletion(-) diff --git a/.aspell.en.pws b/.aspell.en.pws index 9925077a..8f1f2d65 100644 --- a/.aspell.en.pws +++ b/.aspell.en.pws @@ -1,8 +1,14 @@ -personal_ws-1.1 en 534 utf-8 +personal_ws-1.1 en 563 utf-8 ACOT ACOTH ActiveCell +AddBookmarkCrossRef +AddCaptionCrossRef AddComment +AddEndnoteCrossRef +AddFootnoteCrossRef +AddHeadingCrossRef +AddNumberedCrossRef AddSheet adSm AllFontsGen @@ -12,6 +18,7 @@ Api ApiRange ApiSlide ApiWorksheet +ApplyChartStyle ApplyTheme Asana ASC @@ -183,12 +190,19 @@ gc gcc GenerateGuid GetAdress +GetAllCaptionParagraphs +GetAllHeadingParagraphs +GetAllNumberedParagraphs GetBottomMargin GetCells GetCols GetColumnWidth GetCount GetCurrentContentControlPr +GetEndNotesFirstParagraphs +GetFontNames +GetFootnotesFirstParagraphs +GetHeight GetHidden GetIndex GetLeftMargin @@ -207,6 +221,7 @@ GetTopMargin GetUsedRange GetValue GetVisible +GetWidth GetWpar glyphs gnutls @@ -347,6 +362,7 @@ owncloud oxps pageDown ParaDrawing +Paragarph param params passsword @@ -416,14 +432,26 @@ SELinux sessionId SetBottomMargin SetColumnWidth +SetDataPointFill +SetDataPointOutLine SetHidden SetLeftMargin +SetLegendFill +SetLegendOutLine setLocale setMailMergeRecipients +SetMarkerFill +SetMarkerOutLine SetOffset SetPageOrientation +SetPlotAreaFill +SetPlotAreaOutLine SetRightMargin SetRowHeight +SetSeriesFill +SetSeriesOutLine +SetTitleFill +SetTitleOutLine SetTopMargin SetVisible SharedWorker diff --git a/CHANGELOG.md b/CHANGELOG.md index 053c6d6d..23e517a5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -82,6 +82,60 @@ * Ability to set phone in `About` page +##### Api + +* `GetFontNames()` methods for `Paragarph` and `Run` +* New methods to get cross-reference data: + `ApiDocument.GetAllNumberedParagraphs();`, + `ApiDocument.GetAllHeadingParagraphs();`, + `ApiDocument.GetFootnotesFirstParagraphs();`, + `ApiDocument.GetEndNotesFirstParagraphs();`, + `ApiDocument.GetAllCaptionParagraphs();` +* New methods to set cross-reference data: + `ApiParagraph.AddNumberedCrossRef();`, + `ApiParagraph.AddHeadingCrossRef();`, + `ApiParagraph.AddBookmarkCrossRef();`, + `ApiParagraph.AddFootnoteCrossRef();`, + `ApiParagraph.AddEndnoteCrossRef();`, + `ApiParagraph.AddCaptionCrossRef();` +* New methods to replace elements: + + ``` + ApiParagraph.GetPosInParent(); + ApiParagraph.ReplaceByElement(); + + ApiTable.GetPosInParent(); + ApiTable.ReplaceByElement(); + + ApiBlockLvlSdt.GetPosInParent(); + ApiBlockLvlSdt.ReplaceByElement(); + ``` + +* New methods to get size in EMU for drawings + `ApiDrawing.GetWidth();` and `ApiDrawing.GetHeight();` +* Add new methods for chart: + + ``` + ApiChart.ApplyChartStyle(); + ApiChart.SetPlotAreaFill(); + ApiChart.SetPlotAreaOutLine(); + ApiChart.SetSeriesFill(); + ApiChart.SetSeriesOutLine(); + ApiChart.SetDataPointFill(); + ApiChart.SetDataPointOutLine(); + ApiChart.SetMarkerFill(); + ApiChart.SetMarkerOutLine(); + ApiChart.SetTitleFill(); + ApiChart.SetTitleOutLine(); + ApiChart.SetLegendFill(); + ApiChart.SetLegendOutLine(); + ``` + +* Improve support of regexps in code like `String.replace(/\s/g, "")` +* Improvements in `oRange.GetValue` and `oRange.GetValue2` + +* Fixes for several methods + ### Fixes * All components received countless fixes