summaryrefslogtreecommitdiff
path: root/sc/inc
diff options
context:
space:
mode:
Diffstat (limited to 'sc/inc')
-rw-r--r--sc/inc/chgtrack.hxx19
-rw-r--r--sc/inc/detfunc.hxx3
-rw-r--r--sc/inc/document.hxx19
-rw-r--r--sc/inc/dptablecache.hxx3
-rw-r--r--sc/inc/drwlayer.hxx4
-rw-r--r--sc/inc/table.hxx5
6 files changed, 49 insertions, 4 deletions
diff --git a/sc/inc/chgtrack.hxx b/sc/inc/chgtrack.hxx
index bba7f97519eb..5b03676fd2fa 100644
--- a/sc/inc/chgtrack.hxx
+++ b/sc/inc/chgtrack.hxx
@@ -44,8 +44,25 @@
#endif
#define DEBUG_CHANGETRACK 0
+//IAccessibility2 Implementation 2009-----
+class ScChangeAction;
+class ScAppOptions;
+class ScActionColorChanger
+{
+private:
+ const ScAppOptions& rOpt;
+ const ScStrCollection& rUsers;
+ String aLastUserName;
+ sal_uInt16 nLastUserIndex;
+ ColorData nColor;
-
+public:
+ ScActionColorChanger( const ScChangeTrack& rTrack );
+ ~ScActionColorChanger() {}
+ void Update( const ScChangeAction& rAction );
+ ColorData GetColor() const { return nColor; }
+};
+//-----IAccessibility2 Implementation 2009
class ScBaseCell;
class ScDocument;
diff --git a/sc/inc/detfunc.hxx b/sc/inc/detfunc.hxx
index b0d3df16952d..f3c2b4bc1260 100644
--- a/sc/inc/detfunc.hxx
+++ b/sc/inc/detfunc.hxx
@@ -155,6 +155,9 @@ public:
static ColorData GetCommentColor();
static void InitializeColors();
static sal_Bool IsColorsInitialized();
+//IAccessibility2 Implementation 2009-----
+ static void AppendChangTrackNoteSeparator(String &str);
+//-----IAccessibility2 Implementation 2009
};
diff --git a/sc/inc/document.hxx b/sc/inc/document.hxx
index be2a41748556..02f1fa6141dd 100644
--- a/sc/inc/document.hxx
+++ b/sc/inc/document.hxx
@@ -440,7 +440,23 @@ private:
sal_Int16 mnNamedRangesLockCount;
+//IAccessibility2 Implementation 2009-----
+ String msDocAccTitle;
public:
+ // SC_DLLPUBLIC sal_Bool RowHidden( SCROW nRow, SCTAB nTab );
+ //inline sal_Bool RowHidden( SCROW nRow, SCTAB nTab ); // FillInfo
+ virtual void setDocAccTitle( const String& rTitle ) { msDocAccTitle = rTitle; }
+ virtual const String getDocAccTitle() const { return msDocAccTitle; }
+
+private:
+ sal_Bool bReadOnly; // MT: Really needed???
+
+public:
+ virtual void setDocReadOnly( sal_Bool b){ bReadOnly = b; }
+ virtual sal_Bool getDocReadOnly() const { return bReadOnly; }
+ sal_Bool IsCellInChangeTrack(const ScAddress &cell,Color *pColCellBoder);
+ void GetCellChangeTrackNote( const ScAddress &cell,String &strTrackText,sal_Bool &pbLeftEdge);
+//-----IAccessibility2 Implementation 2009
SC_DLLPUBLIC sal_uLong GetCellCount() const; // alle Zellen
SCSIZE GetCellCount(SCTAB nTab, SCCOL nCol) const;
sal_uLong GetWeightedCount() const; // Formeln und Edit staerker gewichtet
@@ -466,6 +482,9 @@ public:
SC_DLLPUBLIC void InitDrawLayer( SfxObjectShell* pDocShell = NULL );
XColorListSharedPtr GetColorTable();
+//IAccessibility2 Implementation 2009-----
+ ScTable* GetTableByIndex(sal_Int32 nIndex);
+//-----IAccessibility2 Implementation 2009
SC_DLLPUBLIC sfx2::LinkManager* GetLinkManager() const;
SC_DLLPUBLIC const ScDocOptions& GetDocOptions() const;
diff --git a/sc/inc/dptablecache.hxx b/sc/inc/dptablecache.hxx
index b9b85aa56385..315c734846fd 100644
--- a/sc/inc/dptablecache.hxx
+++ b/sc/inc/dptablecache.hxx
@@ -22,14 +22,11 @@
#ifndef DPTABLECACHE_HXX
#define DPTABLECACHE_HXX
-// Wang Xu Ming -- 12/21/2008
// Add Data Cache Support.
#ifndef SC_SCGLOB_HXX
#include "global.hxx"
#endif
-//Added by PengYunQuan for SODC_16015
#include <svl/zforlist.hxx>
-//end
#include <vector>
#include "dpglobal.hxx"
diff --git a/sc/inc/drwlayer.hxx b/sc/inc/drwlayer.hxx
index 7bfe56b12a7b..aab405196a91 100644
--- a/sc/inc/drwlayer.hxx
+++ b/sc/inc/drwlayer.hxx
@@ -230,6 +230,10 @@ public:
const Point& rWinPoint, const Window& rCmpWnd );
static ScMacroInfo* GetMacroInfo( SdrObject* pObj, sal_Bool bCreate = sal_False );
+//IAccessibility2 Implementation 2009-----
+ virtual ImageMap* GetImageMapForObject(SdrObject* pObj);
+ virtual sal_Int32 GetHyperlinkCount(SdrObject* pObj);
+//-----IAccessibility2 Implementation 2009
private:
static SfxObjectShell* pGlobalDrawPersist; // fuer AllocModel
diff --git a/sc/inc/table.hxx b/sc/inc/table.hxx
index ade9b38cc1db..d7553513bc7b 100644
--- a/sc/inc/table.hxx
+++ b/sc/inc/table.hxx
@@ -937,6 +937,11 @@ private:
SCROW mnCurRow;
SCROW mnUBound;
};
+
+//IAccessibility2 Implementation 2009-----
+public :
+ ScColumn* GetColumnByIndex(sal_Int32 index);
+//-----IAccessibility2 Implementation 2009
};