Skip to content

Commit 4b8ac81

Browse files
authored
Merge pull request #92 from aspose-pdf/main
Aspose.PDF for C++ 26.3
2 parents cffefdc + c60424a commit 4b8ac81

62 files changed

Lines changed: 477 additions & 83 deletions

File tree

Some content is hidden

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

english/cpp/aspose.pdf.text/fontrepository/_index.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,16 +20,16 @@ class FontRepository : public System::Object
2020
2121
| Method | Description |
2222
| --- | --- |
23-
| static [FindFont](./findfont/)(System::String) | Searches and returns font with specified font name. |
24-
| static [FindFont](./findfont/)(System::String, bool) | Searches and returns font with specified font name ignoring or honoring case sensitivity. |
25-
| static [FindFont](./findfont/)(System::String, FontStyles) | Searches and returns font with specified font name and font style. |
26-
| static [FindFont](./findfont/)(System::String, FontStyles, bool) | Searches and returns font with specified font name and font style ignoring or honoring case sensitivity. |
23+
| static [FindFont](./findfont/)(const System::String\&) | Searches and returns font with specified font name. |
24+
| static [FindFont](./findfont/)(const System::String\&, bool) | Searches and returns font with specified font name ignoring or honoring case sensitivity. |
25+
| static [FindFont](./findfont/)(const System::String\&, FontStyles) | Searches and returns font with specified font name and font style. |
26+
| static [FindFont](./findfont/)(const System::String\&, FontStyles, bool) | Searches and returns font with specified font name and font style ignoring or honoring case sensitivity. |
2727
| static [get_Sources](./get_sources/)() | Gets font sources collection. |
2828
| static [get_Substitutions](./get_substitutions/)() | Gets font substitution strategies collection. |
2929
| static [LoadFonts](./loadfonts/)() | Loads system installed fonts and standard [Pdf](../../aspose.pdf/) fonts. This method was designed to speed up font loading process. By default fonts are loaded on first request for any font. Use of this method loads system and standard [Pdf](../../aspose.pdf/) fonts immediately before any [Pdf](../../aspose.pdf/) document was open. |
30-
| static [OpenFont](./openfont/)(System::SharedPtr\<System::IO::Stream\>, FontTypes) | Opens font with specified font stream. |
31-
| static [OpenFont](./openfont/)(System::String) | Opens font with specified font file path. |
32-
| static [OpenFont](./openfont/)(System::String, System::String) | Opens font with specified font file path and metrics file path. |
30+
| static [OpenFont](./openfont/)(const System::SharedPtr\<System::IO::Stream\>\&, const FontTypes\&) | Opens font with specified font stream. |
31+
| static [OpenFont](./openfont/)(const System::String\&) | Opens font with specified font file path. |
32+
| static [OpenFont](./openfont/)(const System::String\&, const System::String\&) | Opens font with specified font file path and metrics file path. |
3333
| static [ReloadFonts](./reloadfonts/)() | Reloads all fonts specified by property [Sources](../) |
3434
3535

english/cpp/aspose.pdf.text/fontrepository/findfont/_index.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,19 @@ type: docs
77
weight: 100
88
url: /cpp/aspose.pdf.text/fontrepository/findfont/
99
---
10-
## FontRepository::FindFont(System::String, FontStyles) method
10+
## FontRepository::FindFont(const System::String\&, FontStyles) method
1111

1212

1313
Searches and returns font with specified font name and font style.
1414

