Acacia
ia_table_cell.h
1 #ifndef LIB_IA2_IA_TABLE_CELL_H_
2 #define LIB_IA2_IA_TABLE_CELL_H_
3 
4 #include <string>
5 
6 #include <wrl/client.h>
7 
8 #include "acacia/export.h"
9 #include "third_party/ia2/include/ia2/ia2_api_all.h"
10 
11 namespace acacia {
12 
13 class ACACIA_EXPORT IATableCell {
14  public:
15  IATableCell(Microsoft::WRL::ComPtr<IAccessibleTableCell> iface)
16  : iface_(iface) {}
17  ~IATableCell(){};
18 
19  bool isNull() { return !iface_; }
20  std::string toString();
21  long getColumnExtent();
22  long getColumnIndex();
23  long getRowExtent();
24  long getRowIndex();
25 
26  private:
27  Microsoft::WRL::ComPtr<IAccessibleTableCell> iface_;
28 };
29 
30 } // namespace acacia
31 
32 #endif // LIB_IA2_IA_TABLE_CELL_H_
Definition: ia_table_cell.h:13