content.hxx (38d50f7b) content.hxx (0deba7fb)
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

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

29#include "address.hxx"
30#include <tools/solar.h>
31
32class ScNavigatorDlg;
33class ScNavigatorSettings;
34class ScDocument;
35class ScDocShell;
36class ScAreaLink;
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

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

29#include "address.hxx"
30#include <tools/solar.h>
31
32class ScNavigatorDlg;
33class ScNavigatorSettings;
34class ScDocument;
35class ScDocShell;
36class ScAreaLink;
37//IAccessibility2 Implementation 2009-----
38class SdrPage;
39//-----IAccessibility2 Implementation 2009
37
38#define SC_CONTENT_ROOT 0
39#define SC_CONTENT_TABLE 1
40#define SC_CONTENT_RANGENAME 2
41#define SC_CONTENT_DBAREA 3
42#define SC_CONTENT_GRAPHIC 4
43#define SC_CONTENT_OLEOBJECT 5
44#define SC_CONTENT_NOTE 6

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

59 ImageList aHCEntryImages;
60 SvLBoxEntry* pRootNodes[SC_CONTENT_COUNT];
61 sal_uInt16 nRootType; // als Root eingestellt
62 String aManualDoc; // im Navigator umgeschaltet (Title)
63 sal_Bool bHiddenDoc; // verstecktes aktiv?
64 String aHiddenName; // URL zum Laden
65 String aHiddenTitle; // fuer Anzeige
66 ScDocument* pHiddenDocument; // temporaer
40
41#define SC_CONTENT_ROOT 0
42#define SC_CONTENT_TABLE 1
43#define SC_CONTENT_RANGENAME 2
44#define SC_CONTENT_DBAREA 3
45#define SC_CONTENT_GRAPHIC 4
46#define SC_CONTENT_OLEOBJECT 5
47#define SC_CONTENT_NOTE 6

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

62 ImageList aHCEntryImages;
63 SvLBoxEntry* pRootNodes[SC_CONTENT_COUNT];
64 sal_uInt16 nRootType; // als Root eingestellt
65 String aManualDoc; // im Navigator umgeschaltet (Title)
66 sal_Bool bHiddenDoc; // verstecktes aktiv?
67 String aHiddenName; // URL zum Laden
68 String aHiddenTitle; // fuer Anzeige
69 ScDocument* pHiddenDocument; // temporaer
70//IAccessibility2 Implementation 2009-----
71 sal_Bool bisInNavigatoeDlg;
72 String sKeyString;
73//-----IAccessibility2 Implementation 2009
67
68 sal_uInt16 pPosList[SC_CONTENT_COUNT]; // fuer die Reihenfolge
69
70 static sal_Bool bIsInDrag; // static, falls der Navigator im ExecuteDrag geloescht wird
71
72 ScDocShell* GetManualOrCurrent();
73
74 void InitRoot(sal_uInt16 nType);

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

107
108 void DoDrag();
109//UNUSED2008-05 void AdjustTitle();
110
111 ScDocument* GetSourceDocument();
112
113 DECL_LINK( ContentDoubleClickHdl, ScContentTree* );
114 DECL_STATIC_LINK( ScContentTree, ExecDragHdl, void* );
74
75 sal_uInt16 pPosList[SC_CONTENT_COUNT]; // fuer die Reihenfolge
76
77 static sal_Bool bIsInDrag; // static, falls der Navigator im ExecuteDrag geloescht wird
78
79 ScDocShell* GetManualOrCurrent();
80
81 void InitRoot(sal_uInt16 nType);

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

114
115 void DoDrag();
116//UNUSED2008-05 void AdjustTitle();
117
118 ScDocument* GetSourceDocument();
119
120 DECL_LINK( ContentDoubleClickHdl, ScContentTree* );
121 DECL_STATIC_LINK( ScContentTree, ExecDragHdl, void* );
122//IAccessibility2 Implementation 2009-----
123public:
124 SvLBoxEntry* pTmpEntry;
115
125
126 bool m_bFirstPaint;
127//-----IAccessibility2 Implementation 2009
116protected:
117// virtual sal_Bool Drop( const DropEvent& rEvt );
118// virtual sal_Bool QueryDrop( DropEvent& rEvt );
119
120 using SvTreeListBox::ExecuteDrop;
121
122 virtual sal_Int8 AcceptDrop( const AcceptDropEvent& rEvt );
123 virtual sal_Int8 ExecuteDrop( const ExecuteDropEvent& rEvt );
124 virtual void StartDrag( sal_Int8 nAction, const Point& rPosPixel );
125 virtual void DragFinished( sal_Int8 nAction );
126
127 virtual void Command( const CommandEvent& rCEvt );
128 virtual void RequestHelp( const HelpEvent& rHEvt );
128protected:
129// virtual sal_Bool Drop( const DropEvent& rEvt );
130// virtual sal_Bool QueryDrop( DropEvent& rEvt );
131
132 using SvTreeListBox::ExecuteDrop;
133
134 virtual sal_Int8 AcceptDrop( const AcceptDropEvent& rEvt );
135 virtual sal_Int8 ExecuteDrop( const ExecuteDropEvent& rEvt );
136 virtual void StartDrag( sal_Int8 nAction, const Point& rPosPixel );
137 virtual void DragFinished( sal_Int8 nAction );
138
139 virtual void Command( const CommandEvent& rCEvt );
140 virtual void RequestHelp( const HelpEvent& rHEvt );
129
141//IAccessibility2 Implementation 2009-----
142 virtual void InitEntry(SvLBoxEntry*,const XubString&,const Image&,const Image&, SvLBoxButtonKind);
143//-----IAccessibility2 Implementation 2009
130public:
131 ScContentTree( Window* pParent, const ResId& rResId );
132 ~ScContentTree();
133
144public:
145 ScContentTree( Window* pParent, const ResId& rResId );
146 ~ScContentTree();
147
148//IAccessibility2 Implementation 2009-----
149 String getAltLongDescText( SvLBoxEntry* pEntry , sal_Bool isAltText) const;
150 String GetEntryAltText( SvLBoxEntry* pEntry ) const;
151 String GetEntryLongDescription( SvLBoxEntry* pEntry ) const;
152
153 void ObjectFresh( sal_uInt16 nType,SvLBoxEntry* pEntry = NULL);
154 sal_Bool SetNavigatorDlgFlag(sal_Bool isInNavigatoeDlg){ return bisInNavigatoeDlg=isInNavigatoeDlg;};
155//-----IAccessibility2 Implementation 2009
134 virtual void MouseButtonDown( const MouseEvent& rMEvt );
135 virtual void KeyInput( const KeyEvent& rKEvt );
136
137 void InitWindowBits( sal_Bool bButtons );
138
139 void Refresh( sal_uInt16 nType = 0 );
140
141 void ToggleRoot();

--- 24 unchanged lines hidden ---
156 virtual void MouseButtonDown( const MouseEvent& rMEvt );
157 virtual void KeyInput( const KeyEvent& rKEvt );
158
159 void InitWindowBits( sal_Bool bButtons );
160
161 void Refresh( sal_uInt16 nType = 0 );
162
163 void ToggleRoot();

--- 24 unchanged lines hidden ---