CVS difference for arm/progs/arm_rtf.adb

Differences between 1.10 and version 1.11
Log of other versions for file arm/progs/arm_rtf.adb

--- arm/progs/arm_rtf.adb	2004/12/06 05:15:24	1.10
+++ arm/progs/arm_rtf.adb	2004/12/16 06:31:19	1.11
@@ -97,6 +97,8 @@
     -- 11/15/04 - RLB - Added Indented_Nested_Bulleted.
     -- 11/16/04 - RLB - Experimented with changes to avoid the hot pink
     --			revision markers.
+    -- 12/15/04 - RLB - Added Pascal's workaround to formatting bugs in
+    --			Word 2000/XP/2003.
 
     -- Note: We assume a lot about the Section_Names passed into
     -- Section in order to get the proper headers/footers/page numbers.
@@ -413,6 +415,9 @@
 			 "\s5\keepn\widctlpar\adjustright " &
 			 "\pvpara\phpg\posxo\posy0\absw450\dxfrtext100\dfrmtxtx120\dfrmtxty120"&
 			 "\f1\fs12\cgrid\qc \snext0 "); -- Note: We adjust the space before on use.
+			-- %%%% Weird bug workaround: \dfrmtxtx121 should be \dfrmtxtx120, but
+			-- %%%% that causes large spaces when formatting paragraphs with
+			-- %%%% keepnext set. From Pascal Leroy.
 	    Set_Style (Paragraph_Info(ARM_Output.Notes),
 		       Font_Size => 15,
 		       Style_Indent => 360,
@@ -881,8 +886,11 @@
 		       Style_Justified => FALSE,
 		       Style_String =>
 			 "\s5\keepn\widctlpar\adjustright " &
-			 "\pvpara\phpg\posxo\posy0\absw580\dxfrtext100\dfrmtxtx150\dfrmtxty150"&
+			 "\pvpara\phpg\posxo\posy0\absw580\dxfrtext100\dfrmtxtx151\dfrmtxty150"&
 			 "\f1\fs14\cgrid\qc \snext0 "); -- We adjust the space before for each number.
+			-- %%%% Weird bug workaround: \dfrmtxtx151 should be \dfrmtxtx150, but
+			-- %%%% that causes large spaces when formatting paragraphs with
+			-- %%%% keepnext set. From Pascal Leroy.
 		-- Frame commands:
 		-- \pvpara - positions the frame vertically with the next paragraph;
 		-- \phpg - positions the frame horizonatally within the page;

Questions? Ask the ACAA Technical Agent