#include <fp_Column.h>

| fp_VerticalContainer::fp_VerticalContainer | ( | FP_ContainerType | iType, | |
| fl_SectionLayout * | pSectionLayout | |||
| ) |
Create container
| iType | Container type | |
| pSectionLayout | Section layout type used for this container |
References clearWrappedLines().
| fp_VerticalContainer::~fp_VerticalContainer | ( | ) | [virtual] |
Destruct container
| void fp_VerticalContainer::setWidth | ( | UT_sint32 | iWidth | ) | [virtual] |
Set width
| iWidth | Width of container |
Implements fp_ContainerObject.
Reimplemented in fp_CellContainer.
References FP_CONTAINER_COLUMN, fp_ContainerObject::getContainerType(), fp_Container::getFillType(), fp_ContainerObject::getGraphics(), fp_ContainerObject::getSectionLayout(), m_iWidth, fl_SectionLayout::setImageWidth(), and fg_FillType::setWidth().
Referenced by fl_AnnotationLayout::_createAnnotationContainer(), fl_EndnoteLayout::_createEndnoteContainer(), fl_FootnoteLayout::_createFootnoteContainer(), fl_FrameLayout::_createFrameContainer(), fl_TOCLayout::_createTOCContainer(), fp_Page::_reformatColumns(), fl_TableLayout::createTableContainer(), fp_HdrFtrContainer::fp_HdrFtrContainer(), fp_ShadowContainer::fp_ShadowContainer(), fp_TOCContainer::setContainer(), fp_TableContainer::setContainer(), fp_TableContainer::setToAllocation(), and fp_CellContainer::setWidth().
| void fp_VerticalContainer::_setWidth | ( | UT_sint32 | iWidth | ) | [inline] |
Referenced by FV_FrameEdit::_mouseDrag().
| void fp_VerticalContainer::setHeight | ( | UT_sint32 | iHeight | ) | [virtual] |
Set height
| iHeight | Height of container |
Implements fp_ContainerObject.
Reimplemented in fp_CellContainer, and fp_TableContainer.
References FP_CONTAINER_CELL, FP_CONTAINER_COLUMN, FP_CONTAINER_TABLE, FP_CONTAINER_TOC, fp_ContainerObject::getContainerType(), fp_Container::getFillType(), fp_ContainerObject::getGraphics(), fp_TOCContainer::getHeight(), fp_TableContainer::getHeight(), getMaxHeight(), fp_ContainerObject::getSectionLayout(), fp_TOCContainer::isThisBroken(), fp_TableContainer::isThisBroken(), m_iHeight, fg_FillType::setHeight(), fl_SectionLayout::setImageHeight(), and UT_DEBUGMSG.
Referenced by fl_FrameLayout::_createFrameContainer(), fp_HdrFtrContainer::fp_HdrFtrContainer(), fp_ShadowContainer::fp_ShadowContainer(), fp_TOCContainer::layout(), fp_EndnoteContainer::layout(), fp_AnnotationContainer::layout(), fp_FootnoteContainer::layout(), fp_HdrFtrContainer::layout(), fp_ShadowContainer::layout(), fp_Column::layout(), fp_TableContainer::setHeight(), fp_CellContainer::setHeight(), and fp_TOCContainer::VBreakAt().
| void fp_VerticalContainer::_setHeight | ( | UT_sint32 | iHeight | ) | [inline] |
Referenced by FV_FrameEdit::_mouseDrag().
| void fp_VerticalContainer::setMaxHeight | ( | UT_sint32 | iMaxHeight | ) | [virtual] |
Set maximum height
| iMaxHeight | Maximum height of container |
References m_iMaxHeight.
Referenced by fp_Page::_reformatColumns(), fl_TableLayout::doSimpleChange(), fp_ShadowContainer::fp_ShadowContainer(), fp_TableContainer::setToAllocation(), fp_CellContainer::setToAllocation(), and fp_Page::TopBotMarginChanged().
| void fp_VerticalContainer::setX | ( | UT_sint32 | iX, | |
| bool | bDontClearIfNeeded = false | |||
| ) | [virtual] |
Set X position of container
| iX | New X position |
Implements fp_ContainerObject.
References clearScreen(), and m_iX.
Referenced by fp_Page::_reformatAnnotations(), fp_Page::_reformatColumns(), fp_Page::_reformatFootnotes(), fp_TableContainer::layout(), fl_BlockLayout::setFramesOnPage(), fp_CellContainer::setToAllocation(), and fp_Page::updateColumnX().
| void fp_VerticalContainer::setY | ( | UT_sint32 | iY | ) | [virtual] |
Set Y position of container
| iY | New Y position |
Implements fp_ContainerObject.
Reimplemented in fp_EndnoteContainer, fp_TableContainer, and fp_TOCContainer.
References clearScreen(), and m_iY.
Referenced by fp_Page::_reformatAnnotations(), fp_Page::_reformatColumns(), fp_Page::_reformatFootnotes(), fl_TableLayout::doSimpleChange(), fp_CellContainer::layout(), fl_BlockLayout::setFramesOnPage(), fp_CellContainer::setToAllocation(), fp_TOCContainer::setY(), fp_TableContainer::setY(), fp_Page::TopBotMarginChanged(), and fp_CellContainer::VBreakAt().
| UT_sint32 fp_VerticalContainer::getMaxHeight | ( | void | ) | const [inline] |
Get container's max height
Reimplemented in fp_Column.
Referenced by fp_ShadowContainer::_drawHdrFtrBoundaries(), fp_TableContainer::adjustBrokenTables(), fp_TOCContainer::adjustBrokenTOCs(), fp_ShadowContainer::draw(), fp_Column::getMaxHeight(), fp_ShadowContainer::layout(), fp_TableContainer::mapXYToPosition(), and setHeight().
| virtual UT_sint32 fp_VerticalContainer::getWidth | ( | void | ) | const [inline, virtual] |
Get container's width
Implements fp_ContainerObject.
Reimplemented in fp_FrameContainer.
Referenced by fp_TableContainer::_drawBoundaries(), fp_CellContainer::_drawBoundaries(), fp_Column::_drawBoundaries(), fp_TableContainer::_drawBrokenBoundaries(), fp_ShadowContainer::_drawHdrFtrBoundaries(), fl_BlockLayout::_stuffAllRunsOnALine(), fp_TOCContainer::draw(), fp_CellContainer::draw(), fp_Page::draw(), fp_EndnoteContainer::draw(), fp_AnnotationContainer::draw(), fp_FootnoteContainer::draw(), fp_CellContainer::drawBroken(), fl_BlockLayout::formatWrappedFromHere(), fp_FrameContainer::getFullWidth(), fl_BlockLayout::getLeftRightForWrapping(), fl_BlockLayout::getNewContainer(), fl_BlockLayout::getNextWrappedLine(), getScreenRect(), fl_TOCLayout::getTabPosition(), FV_View::getTopRulerInfo(), fp_FrameContainer::getWidth(), fp_TableContainer::layout(), fp_TableContainer::mapXYToPosition(), fp_Page::mapXYToPosition(), fp_CellContainer::setLineMarkers(), fp_CellContainer::setWidth(), and fp_CellContainer::sizeRequest().
| UT_sint32 fp_VerticalContainer::getX | ( | void | ) | const [virtual] |
Get container's X position
Implements fp_ContainerObject.
Reimplemented in fp_FrameContainer.
References m_iX.
Referenced by fp_CellContainer::_clear(), fp_CellContainer::_drawBoundaries(), fp_TableContainer::_drawBrokenBoundaries(), fp_CellContainer::_getBrokenRect(), FV_View::_getMouseContext(), fp_TOCContainer::clearScreen(), fp_EndnoteContainer::clearScreen(), fp_AnnotationContainer::clearScreen(), fp_FootnoteContainer::clearScreen(), FV_View::cmdInsertPositionedGraphic(), Defun(), fp_CellContainer::draw(), fp_Page::draw(), fp_EndnoteContainer::draw(), fp_AnnotationContainer::draw(), fp_FootnoteContainer::draw(), draw(), fp_CellContainer::drawBroken(), fp_FrameContainer::getFullX(), getScreenOffsets(), fp_CellContainer::getScreenPositions(), FV_View::getTopRulerInfo(), fp_FrameContainer::getX(), fp_TableContainer::layout(), fp_TableContainer::mapXYToPosition(), fp_Page::mapXYToPosition(), mapXYToPosition(), and fp_CellContainer::setLineMarkers().
| void fp_VerticalContainer::_setX | ( | UT_sint32 | iX | ) | [inline] |
| UT_sint32 fp_VerticalContainer::getY | ( | void | ) | const [virtual] |
Get container's Y position.
Implements fp_ContainerObject.
Reimplemented in fp_EndnoteContainer, and fp_FrameContainer.
References FL_CONTAINER_DOCSECTION, fl_ContainerLayout::getContainerType(), fp_ContainerObject::getContainerType(), fl_ContainerLayout::getDocSectionLayout(), fp_ContainerObject::getSectionLayout(), fl_DocSectionLayout::getTopMargin(), getView(), m_iY, and VIEW_PRINT.
Referenced by fb_ColumnBreaker::_breakTable(), fb_ColumnBreaker::_breakTOC(), fp_TableContainer::_brokenDraw(), fp_CellContainer::_clear(), fp_TableContainer::_drawBoundaries(), fp_CellContainer::_drawBoundaries(), fp_TableContainer::_drawBrokenBoundaries(), fp_CellContainer::_getBrokenRect(), AP_LeftRuler::_getCellMarkerRects(), FV_View::_getMouseContext(), FV_View::_moveInsPtNextPrevLine(), fp_TableContainer::adjustBrokenTables(), fp_TOCContainer::adjustBrokenTOCs(), fp_TableContainer::breakCellsAt(), fp_TOCContainer::clearScreen(), fp_CellContainer::clearScreen(), fp_AnnotationContainer::clearScreen(), fp_FootnoteContainer::clearScreen(), fp_CellContainer::doesOverlapBrokenTable(), fl_TableLayout::doSimpleChange(), fp_CellContainer::draw(), fp_Page::draw(), fp_AnnotationContainer::draw(), fp_FootnoteContainer::draw(), fp_CellContainer::drawBroken(), fp_FrameContainer::getBlocksAroundFrame(), fp_CellContainer::getBrokenTable(), fp_CellContainer::getCellY(), fp_FrameContainer::getFullY(), fp_CellContainer::getLeftTopOffsets(), getOffsets(), getScreenOffsets(), fp_CellContainer::getScreenPositions(), fp_CellContainer::getSpannedHeight(), fp_FrameContainer::getY(), fp_TableContainer::getYOfRow(), fp_TableContainer::isInBrokenTable(), fp_TableContainer::layout(), fp_CellContainer::layout(), fp_Column::layout(), fp_TableContainer::mapXYToPosition(), fp_Page::mapXYToPosition(), mapXYToPosition(), fp_TOCContainer::setY(), fp_TableContainer::setY(), fp_CellContainer::tweakBrokenTable(), fp_TOCContainer::VBreakAt(), fp_TableContainer::VBreakAt(), fp_CellContainer::VBreakAt(), fp_TableContainer::wantVBreakAt(), and fp_CellContainer::wantVBreakAt().
| UT_sint32 fp_VerticalContainer::getY | ( | GR_Graphics * | pG | ) | const |
Get container's Y position. This version checks for a mismatch between view mode and if we're printing.
References GR_Graphics::DGP_SCREEN, fp_ContainerObject::getSectionLayout(), getView(), m_iY, GR_Graphics::queryProperties(), and VIEW_PRINT.
| void fp_VerticalContainer::_setY | ( | UT_sint32 | iY | ) | [inline] |
| virtual UT_sint32 fp_VerticalContainer::getHeight | ( | void | ) | const [inline, virtual] |
Get container's height
Implements fp_ContainerObject.
Reimplemented in fp_FrameContainer.
Referenced by fp_TableContainer::_brokenDraw(), fp_CellContainer::_clear(), fp_CellContainer::_drawBoundaries(), fp_Column::_drawBoundaries(), fp_Page::_reformatAnnotations(), fp_Page::_reformatColumns(), fp_Page::_reformatFootnotes(), fp_TableContainer::adjustBrokenTables(), fp_TOCContainer::adjustBrokenTOCs(), fp_TableContainer::breakCellsAt(), fp_Page::breakPage(), fb_ColumnBreaker::breakSection(), fp_Line::clearScreen(), fp_EndnoteContainer::clearScreen(), fp_AnnotationContainer::clearScreen(), fp_CellContainer::draw(), fp_Page::draw(), fp_EndnoteContainer::draw(), fp_AnnotationContainer::draw(), fp_FootnoteContainer::draw(), fp_CellContainer::drawBroken(), fp_CellContainer::drawLines(), fp_Page::getAnnotationHeight(), fp_Page::getAvailableHeight(), fp_Page::getAvailableHeightForColumn(), fp_Page::getFilledHeight(), fp_Page::getFootnoteHeight(), fp_FrameContainer::getFullHeight(), fp_TOCContainer::getHeight(), fp_TableContainer::getHeight(), fp_FrameContainer::getHeight(), getScreenRect(), fp_CellContainer::getSpannedHeight(), fp_TOCContainer::layout(), fp_CellContainer::layout(), fp_EndnoteContainer::layout(), fp_AnnotationContainer::layout(), fp_FootnoteContainer::layout(), fp_HdrFtrContainer::layout(), fp_ShadowContainer::layout(), fp_Column::layout(), fp_Page::mapXYToPosition(), fp_CellContainer::setHeight(), fp_CellContainer::setLineMarkers(), fp_TableContainer::setToAllocation(), fp_CellContainer::tweakBrokenTable(), fp_TOCContainer::VBreakAt(), fp_TableContainer::VBreakAt(), fp_CellContainer::VBreakAt(), fp_TableContainer::wantVBreakAt(), and fp_CellContainer::wantVBreakAt().
| UT_sint32 fp_VerticalContainer::getColumnGap | ( | void | ) | const |
Get column gap from page the container is located on
References fp_Container::getColumn(), fp_Page::getColumnGap(), and fp_Container::getPage().
| bool fp_VerticalContainer::getIntentionallyEmpty | ( | void | ) | const [inline] |
Get container's intentionally empty flag
| void fp_VerticalContainer::setIntentionallyEmpty | ( | bool | b | ) | [inline] |
Set container's intentionally empty flag
| fp_Container * fp_VerticalContainer::getFirstContainer | ( | void | ) | const |
Return first line in the container
References fp_Container::countCons(), and fp_Container::getNthCon().
Referenced by FV_View::_fixInsertionPointCoords(), FV_View::_moveInsPtNextPrevLine(), fp_Page::_reformatColumns(), fp_Page::breakPage(), fb_ColumnBreaker::breakSection(), fp_TableContainer::containsAnnotations(), fp_CellContainer::containsAnnotations(), fp_TableContainer::containsFootnoteReference(), fp_CellContainer::containsFootnoteReference(), FV_View::convertPositionedToInLine(), fp_TableContainer::deleteBrokenTables(), fp_TableContainer::getAnnotationContainers(), fp_CellContainer::getAnnotationContainers(), fp_FrameContainer::getBlocksAroundFrame(), getCorrectBrokenTable(), fp_Page::getFilledHeight(), fp_Page::getFirstLastPos(), fp_TableContainer::getFootnoteContainers(), fp_CellContainer::getFootnoteContainers(), and fp_Page::mapXYToPosition().
| fp_Container * fp_VerticalContainer::getLastContainer | ( | void | ) | const |
Return last line in the container
References fp_Container::countCons(), and fp_Container::getNthCon().
Referenced by FV_View::_moveInsPtNextPrevLine(), fp_Page::_reformatColumns(), fp_Page::breakPage(), fb_ColumnBreaker::breakSection(), fp_Page::getFirstLastPos(), and fl_DocSectionLayout::getNewContainer().
| UT_sint32 fp_VerticalContainer::getYoffsetFromTable | ( | fp_Container * | pT, | |
| fp_Container * | pCell, | |||
| fp_ContainerObject * | pCon | |||
| ) |
This method returns the vertical offset due to a table broken across more than 1 page.
References fp_Container::getNext(), fp_TableContainer::getYBreak(), and fp_TableContainer::isInBrokenTable().
Referenced by getOffsets(), and getScreenOffsets().
| bool fp_VerticalContainer::insertContainerAfter | ( | fp_Container * | pNewContainer, | |
| fp_Container * | pAfterContainer | |||
| ) |
Insert line in container after specified line
| pNewContainer | Container to be inserted | |
| pAfterContainer | After this line |
References fp_Container::addCon(), fp_ContainerObject::clearScreen(), fp_Container::countCons(), fp_Container::findCon(), FP_CONTAINER_ANNOTATION, FP_CONTAINER_LINE, fp_ContainerObject::getContainerType(), fp_Container::insertConAt(), fp_Container::recalcMaxWidth(), fp_Container::setContainer(), UT_ASSERT, and UT_return_val_if_fail.
Referenced by fl_BlockLayout::getNewContainer(), fl_BlockLayout::getNextWrappedLine(), and FL_DocLayout::insertEndnoteContainer().
| bool fp_VerticalContainer::insertContainer | ( | fp_Container * | pNewContainer | ) |
Insert line at the front/top of the container
| pNewContainer | Container |
References fp_ContainerObject::clearScreen(), FP_CONTAINER_ANNOTATION, fp_ContainerObject::getContainerType(), fp_Container::insertConAt(), fp_Container::recalcMaxWidth(), fp_Container::setContainer(), UT_ASSERT, UT_return_val_if_fail, and xxx_UT_DEBUGMSG.
Referenced by fl_BlockLayout::_stuffAllRunsOnALine(), bumpContainers(), fl_BlockLayout::getNewContainer(), and FL_DocLayout::insertEndnoteContainer().
| bool fp_VerticalContainer::addContainer | ( | fp_Container * | pNewContainer | ) |
Append line at the end/bottom of the container
| pNewContainer | Container |
References fp_Container::addCon(), fp_ContainerObject::clearScreen(), FP_CONTAINER_ANNOTATION, fp_Container::getContainer(), fp_ContainerObject::getContainerType(), fp_Container::recalcMaxWidth(), fp_Container::setContainer(), UT_ASSERT, UT_return_val_if_fail, and xxx_UT_DEBUGMSG.
Referenced by fb_ColumnBreaker::breakSection(), bumpContainers(), FL_DocLayout::insertEndnoteContainer(), and fp_TableContainer::tableAttach().
| void fp_VerticalContainer::removeContainer | ( | fp_Container * | pContainer, | |
| bool | bClear = false | |||
| ) |
Remove line from container
| pContainer | Container | |
| bClear | if true clear screen. |
References fp_ContainerObject::clearScreen(), fp_Container::countCons(), fp_Container::deleteNthCon(), fp_Container::findCon(), FP_CONTAINER_LINE, fp_ContainerObject::getContainerType(), fp_Container::setContainer(), UT_ASSERT, and xxx_UT_DEBUGMSG.
Referenced by fl_BlockLayout::_removeLine(), fb_ColumnBreaker::breakSection(), fl_TOCLayout::collapse(), fl_CellLayout::collapse(), fl_TableLayout::collapse(), fl_DocSectionLayout::collapse(), and FL_DocLayout::removeEndnoteContainer().
Compute the distance from point to the container's circumference
| x | X coordinate of point | |
| y | Y coordinate of point |
Implements fp_Container.
References fp_ContainerObject::getGraphics(), m_iHeight, m_iWidth, m_iX, m_iY, and GR_Graphics::tlu().
Referenced by fp_TableContainer::mapXYToPosition(), and fp_Page::mapXYToPosition().
| void fp_VerticalContainer::mapXYToPosition | ( | UT_sint32 | x, | |
| UT_sint32 | y, | |||
| PT_DocPosition & | pos, | |||
| bool & | bBOL, | |||
| bool & | bEOL, | |||
| bool & | isTOC | |||
| ) | [virtual] |
Find document position from X and Y coordinates
| x | X coordinate | |
| y | Y coordinate |
| pos | Document position | |
| bBOL | True if position is at begining of line, otherwise false | |
| bEOL | True if position is at end of line, otherwise false |
Implements fp_ContainerObject.
Reimplemented in fp_TableContainer, and fp_TOCContainer.
References fl_ContainerLayout::canContainPoint(), fp_Line::canContainPoint(), fp_Container::countCons(), FL_FRAME_WRAPPER_IMAGE, FP_CONTAINER_CELL, FP_CONTAINER_COLUMN, FP_CONTAINER_FRAME, FP_CONTAINER_LINE, FP_CONTAINER_TABLE, FP_CONTAINER_TOC, fp_Line::getBlock(), fp_Container::getContainer(), fp_ContainerObject::getContainerType(), fp_Page::getDocLayout(), fl_SectionLayout::getFirstBlock(), fl_BlockLayout::getFirstRun(), FL_DocLayout::getFirstSection(), fl_FrameLayout::getFrameType(), fp_ContainerObject::getHeight(), fp_CellContainer::getLeftAttach(), fp_Run::getLine(), fp_Line::getMaxWidth(), fp_Container::getNext(), fl_ContainerLayout::getNextBlockInDocument(), fp_Container::getNthCon(), fp_Container::getPage(), fl_ContainerLayout::getPosition(), fl_ContainerLayout::getPrevBlockInDocument(), fp_ContainerObject::getSectionLayout(), fp_Line::getX(), getX(), fp_ContainerObject::getX(), fp_Line::getY(), getY(), fp_ContainerObject::getY(), fp_Line::isSameYAsPrevious(), fp_Line::isWrapped(), fp_Line::mapXYToPosition(), fp_ContainerObject::mapXYToPosition(), fp_TableContainer::mapXYToPosition(), UT_ASSERT_HARMLESS, UT_MIN, UT_return_if_fail, UT_SHOULD_NOT_HAPPEN, and xxx_UT_DEBUGMSG.
Referenced by fp_TOCContainer::mapXYToPosition(), fp_TableContainer::mapXYToPosition(), and fp_Page::mapXYToPosition().
| void fp_VerticalContainer::getOffsets | ( | fp_ContainerObject * | pContainer, | |
| UT_sint32 & | xoff, | |||
| UT_sint32 & | yoff | |||
| ) |
Get line's offsets relative to this container
| pContainer | Container |
| xoff | Container's X offset relative to container | |
| yoff | Container's Y offset relative to container |
References FL_DocLayout::displayAnnotations(), fl_HdrFtrSectionLayout::findShadow(), FP_CONTAINER_ANNOTATION, FP_CONTAINER_CELL, FP_CONTAINER_COLUMN, FP_CONTAINER_COLUMN_SHADOW, FP_CONTAINER_FOOTNOTE, FP_CONTAINER_HDRFTR, FP_CONTAINER_TABLE, FP_CONTAINER_TOC, fp_Container::getColumn(), fp_Container::getContainer(), fp_ContainerObject::getContainerString(), fp_ContainerObject::getContainerType(), getCorrectBrokenTable(), getCorrectBrokenTOC(), fp_Page::getDocLayout(), fp_TableContainer::getFirstBrokenTable(), fp_TOCContainer::getFirstBrokenTOC(), fl_HdrFtrShadow::getFirstContainer(), fl_HdrFtrSectionLayout::getFirstShadow(), fp_TableContainer::getMasterTable(), fp_TOCContainer::getMasterTOC(), fp_Page::getNthColumnLeader(), fp_Page::getOwningSection(), fp_Column::getPage(), fp_TableContainer::getPage(), fp_Container::getPage(), fp_Page::getScreenOffsets(), fl_DocSectionLayout::getTopMargin(), getView(), FV_View::getViewMode(), fp_ContainerObject::getX(), getY(), fp_ContainerObject::getY(), getYoffsetFromTable(), fp_ContainerObject::isColumnType(), fp_TOCContainer::isThisBroken(), fp_TableContainer::isThisBroken(), VIEW_PRINT, and xxx_UT_DEBUGMSG.
Referenced by FV_View::_moveInsPtNextPrevLine(), FV_FrameEdit::getFrameStrings(), fp_Line::getOffsets(), and fl_BlockLayout::setFramesOnPage().
| fp_TableContainer * fp_VerticalContainer::getCorrectBrokenTable | ( | fp_Container * | pCon | ) |
This method returns the correct broken table for this line.
References FP_CONTAINER_CELL, FP_CONTAINER_TABLE, fp_Container::getContainer(), fp_ContainerObject::getContainerType(), getFirstContainer(), fp_ContainerObject::getHeight(), fp_ContainerObject::getY(), UT_return_val_if_fail, and xxx_UT_DEBUGMSG.
Referenced by fp_CellContainer::_getBrokenRect(), getOffsets(), getScreenOffsets(), and fp_CellContainer::getScreenPositions().
| fp_TOCContainer * fp_VerticalContainer::getCorrectBrokenTOC | ( | fp_Container * | pCon | ) |
This method returns the correct broken TOC for this line.
References FP_CONTAINER_TOC, fp_Container::getContainer(), fp_ContainerObject::getContainerType(), fp_ContainerObject::getHeight(), fp_ContainerObject::getY(), UT_return_val_if_fail, and xxx_UT_DEBUGMSG.
Referenced by getOffsets(), and getScreenOffsets().
| void fp_VerticalContainer::getScreenOffsets | ( | fp_ContainerObject * | pContainer, | |
| UT_sint32 & | xoff, | |||
| UT_sint32 & | yoff | |||
| ) |
Get Containers' offsets relative to the screen
| pContainer | Container which we want to find the absolute position of. |
| xoff | Container's X offset relative the screen | |
| yoff | Container's Y offset relative the screen |
Reimplemented in fp_HdrFtrContainer.
References FP_CONTAINER_ANNOTATION, FP_CONTAINER_CELL, FP_CONTAINER_COLUMN, FP_CONTAINER_COLUMN_SHADOW, FP_CONTAINER_FOOTNOTE, FP_CONTAINER_FRAME, FP_CONTAINER_TABLE, FP_CONTAINER_TOC, fp_Container::getContainer(), fp_ContainerObject::getContainerString(), fp_ContainerObject::getContainerType(), getCorrectBrokenTable(), getCorrectBrokenTOC(), fp_TableContainer::getFirstBrokenTable(), fp_TableContainer::getMasterTable(), fp_Container::getNthCon(), fp_Page::getOwningSection(), fp_FrameContainer::getPage(), fp_AnnotationContainer::getPage(), fp_FootnoteContainer::getPage(), fp_ShadowContainer::getPage(), fp_Column::getPage(), fp_Container::getPage(), fp_Page::getScreenOffsets(), fl_DocSectionLayout::getTopMargin(), getView(), FV_View::getViewMode(), getX(), fp_ContainerObject::getX(), getY(), fp_ContainerObject::getY(), getYoffsetFromTable(), fp_ContainerObject::isColumnType(), fp_TableContainer::isThisBroken(), UT_ASSERT, UT_SHOULD_NOT_HAPPEN, VIEW_PRINT, and xxx_UT_DEBUGMSG.
Referenced by fp_Line::_doClearScreenFromRunToEnd(), fp_Line::clearScreen(), fp_EndnoteContainer::clearScreen(), fp_AnnotationContainer::clearScreen(), FV_View::convertPositionedToInLine(), fp_Line::draw(), fp_Line::getScreenOffsets(), and getScreenRect().
| UT_Rect * fp_VerticalContainer::getScreenRect | ( | void | ) | [virtual] |
return an rectangle that covers this object on the screen The calling routine is resposible for deleting the returned struct
Implements fp_ContainerObject.
References FP_CONTAINER_FRAME, fp_ContainerObject::getContainerType(), fp_FrameContainer::getFullHeight(), fp_FrameContainer::getFullWidth(), fp_FrameContainer::getFullX(), fp_FrameContainer::getFullY(), getHeight(), fp_Container::getNthCon(), fp_Container::getPage(), FV_View::getPageScreenOffsets(), getScreenOffsets(), getView(), getWidth(), fp_ContainerObject::getX(), and fp_ContainerObject::getY().
Referenced by fp_FrameContainer::draw(), fl_BlockLayout::formatWrappedFromHere(), FV_VisualDragText::getImageFromSelection(), fp_FrameContainer::getLeftPad(), fl_BlockLayout::getLeftRightForWrapping(), fl_BlockLayout::getNextWrappedLine(), fp_FrameContainer::getRightPad(), fp_Page::markDirtyOverlappingRuns(), markDirtyOverlappingRuns(), and fp_FrameContainer::overlapsRect().
| void fp_VerticalContainer::markDirtyOverlappingRuns | ( | UT_Rect & | recScreen | ) | [virtual] |
Marks Dirty any runs that overlap the supplied rectangle. This rectangle is relative to the screen.
Implements fp_ContainerObject.
References fp_Container::countCons(), DELETEP, fp_Container::getNthCon(), getScreenRect(), UT_Rect::intersectsRect(), and fp_ContainerObject::markDirtyOverlappingRuns().
Referenced by fp_Page::markDirtyOverlappingRuns().
| void fp_VerticalContainer::draw | ( | dg_DrawArgs * | pDA | ) | [virtual] |
Draw container content
| pDA | Draw arguments |
Implements fp_ContainerObject.
Reimplemented in fp_ShadowContainer, fp_HdrFtrContainer, fp_EndnoteSectionContainer, fp_FootnoteContainer, fp_AnnotationContainer, fp_EndnoteContainer, fp_FrameContainer, fp_CellContainer, fp_TableContainer, and fp_TOCContainer.
References _drawBoundaries(), _getMaxContainerHeight(), dg_DrawArgs::bDirtyRunsOnly, fp_Container::countCons(), fp_ContainerObject::draw(), FP_CONTAINER_LINE, FP_CONTAINER_TABLE, FP_CONTAINER_TOC, GR_Graphics::getClipRect(), fp_ContainerObject::getContainerType(), fp_TOCContainer::getHeight(), fp_TableContainer::getHeight(), fp_ContainerObject::getHeight(), fp_TableContainer::getMasterTable(), fp_TOCContainer::getMasterTOC(), fp_Container::getNthCon(), getX(), fp_ContainerObject::getX(), fp_ContainerObject::getY(), UT_Rect::height, fp_Line::isSameYAsPrevious(), fp_TOCContainer::isThisBroken(), fp_TableContainer::isThisBroken(), m_iRedrawHeight, dg_DrawArgs::pG, GR_Graphics::tlu(), UT_Rect::top, UT_DEBUGMSG, UT_MAX, dg_DrawArgs::xoff, xxx_UT_DEBUGMSG, and dg_DrawArgs::yoff.
Referenced by fp_Page::draw().
| virtual void fp_VerticalContainer::draw | ( | GR_Graphics * | ) | [inline, virtual] |
Implements fp_ContainerObject.
Reimplemented in fp_ShadowContainer, fp_FootnoteContainer, fp_AnnotationContainer,