Created attachment 63351 [details] shows checkboxes in excel and in calc when checkboxes have no label the the align left, right or center is applied to the checkbox 'box' If the checkbox has a label then the alignment is set to the text and the 'box' is left aligned to the bounding rectangle of the control. this behaviour when the checkbox has no label makes no sense to me, I would prefer to see the behaviour as it is when the label is present ( regardless of whether there is actually a label ) This 'behaviour' makes importing checkboxes from mso difficult ( see attachment )
and indeed if you look at the attached pdf you will see that there is a mistake, there are 2 of the checkboxes with center alignment e.g. there is a missing left aligned one. I don't think I need to bother to redo the example I think it is clear that with left align the checkbox would appear to be in the correct position in calc. I don't think that this is an import issue, I think this is an issue with checkboxes in vcl. However I suppose if necessary we could provide some flag or something to change existing behaviour on demand and not always,
Could you attach any example documents to allow others to check on different system/build?
Noel Power committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=a1345cd93a57ec7d9352f2c71ec2664332ce5e76 fdo#51336 - change vcl checkbox no-label behaviour
Noel Power committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=2bc2d09bba2e3f34e8ce13571de9ff7007e1c2b6 additional fix for fdo#51336 for radiobuttons
Noel Power committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=59d9a39abc6d4915fce55e55008107a7081b38d9 Revert "fdo#51336 - change vcl checkbox no-label behaviour"
Noel Power committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=d616ea80b27e65d83710f811a6f32637f3c7284a Revert "additional fix for fdo#51336 for radiobuttons"
Noel Power committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=ff54a3c291b8aa104992a0285207166cf25ddd86 simpler fix fo fdo#51336 - change vcl checkbox no-label behaviour
Noel Power committed a patch related to this issue. It has been pushed to "libreoffice-3-6": http://cgit.freedesktop.org/libreoffice/core/commit/?id=99cad9fd7f413adecffc527d334eff616799cc4b&g=libreoffice-3-6 fdo#51336 - change vcl checkbox no-label behaviour It will be available in LibreOffice 3.6.1.
Noel Power committed a patch related to this issue. It has been pushed to "libreoffice-3-6": http://cgit.freedesktop.org/libreoffice/core/commit/?id=aea425a8cd851e6bee02247673c8996b58789484&g=libreoffice-3-6 additional fix for fdo#51336 for radiobuttons It will be available in LibreOffice 3.6.1.
Please update status if this issue is fixed. Thanks.