https://bugs.documentfoundation.org/show_bug.cgi?id=54393
--- Comment #17 from Justin L <[email protected]> ---
>For some reason, upon loading the document, the footnote is still hidden,
>even with this change.
A little more work on this bug re-enforces that this is too complicated for me
to handle. A total hack that lets the footnote section to appear on document
load is sw/source/core/text/itrform2.cxx:
@@ SwLinePortion *SwTextFormatter::NewPortion( SwTextFormatInfo &rInf )
{
sal_Int32 nEnd = rInf.GetIdx();
if ( ::lcl_BuildHiddenPortion( rInf, nEnd ) )
+ {
+ if ( rInf.GetChar( rInf.GetIdx() ) == CH_TXTATR_BREAKWORD )
+ {
+ /*pPor =*/ NewExtraPortion( rInf );
+ }
pPor = new SwHiddenTextPortion( nEnd - rInf.GetIdx() );
+ }
}
--
You are receiving this mail because:
You are the assignee for the bug._______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs