We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Losing part of DocumentProperty Authos value

Hi Aspose team,

I am trying to change Document property text and for some reason not complete text is shown.
Please see check attached document.
Author value is: "´áb_x0003_à_x0002__x0002_" but I am getting only "´ábà".

Code is simple:

Dim PropertyName As String = ""
Dim OldProperty As String = ""

For Each prop In officeDocument.BuiltInDocumentProperties
If prop.Type = Properties.PropertyType.String Then

PropertyName = prop.Name
OldProperty = prop.Value.ToString
end if
next

Can you please assist?

Thanks,
Oliver

Hi Oliver,

Author property is showing encoded text "_x0003_" and "_x0002" in MS Word but Aspose.Words is showing decoded value. You will get the same decoded value in Author property if you convert the document to PDF using MS Word.

Do you want to get encoded text in any case?

Best Regards,

Hi Muhammad,

thanks for check.
Well, at the end I need to read complete text in DocumentProperty (I expect to see string) and to make changes of it.

Do you have any idea how to overcome when decoded value is in property?

Thanks,
Oliver

Hi Oliver,

We are further investigating it and will update you soon.

Best Regards,

Hi Muhammad,

I had same problem with Aspose.Cells (CELLSNET-43928) and they found a solution.
Can you check with them what they did?

Thanks,
Oliver

Hi Oliver,

The issue has been logged into our issue tracking system as WORDSNET-12511 and it will be fixed by our product team. We will keep you updated on this issue in this thread.

Best Regards,

The issues you have found earlier (filed as WORDSNET-12511) have been fixed in this .NET update and this Java update.


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