From 60057a27146c773b062d4978cc142f65946e7401 Mon Sep 17 00:00:00 2001 From: "PROGRESS\\ykaraman" Date: Wed, 22 Oct 2025 15:45:12 +0300 Subject: [PATCH] Updated 14 standard fonts compliance note + fixed code snippets formatting. --- .../concepts/comply-with-pdfa-standard.md | 2 +- .../embedded-file-streams.md | 2 +- .../radwordsprocessing/model/tablecell.md | 49 +++++++++---------- 3 files changed, 26 insertions(+), 27 deletions(-) diff --git a/libraries/radpdfprocessing/concepts/comply-with-pdfa-standard.md b/libraries/radpdfprocessing/concepts/comply-with-pdfa-standard.md index 6b0e1cef..c71e19eb 100644 --- a/libraries/radpdfprocessing/concepts/comply-with-pdfa-standard.md +++ b/libraries/radpdfprocessing/concepts/comply-with-pdfa-standard.md @@ -65,7 +65,7 @@ This ensures that the exported PDF document is properly tagged, which is essenti >important If you specify an encryption for the document, it will be ignored since the standard does not allow documents to be encrypted. ->important PDF/A standard requires documents to contain all fonts used in them. RadPdfProcessing does not support embedding of the standard 14 fonts used in PDF documents, so using them will prevent the document from complying with the standard. More information about font embedding is available in the [Fonts]({%slug radpdfprocessing-concepts-fonts%}) article. +>important The PDF/A standard requires all fonts used in a document to be embedded. Prior to **Q3 2025**, the [14 standard fonts]({%slug radpdfprocessing-concepts-fonts%}#standard-fonts) were not embedded in the file, which caused the document to be non-compliant. As of **Q3 2025**, these standard fonts are automatically embedded when PDF/A compliance is enabled. More information about font embedding is available in the [Fonts]({%slug radpdfprocessing-concepts-fonts%}) article. ## See Also diff --git a/libraries/radpdfprocessing/features/embedded-file-streams/embedded-file-streams.md b/libraries/radpdfprocessing/features/embedded-file-streams/embedded-file-streams.md index 85b2a5b1..8f6f470a 100644 --- a/libraries/radpdfprocessing/features/embedded-file-streams/embedded-file-streams.md +++ b/libraries/radpdfprocessing/features/embedded-file-streams/embedded-file-streams.md @@ -39,7 +39,7 @@ RadPdfProcessing provides support for embedding of [ZUGFeRD](https://de.wikipedi >note Only a single XML invoice attachment is allowed according to ZUGFeRD standard. ->important To comply with the PDF/A-3B standard all the fonts in the documents should be embedded, so please avoid using [Standard Fonts]({%slug radpdfprocessing-concepts-fonts%}) because they are not being embedded in the document. In **.NET Standard/.NET (Target OS: None)** environments, fonts beyond the [14 standard ones]({%slug radpdfprocessing-concepts-fonts%}#standard-fonts) require a [FontsProvider implementation]({%slug pdfprocessing-implement-fontsprovider%}) to be resolved correctly. +>important The PDF/A standard requires all fonts used in a document to be embedded. Prior to **Q3 2025**, the [14 standard fonts]({%slug radpdfprocessing-concepts-fonts%}#standard-fonts) were not embedded in the file, which caused the document to be non-compliant. As of **Q3 2025**, these standard fonts are automatically embedded when PDF/A compliance is enabled. More information about font embedding is available in the [Fonts]({%slug radpdfprocessing-concepts-fonts%}) article. #### **[C#] Remove ZUGFeRD invoice** diff --git a/libraries/radwordsprocessing/model/tablecell.md b/libraries/radwordsprocessing/model/tablecell.md index de77e8be..536f3c88 100644 --- a/libraries/radwordsprocessing/model/tablecell.md +++ b/libraries/radwordsprocessing/model/tablecell.md @@ -20,14 +20,14 @@ You can use the code snippet from __Example 1__ to create a __TableCell__ and ad #### __[C#] Example 1: Create a TableCell object and add it to a TableRow__ -{{region cs-radwordsprocessing-model-tablecell_0}} - RadFlowDocument radFlowDocument = new RadFlowDocument(); - Table table = radFlowDocument.Sections.AddSection().Blocks.AddTable(); - TableRow row = table.Rows.AddTableRow(); +```` +RadFlowDocument radFlowDocument = new RadFlowDocument(); +Table table = radFlowDocument.Sections.AddSection().Blocks.AddTable(); +TableRow row = table.Rows.AddTableRow(); - TableCell cell = new TableCell(radFlowDocument); - row.Cells.Add(cell); -{{endregion}} +TableCell cell = new TableCell(radFlowDocument); +row.Cells.Add(cell); +```` @@ -36,10 +36,10 @@ To create a __TableCell__ and add it in the document tree in the same time, you #### __[C#] Example 2: Create a TableCell and add it to a TableRow in the same time__ -{{region cs-radwordsprocessing-model-tablecell_1}} - TableRow row = table.Rows.AddTableRow(); - TableCell cell = row.Cells.AddTableCell(); -{{endregion}} +```` +TableRow row = table.Rows.AddTableRow(); +TableCell cell = row.Cells.AddTableCell(); +```` ## Modifying a TableCell @@ -98,15 +98,16 @@ The __TableCell__ element exposes several properties that allow you to customize * __GridRowIndex__: Represents the row index of the cell in the table grid. - -{{region cs-radwordsprocessing-model-tablecell_2}} - Border border = new Border(1, BorderStyle.Single, new ThemableColor(Colors.Blue)); - cell.Borders = new Telerik.Windows.Documents.Flow.Model.Styles.TableCellBorders(border, border, border, border); - cell.Shading.BackgroundColor = new ThemableColor(Colors.Red); - cell.Padding = new Telerik.Windows.Documents.Primitives.Padding(20,20,20,20); - cell.VerticalAlignment = VerticalAlignment.Bottom; - cell.TextDirection = TextDirection.LeftToRightTopToBottom; -{{endregion}} + + +```` +Border border = new Border(1, BorderStyle.Single, new ThemableColor(Colors.Blue)); +cell.Borders = new Telerik.Windows.Documents.Flow.Model.Styles.TableCellBorders(border, border, border, border); +cell.Shading.BackgroundColor = new ThemableColor(Colors.Red); +cell.Padding = new Telerik.Windows.Documents.Primitives.Padding(20,20,20,20); +cell.VerticalAlignment = VerticalAlignment.Bottom; +cell.TextDirection = TextDirection.LeftToRightTopToBottom; +```` ## Operating with a TableCell @@ -118,11 +119,9 @@ __Example 3__ demonstrates how to add a __Paragraph__ to a __TableCell__. #### __[C#] Example 3: Add a paragraph to a TableCell__ -{{region cs-radwordsprocessing-model-tablecell_3}} - Paragraph paragraph = cell.Blocks.AddParagraph(); -{{endregion}} - - +```` +Paragraph paragraph = cell.Blocks.AddParagraph(); +```` Through the __BlockCollection__ property of the __TableCell__ element you can add a __Table__ or any other [BlockBase](https://docs.telerik.com/devtools/document-processing/api/Telerik.Windows.Documents.Flow.Model.BlockBase.html) element.