Menu

Commit [r1955]  Maximize  Restore  History

Added new TRTFParaSpacing structure to encapsulate above and below spacing of a paragraph.

Modified TRTFBuilder.SetParaSpacing to use TRTFParaSpacing for its parameter.
Modified all code that calls TRTFBuilder.SetParaSpacing to use new parameter type.

delphidabbler 2012-06-20

changed /trunk/Src/FrPrintingPrefs.pas
changed /trunk/Src/URTFBuilder.pas
changed /trunk/Src/URTFCategoryDoc.pas
changed /trunk/Src/URTFSnippetDoc.pas
changed /trunk/Src/URTFStyles.pas
/trunk/Src/FrPrintingPrefs.pas Diff Switch to side-by-side view
--- a/trunk/Src/FrPrintingPrefs.pas
+++ b/trunk/Src/FrPrintingPrefs.pas
@@ -369,7 +369,7 @@
   try
     // Set global document font and paragraph spacing
     Builder.FontTable.Add('Tahoma', rgfSwiss, 0);
-    Builder.SetParaSpacing(0, 2);
+    Builder.SetParaSpacing(TRTFParaSpacing.Create(0.0, 2.0));
     // Add heading text
     Builder.BeginGroup;
     Builder.SetFontSize(10);
/trunk/Src/URTFBuilder.pas Diff Switch to side-by-side view
Loading...
/trunk/Src/URTFCategoryDoc.pas Diff Switch to side-by-side view
Loading...
/trunk/Src/URTFSnippetDoc.pas Diff Switch to side-by-side view
Loading...
/trunk/Src/URTFStyles.pas Diff Switch to side-by-side view
Loading...
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.