Public Member Functions | Private Attributes

fp_ContainerObject Class Reference

#include <fp_ContainerObject.h>

Inheritance diagram for fp_ContainerObject:
fp_Container fp_Run fp_Line fp_VerticalContainer fp_BookmarkRun fp_DirectionMarkerRun fp_DummyRun fp_EmbedRun fp_EndOfParagraphRun fp_FieldEndRun fp_FieldRun fp_FieldStartRun fp_FmtMarkRun fp_ForcedColumnBreakRun fp_ForcedLineBreakRun fp_ForcedPageBreakRun fp_HyperlinkRun fp_ImageRun fp_MathRun fp_TabRun fp_TextRun

List of all members.

Public Member Functions

 fp_ContainerObject (FP_ContainerType iType, fl_SectionLayout *pSectionLayout)
virtual ~fp_ContainerObject ()
FP_ContainerType getContainerType (void) const
bool isColumnType (void) const
virtual void setWidth (UT_sint32)=0
virtual void setHeight (UT_sint32)=0
virtual void setX (UT_sint32, bool bDontClearIfNeeded=false)=0
virtual void setY (UT_sint32)=0
virtual UT_sint32 getWidth (void) const =0
virtual UT_sint32 getDrawingWidth (void) const
virtual UT_sint32 getX (void) const =0
virtual UT_sint32 getY (void) const =0
fl_SectionLayoutgetSectionLayout (void) const
fl_DocSectionLayoutgetDocSectionLayout (void)
void setSectionLayout (fl_SectionLayout *pSL)
virtual UT_BidiCharType getDirection (void) const
virtual void setDirection (UT_BidiCharType c)
virtual UT_sint32 getHeight (void) const =0
virtual void draw (dg_DrawArgs *)=0
virtual void draw (GR_Graphics *)=0
virtual void clearScreen (void)=0
GR_GraphicsgetGraphics (void) const
virtual fp_ContainerObjectgetNext (void) const =0
virtual fp_ContainerObjectgetPrev (void) const =0
virtual void setNext (fp_ContainerObject *pNext)=0
virtual void setPrev (fp_ContainerObject *pNext)=0
virtual bool isVBreakable (void)=0
virtual bool isHBreakable (void)=0
virtual UT_sint32 wantVBreakAt (UT_sint32)=0
virtual UT_sint32 wantHBreakAt (UT_sint32)=0
virtual fp_ContainerObjectVBreakAt (UT_sint32)=0
virtual fp_ContainerObjectHBreakAt (UT_sint32)=0
virtual void mapXYToPosition (UT_sint32 xPos, UT_sint32 yPos, PT_DocPosition &pos, bool &bBOL, bool &bEOL, bool &isTOC)=0
virtual fp_ContainergetNextContainerInSection (void) const =0
virtual fp_ContainergetPrevContainerInSection (void) const =0
virtual UT_RectgetScreenRect ()=0
virtual void markDirtyOverlappingRuns (UT_Rect &recScreen)=0
const char * getContainerString (void)
void setAllowDelete (bool bDelete)
bool canDelete (void)
UT_sint32 getBreakTick (void) const
void setBreakTick (UT_sint32 iTick)
void ref (void)
void unref (void)
UT_sint32 getRefCount (void)

Private Attributes

FP_ContainerType m_iConType
fl_SectionLayoutm_pSectionLayout
UT_BidiCharType m_iDirection
UT_sint32 m_iBreakTick
UT_sint32 m_iRef
bool m_bCanDelete

Constructor & Destructor Documentation

fp_ContainerObject::fp_ContainerObject ( FP_ContainerType  iType,
fl_SectionLayout pSectionLayout 
)

Create container

Parameters:
iType Container type
pSectionLayout Section layout type used for this container

References UT_ASSERT.

fp_ContainerObject::~fp_ContainerObject (  )  [virtual]

Destruct container

References m_iConType.


Member Function Documentation

bool fp_ContainerObject::canDelete ( void   )  [inline]
UT_sint32 fp_ContainerObject::getBreakTick ( void   )  const [inline]
FP_ContainerType fp_ContainerObject::getContainerType ( void   )  const [inline]

Return container type

Returns:
Type

