Free Electron
SpreadsheetOp.h
Go to the documentation of this file.
1 /* Copyright (C) 2003-2021 Free Electron Organization
2  Any use of this software requires a license. If a valid license
3  was not distributed with this file, visit freeelectron.org. */
4 
5 /** @file */
6 
7 #ifndef __operator_SpreadsheetOp_h__
8 #define __operator_SpreadsheetOp_h__
9 
10 namespace fe
11 {
12 namespace ext
13 {
14 
15 /**************************************************************************//**
16  @brief Operator to show a table of attributes
17 
18  @ingroup operator
19 *//***************************************************************************/
20 class FE_DL_EXPORT SpreadsheetOp:
21  public OperatorSurfaceCommon,
22  public Initialize<SpreadsheetOp>
23 {
24  public:
25 
26  SpreadsheetOp(void):
27  m_brushed(FALSE),
28  m_scroll(0.0) {}
29 
30 virtual ~SpreadsheetOp(void) {}
31 
32  void initialize(void);
33 
34  //* As HandlerI
35 virtual void handle(Record& a_rSignal);
36 
37  private:
38  void limitBounds(I32& a_rStart,I32& a_rEnd,
39  I32 a_length,I32 a_count);
40  String dump(Element a_element,String a_attrName,
41  U32 a_component,U32 a_start,U32 a_end);
42 
43  sp<SurfaceAccessibleI> m_spInputAccessible;
44  sp<DrawMode> m_spSolid;
45 
46  WindowEvent m_event;
47  BWORD m_brushed;
48  I32 m_lastX;
49  I32 m_lastY;
50  Real m_scroll;
51 
52  String m_attributes;
53  I32 m_elementCount;
54 };
55 
56 } /* namespace ext */
57 } /* namespace fe */
58 
59 #endif /* __operator_SpreadsheetOp_h__ */
kernel
Definition: namespace.dox:3
Per-class participation in the Initialized <> mechanism.
Definition: Initialized.h:117
Generalized windowing event.
Definition: WindowEvent.h:43
Automatically reference-counted string container.
Definition: String.h:128
Partial Generic SurfaceI Implemention.
Definition: OperatorSurfaceCommon.h:20
Reference to an instance of a Layout.
Definition: RecordSB.h:35
Intrusive Smart Pointer.
Definition: src/core/ptr.h:53
Operator to show a table of attributes.
Definition: SpreadsheetOp.h:20