<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="Street"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="address"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:"Estrangelo Edessa";
        panose-1:0 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:Calibri;
        color:windowtext;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><font size=2 face=Calibri><span style='font-size:10.0pt;
font-family:Calibri'>I’ve been trying to figure out how to control line
breaks. See below for an attempt at a description of the problemo..<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Calibri><span style='font-size:10.0pt;
font-family:Calibri'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Calibri><span style='font-size:10.0pt;
font-family:Calibri'>JP Fulton.................................... 248/123-4567(¬)<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Calibri><span style='font-size:10.0pt;
font-family:Calibri'>1154 Street <st1:Street w:st="on"><st1:address w:st="on">Name
Rd</st1:address></st1:Street>(¬)<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Calibri><span style='font-size:10.0pt;
font-family:Calibri'>City, State Zip(¶)<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Calibri><span style='font-size:10.0pt;
font-family:Calibri'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Calibri><span style='font-size:10.0pt;
font-family:Calibri'>The only line that I have trouble with is the first…
some of the names are much longer… The phone number is formatted with a
right align tab (b/c the phone needs to be right aligned). When the name is too
long it ends of pushing the phone to the next line and it ends up left aligned.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Calibri><span style='font-size:10.0pt;
font-family:Calibri'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Calibri><span style='font-size:10.0pt;
font-family:Calibri'>If the name is too long it really needs to break like
this.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Calibri><span style='font-size:10.0pt;
font-family:Calibri'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Calibri><span style='font-size:10.0pt;
font-family:Calibri'>JP Donald(¬)<br>
Bartholomew Fulton............... 248/123-4567(¬)<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Calibri><span style='font-size:10.0pt;
font-family:Calibri'>1154 Street <st1:Street w:st="on"><st1:address w:st="on">Name
Rd</st1:address></st1:Street>(¬)<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Calibri><span style='font-size:10.0pt;
font-family:Calibri'>City, State Zip(</span></font><font size=2 face=Calibri><span
style='font-size:10.0pt;font-family:Calibri'>¶)<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Calibri><span style='font-size:10.0pt;
font-family:Calibri'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Calibri><span style='font-size:10.0pt;
font-family:Calibri'>Believe it or not, I have actually written a ridiculous
amount of code that actually measured all of the characters of the alphabet in
order to determine the length of the name. Each letter has it’s own value
set into a variable. The prototype then calls the variables and adds them as
they appear in the name. If the total is over a specified number (sum of value
of width of letters), the line breaks. This has proven to be imperfect (line
either doesn’t break or breaks unnecessarily) most likely due to variable
width fonts that I may choose to use in other sections of this project or
simply being a little off in my initial measurements.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Calibri><span style='font-size:10.0pt;
font-family:Calibri'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Calibri><span style='font-size:10.0pt;
font-family:Calibri'>I know this is extremely detailed and an extremely
specific request, but any help figuring out a method to make this work would be
GREATLY appreciated.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Calibri><span style='font-size:10.0pt;
font-family:Calibri'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Calibri><span style='font-size:10.0pt;
font-family:Calibri'>Thanks a mil,<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Calibri><span style='font-size:10.0pt;
font-family:Calibri'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Calibri><span style='font-size:10.0pt;
font-family:Calibri'>JP<o:p></o:p></span></font></p>
</div>
</body>
</html>