Referenced by fb_ColumnBreaker::_breakSection(), fb_LineBreaker::_breakTheLineAtLastRunToKeep(), fb_ColumnBreaker::_checkVBreakableContainer(), fp_Line::_doClearScreenFromRunToEnd(), AP_LeftRuler::_drawCellProperties(), FV_View::_drawOrClearBetweenPositions(), fp_CellContainer::_getBrokenRect(), FV_View::_getMouseContext(), fb_ColumnBreaker::_getNext(), FV_View::_getNextLineInDoc(), fp_TextRun::_getPartRect(), fp_Page::_reformatColumns(), fp_TableContainer::_size_request_init(), fp_Container::addCon(), fp_VerticalContainer::addContainer(), fp_Page::breakPage(), fp_VerticalContainer::bumpContainers(), fp_Line::calcLeftBorderThick(), fp_Line::calcRightBorderThick(), fp_FieldTableSumCols::calculateValue(), fp_FieldTableSumRows::calculateValue(), fp_Line::canDrawTopBorder(), fp_TableContainer::clearScreen(), fp_Line::clearScreen(), fp_Column::collapseEndnotes(), fp_CellContainer::containsAnnotations(), fp_CellContainer::containsFootnoteReference(), fp_Column::containsPageBreak(), FV_View::convertPositionedToInLine(), fp_VerticalContainer::countWrapped(), fp_CellContainer::deleteBrokenAfter(), fp_TableContainer::deleteBrokenTables(), fp_CellContainer::draw(), fp_Line::draw(), fp_VerticalContainer::draw(), fp_CellContainer::drawBroken(), fp_CellContainer::drawSelectedCell(), fg_FillType::Fill(), fp_TOCContainer::forceClearScreen(), fl_BlockLayout::format(), fl_BlockLayout::formatWrappedFromHere(), fp_Page::getAllLayouts(), fp_CellContainer::getAnnotationContainers(), fp_FrameContainer::getBlocksAroundFrame(), fp_TOCContainer::getBrokenColumn(), fp_TableContainer::getBrokenColumn(), FV_View::getCellAtPos(), fp_CellContainer::getColumn(), fp_Line::getColumn(), getContainerString(), fp_Page::getContainingTable(), fp_VerticalContainer::getCorrectBrokenTable(), fp_VerticalContainer::getCorrectBrokenTOC(), fp_Run::getFGColor(), fp_Page::getFilledHeight(), fp_Line::getFirstInContainer(), fp_Page::getFirstLastPos(), fp_TableContainer::getFirstLineInColumn(), fp_CellContainer::getFootnoteContainers(), fp_Line::getLastInContainer(), fp_TableContainer::getLastLineInColumn(), FV_View::getLeftRulerInfo(), fl_BlockLayout::getNewContainer(), fp_VerticalContainer::getOffsets(), fp_TableContainer::getPage(), fp_Container::getPage(), fp_Container::getPageRelativeOffsets(), fp_TableContainer::getPrevContainerInSection(), fp_Line::getPrevContainerInSection(), fp_VerticalContainer::getScreenOffsets(), fp_CellContainer::getScreenPositions(), fp_VerticalContainer::getScreenRect(), fp_CellContainer::getTopmostTable(), FV_View::getTopRulerInfo(), fp_VerticalContainer::getY(), fp_Container::insertConAt(), fp_VerticalContainer::insertContainer(), fp_VerticalContainer::insertContainerAfter(), fl_TableLayout::insertTableContainer(), FV_View::isInTable(), fl_CellLayout::isLayedOut(), fp_CellContainer::layout(), fp_FrameContainer::layout(), fp_HdrFtrContainer::layout(), fp_ShadowContainer::layout(), fp_Column::layout(), fp_VerticalContainer::mapXYToPosition(), FV_View::notifyListeners(), fp_TableContainer::queueResize(), fp_Line::recalcMaxWidth(), fp_VerticalContainer::removeContainer(), s_doFormatImageDlg(), AP_Dialog_SplitCells::setAllSensitivities(), AP_Dialog_MergeCells::setAllSensitivities(), fp_CellContainer::setContainer(), fl_ContainerLayout::setFirstContainer(), fp_VerticalContainer::setHeight(), fp_Line::setNeedsRedraw(), fp_CellContainer::setWidth(), fp_VerticalContainer::setWidth(), fp_CellContainer::sizeRequest(), fp_Page::updateColumnX(), fp_Page::updatePageForWrapping(), fp_VerticalContainer::validate(), fp_TableContainer::VBreakAt(), fp_CellContainer::VBreakAt(), and fp_CellContainer::wantCellVBreakAt().

virtual UT_BidiCharType fp_ContainerObject::getDirection ( void   )  const [inline, virtual]

Reimplemented in fp_Run, and fp_TextRun.

virtual UT_sint32 fp_ContainerObject::getDrawingWidth ( void   )  const [inline, virtual]
virtual fp_ContainerObject* fp_ContainerObject::getNext ( void   )  const [pure virtual]

Implemented in fp_Container, and fp_Run.

Referenced by fp_Line::getLastInContainer().

virtual fp_ContainerObject* fp_ContainerObject::getPrev ( void   )  const [pure virtual]

Implemented in fp_Container, and fp_Run.

Referenced by fp_Line::getFirstInContainer().

