Bug 53839 - Endnotes seperating horizontal line
Summary: Endnotes seperating horizontal line
Status: RESOLVED FIXED
Alias: None
Product: kword
Classification: Miscellaneous
Component: general (show other bugs)
Version: 1.5 or before
Platform: Compiled Sources Linux
: NOR wishlist
Target Milestone: ---
Assignee: Thomas Zander
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-01 17:14 UTC by Mike McBride
Modified: 2003-02-01 18:04 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mike McBride 2003-02-01 17:14:45 UTC
Version:           1.2post (using KDE 3.1.0)
Installed from:    compiled sources
Compiler:          gcc version 2.96 20000731 (Red Hat Linux 7.2 2.96-108.7.2)
OS:          Linux (i686) release 2.4.7-10

Should be able to configure a horizontal line to seperate the endnotes from the rest of the text just as you can with footnotes.
Comment 1 David Faure 2003-02-01 18:04:06 UTC
Subject: koffice/kword

CVS commit by faure: 

Mike wrote in #53839:
> Should be able to configure a horizontal line to seperate the endnotes from the rest of the text just as you can with footnotes.

Duh, I completely forgot about that.
CCMAIL: 53839-done@bugs.kde.org


  M +2 -0      kwframelayout.cc   1.28


--- koffice/kword/kwframelayout.cc  #1.27:1.28
@@ -261,4 +261,6 @@ void KWFrameLayout::layout( KWFrameSet* 
         if ( pageNum >= m_lastMainFramePage && m_doc->hasEndNotes() ) {
             bool pageHasMainText = ( pageNum == m_lastMainFramePage );
+            if ( pageHasMainText )
+                lastMainFrame->setDrawFootNoteLine( true );
             double textBottom = pageHasMainText ? lastMainFrameBottom : top;
             // Leave some space on top of the endnotes, for the horizontal line