fix baseline build (old cairo) - 'cairo_rectangle_int_t' does not name a type
[LibreOffice.git] / sc / source / ui / collab / sendfunc.hxx
blobd5b605d43a71d7a3b77c73d4e19e4f5545f09d83
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 */
10 #ifndef INCLUDED_SC_SOURCE_UI_COLLAB_SENDFUNC_HXX
11 #define INCLUDED_SC_SOURCE_UI_COLLAB_SENDFUNC_HXX
13 #include <sal/config.h>
15 #include "docfunc.hxx"
16 class ScCollaboration;
17 class ScChangeOpWriter;
19 class ScDocFuncSend : public ScDocFunc
21 ScDocFuncDirect* mpDirect;
22 ScCollaboration* mpCollaboration;
24 friend class ScCollaboration;
25 void RecvMessage( const OString &rString );
26 void SendMessage( ScChangeOpWriter &rOp );
27 public:
28 // FIXME: really ScDocFunc should be an abstract base, so
29 // we don't need the rDocSh hack/pointer
30 ScDocFuncSend( ScDocShell& rDocSh, ScDocFuncDirect* pDirect, ScCollaboration* pCollaboration );
31 virtual ~ScDocFuncSend();
33 virtual void EnterListAction( sal_uInt16 nNameResId );
34 virtual void EndListAction();
36 virtual sal_Bool SetNormalString( bool& o_rbNumFmtSet, const ScAddress& rPos, const OUString& rText, sal_Bool bApi );
37 virtual bool SetValueCell( const ScAddress& rPos, double fVal, bool bInteraction );
38 virtual bool SetValueCells( const ScAddress& rPos, const std::vector<double>& aVals, bool bInteraction );
39 virtual bool SetStringCell( const ScAddress& rPos, const OUString& rStr, bool bInteraction );
40 virtual bool SetEditCell( const ScAddress& rPos, const EditTextObject& rStr, bool bInteraction );
41 virtual bool SetFormulaCell( const ScAddress& rPos, ScFormulaCell* pCell, bool bInteraction );
42 virtual bool PutData( const ScAddress& rPos, ScEditEngineDefaulter& rEngine, bool bApi );
43 virtual bool SetCellText(
44 const ScAddress& rPos, const OUString& rText, bool bInterpret, bool bEnglish,
45 bool bApi, const formula::FormulaGrammar::Grammar eGrammar );
46 virtual bool ShowNote( const ScAddress& rPos, bool bShow = true );
47 virtual bool SetNoteText( const ScAddress& rPos, const OUString& rNoteText, sal_Bool bApi );
48 virtual sal_Bool RenameTable( SCTAB nTab, const OUString& rName, sal_Bool bRecord, sal_Bool bApi );
49 virtual sal_Bool ApplyAttributes( const ScMarkData& rMark, const ScPatternAttr& rPattern,
50 sal_Bool bRecord, sal_Bool bApi );
51 virtual sal_Bool ApplyStyle( const ScMarkData& rMark, const OUString& rStyleName,
52 sal_Bool bRecord, sal_Bool bApi );
53 virtual sal_Bool MergeCells( const ScCellMergeOption& rOption, sal_Bool bContents,
54 sal_Bool bRecord, sal_Bool bApi );
57 #endif
59 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */