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
5 changes: 4 additions & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,10 @@ navigation:
position: 7
libraries/radpdfprocessing/model/formsource:
title: FormSource
position: 8
position: 8
libraries/radpdfprocessing/editing/table:
title: Table
position: 2
## RadZipLibrary Start
"*radziplibrary":
title: RadZipLibrary
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,4 +91,4 @@ Measuring the table and calculating the remaining page height is the suitable ap
## See Also

- [FixedContentEditor]({%slug radpdfprocessing-editing-fixedcontenteditor%})
- [Tables]({%slug radpdfprocessing-editing-table%})
- [Tables]({%slug radpdfprocessing-editing-table-overview%})
2 changes: 1 addition & 1 deletion knowledge-base/change-block-text-color-in-pdf-table.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ To change the text color inside a table in a PDF document using RadPdfProcessing

Here's how to achieve this:

1. Create a [Table]({%slug radpdfprocessing-editing-table%}) and add a [Row]({%slug radpdfprocessing-editing-tablerow%}) and a [Cell]({%slug radpdfprocessing-editing-tablecell%}) to it.
1. Create a [Table]({%slug radpdfprocessing-editing-table-overview%}) and add a [Row]({%slug radpdfprocessing-editing-table-tablerow%}) and a [Cell]({%slug radpdfprocessing-editing-table-tablecell%}) to it.
2. Add a [Block]({%slug radpdfprocessing-editing-block%}) to the cell for the text you want to display.
3. Use `SaveGraphicProperties()` to save the current graphic state.
4. Set the [FillColor]({%slug radpdfprocessing-concepts-colors-and-color-spaces%}) property of [GraphicProperties]({%slug radpdfprocessing-editing-text-and-graphic-properties%}) to the desired color.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ res_type: kb
Learn how to add a dashed line border in a table using [RadPdfProcessing]({%slug radpdfprocessing-overview%}).

# Solution
To create a dashed line border for a [Table]({%slug radpdfprocessing-editing-table%}) in RadPdfProcessing, you can follow these steps:
To create a dashed line border for a [Table]({%slug radpdfprocessing-editing-table-overview%}) in RadPdfProcessing, you can follow these steps:

1. Set the desired font style properties for the table.
2. Create a `Border` object with the desired thickness, style, and color.
Expand Down Expand Up @@ -76,13 +76,13 @@ Please note that you can modify the `Borders` property of the `DefaultCellProper
table.DefaultCellProperties.Borders = new TableCellBorders(null, null, null,b);
```

>note As of **Q3 2024** RadPdfProcessing offers *Dotted*, *Dashed*, and *DashSmallGap* [border styles]({%slug radpdfprocessing-editing-table%}) out-of-the-box without the necessity to play with the **StrokeDashArray** of the **FixedContentEditor**. With this update, the Dotted, Dashed, DashSmallGap, and Thick border lines are now exported from [RadFlowDocument]({%slug radwordsprocessing-model-radflowdocument%}) to [RadFixedDocument]({%slug radpdfprocessing-model-radfixeddocument%}) as well.
>note As of **Q3 2024** RadPdfProcessing offers *Dotted*, *Dashed*, and *DashSmallGap* [border styles]({%slug radpdfprocessing-editing-table-overview%}) out-of-the-box without the necessity to play with the **StrokeDashArray** of the **FixedContentEditor**. With this update, the Dotted, Dashed, DashSmallGap, and Thick border lines are now exported from [RadFlowDocument]({%slug radwordsprocessing-model-radflowdocument%}) to [RadFixedDocument]({%slug radpdfprocessing-model-radfixeddocument%}) as well.

## See Also

* [TableCell]({%slug radpdfprocessing-editing-tablecell%})
* [Table]({%slug radpdfprocessing-editing-table%})
* [TableCell]({%slug radpdfprocessing-editing-table-tablecell%})
* [Table]({%slug radpdfprocessing-editing-table-overview%})
* [FixedContentEditor]({%slug radpdfprocessing-editing-fixedcontenteditor%})
* [Supported Border Styles]({%slug radpdfprocessing-editing-table%})
* [Supported Border Styles]({%slug radpdfprocessing-editing-table-overview%})


4 changes: 2 additions & 2 deletions knowledge-base/customize-table-layout-radpdfprocessing.md
Original file line number Diff line number Diff line change
Expand Up @@ -188,5 +188,5 @@ Here's an example code snippet demonstrating the setup:

## See Also

- [Tables in RadPdfProcessing]({%slug radpdfprocessing-editing-table%})
- [TableCell]({%slug radpdfprocessing-editing-tablecell%})
- [Tables in RadPdfProcessing]({%slug radpdfprocessing-editing-table-overview%})
- [TableCell]({%slug radpdfprocessing-editing-table-tablecell%})
4 changes: 2 additions & 2 deletions knowledge-base/generate-table-with-images-pdf-processing.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ res_type: kb

# Description

Learn how to create a PDF document containing a [Table]({%slug radpdfprocessing-editing-table%}) with [images]({%slug radpdfprocessing-model-image%}).
Learn how to create a PDF document containing a [Table]({%slug radpdfprocessing-editing-table-overview%}) with [images]({%slug radpdfprocessing-model-image%}).

# Solution

Expand Down Expand Up @@ -82,7 +82,7 @@ Here is an example of how to implement this solution:

# See Also
- [RadPdfProcessing]({%slug radpdfprocessing-overview%}})
- [Table]({%slug radpdfprocessing-editing-table%})
- [Table]({%slug radpdfprocessing-editing-table-overview%})
- [Images]({%slug radpdfprocessing-model-image%})

Remember to adjust the code according to your specific requirements and environment.
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ The observed result is illustrated below:
## See Also
- [RadPdfProcessing]({%slug radpdfprocessing-overview%})
- [RadFixedDocumentEditor]({%slug radpdfprocessing-editing-radfixeddocumenteditor%})
- [Table]({%slug radpdfprocessing-editing-table%})
- [Table]({%slug radpdfprocessing-editing-table-overview%})
- [Creating Custom Layout Tables with RadPdfProcessing]({%slug customize-table-layout-radpdfprocessing%})
- [How to Generate a Table with Images with PdfProcessing]({%slug generate-table-with-images-pdf-processing%})

4 changes: 2 additions & 2 deletions knowledge-base/insert-form-xobject-elements-pdf-table-cell.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ ticketid: 1663177

## Description

Learn how to insert interactive [form fields]({%slug radpdfprocessing-model-interactive-forms-form-fields%}) such as [radio buttons]({%slug radpdfprocessing-model-interactive-forms-form-fields-radiobuttonfield%}) and [textboxes]({%slug radpdfprocessing-model-interactive-forms-form-fields-textboxfield%}) into [table cells]({%slug radpdfprocessing-editing-tablecell%}) in a PDF document using RadPdfProcessing.
Learn how to insert interactive [form fields]({%slug radpdfprocessing-model-interactive-forms-form-fields%}) such as [radio buttons]({%slug radpdfprocessing-model-interactive-forms-form-fields-radiobuttonfield%}) and [textboxes]({%slug radpdfprocessing-model-interactive-forms-form-fields-textboxfield%}) into [table cells]({%slug radpdfprocessing-editing-table-tablecell%}) in a PDF document using RadPdfProcessing.

![Pdf Table with Form Fields](images/pdf-table-with-form-fields.png)

Expand All @@ -27,7 +27,7 @@ To insert interactive form fields like radio buttons and textboxes into table ce

