Effects not loaded properly for Textbox and shapes using .NET

Hi Aspose support,
In our product we have the functionality that converts word document to html.
After conversion word document to html, we were faced with the issues while loading the shapes and text boxes.
We are using Aspose.words (22.8.0) library.

case#1:
After conversion word document to html, overlapping text was not loaded properly with shapes.
(left side word document -right side converted html document)
Arrange_Rotation_with_Text_style_issue.PNG (150.8 KB)

Source document: ShapeArrangeRotationWithText.docx (48.0 KB)

Resulted document after conversion:converted.zip (138.8 KB)

Expected result: Converted html should have the same effects as word document.

case#2:
After conversion word document to html, Textbox effects were not loaded properly.
(left side word document -right side converted html document)
3D_Rotation_effects_issue.PNG (49.8 KB)
Perspective_Oblique_effects_issue.PNG (61.3 KB)
Reflection_effect_issue.PNG (84.0 KB)

Source document:Text box Effects.docx (142.9 KB)

Resulted document after conversion:converted.zip (138.8 KB)

Expected result: Converted html should have the same effects as word document.

Please help with these problems.
Thanks.

@radha.bobbli

  1. I cannot reproduce the problem on my side. Here is code used for testing:
Document doc = new Document(@"C:\Temp\in.docx");
HtmlFixedSaveOptions options = new HtmlFixedSaveOptions();
options.ExportEmbeddedCss = true;
options.ExportEmbeddedFonts = true;
options.ExportEmbeddedImages = true;
options.ExportEmbeddedSvg = true;
doc.Save(@"C:\Temp\out.html", options);

Here is the output document: out.zip (124.7 KB)

  1. Aspose.Words does not fully support rendering of 3D effects. I have logged the problem as WORDSNET-24271. The problem with reflection is logged as WORDSNET-24272.

We will keep you informed and let you know once the issues are resolved.

  1. I have added ExportEmbeddedSvg property as true, after that overlapping text was loaded properly.

Thankyou.

1 Like

The issues you have found earlier (filed as WORDSNET-24272) have been fixed in this Aspose.Words for .NET 22.10 update also available on NuGet.