This is a migrated thread and some comments may be shown as answers.

align right not working

3 Answers 261 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
Cristiano
Top achievements
Rank 1
Cristiano asked on 12 Mar 2015, 12:07 AM
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.

3 Answers, 1 is accepted

Sort by
0
Ianko
Telerik team
answered on 13 Mar 2015, 08:14 AM
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
 

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.








 
 

Search Results

     
  1. Documment | Facebook

    https://www.facebook.com/pages/Documment/101911733180458
     
    Documment. 19 likes. TV. ... Documment. Privacy · Terms. About. Documment. TV. 19 people like this topic. Want to like this Page? Sign up for Facebook to get ...
  2. GISM - 05 - Documment One - Last.fm

    www.last.fm/music/G.I.S.M./_/G.I.S.M.+-+05+-+Documment+One
     
    G.I.S.M. – G.I.S.M. - 05 - Documment One at Last.fm. Legendary Japanese hardcore punk band (with metal leanings), formed in Japan in 1980. It featured ...
  3. Enterprise Content Management:IBM Content Navigator:Import ...

    https://www.ibm.com/developerworks/community/forums/.../topic?id...
     
    Oct 17, 2013 - Is there any way to restrict the user to import a documment with the same name and properties of a documment that already exist in the ICN ...
  4. Redirect documment URL | Qlik Community

    community.qlik.com/thread/61503
    Sep 13, 2012 - 2 posts - ‎1 author
    Hi guys, I was wondering if it's possible to get a shorter URL for my document. In fact, when i open a document from the access point , i get a ...
  5. Tire gem: is documment exists in index? - Stack Overflow

    stackoverflow.com/questions/.../tire-gem-is-documment-exists-in-index
     
    Nov 7, 2013 - You should create custom matcher: RSpec::Matchers.define :be_in_search_index do |expected| match do |actual| ...
  6. the documment to deal opiu - TripAdvisor

    www.tripadvisor.com › ... › Things to Do in George Town
     
    Pinang Peranakan Museum, George Town Picture: the documment to deal opiu - Check out TripAdvisor members' 7567 candid photos and videos of Pinang ...
  7. the documment to deal opiu - TripAdvisor

    www.tripadvisor.com › ... › Penang › Penang Island › George Town
     
    George Town, Penang Island Picture: the documment to deal opiu - Check out TripAdvisor members' 7487 candid photos and videos of George Town.
  8. Documment 11 Workshop on Vimeo

    vimeo.com/77218500
    Oct 18, 2013
    This is "Documment 11 Workshop" by Camcorder Guerrillas on Vimeo, the home for high quality videos and ...
     
  9. Documment | irishrepublicanmarxisthistoryproject

    https://irishrepublicanmarxisthistoryproject.wordpress.com/.../docummen...
     
    Dec 27, 2014 - Posts about Documment written by irishrepublicanmarxisthistoryproject.
  10. OpenOffice.org Forum :: various documment files preview

    www.oooforum.org › ... › OpenOffice.org Macros and API
    3 posts - ‎2 authors
    Posted: Wed Mar 24, 2004 4:59 am Post subject: various documment files preview, Reply with quote. Hello! I'm writing a application to preview (view without edit ...

<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>
 
 
1 2 3 4 5 6 7 8 9 10
 
 

 
 

Search Results

     
  1. Documment | Facebook

    https://www.facebook.com/pages/Documment/101911733180458
     
    Documment. 19 likes. TV. ... Documment. Privacy · Terms. About. Documment. TV. 19 people like this topic. Want to like this Page? Sign up for Facebook to get ...
  2. GISM - 05 - Documment One - Last.fm

    www.last.fm/music/G.I.S.M./_/G.I.S.M.+-+05+-+Documment+One
     
    G.I.S.M. – G.I.S.M. - 05 - Documment One at Last.fm. Legendary Japanese hardcore punk band (with metal leanings), formed in Japan in 1980. It featured ...
  3. Enterprise Content Management:IBM Content Navigator:Import ...

    https://www.ibm.com/developerworks/community/forums/.../topic?id...
     
    Oct 17, 2013 - Is there any way to restrict the user to import a documment with the same name and properties of a documment that already exist in the ICN ...
  4. Redirect documment URL | Qlik Community

    community.qlik.com/thread/61503
    Sep 13, 2012 - 2 posts - ‎1 author
    Hi guys, I was wondering if it's possible to get a shorter URL for my document. In fact, when i open a document from the access point , i get a ...
  5. Tire gem: is documment exists in index? - Stack Overflow

    stackoverflow.com/questions/.../tire-gem-is-documment-exists-in-index
     
    Nov 7, 2013 - You should create custom matcher: RSpec::Matchers.define :be_in_search_index do |expected| match do |actual| ...
  6. the documment to deal opiu - TripAdvisor

    www.tripadvisor.com › ... › Things to Do in George Town
     
    Pinang Peranakan Museum, George Town Picture: the documment to deal opiu - Check out TripAdvisor members' 7567 candid photos and videos of Pinang ...
  7. the documment to deal opiu - TripAdvisor

    www.tripadvisor.com › ... › Penang › Penang Island › George Town
     
    George Town, Penang Island Picture: the documment to deal opiu - Check out TripAdvisor members' 7487 candid photos and videos of George Town.
  8. Documment 11 Workshop on Vimeo

    vimeo.com/77218500
    Oct 18, 2013
    This is "Documment 11 Workshop" by Camcorder Guerrillas on Vimeo, the home for high quality videos and ...
     
  9. Documment | irishrepublicanmarxisthistoryproject

    https://irishrepublicanmarxisthistoryproject.wordpress.com/.../docummen...
     
    Dec 27, 2014 - Posts about Documment written by irishrepublicanmarxisthistoryproject.
  10. OpenOffice.org Forum :: various documment files preview

    www.oooforum.org › ... › OpenOffice.org Macros and API
    3 posts - ‎2 authors
    Posted: Wed Mar 24, 2004 4:59 am Post subject: various documment files preview, Reply with quote. Hello! I'm writing a application to preview (view without edit ...

<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>
 
 
1 2 3 4 5 6 7 8 9 10
 
 
0
Tanya
Telerik team
answered on 17 Mar 2015, 01:49 PM
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
 

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.

 
Tags
RichTextBox
Asked by
Cristiano
Top achievements
Rank 1
Answers by
Ianko
Telerik team
Cristiano
Top achievements
Rank 1
Tanya
Telerik team
Share this question
or