Lines Matching refs:pDialog
54 static ByteString ImplGetDialogText( Dialog* pDialog ) in ImplGetDialogText() argument
56 ByteString aErrorStr( pDialog->GetText(), RTL_TEXTENCODING_UTF8 ); in ImplGetDialogText()
57 if ( (pDialog->GetType() == WINDOW_MESSBOX) || in ImplGetDialogText()
58 (pDialog->GetType() == WINDOW_INFOBOX) || in ImplGetDialogText()
59 (pDialog->GetType() == WINDOW_WARNINGBOX) || in ImplGetDialogText()
60 (pDialog->GetType() == WINDOW_ERRORBOX) || in ImplGetDialogText()
61 (pDialog->GetType() == WINDOW_QUERYBOX) ) in ImplGetDialogText()
64 aErrorStr += ByteString( ((MessBox*)pDialog)->GetMessText(), RTL_TEXTENCODING_UTF8 ); in ImplGetDialogText()
161 static PushButton* ImplGetDefaultButton( Dialog* pDialog ) in ImplGetDefaultButton() argument
163 Window* pChild = pDialog->GetWindow( WINDOW_FIRSTCHILD ); in ImplGetDefaultButton()
181 static PushButton* ImplGetOKButton( Dialog* pDialog ) in ImplGetOKButton() argument
183 Window* pChild = pDialog->GetWindow( WINDOW_FIRSTCHILD ); in ImplGetOKButton()
197 static PushButton* ImplGetCancelButton( Dialog* pDialog ) in ImplGetCancelButton() argument
199 Window* pChild = pDialog->GetWindow( WINDOW_FIRSTCHILD ); in ImplGetCancelButton()
213 static void ImplMouseAutoPos( Dialog* pDialog ) in ImplMouseAutoPos() argument
215 sal_uLong nMouseOptions = pDialog->GetSettings().GetMouseSettings().GetOptions(); in ImplMouseAutoPos()
218 Size aSize = pDialog->GetOutputSizePixel(); in ImplMouseAutoPos()
219 pDialog->SetPointerPosPixel( Point( aSize.Width()/2, aSize.Height()/2 ) ); in ImplMouseAutoPos()
223 Window* pWindow = ImplGetDefaultButton( pDialog ); in ImplMouseAutoPos()
225 pWindow = ImplGetOKButton( pDialog ); in ImplMouseAutoPos()
227 pWindow = ImplGetCancelButton( pDialog ); in ImplMouseAutoPos()
229 pWindow = pDialog; in ImplMouseAutoPos()