tag:blogger.com,1999:blog-4632568145083787579.post5232048262173790966..comments2023-04-04T07:45:29.570-07:00Comments on Flex Fields: Handling Text Wrapping with Fixed Rows in BI Desktop PublisherAK Lakshmananhttp://www.blogger.com/profile/03268792511249548944noreply@blogger.comBlogger6125tag:blogger.com,1999:blog-4632568145083787579.post-84333324191264251662014-01-24T01:49:28.595-08:002014-01-24T01:49:28.595-08:00HI Lakshmanan,
Can u give the final finished tem...HI Lakshmanan,<br /><br /><br />Can u give the final finished template as an attachment .That will be a real great help for lots of people.<br /><br /><br />Thanks in advance<br />Arun P.Arun Pnoreply@blogger.comtag:blogger.com,1999:blog-4632568145083787579.post-86016953730566645802011-10-18T11:30:33.070-07:002011-10-18T11:30:33.070-07:00Hi Lakshmanan,
I do not see Loop and end loop i...Hi Lakshmanan,<br /><br /> I do not see Loop and end loop in attached template. Why? Did you uploaded a wrong template??<br /><br />Regards,<br /> Gcnoreply@blogger.comtag:blogger.com,1999:blog-4632568145083787579.post-6269309785773481372011-05-12T10:19:04.687-07:002011-05-12T10:19:04.687-07:00Yes Possible.Yes Possible.AKlakshmanannoreply@blogger.comtag:blogger.com,1999:blog-4632568145083787579.post-29245910977039782012011-05-12T09:37:33.536-07:002011-05-12T09:37:33.536-07:00Hi Lakshmanan,Just wanted to know if the string wr...Hi Lakshmanan,Just wanted to know if the string wrapping could be done in the RTF?<br />New BIP userRonald Mausnoreply@blogger.comtag:blogger.com,1999:blog-4632568145083787579.post-14596063032266322812010-08-09T11:02:57.752-07:002010-08-09T11:02:57.752-07:00Raj,
Thanks for noticing that. Actually I changed...Raj,<br /><br />Thanks for noticing that. Actually I changed that logic to consider individual word wrapping also but forgot to update the blog.<br /><br />Here is the new logic,<br />ln_Act_lgth := length(lc_data);<br />ln_lgth:=0;<br />ln_row:=1; <br />loop<br /> -- Get the first word of the string without the space. <br /> lc_word := substr(lc_data,1,instr(lc_data,' ')-1);<br /> --get the length of the existing word on the current line with the current word. <br /> ln_lgth := ln_lgth + NVL(length(lc_word),0); <br /> --Add 1 for space when calculating the total length so.<br /> ln_tot_lgth := ln_tot_lgth + NVL(length(lc_word),0)+1; <br /> --if length of the existing word on the current line with the current word <br /> --is more than 24 means then the line will break into two.<br /> IF ln_lgth >= 24 THEN<br /> ln_row := ln_row+1;<br /> ln_lgth:= NVL(length(lc_word),0);<br /> END IF;<br /> ln_lgth := ln_lgth+1;<br /> exit when ln_tot_lgth >= ln_Act_lgth;<br /> --get the balance remaining string apart from the current word.<br /> lc_data := substr(lc_data,instr(lc_data,' ')+1); <br />end loop;AK Lakshmananhttps://www.blogger.com/profile/03268792511249548944noreply@blogger.comtag:blogger.com,1999:blog-4632568145083787579.post-62383692154573674752010-07-31T10:34:55.174-07:002010-07-31T10:34:55.174-07:00Hi Lakshmanan,
I am having one doubt in this logi...Hi Lakshmanan,<br /><br />I am having one doubt in this logic...<br /><br />Assume that length of description was 48, then length(ITEM_DESCRIPTION) MOD 24 ie(48 mod 24 will return 0 ). So, as per our logic how many rows it will take instead of printing in 2 rows... Plz Clarify me..Unknownhttps://www.blogger.com/profile/10484179559394397778noreply@blogger.com