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

Justify Text

17 Answers 1050 Views
Report Designer (standalone)
This is a migrated thread and some comments may be shown as answers.
Gerardo
Top achievements
Rank 1
Gerardo asked on 03 Apr 2013, 02:38 PM
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

17 Answers, 1 is accepted

Sort by
0
Elian
Telerik team
answered on 08 Apr 2013, 08:36 AM
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.

0
Gerardo
Top achievements
Rank 1
answered on 08 Apr 2013, 02:17 PM
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.
0
Elian
Telerik team
answered on 09 Apr 2013, 02:49 PM
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.

0
Mark Holdt
Top achievements
Rank 1
answered on 22 Jul 2013, 08:40 AM
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
0
Stef
Telerik team
answered on 25 Jul 2013, 11:11 AM
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.

0
RN
Top achievements
Rank 1
answered on 10 Feb 2014, 01:49 AM
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.
0
Stef
Telerik team
answered on 12 Feb 2014, 08:37 PM
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.

0
Mark Holdt
Top achievements
Rank 1
answered on 13 Feb 2014, 07:03 AM
We commend Telerik for listening to their customers & adding this highly relevant feature to their reporting dev set!

Thank you Telerik!
0
Stef
Telerik team
answered on 13 Feb 2014, 08:48 AM
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.

0
RN
Top achievements
Rank 1
answered on 17 Feb 2014, 08:50 PM
@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.
0
Mikail
Top achievements
Rank 1
answered on 28 Apr 2014, 02:34 PM
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.
0
Saul
Top achievements
Rank 1
answered on 29 Sep 2014, 06:46 PM
I cant release anything without this functionality... so next year im going devexpress!
0
Stef
Telerik team
answered on 30 Sep 2014, 11:09 AM
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.

 
0
Nasko
Telerik team
answered on 28 Oct 2014, 02:43 PM
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.

 
0
Marcelo
Top achievements
Rank 1
answered on 05 Sep 2016, 07:32 PM

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>        }


0
Marcelo
Top achievements
Rank 1
answered on 05 Sep 2016, 07:34 PM

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;
        }

0
Gilson
Top achievements
Rank 1
answered on 31 Mar 2017, 06:13 PM

<style>
/* table, th,  */ td,  
div {
text-align: justify !important;
text-justify:auto;
}
</style>

* For viewing in the browser but can not print properly,

 

Tags
Report Designer (standalone)
Asked by
Gerardo
Top achievements
Rank 1
Answers by
Elian
Telerik team
Gerardo
Top achievements
Rank 1
Mark Holdt
Top achievements
Rank 1
Stef
Telerik team
RN
Top achievements
Rank 1
Mikail
Top achievements
Rank 1
Saul
Top achievements
Rank 1
Nasko
Telerik team
Marcelo
Top achievements
Rank 1
Gilson
Top achievements
Rank 1
Share this question
or