#include <fp_Column.h>
Public Member Functions | |
| fp_HdrFtrContainer (UT_sint32 iWidth, fl_SectionLayout *pSL) | |
| ~fp_HdrFtrContainer () | |
| fl_HdrFtrSectionLayout * | getHdrFtrSectionLayout (void) const |
| virtual void | draw (dg_DrawArgs *) |
| virtual void | layout (void) |
| virtual void | clearScreen (void) |
| void | getScreenOffsets (fp_ContainerObject *pContainer, UT_sint32 &xoff, UT_sint32 &yoff) |
| fp_HdrFtrContainer::fp_HdrFtrContainer | ( | UT_sint32 | iWidth, | |
| fl_SectionLayout * | pSectionLayout | |||
| ) |
Ok this container class is for the hdrftrSectionLayout. It never gets drawn on the screen, only the shadows get drawn. The page pointer contains a NULL. This makes it possible to format the hdrftrSectionLayout and to do editting operations on header/footers like regular text.
| iwidth | width of the page in pixels?? I think. | |
| IwidthLayout | width of the screen in layout units | |
| fl_SectionLayout | * pSectionLayout pointer to the fl_HdrFtrSectionLayout that owns this container. |
References fp_VerticalContainer::_setX(), fp_VerticalContainer::_setY(), fp_VerticalContainer::setHeight(), and fp_VerticalContainer::setWidth().
| fp_HdrFtrContainer::~fp_HdrFtrContainer | ( | ) |
| void fp_HdrFtrContainer::clearScreen | ( | void | ) | [virtual] |
NOP's for clear screen.
Reimplemented from fp_VerticalContainer.
| void fp_HdrFtrContainer::draw | ( | dg_DrawArgs * | ) | [virtual] |
| fl_HdrFtrSectionLayout * fp_HdrFtrContainer::getHdrFtrSectionLayout | ( | void | ) | const |
Returns a pointer to the HdrFtrSectionLayout that owns this container
References FL_SECTION_HDRFTR, fp_ContainerObject::getSectionLayout(), and UT_ASSERT.
| void fp_HdrFtrContainer::getScreenOffsets | ( | fp_ContainerObject * | pContainer, | |
| UT_sint32 & | xoff, | |||
| UT_sint32 & | yoff | |||
| ) |
Get line's offsets relative to the screen for this method we just return -100000 since virtual containers are never drawn.
| pContainer | Container |
| xoff | Container's X offset relative the screen actually -10000 | |
| yoff | Container's Y offset relative the screen actually -10000 |
| void fp_HdrFtrContainer::layout | ( | void | ) | [virtual] |
Overloaded layout for VirtualCOntainer. We don't care about the height or of the container.
References fp_Container::countCons(), fp_ContainerObject::getContainerType(), fp_VerticalContainer::getHeight(), fp_TableContainer::getHeight(), fp_ContainerObject::getHeight(), fp_Container::getMarginAfter(), fp_Container::getNthCon(), fp_VerticalContainer::setHeight(), and fp_ContainerObject::setY().
1.7.1