Greetings.
In our web application we implemented the Telerik RadEditor.
Now we have a problem exporting a document to word.
When we export the document, the text aligned to the right, keeps normal (from left to right).
However if we align the text with spaces to the right, the format keeps well.
Any idea what might be going on for right alignment not working? Don't know if it helps, put left align and center align are working and are well exported.
Regards.
In our web application we implemented the Telerik RadEditor.
Now we have a problem exporting a document to word.
When we export the document, the text aligned to the right, keeps normal (from left to right).
However if we align the text with spaces to the right, the format keeps well.
Any idea what might be going on for right alignment not working? Don't know if it helps, put left align and center align are working and are well exported.
Regards.
3 Answers, 1 is accepted
0
Hello Cristiano,
I tried to reproduce the described issue, but to no avail. I used this demo (http://demos.telerik.com/aspnet-ajax/editor/examples/import-export/docx-import-export/defaultcs.aspx), and exporting right-aligned content work fine on my end.
Regards,
Ianko
Telerik
I tried to reproduce the described issue, but to no avail. I used this demo (http://demos.telerik.com/aspnet-ajax/editor/examples/import-export/docx-import-export/defaultcs.aspx), and exporting right-aligned content work fine on my end.
Regards,
Ianko
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.
0
Cristiano
Top achievements
Rank 1
answered on 13 Mar 2015, 10:00 AM
Greetings,
Thanks for your reply.
Maybe it's better if I explain all the scenario.
What I'm doing it's, converting the RadFlowDocument to a byte array with the respective dll, using the DocxFormatProvider.
After that, what I'm trying to do is to import this document in the WPF RadEditor using the WPF DLLs version.
I actually was succeeded with this process, and i could import the document to the WPF editor, the only problem I had is that I lost all the right align formatation.
As I said in the previous post, all other aligns are working exept the right align. Any ideas?
Regards.
Thanks for your reply.
Maybe it's better if I explain all the scenario.
What I'm doing it's, converting the RadFlowDocument to a byte array with the respective dll, using the DocxFormatProvider.
After that, what I'm trying to do is to import this document in the WPF RadEditor using the WPF DLLs version.
I actually was succeeded with this process, and i could import the document to the WPF editor, the only problem I had is that I lost all the right align formatation.
As I said in the previous post, all other aligns are working exept the right align. Any ideas?
Regards.
Search Results
-
Documment 11 Workshop on Vimeo
vimeo.com/77218500Oct 18, 2013This is "Documment 11 Workshop" by Camcorder Guerrillas on Vimeo, the home for high quality videos and ...
<g-lightbox jsaction="lcm_lightbox_closed:r.66wbyzIibio" data-rtid="search-3" jsl="$x 1;$t t-ONSAXnzyl6g;$x 0;" class="r-search-4">
</g-lightbox>
Search Results
-
Documment 11 Workshop on Vimeo
vimeo.com/77218500Oct 18, 2013This is "Documment 11 Workshop" by Camcorder Guerrillas on Vimeo, the home for high quality videos and ...
<g-lightbox jsaction="lcm_lightbox_closed:r.66wbyzIibio" data-rtid="search-3" jsl="$x 1;$t t-ONSAXnzyl6g;$x 0;" class="r-search-4">
</g-lightbox>
0
Hello Cristiano,
I am afraid that we are still not able to reproduce the issue. I tested the alignment in the scenario you are describing, but after showing the text in the RadRichTextBox, it is right aligned. I am attaching the project I tested with. Please, take a look in it and let me know if I am missing something.
In addition, if you are still experiencing issues with this, we will appreciate if you send us the part from the code you are using to generate the document.
Regards,
Tanya
Telerik
I am afraid that we are still not able to reproduce the issue. I tested the alignment in the scenario you are describing, but after showing the text in the RadRichTextBox, it is right aligned. I am attaching the project I tested with. Please, take a look in it and let me know if I am missing something.
In addition, if you are still experiencing issues with this, we will appreciate if you send us the part from the code you are using to generate the document.
Regards,
Tanya
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.