MAccessible.h (b0a7a3cf) MAccessible.h (86e1cf34)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 230 unchanged lines hidden (view full) ---

239 XAccessibleAction* m_pXAction;
240 XAccessibleContext* pRContextInterface;
241 Reference<XAccessibleContext> pRContext;
242
243private:
244
245 // the helper methods in order to implement the above public methods
246 IMAccessible* GetChildInterface(long dChildIndex);//notice here the parameter is child index,not child id
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 230 unchanged lines hidden (view full) ---

239 XAccessibleAction* m_pXAction;
240 XAccessibleContext* pRContextInterface;
241 Reference<XAccessibleContext> pRContext;
242
243private:
244
245 // the helper methods in order to implement the above public methods
246 IMAccessible* GetChildInterface(long dChildIndex);//notice here the parameter is child index,not child id
247 IMAccessible* GetNavigateChildForDM(VARIANT varCur,short flags);//for decendant manage
247 IMAccessible* GetNavigateChildForDM(VARIANT varCur,short flags);//for descendant manage
248 HRESULT GetFirstChild(VARIANT varStart,VARIANT* pvarEndUpAt);//for accNavigate implementation
249 HRESULT GetLastChild(VARIANT varStart,VARIANT* pvarEndUpAt);//for accNavigate implementation
250 HRESULT GetNextSibling(VARIANT varStart,VARIANT* pvarEndUpAt);//for accNavigate implementation
251 HRESULT GetPreSibling(VARIANT varStart,VARIANT* pvarEndUpAt);//for accNavigate implementation
252 BOOL IsDecendantManage();//identify whether the current COM belongs to manage_decendant roles
253
254 // the following private methods are used to implement accSelect method
255 HRESULT SelectChild(XAccessible* pItem);

--- 4 unchanged lines hidden (view full) ---

260 Reference< XAccessibleSelection > GetSelection();
261 // end accSelect implementation methods
262 BOOL GetXInterfaceFromXAccessible(XAccessible*, XInterface**, int);
263 HRESULT WINAPI SmartQI(void* pv, REFIID iid, void** ppvObject);
264
265public:
266 STDMETHOD(Get_XAccChildID)(/*[out,retval]*/ long* childID);
267 // AccObjectManagerAgent is a management object in UNO, here keep its pointer for
248 HRESULT GetFirstChild(VARIANT varStart,VARIANT* pvarEndUpAt);//for accNavigate implementation
249 HRESULT GetLastChild(VARIANT varStart,VARIANT* pvarEndUpAt);//for accNavigate implementation
250 HRESULT GetNextSibling(VARIANT varStart,VARIANT* pvarEndUpAt);//for accNavigate implementation
251 HRESULT GetPreSibling(VARIANT varStart,VARIANT* pvarEndUpAt);//for accNavigate implementation
252 BOOL IsDecendantManage();//identify whether the current COM belongs to manage_decendant roles
253
254 // the following private methods are used to implement accSelect method
255 HRESULT SelectChild(XAccessible* pItem);

--- 4 unchanged lines hidden (view full) ---

260 Reference< XAccessibleSelection > GetSelection();
261 // end accSelect implementation methods
262 BOOL GetXInterfaceFromXAccessible(XAccessible*, XInterface**, int);
263 HRESULT WINAPI SmartQI(void* pv, REFIID iid, void** ppvObject);
264
265public:
266 STDMETHOD(Get_XAccChildID)(/*[out,retval]*/ long* childID);
267 // AccObjectManagerAgent is a management object in UNO, here keep its pointer for
268 // the implementation of accNavigate when decendant manage happens for List,Tree, or Table
268 // the implementation of accNavigate when descendant manage happens for List,Tree, or Table
269 // AccObjectManagerAgent and the following UNO objects XAccessble,XAccessibleSelection,
270 // XAccessibleAction are all used to operate UNO accessiblility information directly when
271 // implement some specific MSAA methods,such as accSelection,accNavigate
272 static AccObjectManagerAgent* g_pAgent;
273
274 static BOOL get_IAccessibleFromXAccessible(long pXAcc,IAccessible** ppIA);
275 BOOL m_bRequiresSave;
276 XGUIDToComObjHash m_containedObjects;

--- 18 unchanged lines hidden ---
269 // AccObjectManagerAgent and the following UNO objects XAccessble,XAccessibleSelection,
270 // XAccessibleAction are all used to operate UNO accessiblility information directly when
271 // implement some specific MSAA methods,such as accSelection,accNavigate
272 static AccObjectManagerAgent* g_pAgent;
273
274 static BOOL get_IAccessibleFromXAccessible(long pXAcc,IAccessible** ppIA);
275 BOOL m_bRequiresSave;
276 XGUIDToComObjHash m_containedObjects;

--- 18 unchanged lines hidden ---