https://bugs.documentfoundation.org/show_bug.cgi?id=92959

JC Cardot <libreoff...@cardot.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |libreoff...@cardot.net

--- Comment #17 from JC Cardot <libreoff...@cardot.net> ---
Created attachment 130614
  --> https://bugs.documentfoundation.org/attachment.cgi?id=130614&action=edit
Text box with a patch removing the cell padding

The bug is in core/vcl/source/gdi/pdfwriter_impl.cxx
around line 4218, it reads:
        if( rWidget.Border )
        {
            // adjust edit area accounting for border
            sal_Int32 nDelta = aFont.GetFontHeight()/4;
            if( nDelta < 1 )
                nDelta = 1;
            rIntern.m_aRect.Left()  += nDelta;
            rIntern.m_aRect.Top()   += nDelta;
            rIntern.m_aRect.Right() -= nDelta;
            rIntern.m_aRect.Bottom()-= nDelta;
        }
Commenting all of this in order no to apply anymore the nDelta leads to the
attachment, which if I understand correctly is what Florian wants.
Note that the attachment has been created using the form_test.odt attachment
provided here.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to