Justify Text

16 posts, 0 answers
  1. Gerardo
    Gerardo avatar
    11 posts
    Member since:
    Dec 2012

    Posted 03 Apr 2013 Link to this post

    Hi Telerik Team

    There is a way of justify text in the Designer? I try using html textbox and assign styles but does not work

    Thanks

    Regards
  2. Elian
    Admin
    Elian avatar
    435 posts

    Posted 08 Apr 2013 Link to this post

    Hi Gerardo,

    Telerik Reporting does not currently support "justify" text alignment. Text justification is used mostly in text formatting applications, such as MS Word and RadEditor and we see it as a nice-to-have feature, not a high priority need-to. 

     

    Greetings,
    Elian
    the Telerik team

    Have you tried the new visualization options in Telerik Reporting Q1 2013? You can get them from your account.

  3. DevCraft banner
  4. Gerardo
    Gerardo avatar
    11 posts
    Member since:
    Dec 2012

    Posted 08 Apr 2013 Link to this post

    Hi Elian

    Thanks for your answer, but are you think in add this property? I comment because Telerik Reporting has formats on word and I think that is a demand property on high companies for presentation standards in documents.

    Regards.
  5. Elian
    Admin
    Elian avatar
    435 posts

    Posted 09 Apr 2013 Link to this post

    Hi Gerardo,

    As previously said text justification is used mostly in text formatting applications, such as MS Word and RadEditor. Telerik Reporting is a reporting tool, which is geared towards data manipulation, but not towards text formatting. From this point of view, adding text justification is not a high priority for the product and we cannot give a particular time frame when this functionality might be available. 
     

    Kind regards,
    Elian
    the Telerik team

    Have you tried the new visualization options in Telerik Reporting Q1 2013? You can get them from your account.

  6. Mark Holdt
    Mark Holdt avatar
    10 posts
    Member since:
    Oct 2009

    Posted 22 Jul 2013 Link to this post

    Dear Telerik team,

    we fully disagree with your argument: "Telerik Reporting is a reporting tool, which is geared towards data manipulation, but not towards text formatting. From this point of view, adding text justification is not a high priority for the product and we cannot give a particular time frame when this functionality might be available."

    Reporting is about presenting information to end-users in an easily readable, high-class standard (including any text or notes that go along with the 'data'). Thus report end users expect text to be represented in a good standard and at minimum this should include 'Text Justification'.

    We urge you to add 'Text justification within Telerik reporting' to your dev roadmap!

    R
    Mark
  7. Stef
    Admin
    Stef avatar
    3036 posts

    Posted 25 Jul 2013 Link to this post

    Hello Mark,

    As we have stated previously the implementation of the justify feature in Telerik Reporting is not that a trivial task because of the different nature of the media where reports are rendered. Our aim is to have consistent rendering behavior between formats and thus having a feature specific for MS Word only is not a solution. Notice justification is a text formatting functionality and we are data driven engine trying to represent data in human-readable way. Feel free to use any additional tools to manipulate the created word documents and add the needed text alignment.

    When we manage to cover the major required features for a reporting data manipulation be sure we will start working on tasks as justifying text.

    Regards,
    Stef
    Telerik

    Have you tried the new visualization options in Telerik Reporting Q2 2013? You can get them from your account.

  8. RN
    RN avatar
    2 posts
    Member since:
    Dec 2013

    Posted 09 Feb 2014 Link to this post

    This is truly amazing, even after endless requests, starting from several years ago. Telerik employees are still arguing with their customers on why they don't need it, instead of actually implementing it.

    See below threads on Telerik's constant argument with customers regarding this matter:
    http://www.telerik.com/forums/justify-text-align (first request Apr 2009, dozens of votes since then)
    http://www.telerik.com/forums/justifying-textbox-text (first request Sept. 2008, Telerik employees arguing with numerous customer)
    http://www.telerik.com/forums/justify-text-alignement (request made in Apr 2008)
    http://www.telerik.com/forums/textbox-textalign-justify
    http://www.telerik.com/forums/text-justification

    If Telerik is incapable of implementing this feature, IMO they need to be honest about it.
    I didn't use Microsoft Reporting, mainly due to the lack of this very important feature (google: text justify rdlc. And you will see the numerous requests for this feature). One would think that Telerik would support it.
    Anyone who has created reports for real world scenarios knows that this is not just a "nice to have" feature but a must have feature.
    What's nice is that at least DexExpress supports this critical feature.
  9. Stef
    Admin
    Stef avatar
    3036 posts

    Posted 12 Feb 2014 Link to this post

    Hello RN,

    The requests are enough for us to consider the feature and add in our To-Do list. In all forums we have explained our considerations in details, that the task is complex and the result would be a feature more native for text formatting tools, which on their side do not handle data processing and visualization available through a reporting engine.

    Regards,
    Stef
    Telerik

    New HTML5/JS REPORT VIEWER with MOBILE AND TOUCH SUPPORT available in Telerik Reporting Q3 2013! Get the new Reporting version from your account or download a trial.

  10. Mark Holdt
    Mark Holdt avatar
    10 posts
    Member since:
    Oct 2009

    Posted 13 Feb 2014 in reply to Stef Link to this post

    We commend Telerik for listening to their customers & adding this highly relevant feature to their reporting dev set!

    Thank you Telerik!
  11. Stef
    Admin
    Stef avatar
    3036 posts

    Posted 13 Feb 2014 Link to this post

    Hi Mark,

    Apologies for misunderstanding.

    The feature is in our To-Do list as we see the demand for it, but the task is not added for implementation in our short plans.

    Regards,
    Stef
    Telerik

    New HTML5/JS REPORT VIEWER with MOBILE AND TOUCH SUPPORT available in Telerik Reporting Q3 2013! Get the new Reporting version from your account or download a trial.

  12. RN
    RN avatar
    2 posts
    Member since:
    Dec 2013

    Posted 17 Feb 2014 Link to this post

    @Mark

    Sorry to burst your bubble. In simple English, what Telerik is saying is that, they would like to implement this feature because obviously so many customers are asking for it. But they are incapable of implementing because it's too difficult of a task for them.
  13. Mikail
    Mikail avatar
    1 posts
    Member since:
    Apr 2014

    Posted 28 Apr 2014 Link to this post

    I just started to develop with Telerik Reports and spend some time with using/exploring the features of it. But now, i stuck in how to justify text! This feature is a must for my project because of some governmental documents. It is demanded that pdf outputs must not include any blank area on left or right on paragraphs.

    As far as I can see, some posts in forum shows that since 2009, there is a huge customer request for this feature and so far, there is not a solution for this lack for some reason!

    Is there another way around that you recommend us to solve this problem?

    Thank you in advance.
  14. Saul
    Saul avatar
    1 posts
    Member since:
    Aug 2014

    Posted 29 Sep 2014 Link to this post

    I cant release anything without this functionality... so next year im going devexpress!
  15. Stef
    Admin
    Stef avatar
    3036 posts

    Posted 30 Sep 2014 Link to this post

    Hello Saul,

    Below is a quote from my reply in your support ticket on the same questions:

    "The feature is not supported, but we consider having the text justification in future releases. There is no ETA for having the feature, and it is not guaranteed the currently researched solutions will cover our quality requirements.

    If it is an emergency my recommendation is to test if Telerik UI for WPF/Silverlight libraries (PdfProcessing) and controls (RadRichTextBox), or Telerik UI for ASP.NET AJAX controls (RadEditor) helps you to accoplish the task. You can also search for third party libraries for post processing of documents.
    "

    The above information can be verified with Telerik Reporting Roadmap.


    Regards,
    Stef
    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.

     
  16. Nasko
    Admin
    Nasko avatar
    909 posts

    Posted 28 Oct 2014 Link to this post

    Hello Gerardo,

    An option to justify the text alignment in the plain text report items (text boxes and check boxes) has been added in the latest release of Telerik Reporting.
    You can try all new features by installing Telerik Reporting Q3 2014 (8.2.14.1027). More information on the features and fixes can be found in the Release History page.

    Regards,
    Nasko
    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.

     
  17. Marcelo
    Marcelo avatar
    2 posts
    Member since:
    Sep 2016

    Posted 05 Sep in reply to Nasko Link to this post

    Hi, I just create a funtion to justify text and works in RDLC reports with a table

    1.        public static List<string> GetText(string text, int width)<br>        {<br>            string[] palabras = text.Split(' ');<br>            StringBuilder sb1 = new StringBuilder();<br>            StringBuilder sb2 = new StringBuilder();<br>            int length = palabras.Length;<br>            List<string> resultado = new List<string>();<br>            for (int i = 0; i < length; i++)<br>            {<br>                sb1.AppendFormat("{0} ", palabras[i]);<br>                if (sb1.ToString().Length > width)<br>                {<br>                    resultado.Add(sb2.ToString());<br>                    sb1 = new StringBuilder();<br>                    sb2 = new StringBuilder();<br>                    i--;<br>                }<br>                else<br>                {<br>                    sb2.AppendFormat("{0} ", palabras[i]);<br>                }<br>            }<br>            resultado.Add(sb2.ToString());<br><br>            List<string> resultado2 = new List<string>();<br>            string temp;<br><br>            int index1, index2, salto;<br>            string target;<br>            int limite = resultado.Count;<br>            foreach (var item in resultado)<br>            {<br>                target = " ";<br>                temp = item.ToString().Trim();<br>                index1 = 0; index2 = 0; salto = 2;<br><br>                if (limite <= 1)<br>                {<br>                    resultado2.Add(temp);<br>                    break;<br>                }<br>                while (temp.Length <= width)<br>                {<br>                    if (temp.IndexOf(target, index2) < 0)<br>                    {<br>                        index1 = 0; index2 = 0;<br>                        target = target + " ";<br>                        salto++;<br>                    }<br>                    index1 = temp.IndexOf(target, index2);<br>                    temp = temp.Insert(temp.IndexOf(target, index2), " ");<br>                    index2 = index1 + salto;<br><br>                }<br>                limite--;<br>                resultado2.Add(temp);<br>            }<br>            return resultado2;<br>        }


  18. Marcelo
    Marcelo avatar
    2 posts
    Member since:
    Sep 2016

    Posted 05 Sep in reply to Gerardo Link to this post

    Hi, I just create a funtion to justify text and works in RDLC reports with a table.

     

            public static List<string> GetText(string text, int width)
            {
                string[] palabras = text.Split(' ');
                StringBuilder sb1 = new StringBuilder();
                StringBuilder sb2 = new StringBuilder();
                int length = palabras.Length;
                List<string> resultado = new List<string>();
                for (int i = 0; i < length; i++)
                {
                    sb1.AppendFormat("{0} ", palabras[i]);
                    if (sb1.ToString().Length > width)
                    {
                        resultado.Add(sb2.ToString());
                        sb1 = new StringBuilder();
                        sb2 = new StringBuilder();
                        i--;
                    }
                    else
                    {
                        sb2.AppendFormat("{0} ", palabras[i]);
                    }
                }
                resultado.Add(sb2.ToString());

                List<string> resultado2 = new List<string>();
                string temp;

                int index1, index2, salto;
                string target;
                int limite = resultado.Count;
                foreach (var item in resultado)
                {
                    target = " ";
                    temp = item.ToString().Trim();
                    index1 = 0; index2 = 0; salto = 2;

                    if (limite <= 1)
                    {
                        resultado2.Add(temp);
                        break;
                    }
                    while (temp.Length <= width)
                    {
                        if (temp.IndexOf(target, index2) < 0)
                        {
                            index1 = 0; index2 = 0;
                            target = target + " ";
                            salto++;
                        }
                        index1 = temp.IndexOf(target, index2);
                        temp = temp.Insert(temp.IndexOf(target, index2), " ");
                        index2 = index1 + salto;

                    }
                    limite--;
                    resultado2.Add(temp);
                }
                return resultado2;
            }

Back to Top
DevCraft banner