[Libreoffice-commits] core.git: sw/source

Caolán McNamara caolanm at redhat.com
Wed May 13 13:38:33 PDT 2015


 sw/source/filter/ww8/ww8struc.hxx |   14 ++++++++++++++
 1 file changed, 14 insertions(+)

New commits:
commit cfade6de8ea417a8b6b94bf6c320ac2d4c15e256
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Wed May 13 21:13:16 2015 +0100

    rtf spec better describes the mysterious bx and by values
    
    Change-Id: Ic89bfcb13515ba3e9ce4410e84813d4e953ee603

diff --git a/sw/source/filter/ww8/ww8struc.hxx b/sw/source/filter/ww8/ww8struc.hxx
index fbfbf65..38a4d1b 100644
--- a/sw/source/filter/ww8/ww8struc.hxx
+++ b/sw/source/filter/ww8/ww8struc.hxx
@@ -697,6 +697,20 @@ struct WW8_DO
     SVBT16 cb;              // 2    size (count of bytes) of the entire DO
     sal_uInt8  bx;              // 4    x position relative to anchor CP
     sal_uInt8  by;              // 5    y position relative to anchor CP
+
+    /*
+     bx and by above are apparently better described by this info from the rtf standard...
+
+    \dobxpage   The drawing object is page relative in the x-direction.
+    \dobxcolumn The drawing object is column relative in the x-direction.
+    \dobxmargin The drawing object is margin relative in the x-direction.
+
+    \dobypage   The drawing object is page relative in the y-direction.
+    \dobypara   The drawing object is paragraph relative in the y-direction.
+    \dobymargin The drawing object is margin relative in the y-direction.
+
+    */
+
     SVBT16 dhgt;                // 6    height of DO
     SVBT16 aBits1;
 //  sal_uInt16 fAnchorLock : 1; // 8    1 if the DO anchor is locked


More information about the Libreoffice-commits mailing list