<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[FrontAccounting forum — Item Description Wrapping Problem on PDF Invoice]]></title>
		<link>https://frontaccounting.com/punbb/viewtopic.php?id=1168</link>
		<atom:link href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=1168&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Item Description Wrapping Problem on PDF Invoice.]]></description>
		<lastBuildDate>Wed, 10 Mar 2010 19:03:44 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Item Description Wrapping Problem on PDF Invoice]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=5219#p5219</link>
			<description><![CDATA[<p>Thank You so much Joe.</p><p>That is exactly what I needed no more having to go into the MYSql and add spaces to make everything look good.</p>]]></description>
			<author><![CDATA[null@example.com (oneit)]]></author>
			<pubDate>Wed, 10 Mar 2010 19:03:44 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=5219#p5219</guid>
		</item>
		<item>
			<title><![CDATA[Re: Item Description Wrapping Problem on PDF Invoice]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=5145#p5145</link>
			<description><![CDATA[<p>I guess you encountered a bug. A default parameter ($spacereak) was missing in the routine. The default parameters were changed a while ago, and this side-effect appeared. Fixed in CVS main. You can also download the file /reporting/includes/pdf_report.inc here:</p><br /><br /><p>You can change the TextColLines function back to what it was before. Now it will not stretch now.</p><p>/Joe</p>]]></description>
			<author><![CDATA[null@example.com (joe)]]></author>
			<pubDate>Fri, 05 Mar 2010 23:23:57 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=5145#p5145</guid>
		</item>
		<item>
			<title><![CDATA[Re: Item Description Wrapping Problem on PDF Invoice]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=5143#p5143</link>
			<description><![CDATA[<p>Well that fixed my other problem i was having where the last line of text of the wrapped description would be stretched out and the other lines had smaller font.</p><p>But it still cuts words in half for instance this is one of my descriptions:</p><p>Connected to second computer and w<br />aited for data to copy over. Put HDD bac<br />k into server and packaged up for the cou<br />rier.</p><p>Why cant it be made to look like this:</p><p>Connected to second computer and <br />waited for data to copy over. Put HDD <br />back into server and packaged up for <br />the courier.</p><p>It just seems to ignore the spaces and just chops the line at 50 characters.<br />I&#039;ve been looking and found a php function that can wrap lines of text at the last space so can this be changed in FrontAccounting.</p>]]></description>
			<author><![CDATA[null@example.com (oneit)]]></author>
			<pubDate>Fri, 05 Mar 2010 20:01:56 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=5143#p5143</guid>
		</item>
		<item>
			<title><![CDATA[Re: Item Description Wrapping Problem on PDF Invoice]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=5141#p5141</link>
			<description><![CDATA[<p>For Sales invoice, /reporting/rep107.php. Line 131, you se a line:<br /></p><div class="codebox"><pre><code>$rep-&gt;TextColLines(1, 2, $myrow2[&#039;StockDescription&#039;], -2);</code></pre></div><p>This function wraps the lines between column 1 and 2 (0 based). If the description part can not fit, it will scale some of the text.<br />You can try to use<br /></p><div class="codebox"><pre><code>$rep-&gt;TextColLines(1, 2, $myrow2[&#039;StockDescription&#039;], -2, 0, 0, 0, null, 0);</code></pre></div><p>instead and see if it helps. It will not scale the text.</p><p>/Joe</p>]]></description>
			<author><![CDATA[null@example.com (joe)]]></author>
			<pubDate>Fri, 05 Mar 2010 10:44:54 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=5141#p5141</guid>
		</item>
		<item>
			<title><![CDATA[Item Description Wrapping Problem on PDF Invoice]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=5139#p5139</link>
			<description><![CDATA[<p>I am having a problem with long item descriptions not wrapping whole words.<br />For example it will just put 50 characters per line then chop words in half and put them on the next line.<br />I can&#039;t seem to find the php function which is causing this and how can it be fixed.<br />I use the item description to enter in what I did for the labour portition of my job.</p>]]></description>
			<author><![CDATA[null@example.com (oneit)]]></author>
			<pubDate>Fri, 05 Mar 2010 05:57:28 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=5139#p5139</guid>
		</item>
	</channel>
</rss>
