title: Which are the TTextFormat(s) values (used in TextRect) and their meanings?
body: <p>I want to apply some text formats in <code>TextRect</code> procedure but I don't found any documentation. In Delphi help, at <a href="http://docs.embarcadero.com/products/rad_studio/delphiAndcpp2009/HelpUpdate2/EN/html/delphivclwin32/Graphics_TCanvas_TextRect@TRect@Integer@Integer@string.html" rel="nofollow"><code>TextRect</code></a> reference, says that TextFormat variabile can have only 3 values: <a href="http://docs.embarcadero.com/products/rad_studio/delphiAndcpp2009/HelpUpdate2/EN/html/delphivclwin32/Graphics_TTextFormat.html" rel="nofollow"><code>tfAutoText, tfText, tfPlainText</code></a>. But here on StackOverflow I found some <code>TextRect</code> examples with other text format values, like <code>tfEndEllipsis</code>. I've searched this on Delphi help and I found <a href="http://docs.embarcadero.com/products/rad_studio/delphiAndcpp2009/HelpUpdate2/EN/html/delphivclwin32/Graphics_TTextFormats.html" rel="nofollow">other set</a> with many text format values. When I tried them, the first set with those 3 values doesn't work at all, but the second set works. I'm confused. Which set is the good one ? It seems the second one is, because it's working. But then, what is the first set for ?</p>
  
  <p>And what is the meaning of the following values (from the second set) ? :</p>
  
  <ul>
  <li>tfCalcRect</li>
  <li>tfEditControl</li>
  <li>tfExpandTabs</li>
  <li>tfExternalLeading</li>
  <li>tfModifyString</li>
  <li>tfNoClip</li>
  <li>tfNoPrefix</li>
  <li>tfRtlReading</li>
  <li>tfWordBreak</li>
  </ul>
  
  <p>The others are obvious...</p>