Word to PDF error: Requested default value for an unknown attribute

The issues you have found earlier (filed as CELLSNET-46331) have been fixed in Aspose.Cells for .NET v18.9. This message was posted using BugNotificationTool from Downloads module by Amjad_Sahi

It had been fixed exception "shape to image error " when converting an XLSX filt to pdf .There are some different original documents after converting pdf,when we used the Aspose.cells for .NEt v18.9. please reference the CELLSNET-46331.png.CELLSNET-46331.png (373.2 KB)EX4TK1C3.xlsx.pdf (264.0 KB)

@PowerHu,

We were able to observe the issue but we need to look into it more. We have logged the issue in our database for investigation and for a fix. Once, we will have some news for you, we will update you in this topic.

This issue has been logged as

CELLSNET-46348 - Differences when converting an XLSX file to PDF

The issues you have found earlier (filed as WORDSNET-17430) have been fixed in this Aspose.Words for .NET 18.10 update and this Aspose.Words for Java 18.10 update.

It had been fixed exception "Requested default value " when converting an word file to pdf .There are some different original documents after converting pdf,when we used the Aspose.words for .NEt v18.10. please reference the png file.16KP_01pcs.doc.pdf (401.9 KB)
WordSNET-17430.png (323.6 KB)

@PowerHu,

While using the latest version of Aspose.Words i.e. 18.10, we managed to reproduce this issue on our end. We have logged this issue in our bug tracking system. The ID of this issue is WORDSNET-17583. Your thread has been linked to this issue and you will be notified as soon as it is resolved. Sorry for the inconvenience.

@PowerHu,

Regarding WORDSNET-17583, please run the following code on your machine and provide console output and resulting image.

using (Bitmap bmp = new Bitmap(1000, 100))
{
    using (Graphics gr = Graphics.FromImage(bmp))
    {
        Font fnt = new Font("DFKai-SB", 100, FontStyle.Regular);
        Console.WriteLine(fnt.FontFamily.Name);
        using (GraphicsPath path = new GraphicsPath())
        {
            path.AddString("環球旅行第五十五期", fnt.FontFamily, (int) FontStyle.Regular, 100, PointF.Empty, StringFormat.GenericTypographic);
            gr.FillPath(new SolidBrush(Color.Black), path);
        }
        bmp.Save("out.png");
    }
}

The console output is “標楷體”, and please check the resulting image .
out.png (2.7 KB)

@PowerHu,

Thanks for the details. We will keep you posted on any further updates.

@PowerHu,

It seems that we have identified the problem. Aspose.Words currently searches the font family by English name but on your machine, FontFamily.Name seems to be returning the localized name.

Please also run the following code and provide the console output.

Font fnt = new Font("DFKai-SB", 100, FontStyle.Regular);
Console.WriteLine(fnt.FontFamily.GetName(0));
Console.WriteLine(fnt.FontFamily.GetName(new CultureInfo("en-US").LCID));

The console output is as bellow.out.png (2.7 KB)

@PowerHu,

It seems that you have again attached the same out.png that you attached earlier in your this post.

Please execute the following code and provide the output shown in visual studio’s console.

Font fnt = new Font("DFKai-SB", 100, FontStyle.Regular);
Console.WriteLine(fnt.FontFamily.GetName(0));
Console.WriteLine(fnt.FontFamily.GetName(new CultureInfo("en-US").LCID));

I am sorry for upload the old output . I have upload the new output .outputex.png (460 Bytes)

@PowerHu,

Thanks for the details. We will keep you posted on any further updates.

The issues you have found earlier (filed as WORDSNET-17583) have been fixed in this Aspose.Words for .NET 18.11 update and this Aspose.Words for Java 18.11 update.

Thanks.
The test result is OK of WORDSNET-17853.
How about the CELLSNET-46348 bug status?

@PowerHu

Thanks for your inquiry. The issue (CELLSNET-46348) depends on some complex features those need to be supported first. Unfortunately, there is no update available on this issue at the moment. We will inform you via this forum thread once there is an update available on it.

We apologize for your inconvenience.

How about the CELLSNET-46348 bug status?

@PowerHu

We regret to share with you that there is no update available on this issue at the moment. We will be sure to inform you once this issue is resolved.

We apologize for your inconvenience.

@PowerHu,

Also, we are afraid, currently, we have no plans to support 3D effects for now. So, the issue “CELLSNET-46348” will not be resolved in near future.