In MS Word you can crop the image from Picture Tools -> Format -> Size -> Crop button in the ribbon. This preserves the whole image in the file, but when it is rendered it shows only the cropped image area. This is described with 'srcRect' element in OOXML.
There should be an option allowing users to embed fonts in their documents. Seems to be applicable for DOCX and RTF, MS Word has such option in File -> Options -> Save.
Extend the support for em units. Em is calculated relatively to the font-size style property.
The default table style is not respected from the style system for character or paragraph properties when exporting to PDF format. It looks only into the default paragraph style. Steps to reproduce: 1. Create new Table style and set it as default. 2. Apply foreground themeable color with a value from the document theme. Like Accent1 3. Insert a table with some text in it. 4. Export to PDF. Observed: The text inside the table is not with the color from the document theme.
When exporting to PDF a paragraph in a list, whose first run is longer than the line, the bullets are rendered with wrong baseline and not aligned with the text.
Implement evaluation of = (Formula) fields (https://support.office.com/en-us/article/Field-codes-Formula-field-32d5c9de-3516-4ec3-80ed-d1fc2b5bc21d?ui=en-US&rs=en-US&ad=US ). This will allow export to PDF and HTML.
The control word (\~) is imported but the symbol is not parsed, therefore not included in the content. Fix available in LIB Version 2017.2.814.
When a paragraph doesn't have applied a style, the Normal style should be automatically applied. Currently, similar paragraph obtains its style from the parent. This is reproducible when exporting to PDF and RTF. Workaround: Check if there is a paragraph without style ID and if so, set it to Normal: foreach (var paragraph in this.document.EnumerateChildrenOfType<Paragraph>()) { var value = paragraph.StyleId; if (string.IsNullOrEmpty(value)) { paragraph.StyleId = "Normal"; } } Available in LIB Version 2017.2.731.
In scenarios when center and right tabs are used for aligning the paragraph content to both left and right the text content in the exported PDF is not positioned as expected.
If Paragraph has applied style, and this style has associated list, and the paragraph is removed from the list locally, then on import the paragraph is added to the list. The additional numbering could be removed from the paragraph by changing its style: foreach (var p in this.document.EnumerateChildrenOfType<Paragraph>()) { if (p.ListLevel == 0) { var style = new Telerik.Windows.Documents.Flow.Model.Styles.Style("NoListStyle", StyleType.Paragraph); style.ParagraphProperties.CopyPropertiesFrom(this.document.StyleRepository.GetStyle(p.StyleId).ParagraphProperties); style.ParagraphProperties.ListId.LocalValue = null; style.ParagraphProperties.ListLevel.LocalValue = null; p.StyleId = "NoListStyle"; } }
This setting should allow setting the content between the list level bullet and the paragraph text to some of the following options: "tab", "space", "nothing".
This property allows the user to set the transparency of the image watermark. In the XML, the property is written using the 'blacklevel' attribute of the image.
Add support for shapes with textual content. These are described in OpenXML specification - txbx (Textual contents of shape). Such shape can be added to a Word document using the Insert -> Text -> Text Box The item is closed as duplicate. Please, follow the feature request for shapes at https://feedback.telerik.com/Project/184/Feedback/Details/190116
Add support for character spacing. Currently, such spacing cannot be set and are not imported.
The API should allow the client to navigate to an empty block container and manipulate it. The block containers are Section, TableCell, Header, Footer, Comment. The API should also include manipulation methods for a table like: Add a row to a table. Add a cell to a row. Add a table to an empty cell. Add a paragraph to an empty cell. Add a run to an empty cell. add a text to an empty cell. Move to a next/previous cell. Move to a next/previous row. The API should use the currently applied editor formatting when creating the specified document elements.
Implement repeating header row for tables when exporting with PdfFormatProvider. A similar functionality can be achieved using the editing API of RadPdfProcessing. There is attached a project showing a sample implementation. More details are available in the forum post at http://www.telerik.com/forums/repeat-table-heading-after-page-break#kH616fyAKUiDl6WAknUILg
It would be nice to have the ability to search text in documents. Use case: I needed to replace some keywords with images. I can insert image at the current position, but there is no way to insert it after some text.
This is caused by hasSize field in ShapeBase class which is set when decoding the image size. However, when SetWidth and SetHeight methods are called before the size is initialized the value of hasSize is false which causes the issue. Workaround: Call the Size property getter before calling SetWidth/SetHeight method. See the code below: // This line workarounds the issue with SetWidth method which does not get the correct size when locking aspect ratio. Size size = imageInline.Image.Size; imageInline.Image.SetWidth(true, width);
Introduce support for East Asia fonts.