UT_sint32 fp_ContainerObject::getRefCount ( void   )  [inline]

Referenced by fp_Line::~fp_Line().

virtual UT_Rect* fp_ContainerObject::getScreenRect (  )  [pure virtual]
fl_SectionLayout* fp_ContainerObject::getSectionLayout ( void   )  const [inline]

Referenced by fb_ColumnBreaker::_breakSection(), fp_TableContainer::_brokenDraw(), fp_CellContainer::_clear(), fp_Line::_createMapOfRuns(), fp_TableContainer::_drawBoundaries(), FV_View::_extSelToPos(), fp_CellContainer::_getBrokenRect(), FV_View::_getNextLineInDoc(), fp_Page::_reformatColumns(), fp_TableContainer::_size_allocate_pass1(), fp_TableContainer::_size_allocate_pass2(), fp_TableContainer::clearScreen(), fp_EndnoteContainer::clearScreen(), FV_View::cmdInsertRow(), FV_View::cmdTableToText(), fp_Column::collapseEndnotes(), fp_TableContainer::containsAnnotations(), fp_CellContainer::containsAnnotations(), fp_TableContainer::containsFootnoteReference(), fp_CellContainer::containsFootnoteReference(), fp_TableContainer::containsNestedTables(), fp_CellContainer::containsNestedTables(), FV_View::convertPositionedToInLine(), fp_TableContainer::deleteBrokenTables(), fp_CellContainer::deleteBrokenTables(), fp_TOCContainer::deleteBrokenTOCs(), fl_TableLayout::doSimpleChange(), fp_TableContainer::draw(), fp_FrameContainer::draw(), fp_AnnotationContainer::draw(), fp_Line::drawBorders(), fp_CellContainer::drawBroken(), fp_FrameContainer::drawHandles(), fp_CellContainer::drawLines(), fp_CellContainer::drawSelectedCell(), FV_View::findCellPosAt(), fl_BlockLayout::findLineWithFootnotePID(), fp_TableContainer::fp_TableContainer(), fp_Page::getAvailableHeightForColumn(), fp_CellContainer::getBackground(), fp_FrameContainer::getBlocksAroundFrame(), FL_DocLayout::getDocSecForEndnote(), fp_TOCContainer::getDocSectionLayout(), fp_FrameContainer::getDocSectionLayout(), fp_EndnoteContainer::getDocSectionLayout(), fp_AnnotationContainer::getDocSectionLayout(), fp_FootnoteContainer::getDocSectionLayout(), getDocSectionLayout(), fp_Column::getDocSectionLayout(), getGraphics(), fp_HdrFtrContainer::getHdrFtrSectionLayout(), fp_ShadowContainer::getHdrFtrSectionLayout(), FV_VisualDragText::getImageFromSelection(), fp_FrameContainer::getLeftPad(), fl_BlockLayout::getLeftRightForWrapping(), FV_View::getLeftRulerInfo(), fp_TableContainer::getMarginAfter(), fp_TableContainer::getMarginBefore(), fl_BlockLayout::getNewContainer(), fp_TOCContainer::getNextContainerInSection(), fp_TableContainer::getNextContainerInSection(), fp_CellContainer::getNextContainerInSection(), fp_AnnotationContainer::getNextContainerInSection(), fp_FootnoteContainer::getNextContainerInSection(), fp_Container::getPageRelativeOffsets(), fp_AnnotationContainer::getPID(), fp_TOCContainer::getPrevContainerInSection(), fp_TableContainer::getPrevContainerInSection(), fp_CellContainer::getPrevContainerInSection(), fp_AnnotationContainer::getPrevContainerInSection(), fp_FootnoteContainer::getPrevContainerInSection(), fp_FrameContainer::getRightPad(), fp_TableContainer::getRowHeight(), fp_CellContainer::getScreenPositions(), FV_View::getTopRulerInfo(), fp_TOCContainer::getValue(), fp_EndnoteContainer::getValue(), fp_AnnotationContainer::getValue(), fp_FootnoteContainer::getValue(), fp_VerticalContainer::getY(), fp_TableContainer::getYOfRow(), FL_DocLayout::insertEndnoteContainer(), fp_Container::isOnScreen(), fp_TableContainer::layout(), fp_FrameContainer::layout(), fp_EndnoteContainer::layout(), fp_Page::mapXYToPosition(), fp_VerticalContainer::mapXYToPosition(), AP_TopRuler::mouseRelease(), AP_LeftRuler::mouseRelease(), fp_FrameContainer::overlapsRect(), fp_TableContainer::queueResize(), fl_DocSectionLayout::redrawUpdate(), fp_Page::removeAnnotationContainer(), fp_Page::removeFootnoteContainer(), fp_Page::removeFrameContainer(), fp_TableContainer::resize(), fp_CellContainer::setHeight(), fp_VerticalContainer::setHeight(), fp_FrameContainer::setPage(), fp_AnnotationContainer::setPage(), fp_FootnoteContainer::setPage(), fp_FrameContainer::setPreferedColumnNo(), fp_FrameContainer::setPreferedPageNo(), fp_CellContainer::setWidth(), fp_VerticalContainer::setWidth(), fp_TOCContainer::setY(), fp_TableContainer::setY(), fp_TableContainer::sizeRequest(), fp_CellContainer::sizeRequest(), fp_TableContainer::sumFootnoteHeight(), fp_TableContainer::tableAttach(), fp_TOCContainer::VBreakAt(), fp_TableContainer::VBreakAt(), fp_TableContainer::wantVBreakAt(), fp_TableContainer::wantVBreakAtNoFootnotes(), and fp_ShadowContainer::~fp_ShadowContainer().

