#include <fp_FootnoteContainer.h>
Public Member Functions | |
fp_EndnoteContainer (fl_SectionLayout *pSectionLayout) | |
virtual | ~fp_EndnoteContainer () |
UT_sint32 | getValue (void) |
void | layout (void) |
virtual bool | isVBreakable (void) |
virtual void | clearScreen (void) |
virtual void | draw (dg_DrawArgs *) |
virtual void | draw (GR_Graphics *) |
virtual void | setContainer (fp_Container *pContainer) |
virtual fp_Container * | getNextContainerInSection (void) const |
virtual fp_Container * | getPrevContainerInSection (void) const |
virtual fp_Page * | getPage (void) const |
fp_EndnoteContainer * | getLocalNext (void) |
fp_EndnoteContainer * | getLocalPrev (void) |
fl_DocSectionLayout * | getDocSectionLayout (void) |
virtual void | setY (UT_sint32 iY) |
virtual UT_sint32 | getY (void) const |
Private Attributes | |
fp_EndnoteContainer * | m_pLocalNext |
fp_EndnoteContainer * | m_pLocalPrev |
UT_sint32 | m_iY |
bool | m_bOnPage |
bool | m_bCleared |
fp_EndnoteContainer::fp_EndnoteContainer | ( | fl_SectionLayout * | pSectionLayout | ) |
Create Endnote container
iType | Container type | |
pSectionLayout | Section layout type used for this container |
fp_EndnoteContainer::~fp_EndnoteContainer | ( | ) | [virtual] |
Destruct container
References m_bOnPage, m_pLocalNext, m_pLocalPrev, and xxx_UT_DEBUGMSG.
void fp_EndnoteContainer::clearScreen | ( | void | ) | [virtual] |
Reimplemented from fp_VerticalContainer.
References fp_ContainerObject::clearScreen(), fp_Container::countCons(), fg_FillType::Fill(), fp_Container::getColumn(), fp_Container::getFillType(), fp_ContainerObject::getGraphics(), fp_VerticalContainer::getHeight(), fl_DocSectionLayout::getLeftMargin(), fp_Container::getNthCon(), fp_Page::getOwningSection(), getPage(), fl_DocSectionLayout::getRightMargin(), fp_VerticalContainer::getScreenOffsets(), fp_ContainerObject::getSectionLayout(), fp_Page::getWidth(), fp_VerticalContainer::getX(), getY(), m_bCleared, m_bOnPage, fl_ContainerLayout::setNeedsRedraw(), UT_DEBUGMSG, and xxx_UT_DEBUGMSG.
Referenced by fl_EndnoteLayout::_localCollapse(), setContainer(), and setY().
void fp_EndnoteContainer::draw | ( | dg_DrawArgs * | pDA | ) | [virtual] |
Draw container content
pDA | Draw arguments |
Reimplemented from fp_VerticalContainer.
References fp_VerticalContainer::_drawBoundaries(), fp_Container::countCons(), fp_ContainerObject::draw(), GR_Graphics::getClipRect(), fp_VerticalContainer::getHeight(), fp_Container::getNthCon(), fp_VerticalContainer::getWidth(), fp_ContainerObject::getX(), fp_VerticalContainer::getX(), fp_ContainerObject::getY(), getY(), UT_Rect::height, m_bCleared, dg_DrawArgs::pG, UT_Rect::top, UT_DEBUGMSG, dg_DrawArgs::xoff, xxx_UT_DEBUGMSG, and dg_DrawArgs::yoff.
virtual void fp_EndnoteContainer::draw | ( | GR_Graphics * | ) | [inline, virtual] |
Reimplemented from fp_VerticalContainer.
fl_DocSectionLayout * fp_EndnoteContainer::getDocSectionLayout | ( | void | ) |
Reimplemented from fp_ContainerObject.
References fl_ContainerLayout::getContainerType(), fp_ContainerObject::getSectionLayout(), fl_ContainerLayout::myContainingLayout(), and UT_ASSERT.
fp_EndnoteContainer * fp_EndnoteContainer::getLocalNext | ( | void | ) |
These are for Endnote containers broken over page boundaries
References m_pLocalNext.
Referenced by fl_EndnoteLayout::collapse().
fp_EndnoteContainer * fp_EndnoteContainer::getLocalPrev | ( | void | ) |
These are for Endnote containers broken over page boundaries
References m_pLocalPrev.
fp_Container * fp_EndnoteContainer::getNextContainerInSection | ( | void | ) | const [virtual] |
Reimplemented from fp_VerticalContainer.
References fp_Container::getNext().
virtual fp_Page* fp_EndnoteContainer::getPage | ( | void | ) | const [inline, virtual] |
Reimplemented from fp_Container.
References fp_Container::getPage().
Referenced by clearScreen(), and layout().
fp_Container * fp_EndnoteContainer::getPrevContainerInSection | ( | void | ) | const [virtual] |
Reimplemented from fp_VerticalContainer.
References fp_Container::getPrev().
UT_sint32 fp_EndnoteContainer::getValue | ( | void | ) |
This method returns the value of the footnote reference (or anchor)
References fl_SectionLayout::getDocLayout(), fl_EndnoteLayout::getEndnotePID(), FL_DocLayout::getEndnoteVal(), and fp_ContainerObject::getSectionLayout().
UT_sint32 fp_EndnoteContainer::getY | ( | void | ) | const [virtual] |
virtual bool fp_EndnoteContainer::isVBreakable | ( | void | ) | [inline, virtual] |
Reimplemented from fp_VerticalContainer.
void fp_EndnoteContainer::layout | ( | void | ) |
References fp_VerticalContainer::_getMaxContainerHeight(), fp_VerticalContainer::_setMaxContainerHeight(), fp_ContainerObject::clearScreen(), fp_Container::countCons(), fl_SectionLayout::getDocLayout(), FL_DocLayout::getDocSecForEndnote(), fp_VerticalContainer::getHeight(), fp_ContainerObject::getHeight(), fp_Container::getMarginAfter(), fp_Container::getNthCon(), getPage(), fp_ContainerObject::getSectionLayout(), fp_ContainerObject::getY(), fp_Container::setAssignedScreenHeight(), fp_VerticalContainer::setHeight(), fl_DocSectionLayout::setNeedsSectionBreak(), and fp_ContainerObject::setY().
void fp_EndnoteContainer::setContainer | ( | fp_Container * | pContainer | ) | [virtual] |
Reimplemented from fp_Container.
References clearScreen(), fp_Container::getContainer(), and m_bOnPage.
void fp_EndnoteContainer::setY | ( | UT_sint32 | iY | ) | [virtual] |
Reimplemented from fp_VerticalContainer.
References clearScreen(), and m_iY.
bool fp_EndnoteContainer::m_bCleared [private] |
Referenced by clearScreen(), and draw().
bool fp_EndnoteContainer::m_bOnPage [private] |
Referenced by clearScreen(), setContainer(), and ~fp_EndnoteContainer().
UT_sint32 fp_EndnoteContainer::m_iY [private] |
Reimplemented from fp_VerticalContainer.
Referenced by getLocalNext(), and ~fp_EndnoteContainer().
Referenced by getLocalPrev(), and ~fp_EndnoteContainer().