Lines Matching refs:_rxPeer

55 …static void setUnderline( const Reference< XVclWindowPeer >& _rxPeer, const UnderlineDescriptor& _…  in setUnderline()  argument
57 OSL_ENSURE( _rxPeer.is(), "setUnderline: invalid peer!" ); in setUnderline()
61 OSL_VERIFY( _rxPeer->getProperty( FM_PROP_FONT ) >>= aFont ); in setUnderline()
63 _rxPeer->setProperty( FM_PROP_FONT, makeAny( aFont ) ); in setUnderline()
65 _rxPeer->setProperty( FM_PROP_TEXTLINECOLOR, makeAny( _rUnderline.nUnderlineColor ) ); in setUnderline()
69 …static void getUnderline( const Reference< XVclWindowPeer >& _rxPeer, UnderlineDescriptor& _rUnder… in getUnderline() argument
71 OSL_ENSURE( _rxPeer.is(), "getUnderline: invalid peer!" ); in getUnderline()
74 OSL_VERIFY( _rxPeer->getProperty( FM_PROP_FONT ) >>= aFont ); in getUnderline()
77 OSL_VERIFY( _rxPeer->getProperty( FM_PROP_TEXTLINECOLOR ) >>= _rUnderline.nUnderlineColor ); in getUnderline()
81 static void getBorder( const Reference< XVclWindowPeer >& _rxPeer, BorderDescriptor& _rBoder ) in getBorder() argument
83 OSL_ENSURE( _rxPeer.is(), "getBorder: invalid peer!" ); in getBorder()
85 OSL_VERIFY( _rxPeer->getProperty( FM_PROP_BORDER ) >>= _rBoder.nBorderType ); in getBorder()
86 OSL_VERIFY( _rxPeer->getProperty( FM_PROP_BORDERCOLOR ) >>= _rBoder.nBorderColor ); in getBorder()
90 …static void setBorder( const Reference< XVclWindowPeer >& _rxPeer, const BorderDescriptor& _rBoder… in setBorder() argument
92 OSL_ENSURE( _rxPeer.is(), "setBorder: invalid peer!" ); in setBorder()
94 _rxPeer->setProperty( FM_PROP_BORDER, makeAny( _rBoder.nBorderType ) ); in setBorder()
95 _rxPeer->setProperty( FM_PROP_BORDERCOLOR, makeAny( _rBoder.nBorderColor ) ); in setBorder()
116 bool ControlBorderManager::canColorBorder( const Reference< XVclWindowPeer >& _rxPeer ) in canColorBorder() argument
118 OSL_PRECOND( _rxPeer.is(), "ControlBorderManager::canColorBorder: invalid peer!" ); in canColorBorder()
120 PeerBag::const_iterator aPos = m_aColorableControls.find( _rxPeer ); in canColorBorder()
124 aPos = m_aNonColorableControls.find( _rxPeer ); in canColorBorder()
132 Reference< XTextComponent > xText( _rxPeer, UNO_QUERY ); in canColorBorder()
133 Reference< XListBox > xListBox( _rxPeer, UNO_QUERY ); in canColorBorder()
137 OSL_VERIFY( _rxPeer->getProperty( FM_PROP_BORDER ) >>= nBorderStyle ); in canColorBorder()
141 m_aColorableControls.insert( _rxPeer ); in canColorBorder()
146 m_aNonColorableControls.insert( _rxPeer ); in canColorBorder()
187 …st Reference< XControl >& _rxControl, const Reference< XVclWindowPeer >& _rxPeer, const BorderDesc… in updateBorderStyle() argument
189 …OSL_PRECOND( _rxControl.is() && _rxPeer.is(), "ControlBorderManager::updateBorderStyle: invalid pa… in updateBorderStyle()
199 setBorder( _rxPeer, aBorder ); in updateBorderStyle()