Lines Matching refs:pOut
132 void SwViewOption::DrawRect( OutputDevice *pOut, in DrawRect() argument
135 if ( pOut->GetOutDevType() != OUTDEV_PRINTER ) in DrawRect()
138 const Color aOldColor( pOut->GetFillColor() ); in DrawRect()
139 pOut->SetFillColor( aCol ); in DrawRect()
140 pOut->DrawRect( rRect.SVRect() ); in DrawRect()
141 pOut->SetFillColor( aOldColor ); in DrawRect()
144 DrawRectPrinter( pOut, rRect ); in DrawRect()
151 void SwViewOption::DrawRectPrinter( OutputDevice *pOut, in DrawRectPrinter() argument
154 Color aOldColor(pOut->GetLineColor()); in DrawRectPrinter()
155 Color aOldFillColor( pOut->GetFillColor() ); in DrawRectPrinter()
156 pOut->SetLineColor( Color(COL_BLACK) ); in DrawRectPrinter()
157 pOut->SetFillColor( Color(COL_TRANSPARENT )); in DrawRectPrinter()
158 pOut->DrawRect( rRect.SVRect() ); in DrawRectPrinter()
159 pOut->SetFillColor( aOldFillColor ); in DrawRectPrinter()
160 pOut->SetLineColor( aOldColor ); in DrawRectPrinter()
167 sal_uInt16 SwViewOption::GetPostItsWidth( const OutputDevice *pOut ) const in GetPostItsWidth()
169 ASSERT( pOut, "no Outdev" ); in GetPostItsWidth()
170 return sal_uInt16(pOut->GetTextWidth( String::CreateFromAscii(aPostItStr ))); in GetPostItsWidth()
177 void SwViewOption::PaintPostIts( OutputDevice *pOut, const SwRect &rRect, sal_Bool bIsScript ) const in PaintPostIts() argument
179 if( pOut && bIsScript ) in PaintPostIts()
181 Color aOldLineColor( pOut->GetLineColor() ); in PaintPostIts()
182 pOut->SetLineColor( Color(COL_GRAY ) ); in PaintPostIts()
190 DrawRect( pOut, aRect, aScriptIndicatorColor.GetColor() ); in PaintPostIts()
191 pOut->SetLineColor( aOldLineColor ); in PaintPostIts()