I am doing text Redaction on my word and ppt documents, but the problem is I’m not able to retain the font property.
For e.g. I’m replacing a text which has its own font property/formatting but after the text Redaction the property/formatting is not getting retained.
How can I do this?
@Niteen_Jadhav
It seems that the issue you’re experiencing with text redaction, specifically regarding the retention of font properties and formatting, has been addressed in later versions of the GroupDocs.Redaction and GroupDocs.Total libraries. If you are using an older version, it may not support the functionality you need.
To resolve this issue, I recommend upgrading to the latest version of the GroupDocs.Redaction library. The newer versions have been tested and confirmed to work correctly with various document types, including Word and PowerPoint, ensuring that font properties and formatting are retained during the redaction process.
If you are currently using an expired license, you can request a temporary license to test the latest version and verify that it meets your requirements. Once you confirm that the fix works for your documents, you can renew your license to continue using the updated product.
For further assistance, you may want to check the official documentation or reach out to the support team if you encounter any specific issues during the upgrade process.
Sources:
[1]: Problem With GroupDocs.Redaction 20.7 with word document
I’m using latest version of groupdocs Redaction
@Niteen_Jadhav
Please share following details and we’ll investigate this issue:
- Sample code for text redaction
- Problematic Word and PPT files
- Development environemnt details (e.g. OS, server, .NET version)
I have tested it thoroughly and found out that the issue appears only in viewer and Working properly after downloading the file, below is the steps to recreate,
1: load 1 file in editor.
2: Edit the text manually in editor (kendo editor)
3: try to view the file in viewer
please find below screenshot and word file for your reference
Text Redaction Detail.zip (644.4 KB)
additionally, sometimes after editing the bold text of the file also change
@Niteen_Jadhav
We reviewed both the original and the edited Word files in MS Word, and the row titled “Change in Law” appears to be the same in both documents image.png (75.3 KB).
Could you please specify the exact text you are replacing, including its original formatting or font properties?
The files are same after downloading but we are facing issue while viewing the file in viewer, shared screenshot for The same
@Niteen_Jadhav
Could you please share the viewer implementation code or configuration you’re using? This will help us identify any potential issues in the viewer setup.
We are able to view all the other files properly
@Niteen_Jadhav
Can you reproduce this issue with this app? We still need a sample application to reproduce the issue.
No, the issue is only coming after Redaction
@Niteen_Jadhav
Please share a sample application using that issue could be reproduced.