Status of Open Tickets

Can you please give me an update on the following defect database issues:
7494
7665
7770
7769

Hi

Thanks for your request.
Issue #7494 – unresolved
Issue #7665 – unresolved, but there is simple workaround, you can just remove SmartTags before converting the document to PDF. Here is the code:

Document doc = new Document(@"Doc.doc");
RemoveSmartTags(doc);
doc.SaveToPdf(@"out.pdf");
///
/// Removes all SmartTYag nodes from the docuemnt, preserving content
///
/// Input document
private void RemoveSmartTags(Document doc)
{
    // Get collection of SmartTags from the document
    NodeCollection nodes = doc.GetChildNodes(NodeType.SmartTag, true, true);
    // Loop while there is SmartTags in the document
    while (nodes.Count> 0)
    {
        SmartTag tag = (SmartTag) nodes[0];
        // Get parent node of smartTag.
        // we should move all content from smatrTag to its parent to preserve documents content
        CompositeNode parent = tag.ParentNode;
        // Loop throuht all nodes inside smartTag and move its convent to parent node
        while (tag.HasChildNodes)
            parent.InsertBefore(tag.FirstChild, tag);
        // Remove smartTag
        tag.Remove();
    }
}

Issue #7770 – unresolved, but there is simple workaround. You can just set an empty value of the form field. Here is the code:

// Open document
Document doc = new Document(@"Test075\in.doc");
// Before saving we should remove values from empty formafields
foreach(FormField field in doc.Range.FormFields)
{
    if (string.IsNullOrEmpty(field.Result))
        field.Result = string.Empty;
}
// Save output document
doc.SaveToPdf(@"Test075\out.pdf");

Issue #7769 – unresolved.
Best regards.

The issues you have found earlier (filed as 7769) have been fixed in this update.

This message was posted using Notification2Forum from Downloads module by aspose.notifier.

The issues you have found earlier (filed as 7494;7770) have been fixed in this update.

This message was posted using Notification2Forum from Downloads module by aspose.notifier.
(45)

The issues you have found earlier (filed as 7665) have been fixed in this update.

This message was posted using Notification2Forum from Downloads module by aspose.notifier.
(9)