Home
last modified time | relevance | path

Searched refs:rBorder (Results 1 – 21 of 21) sorted by relevance

/AOO41X/main/svx/source/dialog/
H A Dframelink.cxx276 long lclGetBeg( const Style& rBorder ) in lclGetBeg() argument
279 switch( rBorder.GetRefMode() ) in lclGetBeg()
281 case REFMODE_CENTERED: if( rBorder.Prim() ) nPos = -128 * (rBorder.GetWidth() - 1); break; in lclGetBeg()
282 case REFMODE_END: if( rBorder.Prim() ) nPos = -256 * (rBorder.GetWidth() - 1); break; in lclGetBeg()
293 long lclGetEnd( const Style& rBorder ) in lclGetEnd() argument
296 switch( rBorder.GetRefMode() ) in lclGetEnd()
298 case REFMODE_CENTERED: if( rBorder.Prim() ) nPos = 128 * (rBorder.GetWidth() - 1); break; in lclGetEnd()
299 case REFMODE_BEGIN: if( rBorder.Prim() ) nPos = 256 * (rBorder.GetWidth() - 1); break; in lclGetEnd()
310 inline long lclGetPrimEnd( const Style& rBorder ) in lclGetPrimEnd() argument
311 { return rBorder.Prim() ? (lclGetBeg( rBorder ) + 256 * (rBorder.Prim() - 1)) : 0; } in lclGetPrimEnd()
[all …]
H A Dfrmsel.cxx561 void FrameSelectorImpl::DrawArrows( const FrameBorder& rBorder ) in DrawArrows() argument
563 …DBG_ASSERT( rBorder.IsEnabled(), "svx::FrameSelectorImpl::DrawArrows - access to disabled border" … in DrawArrows()
566 switch( rBorder.GetType() ) in DrawArrows()
582 switch( rBorder.GetType() ) in DrawArrows()
610 sal_uInt16 nSelectAdd = (mrFrameSel.IsEnabled() && rBorder.IsSelected()) ? 0 : 8; in DrawArrows()
701 void FrameSelectorImpl::SetBorderState( FrameBorder& rBorder, FrameBorderState eState ) in SetBorderState() argument
703 …DBG_ASSERT( rBorder.IsEnabled(), "svx::FrameSelectorImpl::SetBorderState - access to disabled bord… in SetBorderState()
709 size_t nVecIdx = static_cast< size_t >( rBorder.GetType() ); in SetBorderState()
710 … if( GetBorder(rBorder.GetType()).IsEnabled() && (1 <= nVecIdx) && (nVecIdx <= maChildVec.size()) ) in SetBorderState()
715 SetBorderCoreStyle( rBorder, &maCurrStyle ); in SetBorderState()
[all …]
/AOO41X/main/tools/inc/tools/
H A Dsvborder.hxx48 SvBorder & operator = ( const SvBorder & rBorder ) in operator =() argument
50 Left() = rBorder.Left(); in operator =()
51 Top() = rBorder.Top(); in operator =()
52 Right() = rBorder.Right(); in operator =()
53 Bottom() = rBorder.Bottom(); in operator =()
56 SvBorder & operator += ( const SvBorder & rBorder ) in operator +=() argument
58 Left() += rBorder.Left(); in operator +=()
59 Top() += rBorder.Top(); in operator +=()
60 Right() += rBorder.Right(); in operator +=()
61 Bottom() += rBorder.Bottom(); in operator +=()
[all …]
/AOO41X/main/tools/source/generic/
H A Dsvborder.cxx48 Rectangle & operator += ( Rectangle & rRect, const SvBorder & rBorder ) in operator +=() argument
52 aS.Width() += rBorder.Left() + rBorder.Right(); in operator +=()
53 aS.Height() += rBorder.Top() + rBorder.Bottom(); in operator +=()
55 rRect.Left() -= rBorder.Left(); in operator +=()
56 rRect.Top() -= rBorder.Top(); in operator +=()
61 Rectangle & operator -= ( Rectangle & rRect, const SvBorder & rBorder ) in operator -=() argument
65 aS.Width() -= rBorder.Left() + rBorder.Right(); in operator -=()
66 aS.Height() -= rBorder.Top() + rBorder.Bottom(); in operator -=()
68 rRect.Left() += rBorder.Left(); in operator -=()
69 rRect.Top() += rBorder.Top(); in operator -=()
/AOO41X/main/svx/inc/svx/
H A Dframelink.hxx121 …inline explicit Style( const SvxBorderLine& rBorder, double fScale = 1.0, sal_uInt16 nMaxWidth… in Style() argument
122 meRefMode( REFMODE_CENTERED ) { Set( rBorder, fScale, nMaxWidth ); } in Style()
145 …void Set( const SvxBorderLine& rBorder, double fScale = 1.0, sal_uInt16 nMaxWidth =…
487 const Style& rBorder, /// Style of the processed frame border.
519 const Style& rBorder, /// Style of the processed frame border.
546 const Style& rBorder, /// Style of the frame border to draw.
604 const Style& rBorder, /// Style of the processed frame border.
636 const Style& rBorder, /// Style of the processed frame border.
663 const Style& rBorder, /// Style of the frame border to draw.
682 const Style& rBorder, /// Style of the frame border to draw.
/AOO41X/main/writerfilter/source/dmapper/
H A DDomainMapperTableHandler.cxx243 void lcl_debug_TableBorder(table::TableBorder & rBorder) in lcl_debug_TableBorder() argument
246 lcl_debug_BorderLine(rBorder.TopLine); in lcl_debug_TableBorder()
247 dmapper_logger->attribute("IsTopLineValid", rBorder.IsTopLineValid); in lcl_debug_TableBorder()
248 lcl_debug_BorderLine(rBorder.BottomLine); in lcl_debug_TableBorder()
249 dmapper_logger->attribute("IsBottomLineValid", rBorder.IsBottomLineValid); in lcl_debug_TableBorder()
250 lcl_debug_BorderLine(rBorder.LeftLine); in lcl_debug_TableBorder()
251 dmapper_logger->attribute("IsLeftLineValid", rBorder.IsLeftLineValid); in lcl_debug_TableBorder()
252 lcl_debug_BorderLine(rBorder.RightLine); in lcl_debug_TableBorder()
253 dmapper_logger->attribute("IsRightLineValid", rBorder.IsRightLineValid); in lcl_debug_TableBorder()
254 lcl_debug_BorderLine(rBorder.VerticalLine); in lcl_debug_TableBorder()
[all …]
/AOO41X/main/sfx2/source/view/
H A Dframe.cxx794 void SfxFrame::SetToolSpaceBorderPixel_Impl( const SvBorder& rBorder ) in SetToolSpaceBorderPixel_Impl() argument
796 pImp->aBorder = rBorder; in SetToolSpaceBorderPixel_Impl()
800 Point aPos ( rBorder.Left(), rBorder.Top() ); in SetToolSpaceBorderPixel_Impl()
802 long nDeltaX = rBorder.Left() + rBorder.Right(); in SetToolSpaceBorderPixel_Impl()
808 long nDeltaY = rBorder.Top() + rBorder.Bottom(); in SetToolSpaceBorderPixel_Impl()
816 … sal_Bool bHasTools = rBorder.Left() != rBorder.Right() || rBorder.Top() != rBorder.Bottom(); in SetToolSpaceBorderPixel_Impl()
H A Dviewfrm.cxx1308 const SvBorder& rBorder in SetBorderPixelImpl() argument
1312 pImp->aBorder = rBorder; in SetBorderPixelImpl()
1319 aSize.Width() += rBorder.Left() + rBorder.Right(); in SetBorderPixelImpl()
1320 aSize.Height() += rBorder.Top() + rBorder.Bottom(); in SetBorderPixelImpl()
1337 aEditArea.Left() += rBorder.Left(); in SetBorderPixelImpl()
1338 aEditArea.Right() -= rBorder.Right(); in SetBorderPixelImpl()
1339 aEditArea.Top() += rBorder.Top(); in SetBorderPixelImpl()
1340 aEditArea.Bottom() -= rBorder.Bottom(); in SetBorderPixelImpl()
H A Dviewsh.cxx1243 void SfxViewShell::SetBorderPixel( const SvBorder &rBorder ) in SetBorderPixel() argument
1250 GetViewFrame()->SetBorderPixelImpl( this, rBorder ); in SetBorderPixel()
/AOO41X/main/svx/source/inc/
H A Dfrmselimpl.hxx183 void DrawArrows( const FrameBorder& rBorder );
210 void SetBorderState( FrameBorder& rBorder, FrameBorderState eState );
212 void SetBorderCoreStyle( FrameBorder& rBorder, const SvxBorderLine* pStyle );
214 void SetBorderColor( FrameBorder& rBorder, const Color& rColor );
217 void ToggleBorderState( FrameBorder& rBorder );
222 void SelectBorder( FrameBorder& rBorder, bool bSelect );
/AOO41X/main/sc/source/filter/excel/
H A Dxestyle.cxx2319 inline explicit XclExpBorderPred( const XclExpCellBorder& rBorder ) : mrBorder( rBorder ) {} in XclExpBorderPred()
2320 bool operator()( const XclExpCellBorder& rBorder ) const;
2323 bool XclExpBorderPred::operator()( const XclExpCellBorder& rBorder ) const in operator ()()
2326 mrBorder.mnLeftColor == rBorder.mnLeftColor && in operator ()()
2327 mrBorder.mnRightColor == rBorder.mnRightColor && in operator ()()
2328 mrBorder.mnTopColor == rBorder.mnTopColor && in operator ()()
2329 mrBorder.mnBottomColor == rBorder.mnBottomColor && in operator ()()
2330 mrBorder.mnDiagColor == rBorder.mnDiagColor && in operator ()()
2331 mrBorder.mnLeftLine == rBorder.mnLeftLine && in operator ()()
2332 mrBorder.mnRightLine == rBorder.mnRightLine && in operator ()()
[all …]
/AOO41X/main/sc/source/ui/view/
H A Dtabview.cxx951 void ScTabView::GetBorderSize( SvBorder& rBorder, const Size& /* rSize */ ) in GetBorderSize() argument
960 rBorder = SvBorder(); in GetBorderSize()
964 rBorder.Right() += aVScrollBottom.GetSizePixel().Width(); in GetBorderSize()
965 rBorder.Bottom() += aHScrollLeft.GetSizePixel().Height(); in GetBorderSize()
970 rBorder.Left() += pRowOutline[SC_SPLIT_BOTTOM]->GetDepthSize(); in GetBorderSize()
972 rBorder.Top() += pColOutline[SC_SPLIT_LEFT]->GetDepthSize(); in GetBorderSize()
976 rBorder.Left() += pRowBar[SC_SPLIT_BOTTOM]->GetSizePixel().Width(); in GetBorderSize()
977 rBorder.Top() += pColBar[SC_SPLIT_LEFT]->GetSizePixel().Height(); in GetBorderSize()
981 ::std::swap( rBorder.Left(), rBorder.Right() ); in GetBorderSize()
H A Dhdrcont.cxx608 SCCOLROW ScHeaderControl::GetMousePos( const MouseEvent& rMEvt, sal_Bool& rBorder ) in GetMousePos() argument
648 rBorder = bFound; in GetMousePos()
/AOO41X/main/editeng/source/rtf/
H A Drtfitem.cxx1433 const SvxBorderLine& rBorder ) in SetBorderLine() argument
1440 rItem.SetLine( &rBorder, BOX_LINE_TOP ); in SetBorderLine()
1445 rItem.SetLine( &rBorder, BOX_LINE_BOTTOM ); in SetBorderLine()
1450 rItem.SetLine( &rBorder, BOX_LINE_LEFT ); in SetBorderLine()
1455 rItem.SetLine( &rBorder, BOX_LINE_RIGHT ); in SetBorderLine()
/AOO41X/main/sc/source/ui/unoobj/
H A Dcellsuno.cxx951 …ions::FillBoxItems( SvxBoxItem& rOuter, SvxBoxInfoItem& rInner, const table::TableBorder& rBorder ) in FillBoxItems() argument
954 rOuter.SetDistance( (sal_uInt16)HMMToTwips( rBorder.Distance ) ); in FillBoxItems()
955 rOuter.SetLine( ScHelperFunctions::GetBorderLine( aLine, rBorder.TopLine ), BOX_LINE_TOP ); in FillBoxItems()
956 …rOuter.SetLine( ScHelperFunctions::GetBorderLine( aLine, rBorder.BottomLine ), BOX_LINE_BOTTO… in FillBoxItems()
957 …rOuter.SetLine( ScHelperFunctions::GetBorderLine( aLine, rBorder.LeftLine ), BOX_LINE_LEFT … in FillBoxItems()
958 …rOuter.SetLine( ScHelperFunctions::GetBorderLine( aLine, rBorder.RightLine ), BOX_LINE_RIGHT… in FillBoxItems()
959 …rInner.SetLine( ScHelperFunctions::GetBorderLine( aLine, rBorder.HorizontalLine ), BOXINFO_LINE_H… in FillBoxItems()
960 …rInner.SetLine( ScHelperFunctions::GetBorderLine( aLine, rBorder.VerticalLine ), BOXINFO_LINE_V… in FillBoxItems()
961 rInner.SetValid( VALID_TOP, rBorder.IsTopLineValid ); in FillBoxItems()
962 rInner.SetValid( VALID_BOTTOM, rBorder.IsBottomLineValid ); in FillBoxItems()
[all …]
/AOO41X/main/sc/source/ui/inc/
H A Dhdrcont.hxx75 SCCOLROW GetMousePos( const MouseEvent& rMEvt, sal_Bool& rBorder );
H A Dtabview.hxx207 void GetBorderSize( SvBorder& rBorder, const Size& rSize );
/AOO41X/main/sw/source/ui/docvw/
H A DPostItMgr.cxx995 const Rectangle rBorder = mpEditWin->LogicToPixel( aBorder); in LayoutByPage() local
996 long lTopBorder = rBorder.Top() + 5; in LayoutByPage()
997 long lBottomBorder = rBorder.Bottom() - 5; in LayoutByPage()
/AOO41X/main/sfx2/inc/sfx2/
H A Dviewsh.hxx232 void SetBorderPixel( const SvBorder &rBorder );
H A Dviewfrm.hxx171 …DLLPRIVATE virtual sal_Bool SetBorderPixelImpl( const SfxViewShell *pSh, const SvBorder &rBorder );
/AOO41X/main/sc/inc/
H A Dcellsuno.hxx138 …s( SvxBoxItem& rOuter, SvxBoxInfoItem& rInner, const com::sun::star::table::TableBorder& rBorder );
140 static void FillTableBorder( com::sun::star::table::TableBorder& rBorder,