Skip to content

Commit 460d04b

Browse files
Aspose.PDF for Rust via C++: replace_text, add_page_num, add_text_header, add_text_footer, page_replace_text, page_add_page_num, page_add_text_header and page_add_text_footer
1 parent 07a071a commit 460d04b

File tree

43 files changed

+394
-53
lines changed

Some content is hidden

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

43 files changed

+394
-53
lines changed

english/rust-cpp/_index.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,18 @@ pub struct Document { /* private fields */ }
6060
| [rotate](./organize/rotate/) | Rotate PDF-document. |
6161
| [set_background](./organize/set_background/) | Set PDF-document background color using RGB values. |
6262
| [repair](./organize/repair/) | Repair PDF-document. |
63+
| [replace_text](./organize/replace_text/) | Replace text in PDF-document |
64+
| [add_page_num](./organize/add_page_num/) | Add page number to a PDF-document |
65+
| [add_text_header](./organize/add_text_header/) | Add text in Header of a PDF-document |
66+
| [add_text_footer](./organize/add_text_footer/) | Add text in Footer of a PDF-document |
6367
| [page_rotate](./organize/page_rotate/) | Rotate a page in the PDF-document. |
6468
| [page_set_size](./organize/page_set_size/) | Set the size of a page in the PDF-document. |
6569
| [page_grayscale](./organize/page_grayscale/) | Convert page to black and white. |
6670
| [page_add_text](./organize/page_add_text/) | Add text on page. |
71+
| [page_replace_text](./organize/page_replace_text/) | Replace text on page |
72+
| [page_add_page_num](./organize/page_add_page_num/) | Add page number on page |
73+
| [page_add_text_header](./organize/page_add_text_header/) | Add text in page header |
74+
| [page_add_text_footer](./organize/page_add_text_footer/) | Add text in page footer |
6775

6876

6977
## Core PDF functions

english/rust-cpp/convert/export_fdf/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ pub fn export_fdf(&self, filename: &str) -> Result<(), PdfError>
1313
```
1414

1515
**Arguments**
16-
* **filename** the path to the output file
16+
* **filename** - the path to the output file
1717

1818
**Returns**
1919
* **Ok(())** - if the operation succeeds

english/rust-cpp/convert/export_xfdf/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ pub fn export_xfdf(&self, filename: &str) -> Result<(), PdfError>
1313
```
1414

1515
**Arguments**
16-
* **filename** the path to the output file
16+
* **filename** - the path to the output file
1717

1818
**Returns**
1919
* **Ok(())** - if the operation succeeds

english/rust-cpp/convert/export_xml/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ pub fn export_xml(&self, filename: &str) -> Result<(), PdfError>
1313
```
1414

1515
**Arguments**
16-
* **filename** the path to the output file
16+
* **filename** - the path to the output file
1717

1818
**Returns**
1919
* **Ok(())** - if the operation succeeds

english/rust-cpp/convert/page_to_bmp/_index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ pub fn page_to_bmp(&self, num: i32, resolution_dpi: i32, filename: &str) -> Resu
1313
```
1414

1515
**Arguments**
16-
* **num** the page number (1-based)
17-
* **resolution_dpi** the resolution in DPI
18-
* **filename** the path to the output file
16+
* **num** - the page number (1-based)
17+
* **resolution_dpi** - the resolution in DPI
18+
* **filename** - the path to the output file
1919

2020
**Returns**
2121
* **Ok(())** - if the operation succeeds

english/rust-cpp/convert/page_to_dicom/_index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ pub fn page_to_dicom(&self, num: i32, resolution_dpi: i32, filename: &str) -> Re
1313
```
1414

1515
**Arguments**
16-
* **num** the page number (1-based)
17-
* **resolution_dpi** the resolution in DPI
18-
* **filename** the path to the output file
16+
* **num** - the page number (1-based)
17+
* **resolution_dpi** - the resolution in DPI
18+
* **filename** - the path to the output file
1919

2020
**Returns**
2121
* **Ok(())** - if the operation succeeds

english/rust-cpp/convert/page_to_jpg/_index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ pub fn page_to_jpg(&self, num: i32, resolution_dpi: i32, filename: &str) -> Resu
1313
```
1414

1515
**Arguments**
16-
* **num** the page number (1-based)
17-
* **resolution_dpi** the resolution in DPI
18-
* **filename** the path to the output file
16+
* **num** - the page number (1-based)
17+
* **resolution_dpi** - the resolution in DPI
18+
* **filename** - the path to the output file
1919

2020
**Returns**
2121
* **Ok(())** - if the operation succeeds

english/rust-cpp/convert/page_to_pdf/_index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ pub fn page_to_pdf(&self, num: i32, filename: &str) -> Result<(), PdfError>
1313
```
1414

1515
**Arguments**
16-
* **num** the page number (1-based)
17-
* **filename** the path to the output file
16+
* **num** - the page number (1-based)
17+
* **filename** - the path to the output file
1818

1919
**Returns**
2020
* **Ok(())** - if the operation succeeds

english/rust-cpp/convert/page_to_png/_index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ pub fn page_to_png(&self, num: i32, resolution_dpi: i32, filename: &str) -> Resu
1313
```
1414

1515
**Arguments**
16-
* **num** the page number (1-based)
17-
* **resolution_dpi** the resolution in DPI
18-
* **filename** the path to the output file
16+
* **num** - the page number (1-based)
17+
* **resolution_dpi** - the resolution in DPI
18+
* **filename** - the path to the output file
1919

2020
**Returns**
2121
* **Ok(())** - if the operation succeeds

english/rust-cpp/convert/page_to_svg/_index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ pub fn page_to_svg(&self, num: i32, filename: &str) -> Result<(), PdfError>
1313
```
1414

1515
**Arguments**
16-
* **num** the page number (1-based)
17-
* **filename** the path to the output file
16+
* **num** - the page number (1-based)
17+
* **filename** - the path to the output file
1818

1919
**Returns**
2020
* **Ok(())** - if the operation succeeds

0 commit comments

Comments
 (0)