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

Free Support Forum - aspose.com

Determine if direct formatting is applied?

Hi,

Is it possible to determine if a Font or ParagraphFormat has direct formatting applied to it? I need this to be able to merge two paragraphs and merge their formats like Winword does?

Thanks,

Christophe

Hi Christophe,


Before merging, you can clear direct formatting applied to Run or Paragraph by using following methods.

Font.ClearFormatting Method (Resets to default font formatting)
ParagraphFormat.ClearFormatting Method (Resets to default paragraph formatting)

Best regards,

Hi Awais,

Yes I have seen those methods to clear formatting. But is there a method to see if text has received direct formatting? In Winword one can activate a panel with Shift+F1 and then one can see if direct formatting has been applied. I’d need something similar in Aspose…

Thanks,

Christophe

Hi Christophe,


Thanks for your inquiry. We have logged this problem in our issue tracking system. The ID of this issue is WORDSNET-14524. Our product team will further look into the details of this problem and we will keep you updated on the status of this issue. We apologize for any inconvenience.

Best regards,

Ok, thanks Awais!