Home
last modified time | relevance | path

Searched refs:SwRect (Results 1 – 25 of 204) sorted by relevance

123456789

/trunk/main/sw/source/core/layout/
H A Dnewfrm.cxx72 &SwRect::_Top,
73 &SwRect::_Bottom,
74 &SwRect::_Left,
75 &SwRect::_Right,
76 &SwRect::_Width,
77 &SwRect::_Height,
78 &SwRect::TopLeft,
79 &SwRect::_Size,
81 &SwRect::_Top,
82 &SwRect::_Bottom,
[all …]
H A Dpaintfrm.cxx137 class SwLineRect : public SwRect
145 SwLineRect( const SwRect &rRect, const Color *pCol,
160 sal_Bool MakeUnion( const SwRect &rRect );
170 void AddLineRect( const SwRect& rRect, const Color *pColor,
186 inline void Ins( const SwRect &rRect, const sal_uInt8 nSCol );
398 SwLineRect::SwLineRect( const SwRect &rRect, const Color *pCol, in SwLineRect()
400 SwRect( rRect ), in SwLineRect()
409 sal_Bool SwLineRect::MakeUnion( const SwRect &rRect ) in MakeUnion()
446 void SwLineRects::AddLineRect( const SwRect &rRect, const Color *pCol, in AddLineRect()
567 SwRect aIns( rL1 ); in ConnectEdges()
[all …]
H A Danchoreddrawobject.cxx62 SwRect maOldObjRect;
91 SwRect aNewObjRect( mpAnchoredDrawObj->GetObjRect() ); in ~SwPosNotify()
271 SwRect aTmpRect( GetObjRect() ); in IsOutsidePage()
399 SwRect aPageRect( GetPageFrm()->Frm() ); in MakeObjPos()
400 SwRect aObjRect( GetObjRect() ); in MakeObjPos()
689 const SwRect SwAnchoredDrawObject::GetObjRect() const in GetObjRect()
697 const SwRect SwAnchoredDrawObject::GetObjBoundRect() const in GetObjBoundRect()
727 const SwRect* _pNewObjRect ) in AdjustPositioningAttr()
733 const SwRect aObjRect( _pNewObjRect ? *_pNewObjRect : GetObjRect() ); in AdjustPositioningAttr()
806 SwRect aObjRect( GetObjRect() ); in _SetPositioningAttr()
[all …]
H A Dlayact.cxx220 sal_Bool SwLayAction::PaintWithoutFlys( const SwRect &rRect, const SwCntntFrm *pCnt, in PaintWithoutFlys()
297 const SwRect *pData = aTmp.GetData(); in PaintWithoutFlys()
305 const SwRect &rRect ) in _PaintCntnt()
319 const SwRect &rOldRect, in PaintCntnt()
326 SwRect aPaint( pCnt->PaintArea() ); in PaintCntnt()
341 SwRect aDrawRect( pCnt->PaintArea() ); in PaintCntnt()
348 SwRect aPaintRect = static_cast<SwTxtFrm*>(const_cast<SwCntntFrm*>(pCnt))->Paint(); in PaintCntnt()
361 SwRect aRect( pTmp->GetUpper()->PaintArea() ); in PaintCntnt()
856 const SwRect &rVis = pImp->GetShell()->VisArea(); in InternalAction()
988 const SwRect aOldRect( pCnt->UnionFrm( sal_True ) ); in _TurboAction()
[all …]
/trunk/main/sw/inc/
H A Dswrect.hxx29 class SwRect class
36 inline SwRect();
37 inline SwRect( const SwRect &rRect );
38 inline SwRect( const Point& rLT, const Size& rSize );
39 inline SwRect( const Point& rLT, const Point& rRB );
40 inline SwRect( long X, long Y, long Width, long Height );
43 SwRect( const Rectangle &rRect );
77 SwRect &Union( const SwRect& rRect );
78 SwRect &Intersection( const SwRect& rRect );
80 SwRect &_Intersection( const SwRect &rRect );
[all …]
H A Dviewsh.hxx114 friend void SetSwVisArea( ViewShell*, const SwRect& /*, sal_Bool bPDFExport = sal_False */ );
129 SwRect aInvalidRect;
179 SW_DLLPRIVATE void PaintDesktop( const SwRect & ); // sammeln der Werte fuers
184 SW_DLLPRIVATE sal_Bool CheckInvalidForPaint( const SwRect & );//Direkt Paint oder lieber
195 SwRect aVisArea; //Die moderne Ausfuerung der VisArea
233 sal_Bool AddPaintRect( const SwRect &rRect );
235 void InvalidateWindows( const SwRect &rRect );
258 virtual void VisPortChgd( const SwRect & );
262 const SwRect& VisArea() const { return aVisArea; } in VisArea()
265 void MakeVisible( const SwRect & );
[all …]
H A Dswregion.hxx30 SV_DECL_VARARR( SwRects, SwRect, 20, 8 )
34 SwRect aOrigin; // die Kopie des StartRects
36 inline void InsertRect( const SwRect &rRect, const sal_uInt16 nPos, sal_Bool &rDel);
39 SwRegionRects( const SwRect& rStartRect, sal_uInt16 nInit = 20,
42 void operator-=( const SwRect& rRect );
49 inline const SwRect &GetOrigin() const { return aOrigin; } in GetOrigin()
50 inline void ChangeOrigin( const SwRect &rRect ) { aOrigin = rRect; } in ChangeOrigin()
H A Danchoredobject.hxx70 SwRect maLastCharRect;
124 mutable SwRect maObjRectWithSpaces;
126 mutable SwRect maLastObjRect;
238 virtual const SwRect GetObjBoundRect() const = 0;
338 const SwRect& GetLastCharRect() const;
404 const SwRect& _rRect,
417 virtual const SwRect GetObjRect() const = 0;
443 const SwRect& GetObjRectWithSpaces() const;
H A Dfesh.hxx146 const SwRect* pPrtRect, *pFrmRect;
299 SwRect GetObjRect() const;
301 SwRect GetFlyRect() const;
307 void CalcBoundRect( SwRect& _orRect,
318 void SetObjRect( const SwRect& rRect );
340 const SwFrmFmt* GetFmtFromObj( const Point& rPt, SwRect** pRectToFill = 0 ) const;
405 …Size RequestObjectResize( const SwRect &rRect, const ::com::sun::star::uno::Reference < ::com::sun…
416 const SwRect *pFlyPrtRect = 0,
417 const SwRect *pFlyFrmRect = 0,
423 const SwRect &rPrt,
[all …]
/trunk/main/sw/source/core/bastyp/
H A Dswrect.cxx48 SwRect::SwRect( const Rectangle &rRect ) : in SwRect() function in SwRect
65 Point SwRect::Center() const in Center()
89 SwRect& SwRect::Union( const SwRect& rRect ) in Union()
114 SwRect& SwRect::Intersection( const SwRect& rRect ) in Intersection()
141 SwRect& SwRect::_Intersection( const SwRect& rRect ) in _Intersection()
169 sal_Bool SwRect::IsInside( const SwRect& rRect ) const in IsInside()
183 sal_Bool SwRect::IsInside( const Point& rPoint ) const in IsInside()
193 sal_Bool SwRect::IsNear( const Point& rPoint, long nTolerance ) const in IsNear()
213 sal_Bool SwRect::IsOver( const SwRect& rRect ) const in IsOver()
232 void SwRect::Justify() in Justify()
[all …]
H A Dswregion.cxx36 SV_IMPL_VARARR( SwRects, SwRect );
47 SwRegionRects::SwRegionRects( const SwRect &rStartRect, sal_uInt16 nInit, in SwRegionRects()
63 inline void SwRegionRects::InsertRect( const SwRect &rRect, const sal_uInt16 nPos, in InsertRect()
68 pData = (SwRect*)pData; // looks weird but seems to help gcc ->i78417 in InsertRect()
90 void SwRegionRects::operator-=( const SwRect &rRect ) in operator -=()
97 SwRect aTmp( *(pData+i) ); in operator -=()
98 SwRect aInter( aTmp ); in operator -=()
171 const SwRect *pDat = GetData(); in Invert()
182 memcpy( pData, aInvRegion.GetData(), nCpy * sizeof( SwRect )); in Invert()
198 inline SwTwips CalcArea( const SwRect &rRect ) in CalcArea()
[all …]
/trunk/main/sw/source/core/text/
H A Dtxtfly.hxx81 const SwRect ContourRect( const SwFmt* pFmt, const SdrObject* pObj,
82 const SwTxtFrm* pFrm, const SwRect &rLine, const long nXPos,
92 static const SwRect CalcBoundRect( const SwAnchoredObject* pAnchoredObj,
93 const SwRect &rLine,
134 SwRect _GetFrm( const SwRect &rPortion, sal_Bool bTop ) const;
144 sal_Bool ForEach( const SwRect &rRect, SwRect* pRect, sal_Bool bAvoid ) const;
146 void CalcRightMargin( SwRect &rFly,
148 const SwRect &rLine ) const;
149 void CalcLeftMargin( SwRect &rFly,
151 const SwRect &rLine ) const;
[all …]
H A Dtxtfly.cxx345 SwRect aLine( GetLeftMargin(), Y(), rInf.RealWidth(), nHeight ); in ChkFlyUnderflow()
347 SwRect aLineVert( aLine ); in ChkFlyUnderflow()
350 SwRect aInter( rInf.GetTxtFly()->GetFrm( aLineVert ) ); in ChkFlyUnderflow()
476 SwRect aLine( rInf.X() + nLeftMin, nTop, rInf.RealWidth() - rInf.X() in CalcFlyWidth()
479 SwRect aLineVert( aLine ); in CalcFlyWidth()
485 SwRect aInter( pTxtFly->GetFrm( aLineVert ) ); in CalcFlyWidth()
814 SwRect SwTxtFly::_GetFrm( const SwRect &rRect, sal_Bool bTop ) const in _GetFrm()
816 SwRect aRet; in _GetFrm()
848 SwRect aRect( pCurrFrm->Frm().Pos() + pCurrFrm->Prt().Pos(), in IsAnyFrm()
866 sal_Bool SwTxtFly::IsAnyObj( const SwRect &rRect ) const in IsAnyObj()
[all …]
H A Dfrmpaint.cxx83 SwRect aRect;
97 const SwLineNumberInfo &rLnInf, const SwRect &rRct,
111 const SwLineNumberInfo &rLnInf, const SwRect &rRct, in SwExtraPainter()
241 SwRect aRct( Point( aTmpPos.X(), in PaintExtra()
275 SwRect aRct( aStart, aEnd ); in PaintRedline()
296 void SwTxtFrm::PaintExtraData( const SwRect &rRect ) const in PaintExtraData()
318 SwRect rOldRect( rRect ); in PaintExtraData()
321 SwitchVerticalToHorizontal( (SwRect&)rRect ); in PaintExtraData()
354 (SwRect&)rRect = rOldRect; in PaintExtraData()
415 (SwRect&)rRect = rOldRect; in PaintExtraData()
[all …]
H A Dtxtpaint.cxx59 void SwSaveClip::_ChgClip( const SwRect &rRect, const SwTxtFrm* pFrm, in _ChgClip()
62 SwRect aOldRect( rRect ); in _ChgClip()
66 pFrm->SwitchLTRtoRTL( (SwRect&)rRect ); in _ChgClip()
69 pFrm->SwitchHorizontalToVertical( (SwRect&)rRect ); in _ChgClip()
73 (SwRect&)rRect = aOldRect; in _ChgClip()
102 (SwRect&)rRect = aOldRect; in _ChgClip()
130 (SwRect&)rRect = aOldRect; in _ChgClip()
/trunk/main/sw/source/core/inc/
H A Dpagefrm.hxx116 static void GetBorderRect( const SwRect& _rPageRect,
118 SwRect& _orBorderRect,
140 static void GetRightShadowRect( const SwRect& _rPageRect,
142 SwRect& _orRightShadowRect,
165 static void GetBottomShadowRect( const SwRect& _rPageRect,
167 SwRect& _orBottomShadowRect,
186 …static void AddSidebarBorders( SwRect& aRect, ViewShell* _pViewShell, bool bRight, bool bPx …
258 void PaintGrid( OutputDevice* pOut, SwRect &rRect ) const;
262 void RefreshExtraData( const SwRect & ) const;
265 void RefreshSubsidiary( const SwRect& ) const;
[all …]
H A Dfrmtool.hxx69 const SwRect &rOrg,
70 const SwRect &rOut,
75 const SwRect& rOriginalLayoutRect,
76 const SwRect& rPaintRect,
81 void MA_FASTCALL SwAlignRect( SwRect &rRect, ViewShell *pSh );
85 void SwAlignGrfRect( SwRect *pGrfRect, const OutputDevice &rOut );
126 void Notify( SwFlyFrm *pFly, SwPageFrm *pOld, const SwRect &rOld,
127 const SwRect* pOldRect = 0 );
131 const SwRect& rRect,
143 const SwFrm * MA_FASTCALL FindPage( const SwRect &rRect, const SwFrm *pPage );
[all …]
H A Dtxtfrm.hxx185 sal_Bool _GetDropRect( SwRect &rRect ) const;
198 sal_Bool PaintEmpty( const SwRect &, sal_Bool bCheck ) const;
238 SwRect _AutoSpell( const SwCntntNode*, const SwViewOption&, sal_uInt16 );
240 SwRect SmartTagScan( SwCntntNode* , sal_uInt16 );
252 virtual sal_Bool GetCharRect( SwRect& rRect, const SwPosition& rPos,
255 sal_Bool GetAutoPos( SwRect &, const SwPosition& ) const;
281 virtual bool FillSelection( SwSelectionList& rList, const SwRect& rRect ) const;
297 void PaintExtraData( const SwRect & rRect ) const; //Seitennummer usw.
298 SwRect Paint();
299 virtual void Paint( SwRect const&,
[all …]
H A Dframe.hxx398 SwRect aFrm; //Absolute Dokumentposition und groesse des Frm
399 SwRect aPrt; //Position der PrtArea rel zum Frm und groesse der PrtArea
509 void PaintShadow( const SwRect&, SwRect&, const SwBorderAttrs& ) const;
568 virtual void PaintBorder( const SwRect&, const SwPageFrm *pPage,
570 void PaintBaBo( const SwRect&, const SwPageFrm *pPage = 0,
572 void PaintBackground( const SwRect&, const SwPageFrm *pPage,
576 void PaintBorderLine( const SwRect&, const SwRect&, const SwPageFrm*,
580 void Retouche( const SwPageFrm *pPage, const SwRect &rRect ) const;
586 SwRect &rOrigRect,
772 const SwRect &Frm() const { return aFrm; } in Frm()
[all …]
H A Dnotxtfrm.hxx44 void PaintCntnt ( OutputDevice*, const SwRect&, const SwRect& ) const;
46 void PaintPicture( OutputDevice*, const SwRect& ) const;
54 virtual void Paint( SwRect const&,
56 virtual sal_Bool GetCharRect( SwRect &, const SwPosition&,
62 void GetGrfArea( SwRect &rRect, SwRect * = 0, sal_Bool bMirror = sal_True ) const;
/trunk/main/sw/source/core/access/
H A Daccframe.hxx45 SwRect maVisArea;
53 const SwRect& rVisArea,
59 const SwRect& rVisArea,
65 const SwRect& rVisArea,
71 static sw::access::SwAccessibleChild GetChildAtPixel( const SwRect& rVisArea,
78 const SwRect& rVisArea,
91 inline sal_Bool IsShowing( const SwRect& rFrm ) const;
104 SwAccessibleFrame( const SwRect& rVisArea,
127 SwRect GetBounds( const SwAccessibleMap& rAccMap,
144 inline void SetVisArea( const SwRect& rNewVisArea ) in SetVisArea()
[all …]
H A Daccfrmobj.cxx278 SwRect SwAccessibleChild::GetBox( const SwAccessibleMap& rAccMap ) const in GetBox()
280 SwRect aBox; in GetBox()
287 aBox = SwRect( mpFrm->Frm().Left(), mpFrm->Frm().Top()-1, 1, 1 ); in GetBox()
291 aBox = SwRect( mpFrm->Frm() ); in GetBox()
301 aBox = SwRect( mpDrawObj->GetCurrentBoundRect() ); in GetBox()
305 aBox = SwRect( rAccMap.GetShell()->GetWin()->PixelToLogic( in GetBox()
313 SwRect SwAccessibleChild::GetBounds( const SwAccessibleMap& rAccMap ) const in GetBounds()
315 SwRect aBound; in GetBounds()
322 aBound = SwRect( mpFrm->Frm().Left(), mpFrm->Frm().Top()-1, 0, 0 ); in GetBounds()
/trunk/main/sw/source/core/doc/
H A Dnotxtfrm.cxx100 void lcl_PaintReplacement( const SwRect &rRect, const String &rText, in lcl_PaintReplacement()
231 OutputDevice &rOut, const SwRect& rPtArea, in lcl_ClearArea()
232 const SwRect &rGrfArea ) in lcl_ClearArea()
239 const SvxBrushItem *pItem; const Color *pCol; SwRect aOrigRect; in lcl_ClearArea()
279 void SwNoTxtFrm::Paint(SwRect const& rRect, SwPrintData const*const) const in Paint()
332 SwRect aOrigPaint( rRect ); in Paint()
338 SwRect aGrfArea( Frm() ); in Paint()
339 SwRect aPaintArea( aGrfArea ); in Paint()
342 SwRect aNormal( Frm().Pos() + Prt().Pos(), Prt().SSize() ); in Paint()
362 lcl_ClearArea( *this, *pSh->GetOut(), aPaintArea, SwRect() ); in Paint()
[all …]
/trunk/main/sw/source/filter/ww8/
H A DWW8TableInfo.hxx49 typedef boost::shared_ptr<SwRect> SwRectPtr;
73 SwRect maRect;
92 void setRect(const SwRect & rRect);
105 const SwRect & getRect() const;
119 SwRect m_aRect;
124 CellInfo(const SwRect & aRect, WW8TableNodeInfo * pNodeInfo);
143 SwRect getRect() const { return m_aRect; } in getRect()
196 void setRect(const SwRect & rRect);
208 const SwRect & getRect() const;
279 void insert(const SwRect & rRect, WW8TableNodeInfo * pNodeInfo,
[all …]
/trunk/main/sw/source/ui/uiview/
H A Dviewtab.cxx283 const SwRect& rPageRect = rSh.GetAnyCurRect(RECT_PAGE); in ExecTabWin()
302 const SwRect &rRect = rSh.GetAnyCurRect(RECT_FLY_EMBEDDED); in ExecTabWin()
340 SwRect aRect; in ExecTabWin()
389 SwRect aRect( rSh.GetObjRect() ); in ExecTabWin()
398 SwRect aSectRect = rSh.GetAnyCurRect(RECT_SECTION_PRT, 0); in ExecTabWin()
399 const SwRect aTmpRect = rSh.GetAnyCurRect(RECT_SECTION, 0); in ExecTabWin()
461 const SwRect &rRect = rSh.GetAnyCurRect(RECT_FLY_EMBEDDED); in ExecTabWin()
489 SwRect aRect; in ExecTabWin()
502 SwRect aRect( rSh.GetObjRect() ); in ExecTabWin()
511 SwRect aSectRect = rSh.GetAnyCurRect(RECT_SECTION_PRT, 0); in ExecTabWin()
[all …]

123456789