To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=103863





------- Additional comments from [email protected] Mon Apr 12 04:06:44 
+0000 2010 -------
Hi rainerbielefeld & OOo Accessibility dev guys,

I am sorry for not updating this issue for long time. The OOo Accessibility is 
very complex problem, I spent a lot of times on this issue, I debug OOo codes 
and find that the so_activex work window which OOo created doesn't have the 
window Style which is required in OOo accessibility. I fixed this issue just 
hacking the below codes.

1. extensions\source\activex\main\SOActiveX.cpp  
HRESULT CSOActiveX::CreateFrameOldWay( HWND hwnd, int width, int height )
- pDescriptorVar[5] = CComVariant( 33 );
+ pDescriptorVar[5] = CComVariant( 9600 );//9600 is special flag.
2. toolkit\source\awt\vclxtoolkit.cxx
Window* VCLXToolkit::ImplCreateWindow( VCLXWindow** ppNewComp,
        const ::com::sun::star::awt::WindowDescriptor& rDescriptor,
    Window* pParent, WinBits nWinBits )
if( bUseParentData )
{
    ...
    - pNewWindow = new WorkWindow( &aParentData );
    + if(rDescriptor.WindowAttributes == 9600)
    + {
    +  pNewWindow = new WorkWindow( &aParentData, 
WB_SIZEMOVE,WINDOW_WORKWINDOW);
    + }
    + else
    + {
    + pNewWindow = new WorkWindow( &aParentData );
    + }
}
3. vcl\inc\vcl\wrkwin.hxx
+ WorkWindow( SystemParentData* pParent , WinBits nStyle, WindowType nType );
4. vcl\source\window\wrkwin.cxx
+ WorkWindow::WorkWindow( SystemParentData* pParent, WinBits nStyle, 
WindowType nType) :SystemWindow( WINDOW_WORKWINDOW )
+ {
+     ImplInitWorkWindowData();
+     mbSysChild = TRUE;
+    ImplInit( NULL, nStyle, pParent );
+ }
I know my hacking was not best fixing for this issue, I hope OOo accessibility 
dev guys will fix this issue in next release.

rainerbielefeld, thanks for your response.


---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to