virtual UT_sint32 fp_ContainerObject::getY ( void   )  const [pure virtual]

Implemented in fp_VerticalContainer, fp_EndnoteContainer, fp_FrameContainer, fp_Line, and fp_Run.

Referenced by fp_CellContainer::_getBrokenRect(), FV_View::_getMouseContext(), FV_View::_moveInsPtNextPrevLine(), fp_CellContainer::clearScreen(), Defun1(), fl_BlockLayout::doclistener_insertBlock(), fp_TOCContainer::draw(), fp_CellContainer::draw(), fp_FrameContainer::draw(), fp_EndnoteContainer::draw(), fp_AnnotationContainer::draw(), fp_FootnoteContainer::draw(), fp_ShadowContainer::draw(), fp_VerticalContainer::draw(), fp_CellContainer::drawBroken(), fp_CellContainer::drawSelectedCell(), fg_FillType::Fill(), fp_TextRun::findPointCoords(), fp_CellContainer::getBrokenTable(), fp_VerticalContainer::getCorrectBrokenTable(), fp_VerticalContainer::getCorrectBrokenTOC(), FV_View::getLeftRulerInfo(), fp_VerticalContainer::getOffsets(), fp_Container::getPageRelativeOffsets(), fp_Page::getScreenOffsets(), fp_VerticalContainer::getScreenOffsets(), fp_CellContainer::getScreenPositions(), fp_VerticalContainer::getScreenRect(), fp_TableContainer::isInBrokenTable(), fp_TOCContainer::isInBrokenTOC(), fp_TOCContainer::layout(), fp_CellContainer::layout(), fp_FrameContainer::layout(), fp_EndnoteContainer::layout(), fp_AnnotationContainer::layout(), fp_FootnoteContainer::layout(), fp_Column::layout(), fp_VerticalContainer::mapXYToPosition(), s_doFormatImageDlg(), fl_BlockLayout::setFramesOnPage(), fp_VerticalContainer::validate(), fp_CellContainer::VBreakAt(), and fp_CellContainer::wantCellVBreakAt().

virtual fp_ContainerObject* fp_ContainerObject::HBreakAt ( UT_sint32   )  [pure virtual]
virtual bool fp_ContainerObject::isHBreakable ( void   )  [pure virtual]
virtual void fp_ContainerObject::markDirtyOverlappingRuns ( UT_Rect recScreen  )  [pure virtual]
void fp_ContainerObject::ref ( void   )  [inline]
void fp_ContainerObject::setAllowDelete ( bool  bDelete  )  [inline]
void fp_ContainerObject::setBreakTick ( UT_sint32  iTick  )  [inline]
virtual void fp_ContainerObject::setDirection ( UT_BidiCharType  c  )  [inline, virtual]

Reimplemented in fp_Run.

virtual void fp_ContainerObject::setHeight ( UT_sint32   )  [pure virtual]
virtual void fp_ContainerObject::setNext ( fp_ContainerObject pNext  )  [pure virtual]
void fp_ContainerObject::setSectionLayout ( fl_SectionLayout pSL  )  [inline]
virtual void fp_ContainerObject::setWidth ( UT_sint32   )  [pure virtual]
virtual void fp_ContainerObject::setX ( UT_sint32  ,
bool  bDontClearIfNeeded = false 
) [pure virtual]

Implemented in fp_VerticalContainer, fp_Line, and fp_Run.

void fp_ContainerObject::unref ( void   )  [inline]
virtual fp_ContainerObject* fp_ContainerObject::VBreakAt ( UT_sint32   )  [pure virtual]
virtual UT_sint32 fp_ContainerObject::wantHBreakAt ( UT_sint32   )  [pure virtual]
virtual UT_sint32 fp_ContainerObject::wantVBreakAt ( UT_sint32   )  [pure virtual]

Member Data Documentation

Section layout type used for this container


The documentation for this class was generated from the following files: