#include <fp_FootnoteContainer.h>
Public Member Functions | |
fp_AnnotationContainer (fl_SectionLayout *pSectionLayout) | |
virtual | ~fp_AnnotationContainer () |
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 | setY (UT_sint32 iY) |
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) |
UT_uint32 | getPID (void) |
Private Attributes | |
fp_Page * | m_pPage |
UT_sint32 | m_iLabelWidth |
UT_sint32 | m_iXLabel |
UT_sint32 | m_iYLabel |
fp_AnnotationContainer::fp_AnnotationContainer | ( | fl_SectionLayout * | pSectionLayout | ) |
Create Annotation container
iType | Container type | |
pSectionLayout | Section layout type used for this container |
fp_AnnotationContainer::~fp_AnnotationContainer | ( | ) | [virtual] |
Destruct container
References m_pPage.
void fp_AnnotationContainer::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_Page::getWidth(), fp_VerticalContainer::getX(), fp_VerticalContainer::getY(), and m_iLabelWidth.
Referenced by fl_AnnotationLayout::_localCollapse(), fp_Page::clearScreenAnnotations(), fp_Page::removeAnnotationContainer(), setContainer(), and setPage().
void fp_AnnotationContainer::draw | ( | dg_DrawArgs * | pDA | ) | [virtual] |
Draw container content
pDA | Draw arguments |
Reimplemented from fp_VerticalContainer.
References fp_VerticalContainer::_drawBoundaries(), dg_DrawArgs::bDirtyRunsOnly, fp_Container::countCons(), FL_DocLayout::displayAnnotations(), fp_ContainerObject::draw(), fp_Run::draw(), fl_AnnotationLayout::getAnnotationRun(), fp_Line::getAscent(), fl_SectionLayout::getDocLayout(), fp_VerticalContainer::getHeight(), fp_Container::getNthCon(), getPage(), fp_ContainerObject::getSectionLayout(), fp_Run::getWidth(), fp_VerticalContainer::getWidth(), fp_ContainerObject::getX(), fp_VerticalContainer::getX(), fp_ContainerObject::getY(), fp_VerticalContainer::getY(), m_iLabelWidth, m_iXLabel, m_iYLabel, UT_DEBUGMSG, dg_DrawArgs::xoff, and dg_DrawArgs::yoff.
Referenced by fp_Page::draw().
virtual void fp_AnnotationContainer::draw | ( | GR_Graphics * | ) | [inline, virtual] |
Reimplemented from fp_VerticalContainer.
fl_DocSectionLayout * fp_AnnotationContainer::getDocSectionLayout | ( | void | ) |
Reimplemented from fp_ContainerObject.
References fl_ContainerLayout::getContainerType(), fp_ContainerObject::getSectionLayout(), fl_ContainerLayout::myContainingLayout(), and UT_ASSERT.
Referenced by layout().
fp_Container * fp_AnnotationContainer::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_AnnotationContainer::getPage | ( | void | ) | const [inline, virtual] |
Reimplemented from fp_Container.
Referenced by fb_ColumnBreaker::_breakSection(), clearScreen(), fl_AnnotationLayout::collapse(), draw(), fp_Run::getFGColor(), and layout().
UT_uint32 fp_AnnotationContainer::getPID | ( | void | ) |
References fl_AnnotationLayout::getAnnotationPID(), and fp_ContainerObject::getSectionLayout().
Referenced by fp_Page::getAnnotationPos(), and fp_Run::getFGColor().
fp_Container * fp_AnnotationContainer::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_AnnotationContainer::getValue | ( | void | ) |
This method returns the value of the Annotation reference (or anchor)
References fl_AnnotationLayout::getAnnotationPID(), FL_DocLayout::getAnnotationVal(), fl_SectionLayout::getDocLayout(), and fp_ContainerObject::getSectionLayout().
Referenced by fp_Page::insertAnnotationContainer().
virtual bool fp_AnnotationContainer::isVBreakable | ( | void | ) | [inline, virtual] |
Reimplemented from fp_VerticalContainer.
void fp_AnnotationContainer::layout | ( | void | ) |
References fp_VerticalContainer::_getMaxContainerHeight(), fp_VerticalContainer::_setMaxContainerHeight(), fp_Page::annotationHeightChanged(), fp_ContainerObject::clearScreen(), fp_Container::countCons(), 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().
Referenced by fl_FrameLayout::format().
void fp_AnnotationContainer::setContainer | ( | fp_Container * | pContainer | ) | [virtual] |
Reimplemented from fp_Container.
References clearScreen(), and fp_Container::getContainer().
void fp_AnnotationContainer::setPage | ( | fp_Page * | pPage | ) |
References clearScreen(), fp_Page::getFillType(), fp_Container::getFillType(), fp_ContainerObject::getSectionLayout(), m_pPage, fl_SectionLayout::markAllRunsDirty(), fp_Page::removeAnnotationContainer(), and fg_FillType::setParent().
Referenced by fl_AnnotationLayout::collapse(), and fp_Page::insertAnnotationContainer().
void fp_AnnotationContainer::setY | ( | UT_sint32 | iY | ) | [virtual] |
Reimplemented from fp_VerticalContainer.
Referenced by fp_Page::_reformatAnnotations().
Referenced by clearScreen(), and draw().
UT_sint32 fp_AnnotationContainer::m_iXLabel [private] |
Referenced by draw().
UT_sint32 fp_AnnotationContainer::m_iYLabel [private] |
Referenced by draw().
fp_Page* fp_AnnotationContainer::m_pPage [private] |
Referenced by setPage(), and ~fp_AnnotationContainer().