1. Create a new [RadFixedDocument]({%slug radpdfprocessing-model-radfixeddocument%}) and add a page to it.
2. Initialize a [FixedContentEditor]({%slug radpdfprocessing-editing-fixedcontenteditor%}) on the page for drawing content.
3. Define a [Table]({%slug radpdfprocessing-editing-table%}) object and configure its properties, including borders and cell padding.
3. Define a [Table]({%slug radpdfprocessing-editing-table-overview%}) object and configure its properties, including borders and cell padding.
4. For each row in the table:
- Add a text cell with the caption using [InsertText](https://docs.telerik.com/devtools/document-processing/libraries/radpdfprocessing/editing/block#inserting-text).
- Create a [RadioButtonField]({%slug radpdfprocessing-model-interactive-forms-form-fields-radiobuttonfield%}) , configure its options, and draw it in a table cell.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ ticketid: 1671595
| 2024.4.1106.NET Standard| RadWordsProcessing-RadPdfProcessing |[Desislava Yordanova](https://www.telerik.com/blogs/author/desislava-yordanova)|

## Description
When generating PDF documents, a common requirement is to insert HTML content into specific sections of the document, such as a [TableCell]({%slug radpdfprocessing-editing-tablecell%}). This article demonstrates how to achieve this using the smooth integration between [RadPdfProcessing]({%slug radpdfprocessing-overview%}) and [RadWordsProcessing]({%slug radwordsprocessing-overview%}) libraries.
When generating PDF documents, a common requirement is to insert HTML content into specific sections of the document, such as a [TableCell]({%slug radpdfprocessing-editing-table-tablecell%}). This article demonstrates how to achieve this using the smooth integration between [RadPdfProcessing]({%slug radpdfprocessing-overview%}) and [RadWordsProcessing]({%slug radwordsprocessing-overview%}) libraries.

>caption Sample HTML content to Insert

Expand All @@ -43,7 +43,7 @@ To insert HTML content into a `TableCell` in a PDF document, you can obtain the

1. **Convert the exported PDF content to an Image**: Use the RadPdfProcessing's [PdfFormatProvider]({%slug radpdfprocessing-formats-and-conversion-pdf-pdfformatprovider%}) to import the PDF-converted HTML content to [RadFixedDocument]({%slug radpdfprocessing-model-radfixeddocument%}) and the [SkiaImageFormatProvider]({%slug radpdfprocessing-formats-and-conversion-image-using-skiaimageformatprovider%}) to export the PDF pages to images.

1. **Insert the exported Images into the PDF TableCell**: Use RadPdfProcessing's [FixedContentEditor]({%slug radpdfprocessing-editing-fixedcontenteditor%}) to create the main PDF document with a table and insert the converted PDF images into the desired [TableCell]({%slug radpdfprocessing-editing-tablecell%}).
1. **Insert the exported Images into the PDF TableCell**: Use RadPdfProcessing's [FixedContentEditor]({%slug radpdfprocessing-editing-fixedcontenteditor%}) to create the main PDF document with a table and insert the converted PDF images into the desired [TableCell]({%slug radpdfprocessing-editing-table-tablecell%}).

### Inserting HTML Content as PDF

Expand Down
8 changes: 4 additions & 4 deletions knowledge-base/table-column-span-radpdfprocessing.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ ticketid: 1660148

## Description

Creating [tables]({%slug radpdfprocessing-editing-table%}) with varying column counts and sizes in a PDF can be challenging, especially when trying to merge cells across columns to achieve a specific layout. This article demonstrates how to use the `ColumnSpan` property in the RadPdfProcessing library to merge cells across columns and adjust the layout of tables as required. This KB article also answers the following questions:
Creating [tables]({%slug radpdfprocessing-editing-table-overview%}) with varying column counts and sizes in a PDF can be challenging, especially when trying to merge cells across columns to achieve a specific layout. This article demonstrates how to use the `ColumnSpan` property in the RadPdfProcessing library to merge cells across columns and adjust the layout of tables as required. This KB article also answers the following questions:
- How do I merge cells across columns in a PDF table using RadPdfProcessing?
- How can I adjust the column count dynamically in a table created with RadPdfProcessing?
- What is the correct way to apply `ColumnSpan` in RadPdfProcessing tables for custom layouts?
Expand All @@ -26,7 +26,7 @@ Creating [tables]({%slug radpdfprocessing-editing-table%}) with varying column c

To correctly implement column spanning in tables using RadPdfProcessing, follow these steps:

1. Create a new [Table]({%slug radpdfprocessing-editing-table%}) and configure its properties, such as `LayoutType` and `DefaultCellProperties`.
1. Create a new [Table]({%slug radpdfprocessing-editing-table-overview%}) and configure its properties, such as `LayoutType` and `DefaultCellProperties`.

2. When adding cells to a row that includes a column span, adjust the number of added cells accordingly. For a row with cells that should span across multiple columns, reduce the number of total cells in that row by the span amount minus one.

Expand Down Expand Up @@ -115,5 +115,5 @@ The achieved result is illustrated below:

## See Also

- [Tables in RadPdfProcessing]({%slug radpdfprocessing-editing-table%})
- [TableCell]({%slug radpdfprocessing-editing-tablecell%})
- [Tables in RadPdfProcessing]({%slug radpdfprocessing-editing-table-overview%})
- [TableCell]({%slug radpdfprocessing-editing-table-tablecell%})
6 changes: 3 additions & 3 deletions knowledge-base/table-header-row-in-pdf-processing.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ res_type: kb

## Description

[RadPdfProcessing]({%slug radpdfprocessing-overview%}) allows you to create [Tables]({%slug radpdfprocessing-editing-table%}). A common requirement is to have a header row for the table. This article shows how to simulate such functionality.
[RadPdfProcessing]({%slug radpdfprocessing-overview%}) allows you to create [Tables]({%slug radpdfprocessing-editing-table-overview%}). A common requirement is to have a header row for the table. This article shows how to simulate such functionality.

## Solution
Table header row can be added as a standard TableRow with bold text.
Expand Down Expand Up @@ -73,6 +73,6 @@ Table header row can be added as a standard TableRow with bold text.

* [How to implement FontsProvider]({%slug pdfprocessing-implement-fontsprovider%}})
* [Fonts]({%slug radpdfprocessing-cross-platform-fonts%}})
* [TableCell]({%slug radpdfprocessing-editing-tablecell%})
* [Table]({%slug radpdfprocessing-editing-table%})
* [TableCell]({%slug radpdfprocessing-editing-table-tablecell%})
* [Table]({%slug radpdfprocessing-editing-table-overview%})
* [FixedContentEditor]({%slug radpdfprocessing-editing-fixedcontenteditor%}})
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ __What's New__

* RadFixedDocumentEditor class which creates fixed content in a flow-like manner. [Read more.]({%slug radpdfprocessing-editing-radfixeddocumenteditor%})

* Introduced Tables generator allowing easy export of tabular data content. [Read more.]({%slug radpdfprocessing-editing-table%})
* Introduced Tables generator allowing easy export of tabular data content. [Read more.]({%slug radpdfprocessing-editing-table-overview%})

* Exposed Block class allowing to draw and split in parts groups of text, images and shapes. [Read more.]({%slug radpdfprocessing-editing-block%})

Expand Down
6 changes: 3 additions & 3 deletions libraries/radpdfprocessing/editing/fixedcontenteditor.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ position: 4
|**DrawEllipse**|Draws an ellipse ([Geometry]({%slug radpdfprocessing-concepts-geometry%})).|
|**DrawCircle**|Draws a circle ([Geometry]({%slug radpdfprocessing-concepts-geometry%})).|
|**DrawPath**|Draws a path ([Geometry]({%slug radpdfprocessing-concepts-geometry%})).|
|**DrawTable**|Draws a [Table]({%slug radpdfprocessing-editing-table%}) with size depening on the overload.|
|**DrawTable**|Draws a [Table]({%slug radpdfprocessing-editing-table-overview%}) with size depening on the overload.|
|**DrawBlock**|Draws a [Block]({%slug radpdfprocessing-editing-block%}) with size depening on the overload.|
|**Draw**|Draws the specified element.|

Expand Down Expand Up @@ -194,7 +194,7 @@ __Example 8__ generates a table and draws it in some fixed size.

![Rad Pdf Processing Editing Fixed Content Editor 06](images/RadPdfProcessing_Editing_FixedContentEditor_06.png)

More detailed information about tables is available in the [Table]({%slug radpdfprocessing-editing-table%}) documentation article.
More detailed information about tables is available in the [Table]({%slug radpdfprocessing-editing-table-overview%}) documentation article.

### Inserting Forms

