#include <fp_FootnoteContainer.h>
Public Member Functions | |
fp_FootnoteContainer (fl_SectionLayout *pSectionLayout) | |
virtual | ~fp_FootnoteContainer () |
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 |
void | setPage (fp_Page *pPage) |
fl_DocSectionLayout * | getDocSectionLayout (void) |
Private Attributes | |
fp_Page * | m_pPage |
fp_FootnoteContainer::fp_FootnoteContainer | ( | fl_SectionLayout * | pSectionLayout | ) |
Create Footnote container
iType | Container type | |
pSectionLayout | Section layout type used for this container |
fp_FootnoteContainer::~fp_FootnoteContainer | ( | ) | [virtual] |
Destruct container
References m_pPage.
void fp_FootnoteContainer::clearScreen | ( | void | ) | [virtual] |
Reimplemented from fp_VerticalContainer.
References fp_ContainerObject::clearScreen(), fp_Container::countCons(), fg_FillType::Fill(), fp_Page::findFootnoteContainer(), fg_FillType::getColor(), fp_Container::getFillType(), fl_DocSectionLayout::getFootnoteLineThickness(), fp_ContainerObject::getGraphics(), fl_DocSectionLayout::getLeftMargin(), fp_Container::getNthCon(), fp_Page::getOwningSection(), getPage(), fl_DocSectionLayout::getRightMargin(), fp_Page::getScreenOffsets(), fp_Page::getWidth(), fp_VerticalContainer::getX(), fp_VerticalContainer::getY(), GR_Graphics::setColor(), GR_Graphics::setLineWidth(), and xxx_UT_DEBUGMSG.
Referenced by fl_FootnoteLayout::_localCollapse(), fp_Page::clearScreenFootnotes(), fp_Page::removeFootnoteContainer(), setContainer(), and setPage().
void fp_FootnoteContainer::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_Painter::drawLine(), fp_Page::findFootnoteContainer(), fl_DocSectionLayout::getActualColumnHeight(), getDocSectionLayout(), fl_DocSectionLayout::getFootnoteLineThickness(), fp_ContainerObject::getHeight(), fp_VerticalContainer::getHeight(), fl_DocSectionLayout::getLeftMargin(), fp_Container::getMarginAfter(), fp_Container::getNthCon(), fp_Page::getOwningSection(), getPage(), fl_DocSectionLayout::getRightMargin(), fp_VerticalContainer::getWidth(), fp_Page::getWidth(), fp_ContainerObject::getX(), fp_VerticalContainer::getX(), fp_ContainerObject::getY(), fp_VerticalContainer::getY(), dg_DrawArgs::pG, GR_Graphics::setColor(), GR_Graphics::setLineProperties(), GR_Graphics::setLineWidth(), GR_Graphics::tlu(), UT_MAX, dg_DrawArgs::xoff, xxx_UT_DEBUGMSG, and dg_DrawArgs::yoff.
Referenced by fp_Page::draw().
virtual void fp_FootnoteContainer::draw | ( | GR_Graphics * | ) | [inline, virtual] |
Reimplemented from fp_VerticalContainer.
fl_DocSectionLayout * fp_FootnoteContainer::getDocSectionLayout | ( | void | ) |
Reimplemented from fp_ContainerObject.
References fl_ContainerLayout::getContainerType(), fp_ContainerObject::getSectionLayout(), fl_ContainerLayout::myContainingLayout(), and UT_ASSERT.
fp_Container * fp_FootnoteContainer::getNextContainerInSection | ( | void | ) | const [virtual] |
Reimplemented from fp_VerticalContainer.
References fl_ContainerLayout::getContainerType(), fl_ContainerLayout::getFirstContainer(), fl_ContainerLayout::getNext(), and fp_ContainerObject::getSectionLayout().
virtual fp_Page* fp_FootnoteContainer::getPage | ( | void | ) | const [inline, virtual] |
Reimplemented from fp_Container.
Referenced by fb_ColumnBreaker::_breakSection(), clearScreen(), fl_FootnoteLayout::collapse(), draw(), and layout().
fp_Container * fp_FootnoteContainer::getPrevContainerInSection | ( | void | ) | const [virtual] |
Reimplemented from fp_VerticalContainer.
References fl_ContainerLayout::getContainerType(), fl_ContainerLayout::getLastContainer(), fl_ContainerLayout::getPrev(), and fp_ContainerObject::getSectionLayout().
UT_sint32 fp_FootnoteContainer::getValue | ( | void | ) |
This method returns the value of the footnote reference (or anchor)
References fl_SectionLayout::getDocLayout(), fl_FootnoteLayout::getFootnotePID(), FL_DocLayout::getFootnoteVal(), and fp_ContainerObject::getSectionLayout().
Referenced by fp_Page::insertFootnoteContainer().
virtual bool fp_FootnoteContainer::isVBreakable | ( | void | ) | [inline, virtual] |
Reimplemented from fp_VerticalContainer.
void fp_FootnoteContainer::layout | ( | void | ) |
References fp_VerticalContainer::_getMaxContainerHeight(), fp_VerticalContainer::_setMaxContainerHeight(), fp_ContainerObject::clearScreen(), fp_Container::countCons(), fp_Page::footnoteHeightChanged(), fl_DocSectionLayout::getActualColumnHeight(), getDocSectionLayout(), fp_ContainerObject::getGraphics(), fp_VerticalContainer::getHeight(), fp_ContainerObject::getHeight(), fp_Container::getMarginAfter(), fp_Container::getNthCon(), getPage(), fp_ContainerObject::getY(), fp_Container::setAssignedScreenHeight(), fp_VerticalContainer::setHeight(), fp_ContainerObject::setY(), and GR_Graphics::tlu().
void fp_FootnoteContainer::setContainer | ( | fp_Container * | pContainer | ) | [virtual] |
Reimplemented from fp_Container.
References clearScreen(), and fp_Container::getContainer().
void fp_FootnoteContainer::setPage | ( | fp_Page * | pPage | ) |
References clearScreen(), fp_Page::getFillType(), fp_Container::getFillType(), fp_ContainerObject::getSectionLayout(), m_pPage, fl_SectionLayout::markAllRunsDirty(), fp_Page::removeFootnoteContainer(), and fg_FillType::setParent().
Referenced by fl_FootnoteLayout::collapse(), and fp_Page::insertFootnoteContainer().
fp_Page* fp_FootnoteContainer::m_pPage [private] |
Referenced by setPage(), and ~fp_FootnoteContainer().