Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions english/cpp/aspose.pdf.text/fontrepository/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,16 @@ class FontRepository : public System::Object

| Method | Description |
| --- | --- |
| static [FindFont](./findfont/)(System::String) | Searches and returns font with specified font name. |
| static [FindFont](./findfont/)(System::String, bool) | Searches and returns font with specified font name ignoring or honoring case sensitivity. |
| static [FindFont](./findfont/)(System::String, FontStyles) | Searches and returns font with specified font name and font style. |
| static [FindFont](./findfont/)(System::String, FontStyles, bool) | Searches and returns font with specified font name and font style ignoring or honoring case sensitivity. |
| static [FindFont](./findfont/)(const System::String\&) | Searches and returns font with specified font name. |
| static [FindFont](./findfont/)(const System::String\&, bool) | Searches and returns font with specified font name ignoring or honoring case sensitivity. |
| static [FindFont](./findfont/)(const System::String\&, FontStyles) | Searches and returns font with specified font name and font style. |
| static [FindFont](./findfont/)(const System::String\&, FontStyles, bool) | Searches and returns font with specified font name and font style ignoring or honoring case sensitivity. |
| static [get_Sources](./get_sources/)() | Gets font sources collection. |
| static [get_Substitutions](./get_substitutions/)() | Gets font substitution strategies collection. |
| 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. |
| static [OpenFont](./openfont/)(System::SharedPtr\<System::IO::Stream\>, FontTypes) | Opens font with specified font stream. |
| static [OpenFont](./openfont/)(System::String) | Opens font with specified font file path. |
| static [OpenFont](./openfont/)(System::String, System::String) | Opens font with specified font file path and metrics file path. |
| static [OpenFont](./openfont/)(const System::SharedPtr\<System::IO::Stream\>\&, const FontTypes\&) | Opens font with specified font stream. |
| static [OpenFont](./openfont/)(const System::String\&) | Opens font with specified font file path. |
| static [OpenFont](./openfont/)(const System::String\&, const System::String\&) | Opens font with specified font file path and metrics file path. |
| static [ReloadFonts](./reloadfonts/)() | Reloads all fonts specified by property [Sources](../) |


Expand Down
24 changes: 12 additions & 12 deletions english/cpp/aspose.pdf.text/fontrepository/findfont/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,19 @@ type: docs
weight: 100
url: /cpp/aspose.pdf.text/fontrepository/findfont/
---
## FontRepository::FindFont(System::String, FontStyles) method
## FontRepository::FindFont(const System::String\&, FontStyles) method


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

```cpp
static System::SharedPtr<Font> Aspose::Pdf::Text::FontRepository::FindFont(System::String fontFamilyName, FontStyles stl)
static System::SharedPtr<Font> Aspose::Pdf::Text::FontRepository::FindFont(const System::String &fontFamilyName, FontStyles stl)
```


| Parameter | Type | Description |
| --- | --- | --- |
| fontFamilyName | System::String | [Font](../../font/) family name. |
| fontFamilyName | const System::String\& | [Font](../../font/) family name. |
| stl | FontStyles | [Font](../../font/) style value. |

### ReturnValue
Expand All @@ -35,19 +35,19 @@ static System::SharedPtr<Font> Aspose::Pdf::Text::FontRepository::FindFont(Syste
* Class [FontRepository](../)
* Namespace [Aspose::Pdf::Text](../../)
* Library [Aspose.PDF for C++](../../../)
## FontRepository::FindFont(System::String, FontStyles, bool) method
## FontRepository::FindFont(const System::String\&, FontStyles, bool) method


Searches and returns font with specified font name and font style ignoring or honoring case sensitivity.

```cpp
static System::SharedPtr<Font> Aspose::Pdf::Text::FontRepository::FindFont(System::String fontFamilyName, FontStyles stl, bool ignoreCase)
static System::SharedPtr<Font> Aspose::Pdf::Text::FontRepository::FindFont(const System::String &fontFamilyName, FontStyles stl, bool ignoreCase)
```


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

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


Searches and returns font with specified font name.

```cpp
static System::SharedPtr<Font> Aspose::Pdf::Text::FontRepository::FindFont(System::String fontName)
static System::SharedPtr<Font> Aspose::Pdf::Text::FontRepository::FindFont(const System::String &fontName)
```


| Parameter | Type | Description |
| --- | --- | --- |
| fontName | System::String | [Font](../../font/) name. |
| fontName | const System::String\& | [Font](../../font/) name. |

### ReturnValue

Expand All @@ -90,19 +90,19 @@ static System::SharedPtr<Font> Aspose::Pdf::Text::FontRepository::FindFont(Syste
* Class [FontRepository](../)
* Namespace [Aspose::Pdf::Text](../../)
* Library [Aspose.PDF for C++](../../../)
## FontRepository::FindFont(System::String, bool) method
## FontRepository::FindFont(const System::String\&, bool) method


Searches and returns font with specified font name ignoring or honoring case sensitivity.

```cpp
static System::SharedPtr<Font> Aspose::Pdf::Text::FontRepository::FindFont(System::String fontName, bool ignoreCase)
static System::SharedPtr<Font> Aspose::Pdf::Text::FontRepository::FindFont(const System::String &fontName, bool ignoreCase)
```


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

### ReturnValue
Expand Down
22 changes: 11 additions & 11 deletions english/cpp/aspose.pdf.text/fontrepository/openfont/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,20 @@ type: docs
weight: 500
url: /cpp/aspose.pdf.text/fontrepository/openfont/
---
## FontRepository::OpenFont(System::SharedPtr\<System::IO::Stream\>, FontTypes) method
## FontRepository::OpenFont(const System::SharedPtr\<System::IO::Stream\>\&, const FontTypes\&) method


Opens font with specified font stream.

```cpp
static System::SharedPtr<Font> Aspose::Pdf::Text::FontRepository::OpenFont(System::SharedPtr<System::IO::Stream> fontStream, FontTypes fontType)
static System::SharedPtr<Font> Aspose::Pdf::Text::FontRepository::OpenFont(const System::SharedPtr<System::IO::Stream> &fontStream, const FontTypes &fontType)
```


| Parameter | Type | Description |
| --- | --- | --- |
| fontStream | System::SharedPtr\<System::IO::Stream\> | [Font](../../font/) stream. |
| fontType | FontTypes | [Font](../../font/) type value. |
| fontStream | const System::SharedPtr\<System::IO::Stream\>\& | [Font](../../font/) stream. |
| fontType | const FontTypes\& | [Font](../../font/) type value. |

### ReturnValue

Expand All @@ -35,19 +35,19 @@ static System::SharedPtr<Font> Aspose::Pdf::Text::FontRepository::OpenFont(Syste
* Class [FontRepository](../)
* Namespace [Aspose::Pdf::Text](../../)
* Library [Aspose.PDF for C++](../../../)
## FontRepository::OpenFont(System::String) method
## FontRepository::OpenFont(const System::String\&) method


Opens font with specified font file path.

```cpp
static System::SharedPtr<Font> Aspose::Pdf::Text::FontRepository::OpenFont(System::String fontFilePath)
static System::SharedPtr<Font> Aspose::Pdf::Text::FontRepository::OpenFont(const System::String &fontFilePath)
```


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

### ReturnValue

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


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

```cpp
static System::SharedPtr<Font> Aspose::Pdf::Text::FontRepository::OpenFont(System::String fontFilePath, System::String metricsFilePath)
static System::SharedPtr<Font> Aspose::Pdf::Text::FontRepository::OpenFont(const System::String &fontFilePath, const System::String &metricsFilePath)
```


| Parameter | Type | Description |
| --- | --- | --- |
| fontFilePath | System::String | [Font](../../font/) file path. |
| metricsFilePath | System::String | [Font](../../font/) metrics file patrh. |
| fontFilePath | const System::String\& | [Font](../../font/) file path. |
| metricsFilePath | const System::String\& | [Font](../../font/) metrics file patrh. |

### ReturnValue

Expand Down
6 changes: 3 additions & 3 deletions english/cpp/aspose.pdf.text/textfragment/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ class TextFragment : public Aspose::Pdf::BaseParagraph
| [set_VerticalAlignment](./set_verticalalignment/)(Aspose::Pdf::VerticalAlignment) override | Sets a vertical alignment of text fragment. |
| [set_WrapLinesCount](./set_wraplinescount/)(int32_t) | Sets wrap lines count for this paragraph(for pdf generation only) |
| [TextFragment](./textfragment/)() | Initializes new instance of the [TextFragment](./) object. |
| [TextFragment](./textfragment/)(System::SharedPtr\<TabStops\>) | Initializes new instance of the [TextFragment](./) object with predefined [TabStops](../tabstops/) positions. |
| [TextFragment](./textfragment/)(System::String) | Creates [TextFragment](./) object with single [TextSegment](../textsegment/) object inside. Specifies text string inside the segment. |
| [TextFragment](./textfragment/)(System::String, System::SharedPtr\<TabStops\>) | Creates [TextFragment](./) object with single [TextSegment](../textsegment/) object inside and predefined [TabStops](../tabstops/) positions. |
| [TextFragment](./textfragment/)(const System::SharedPtr\<TabStops\>\&) | Initializes new instance of the [TextFragment](./) object with predefined [TabStops](../tabstops/) positions. |
| [TextFragment](./textfragment/)(const System::String\&) | Creates [TextFragment](./) object with single [TextSegment](../textsegment/) object inside. Specifies text string inside the segment. |
| [TextFragment](./textfragment/)(const System::String\&, const System::SharedPtr\<TabStops\>\&) | Creates [TextFragment](./) object with single [TextSegment](../textsegment/) object inside and predefined [TabStops](../tabstops/) positions. |
## Remarks


Expand Down
20 changes: 10 additions & 10 deletions english/cpp/aspose.pdf.text/textfragment/textfragment/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,19 @@ Aspose::Pdf::Text::TextFragment::TextFragment()
* Class [TextFragment](../)
* Namespace [Aspose::Pdf::Text](../../)
* Library [Aspose.PDF for C++](../../../)
## TextFragment::TextFragment(System::SharedPtr\<TabStops\>) constructor
## TextFragment::TextFragment(const System::SharedPtr\<TabStops\>\&) constructor


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

```cpp
Aspose::Pdf::Text::TextFragment::TextFragment(System::SharedPtr<TabStops> tabStops)
Aspose::Pdf::Text::TextFragment::TextFragment(const System::SharedPtr<TabStops> &tabStops)
```


| Parameter | Type | Description |
| --- | --- | --- |
| tabStops | System::SharedPtr\<TabStops\> | Tabulation positions |
| tabStops | const System::SharedPtr\<TabStops\>\& | Tabulation positions |

## See Also

Expand All @@ -42,40 +42,40 @@ Aspose::Pdf::Text::TextFragment::TextFragment(System::SharedPtr<TabStops> tabSto
* Class [TextFragment](../)
* Namespace [Aspose::Pdf::Text](../../)
* Library [Aspose.PDF for C++](../../../)
## TextFragment::TextFragment(System::String) constructor
## TextFragment::TextFragment(const System::String\&) constructor


Creates [TextFragment](../) object with single [TextSegment](../../textsegment/) object inside. Specifies text string inside the segment.

```cpp
Aspose::Pdf::Text::TextFragment::TextFragment(System::String text)
Aspose::Pdf::Text::TextFragment::TextFragment(const System::String &text)
```


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

## See Also

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


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

```cpp
Aspose::Pdf::Text::TextFragment::TextFragment(System::String text, System::SharedPtr<TabStops> tabStops)
Aspose::Pdf::Text::TextFragment::TextFragment(const System::String &text, const System::SharedPtr<TabStops> &tabStops)
```


| Parameter | Type | Description |
| --- | --- | --- |
| text | System::String | [Text](../../) fragment's text. |
| tabStops | System::SharedPtr\<TabStops\> | Tabulation positions |
| text | const System::String\& | [Text](../../) fragment's text. |
| tabStops | const System::SharedPtr\<TabStops\>\& | Tabulation positions |

## See Also

Expand Down
2 changes: 1 addition & 1 deletion english/cpp/aspose.pdf/cell/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class Cell : public System::ICloneable

| Method | Description |
| --- | --- |
| [Cell](./cell/)(System::SharedPtr\<Rectangle\>) | Initializes a new instance of the [Cell](./) class. |
| [Cell](./cell/)(const System::SharedPtr\<Rectangle\>\&) | Initializes a new instance of the [Cell](./) class. |
| [Cell](./cell/)() | Initializes a new instance of the [Cell](./) class. |
| [Clone](./clone/)() override | Clone the cell. |
| [get_Alignment](./get_alignment/)() const | Gets the alignment. |
Expand Down
6 changes: 3 additions & 3 deletions english/cpp/aspose.pdf/cell/cell/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,19 @@ Aspose::Pdf::Cell::Cell()
* Class [Cell](../)
* Namespace [Aspose::Pdf](../../)
* Library [Aspose.PDF for C++](../../../)
## Cell::Cell(System::SharedPtr\<Rectangle\>) constructor
## Cell::Cell(const System::SharedPtr\<Rectangle\>\&) constructor


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

```cpp
Aspose::Pdf::Cell::Cell(System::SharedPtr<Rectangle> rect)
Aspose::Pdf::Cell::Cell(const System::SharedPtr<Rectangle> &rect)
```


| Parameter | Type | Description |
| --- | --- | --- |
| rect | System::SharedPtr\<Rectangle\> | The rectangle of the cell in page's coordinates. |
| rect | const System::SharedPtr\<Rectangle\>\& | The rectangle of the cell in page's coordinates. |

## See Also

Expand Down
2 changes: 2 additions & 0 deletions english/cpp/aspose.pdf/pagecollection/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,15 @@ class PageCollection : public System::Collections::Generic::ICollection<System::
| [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. |
| [Add](./add/)(const System::SharedPtr\<System::Collections::Generic::ICollection\<System::SharedPtr\<Page\>\>\>\&) | Adds to collection all pages from list. |
| [Add](./add/)(const System::ArrayPtr\<System::SharedPtr\<Page\>\>\&) | Adds to collection all pages from array. |
| [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. |
| [Clear](./clear/)() override | Clear page collection. |
| [Contains](./contains/)(const System::SharedPtr\<Page\>\&) const override | Determines whether this instance contains the object. |
| [CopyPage](./copypage/)(System::SharedPtr\<Page\>) | Adds page to collection. |
| [CopyTo](./copyto/)(System::ArrayPtr\<System::SharedPtr\<Page\>\>, int32_t) override | Copyies pages into document. |
| [Delete](./delete/)(int32_t) | Delete specified page. |
| [Delete](./delete/)() | Deletes all pages from collection. |
| [Delete](./delete/)(System::ArrayPtr\<int32_t\>) | Delete pages specified which numbers are specified in array. |
| [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. |
| [Flatten](./flatten/)() | Removes all fields located on the pages and place their values instead. |
| [FreeMemory](./freememory/)() override | Clears cached data. |
| [get_Count](./get_count/)() const override | Gets count of pages in the document. |
Expand Down
23 changes: 23 additions & 0 deletions english/cpp/aspose.pdf/pagecollection/beginupdate/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
title: Aspose::Pdf::PageCollection::BeginUpdate method
linktitle: BeginUpdate
second_title: Aspose.PDF for C++ API Reference
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++.'
type: docs
weight: 300
url: /cpp/aspose.pdf/pagecollection/beginupdate/
---
## 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.

```cpp
void Aspose::Pdf::PageCollection::BeginUpdate()
```

## See Also

* Class [PageCollection](../)
* Namespace [Aspose::Pdf](../../)
* Library [Aspose.PDF for C++](../../../)
2 changes: 1 addition & 1 deletion english/cpp/aspose.pdf/pagecollection/clear/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ linktitle: Clear
second_title: Aspose.PDF for C++ API Reference
description: 'Aspose::Pdf::PageCollection::Clear method. Clear page collection in C++.'
type: docs
weight: 300
weight: 400
url: /cpp/aspose.pdf/pagecollection/clear/
---
## PageCollection::Clear method
Expand Down
2 changes: 1 addition & 1 deletion english/cpp/aspose.pdf/pagecollection/contains/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ linktitle: Contains
second_title: Aspose.PDF for C++ API Reference
description: 'Aspose::Pdf::PageCollection::Contains method. Determines whether this instance contains the object in C++.'
type: docs
weight: 400
weight: 500
url: /cpp/aspose.pdf/pagecollection/contains/
---
## PageCollection::Contains method
Expand Down
2 changes: 1 addition & 1 deletion english/cpp/aspose.pdf/pagecollection/copypage/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ linktitle: CopyPage
second_title: Aspose.PDF for C++ API Reference
description: 'Aspose::Pdf::PageCollection::CopyPage method. Adds page to collection in C++.'
type: docs
weight: 500
weight: 600
url: /cpp/aspose.pdf/pagecollection/copypage/
---
## PageCollection::CopyPage method
Expand Down
2 changes: 1 addition & 1 deletion english/cpp/aspose.pdf/pagecollection/copyto/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ linktitle: CopyTo
second_title: Aspose.PDF for C++ API Reference
description: 'Aspose::Pdf::PageCollection::CopyTo method. Copyies pages into document in C++.'
type: docs
weight: 600
weight: 700
url: /cpp/aspose.pdf/pagecollection/copyto/
---
## PageCollection::CopyTo method
Expand Down
2 changes: 1 addition & 1 deletion english/cpp/aspose.pdf/pagecollection/delete/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ linktitle: Delete
second_title: Aspose.PDF for C++ API Reference
description: 'Aspose::Pdf::PageCollection::Delete method. Deletes all pages from collection in C++.'
type: docs
weight: 700
weight: 800
url: /cpp/aspose.pdf/pagecollection/delete/
---
## PageCollection::Delete() method
Expand Down
Loading