Expand Down Expand Up @@ -307,7 +307,7 @@ __FixedContentEditor__ has some properties and methods that affect how it will b
* [Image]({%slug radpdfprocessing-model-image%})
* [Geometry]({%slug radpdfprocessing-concepts-geometry%})
* [Clipping]({%slug radpdfprocessing-concepts-clipping%})
* [Table]({%slug radpdfprocessing-editing-table%})
* [Table]({%slug radpdfprocessing-editing-table-overview%})
* [How to Generate a PDF Document from Images with FixedContentEditor]({%slug pdf-from-images-with-fixedcontenteditor%})
* [Adding a Watermark to PDF Files Using RadPdfProcessing]({%slug add-watermark-pdf-radpdfprocessing%})
* [Adding Images with a Shadow in PDF Documents]({%slug add-shadow-image-radpdfprocessing%})
Expand Down
6 changes: 3 additions & 3 deletions libraries/radpdfprocessing/editing/list.md
Original file line number Diff line number Diff line change
Expand Up @@ -261,9 +261,9 @@ The following code snippet shows how to create __List__ with __BulletDefault__ t
## See Also

* [Block]({%slug radpdfprocessing-editing-block%})
* [Table]({%slug radpdfprocessing-editing-table%})
* [TableRow]({%slug radpdfprocessing-editing-tablerow%})
* [TableCell]({%slug radpdfprocessing-editing-tablecell%})
* [Table]({%slug radpdfprocessing-editing-table-overview%})
* [TableRow]({%slug radpdfprocessing-editing-table-tablerow%})
* [TableCell]({%slug radpdfprocessing-editing-table-tablecell%})
* [FixedContentEditor]({%slug radpdfprocessing-editing-fixedcontenteditor%})
* [RadFixedDocumentEditor]({%slug radpdfprocessing-editing-radfixeddocumenteditor%})
* [Customizing the Font of Numbered Lists with RadPdfProcessing]({%slug customize-font-numbered-lists-radpdfprocessing%})
6 changes: 3 additions & 3 deletions libraries/radpdfprocessing/editing/radfixeddocumenteditor.md
Original file line number Diff line number Diff line change
Expand Up @@ -270,11 +270,11 @@ The __Table__ class implements the __IBlockElement__ interface and an instance o
radFixedDocumentEditor.InsertTable(table);
{{endregion}}

For more detailed information on tables, check the [Table]({%slug radpdfprocessing-editing-table%}) documentation article.
For more detailed information on tables, check the [Table]({%slug radpdfprocessing-editing-table-overview%}) documentation article.

## Block Elements

The [IBlockElement](https://docs.telerik.com/devtools/document-processing/api/Telerik.Windows.Documents.Fixed.Model.Editing.Flow.IBlockElement.html) interface allows you to easily draw and split some block content onto pages. The interface is implemented by [Block]({%slug radpdfprocessing-editing-block%}) and [Table]({%slug radpdfprocessing-editing-table%}) classes. You can easily add some block element instance with RadFixedDocumentEditor using the InsertBlock() method like illustrated in __Example 9__.
The [IBlockElement](https://docs.telerik.com/devtools/document-processing/api/Telerik.Windows.Documents.Fixed.Model.Editing.Flow.IBlockElement.html) interface allows you to easily draw and split some block content onto pages. The interface is implemented by [Block]({%slug radpdfprocessing-editing-block%}) and [Table]({%slug radpdfprocessing-editing-table-overview%}) classes. You can easily add some block element instance with RadFixedDocumentEditor using the InsertBlock() method like illustrated in __Example 9__.

#### __[C#] Example 12: Insert Block element__

Expand Down Expand Up @@ -321,6 +321,6 @@ There is an additional overload of InsertFormInline() that enables you to pass t
* [RadFixedDocument]({%slug radpdfprocessing-model-radfixeddocument%})
* [RadFixedPage]({%slug radpdfprocessing-model-radfixedpage%})
* [ImageSource]({%slug radpdfprocessing-model-imagesource%})
* [Table]({%slug radpdfprocessing-editing-table%})
* [Table]({%slug radpdfprocessing-editing-table-overview%})
* [How to Generate a PDF Document from Images with RadFixedDocumentEditor]({%slug pdf-from-images-with-radfixeddocumenteditor%})
* [Generating a Table with RadFixedDocumentEditor]({%slug generate-table-with-radfixeddocumenteditor%})
Loading