AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
How to import styles in word1/21/2023 ![]() When copying styles between the attached documents, an exception occurs. ![]() We have performed some more testing, and ran into several issues. We hope that you are willing to resolve this issue in the next release. To be honest, the lack of an adequate response regarding this issue brings up the question whether Aspose is actually the right choice for us. It is understandable that some issues have a higher priority, but it has been over five years now, and this issue has still not been addressed. The workarounds that have been suggested in this thread all involve a lot of work and do not produce an acceptable result. Our current Word implementation simply calls Document.CopyStylesFromTemplate(). We are converting a solution based on the Word API to Aspose, which is exactly what Aspose aims to facilitate. ![]() Our use case is to apply the styles from one or more templates to another document, thereby forcing a document style that is consistent across all documents. An alternative would be to introduce a new ImportFormatMode similar to KeepSourceFormatting but that redefines styles instead of generating new styles (cluttering the document). We also really need to have an importStyles method.
0 Comments
Read More
Leave a Reply. |