Revisions in WordprocessingML provide a mechanism for storing information about the evolution of the
document (i.e. the set of modifications made to a document by one or more authors).
<w:pict ...>
<v:shape ...>
<v:fill opacity="39151f"/>
<v:path .../>
<w10:wrap anchorx="page" anchory="page"/>
</v:shape>
</w:pict>
Wrongly imported/exported table cells from nested tables (see the picture below).
Currently, the hyperlink is exported not as hyperlink text only but additionally, all the field data is included.
Steps to reproduce:
editor.InsertHyperlink(text:"telerik", uri:"http://www.telerik.com", isAnchor:false, toolTip:"Telerik site");
Actual: HYPERLINK "http://www.telerik.com" \o "Telerik site" Telerik
Expected: Telerik
Workaround:
IEnumerable<Run> runs = document.EnumerateChildrenOfType<Run>();
foreach (Run run in runs.ToList())
{
if (run.Text.Trim().StartsWith("HYPERLINK"))
{
run.Paragraph.Inlines.Remove(run);
}
}
Add support for inline lists.
When the display attribute is set to inline all items should be on the same row (see attached)
When a watermark needs more space than the available on the page, it should be resized. At this point, part of its content can be cut off as it falls outside of the page bounds.
Workaround: Decrease the size of the watermark prior to exporting it to PDF:
foreach (var section in this.document.Sections)
{
Header header = section.Headers.Default;
if (header != null)
{
foreach (Watermark watermark in header.Watermarks)
{
if (watermark.TextSettings != null && watermark.TextSettings.Width > section.PageSize.Width)
{
watermark.TextSettings.Width = section.PageSize.Width;
}
}
}
}
The missing feature leads to this unwanted behavior:
As a workaround, you need to apply a custom style (with the desired run properties) and apply it to the content control.
When exporting to a PDF file, a document with a header containing a watermark, set by a shape, the rest of the header content is skipped and the header is exported with default margin values.
A possible workaround could be to set the watermark as an image.
Absolute positioning of images, defined in the class stylesheet, is not respected.