1515
```cpp
16-
static System::SharedPtr<Font> Aspose::Pdf::Text::FontRepository::FindFont(System::String fontFamilyName, FontStyles stl)
16+
static System::SharedPtr<Font> Aspose::Pdf::Text::FontRepository::FindFont(const System::String &fontFamilyName, FontStyles stl)
1717
```
1818
1919
2020
| Parameter | Type | Description |
2121
| --- | --- | --- |
22-
| fontFamilyName | System::String | [Font](../../font/) family name. |
22+
| fontFamilyName | const System::String\& | [Font](../../font/) family name. |
2323
| stl | FontStyles | [Font](../../font/) style value. |
2424
2525
### ReturnValue
@@ -35,19 +35,19 @@ static System::SharedPtr<Font> Aspose::Pdf::Text::FontRepository::FindFont(Syste
3535
* Class [FontRepository](../)
3636
* Namespace [Aspose::Pdf::Text](../../)
3737
* Library [Aspose.PDF for C++](../../../)
38-
## FontRepository::FindFont(System::String, FontStyles, bool) method
38+
## FontRepository::FindFont(const System::String\&, FontStyles, bool) method
3939
4040
4141
Searches and returns font with specified font name and font style ignoring or honoring case sensitivity.
4242
4343
```cpp
44-
static System::SharedPtr<Font> Aspose::Pdf::Text::FontRepository::FindFont(System::String fontFamilyName, FontStyles stl, bool ignoreCase)
44+
static System::SharedPtr<Font> Aspose::Pdf::Text::FontRepository::FindFont(const System::String &fontFamilyName, FontStyles stl, bool ignoreCase)
4545
```
4646

4747

4848
| Parameter | Type | Description |
4949
| --- | --- | --- |
50-
| fontFamilyName | System::String | [Font](../../font/) family name. |
50+
| fontFamilyName | const System::String\& | [Font](../../font/) family name. |
5151
| stl | FontStyles | [Font](../../font/) style value. |
5252
| ignoreCase | bool | case sensitivity |
5353

@@ -64,19 +64,19 @@ static System::SharedPtr<Font> Aspose::Pdf::Text::FontRepository::FindFont(Syste
6464
* Class [FontRepository](../)
6565
* Namespace [Aspose::Pdf::Text](../../)
6666
* Library [Aspose.PDF for C++](../../../)
67-
## FontRepository::FindFont(System::String) method
67+
## FontRepository::FindFont(const System::String\&) method
6868

6969

7070
Searches and returns font with specified font name.
7171

7272
```cpp
73-
static System::SharedPtr<Font> Aspose::Pdf::Text::FontRepository::FindFont(System::String fontName)
73+
static System::SharedPtr<Font> Aspose::Pdf::Text::FontRepository::FindFont(const System::String &fontName)
7474
```
7575
7676
7777
| Parameter | Type | Description |
7878
| --- | --- | --- |
79-
| fontName | System::String | [Font](../../font/) name. |
79+
| fontName | const System::String\& | [Font](../../font/) name. |
8080
8181
### ReturnValue
8282
@@ -90,19 +90,19 @@ static System::SharedPtr<Font> Aspose::Pdf::Text::FontRepository::FindFont(Syste
9090
* Class [FontRepository](../)
9191
* Namespace [Aspose::Pdf::Text](../../)
9292
* Library [Aspose.PDF for C++](../../../)
93-
## FontRepository::FindFont(System::String, bool) method
93+
## FontRepository::FindFont(const System::String\&, bool) method
9494
9595
9696
Searches and returns font with specified font name ignoring or honoring case sensitivity.
9797
9898
```cpp
99-
static System::SharedPtr<Font> Aspose::Pdf::Text::FontRepository::FindFont(System::String fontName, bool ignoreCase)
99+
static System::SharedPtr<Font> Aspose::Pdf::Text::FontRepository::FindFont(const System::String &fontName, bool ignoreCase)
100100
```
101101

102102

103103
| Parameter | Type | Description |
104104
| --- | --- | --- |
105-
| fontName | System::String | [Font](../../font/) name. |
105+
| fontName | const System::String\& | [Font](../../font/) name. |
106106
| ignoreCase | bool | case sensitivity |
107107

108108
### ReturnValue

english/cpp/aspose.pdf.text/fontrepository/openfont/_index.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,20 @@ type: docs
77
weight: 500
88
url: /cpp/aspose.pdf.text/fontrepository/openfont/
99
---
10-
## FontRepository::OpenFont(System::SharedPtr\<System::IO::Stream\>, FontTypes) method
10+
## FontRepository::OpenFont(const System::SharedPtr\<System::IO::Stream\>\&, const FontTypes\&) method
1111

1212

1313
Opens font with specified font stream.
1414

1515
```cpp
16-
static System::SharedPtr<Font> Aspose::Pdf::Text::FontRepository::OpenFont(System::SharedPtr<System::IO::Stream> fontStream, FontTypes fontType)
16+
static System::SharedPtr<Font> Aspose::Pdf::Text::FontRepository::OpenFont(const System::SharedPtr<System::IO::Stream> &fontStream, const FontTypes &fontType)
1717
```
1818
1919
2020
| Parameter | Type | Description |
2121
| --- | --- | --- |
22-
| fontStream | System::SharedPtr\<System::IO::Stream\> | [Font](../../font/) stream. |
23-
| fontType | FontTypes | [Font](../../font/) type value. |
22+
| fontStream | const System::SharedPtr\<System::IO::Stream\>\& | [Font](../../font/) stream. |
23+
| fontType | const FontTypes\& | [Font](../../font/) type value. |
2424
2525
### ReturnValue
2626
@@ -35,19 +35,19 @@ static System::SharedPtr<Font> Aspose::Pdf::Text::FontRepository::OpenFont(Syste
3535
* Class [FontRepository](../)
3636
* Namespace [Aspose::Pdf::Text](../../)
3737
* Library [Aspose.PDF for C++](../../../)
38-
## FontRepository::OpenFont(System::String) method
38+
## FontRepository::OpenFont(const System::String\&) method
3939
4040
4141
Opens font with specified font file path.
4242
4343
```cpp
44-
static System::SharedPtr<Font> Aspose::Pdf::Text::FontRepository::OpenFont(System::String fontFilePath)
44+
static System::SharedPtr<Font> Aspose::Pdf::Text::FontRepository::OpenFont(const System::String &fontFilePath)
4545
```
4646

4747

4848
| Parameter | Type | Description |
4949
| --- | --- | --- |
50-
| fontFilePath | System::String | [Font](../../font/) file path. |
50+
| fontFilePath | const System::String\& | [Font](../../font/) file path. |
5151

5252
### ReturnValue
5353

@@ -61,20 +61,20 @@ static System::SharedPtr<Font> Aspose::Pdf::Text::FontRepository::OpenFont(Syste
6161
* Class [FontRepository](../)
6262
* Namespace [Aspose::Pdf::Text](../../)
6363
* Library [Aspose.PDF for C++](../../../)
64-
## FontRepository::OpenFont(System::String, System::String) method
64+
## FontRepository::OpenFont(const System::String\&, const System::String\&) method
6565

6666

6767
Opens font with specified font file path and metrics file path.
6868

6969
```cpp
70-
static System::SharedPtr<Font> Aspose::Pdf::Text::FontRepository::OpenFont(System::String fontFilePath, System::String metricsFilePath)
70+
static System::SharedPtr<Font> Aspose::Pdf::Text::FontRepository::OpenFont(const System::String &fontFilePath, const System::String &metricsFilePath)
7171
```
7272
7373
7474
| Parameter | Type | Description |
7575
| --- | --- | --- |
76-
| fontFilePath | System::String | [Font](../../font/) file path. |
77-
| metricsFilePath | System::String | [Font](../../font/) metrics file patrh. |
76+
| fontFilePath | const System::String\& | [Font](../../font/) file path. |
77+
| metricsFilePath | const System::String\& | [Font](../../font/) metrics file patrh. |
7878
7979
### ReturnValue
8080

english/cpp/aspose.pdf.text/textfragment/_index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,9 @@ class TextFragment : public Aspose::Pdf::BaseParagraph
5050
| [set_VerticalAlignment](./set_verticalalignment/)(Aspose::Pdf::VerticalAlignment) override | Sets a vertical alignment of text fragment. |
5151
| [set_WrapLinesCount](./set_wraplinescount/)(int32_t) | Sets wrap lines count for this paragraph(for pdf generation only) |
5252
| [TextFragment](./textfragment/)() | Initializes new instance of the [TextFragment](./) object. |
53-
| [TextFragment](./textfragment/)(System::SharedPtr\<TabStops\>) | Initializes new instance of the [TextFragment](./) object with predefined [TabStops](../tabstops/) positions. |
54-
| [TextFragment](./textfragment/)(System::String) | Creates [TextFragment](./) object with single [TextSegment](../textsegment/) object inside. Specifies text string inside the segment. |
55-
| [TextFragment](./textfragment/)(System::String, System::SharedPtr\<TabStops\>) | Creates [TextFragment](./) object with single [TextSegment](../textsegment/) object inside and predefined [TabStops](../tabstops/) positions. |
53+
| [TextFragment](./textfragment/)(const System::SharedPtr\<TabStops\>\&) | Initializes new instance of the [TextFragment](./) object with predefined [TabStops](../tabstops/) positions. |
54+
| [TextFragment](./textfragment/)(const System::String\&) | Creates [TextFragment](./) object with single [TextSegment](../textsegment/) object inside. Specifies text string inside the segment. |
55+
| [TextFragment](./textfragment/)(const System::String\&, const System::SharedPtr\<TabStops\>\&) | Creates [TextFragment](./) object with single [TextSegment](../textsegment/) object inside and predefined [TabStops](../tabstops/) positions. |
5656
## Remarks
5757
5858

english/cpp/aspose.pdf.text/textfragment/textfragment/_index.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -21,19 +21,19 @@ Aspose::Pdf::Text::TextFragment::TextFragment()
2121
* Class [TextFragment](../)
2222
* Namespace [Aspose::Pdf::Text](../../)
2323
* Library [Aspose.PDF for C++](../../../)
24-
## TextFragment::TextFragment(System::SharedPtr\<TabStops\>) constructor
24+
## TextFragment::TextFragment(const System::SharedPtr\<TabStops\>\&) constructor
2525

2626

2727
Initializes new instance of the [TextFragment](../) object with predefined [TabStops](../../tabstops/) positions.
2828

2929
```cpp
30-
Aspose::Pdf::Text::TextFragment::TextFragment(System::SharedPtr<TabStops> tabStops)
30+
Aspose::Pdf::Text::TextFragment::TextFragment(const System::SharedPtr<TabStops> &tabStops)
3131
```
3232
3333
3434
| Parameter | Type | Description |
3535
| --- | --- | --- |
36-
| tabStops | System::SharedPtr\<TabStops\> | Tabulation positions |
36+
| tabStops | const System::SharedPtr\<TabStops\>\& | Tabulation positions |
3737
3838
## See Also
3939
@@ -42,40 +42,40 @@ Aspose::Pdf::Text::TextFragment::TextFragment(System::SharedPtr<TabStops> tabSto
4242
* Class [TextFragment](../)
4343
* Namespace [Aspose::Pdf::Text](../../)
4444
* Library [Aspose.PDF for C++](../../../)
45-
## TextFragment::TextFragment(System::String) constructor
45+
## TextFragment::TextFragment(const System::String\&) constructor
4646
4747
4848
Creates [TextFragment](../) object with single [TextSegment](../../textsegment/) object inside. Specifies text string inside the segment.
4949
5050
```cpp
51-
Aspose::Pdf::Text::TextFragment::TextFragment(System::String text)
51+
Aspose::Pdf::Text::TextFragment::TextFragment(const System::String &text)
5252
```
5353

5454

5555
| Parameter | Type | Description |
5656
| --- | --- | --- |
57-
| text | System::String | [Text](../../) fragment's text. |
57+
| text | const System::String\& | [Text](../../) fragment's text. |
5858

5959
## See Also
6060

6161
* Class [String](../../../system/string/)
6262
* Class [TextFragment](../)
6363
* Namespace [Aspose::Pdf::Text](../../)
6464
* Library [Aspose.PDF for C++](../../../)
65-
## TextFragment::TextFragment(System::String, System::SharedPtr\<TabStops\>) constructor
65+
## TextFragment::TextFragment(const System::String\&, const System::SharedPtr\<TabStops\>\&) constructor
6666

6767

6868
Creates [TextFragment](../) object with single [TextSegment](../../textsegment/) object inside and predefined [TabStops](../../tabstops/) positions.
6969

7070
```cpp
71-
Aspose::Pdf::Text::TextFragment::TextFragment(System::String text, System::SharedPtr<TabStops> tabStops)
71+
Aspose::Pdf::Text::TextFragment::TextFragment(const System::String &text, const System::SharedPtr<TabStops> &tabStops)
7272
```
7373
7474
7575
| Parameter | Type | Description |
7676
| --- | --- | --- |
77-
| text | System::String | [Text](../../) fragment's text. |
78-
| tabStops | System::SharedPtr\<TabStops\> | Tabulation positions |
77+
| text | const System::String\& | [Text](../../) fragment's text. |
78+
| tabStops | const System::SharedPtr\<TabStops\>\& | Tabulation positions |
7979
8080
## See Also
8181

english/cpp/aspose.pdf/cell/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class Cell : public System::ICloneable
2020
2121
| Method | Description |
2222
| --- | --- |
23-
| [Cell](./cell/)(System::SharedPtr\<Rectangle\>) | Initializes a new instance of the [Cell](./) class. |
23+
| [Cell](./cell/)(const System::SharedPtr\<Rectangle\>\&) | Initializes a new instance of the [Cell](./) class. |
2424
| [Cell](./cell/)() | Initializes a new instance of the [Cell](./) class. |
2525
| [Clone](./clone/)() override | Clone the cell. |
2626
| [get_Alignment](./get_alignment/)() const | Gets the alignment. |

english/cpp/aspose.pdf/cell/cell/_index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,19 +21,19 @@ Aspose::Pdf::Cell::Cell()
2121
* Class [Cell](../)
2222
* Namespace [Aspose::Pdf](../../)
2323
* Library [Aspose.PDF for C++](../../../)
24-
## Cell::Cell(System::SharedPtr\<Rectangle\>) constructor
24+
## Cell::Cell(const System::SharedPtr\<Rectangle\>\&) constructor
2525

2626

2727
Initializes a new instance of the [Cell](../) class.
2828

2929
```cpp
30-
Aspose::Pdf::Cell::Cell(System::SharedPtr<Rectangle> rect)
30+
Aspose::Pdf::Cell::Cell(const System::SharedPtr<Rectangle> &rect)
3131
```
3232
3333
3434
| Parameter | Type | Description |
3535
| --- | --- | --- |
36-
| rect | System::SharedPtr\<Rectangle\> | The rectangle of the cell in page's coordinates. |
36+
| rect | const System::SharedPtr\<Rectangle\>\& | The rectangle of the cell in page's coordinates. |
3737
3838
## See Also
3939

english/cpp/aspose.pdf/pagecollection/_index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,15 @@ class PageCollection : public System::Collections::Generic::ICollection<System::
2828
| [Add](./add/)() | Adds an empty page. If the document already contains pages with varying sizes, the size of the most frequently occurring page will be selected. In the case there are only two different pages, the size of the first page will be used. |
2929
| [Add](./add/)(const System::SharedPtr\<System::Collections::Generic::ICollection\<System::SharedPtr\<Page\>\>\>\&) | Adds to collection all pages from list. |
3030
| [Add](./add/)(const System::ArrayPtr\<System::SharedPtr\<Page\>\>\&) | Adds to collection all pages from array. |
31+
| [BeginUpdate](./beginupdate/)() | Updates when group changes begin. Stops page cache recalculation on each operation. We recommend calling the BeginUpdate/EndUpdate methods in a try-finally block. |
3132
| [Clear](./clear/)() override | Clear page collection. |
3233
| [Contains](./contains/)(const System::SharedPtr\<Page\>\&) const override | Determines whether this instance contains the object. |
3334
| [CopyPage](./copypage/)(System::SharedPtr\<Page\>) | Adds page to collection. |
3435
| [CopyTo](./copyto/)(System::ArrayPtr\<System::SharedPtr\<Page\>\>, int32_t) override | Copyies pages into document. |
3536
| [Delete](./delete/)(int32_t) | Delete specified page. |
3637
| [Delete](./delete/)() | Deletes all pages from collection. |
3738
| [Delete](./delete/)(System::ArrayPtr\<int32_t\>) | Delete pages specified which numbers are specified in array. |
39+
| [EndUpdate](./endupdate/)() | Updates when group changes are complete. Restores page cache recalculations on each operation. We recommend calling the BeginUpdate/EndUpdate methods in a try-finally block. |
3840
| [Flatten](./flatten/)() | Removes all fields located on the pages and place their values instead. |
3941
| [FreeMemory](./freememory/)() override | Clears cached data. |
4042
| [get_Count](./get_count/)() const override | Gets count of pages in the document. |
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
title: Aspose::Pdf::PageCollection::BeginUpdate method
3+
linktitle: BeginUpdate
4+
second_title: Aspose.PDF for C++ API Reference
5+
description: 'Aspose::Pdf::PageCollection::BeginUpdate method. Updates when group changes begin. Stops page cache recalculation on each operation. We recommend calling the BeginUpdate/EndUpdate methods in a try-finally block in C++.'
6+
type: docs
7+
weight: 300
8+
url: /cpp/aspose.pdf/pagecollection/beginupdate/
9+
---
10+
## PageCollection::BeginUpdate method
11+
12+
13+
Updates when group changes begin. Stops page cache recalculation on each operation. We recommend calling the BeginUpdate/EndUpdate methods in a try-finally block.
14+
15+
```cpp
16+
void Aspose::Pdf::PageCollection::BeginUpdate()
17+
```
18+
19+
## See Also
20+
21+
* Class [PageCollection](../)
22+
* Namespace [Aspose::Pdf](../../)
23+
* Library [Aspose.PDF for C++](../../../)

english/cpp/aspose.pdf/pagecollection/clear/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ linktitle: Clear
44
second_title: Aspose.PDF for C++ API Reference
55
description: 'Aspose::Pdf::PageCollection::Clear method. Clear page collection in C++.'
66
type: docs
7-
weight: 300
7+
weight: 400
88
url: /cpp/aspose.pdf/pagecollection/clear/
99
---
1010
## PageCollection::Clear method

0 commit comments

Comments
 (0)