21#include <ooo/vba/excel/XRange.hpp>
23#include <com/sun/star/awt/Point.hpp>
24#include <com/sun/star/sheet/FillDateMode.hpp>
25#include <com/sun/star/sheet/FillMode.hpp>
26#include <com/sun/star/sheet/FillDirection.hpp>
37namespace ooo::vba {
class XCollection; }
42class ScCellRangesBase;
51 virtual void visitNode( sal_Int32 x, sal_Int32 y,
const css::uno::Reference< css::table::XCell >& xCell ) = 0;
58 virtual bool processValue(
const css::uno::Any& aValue,
const css::uno::Reference< css::table::XCell >& xCell ) = 0;
67 virtual const css::uno::Any&
getValue()
const = 0;
76 css::uno::Reference< ov::XCollection >
m_Areas;
78 css::uno::Reference< css::table::XCellRange >
mxRange;
79 css::uno::Reference< css::sheet::XSheetCellRangeContainer >
mxRanges;
93 void fillSeries( css::sheet::FillDirection nFillDirection, css::sheet::FillMode nFillMode, css::sheet::FillDateMode nFillDateMode,
double fStep,
double fEndValue );
110 css::uno::Reference< ov::excel::XRange >
getArea( sal_Int32 nIndex );
113 css::uno::Reference< ov::XCollection >&
getBorders();
116 css::uno::Reference< ov::excel::XRange >
PreviousNext(
bool bIsPrevious );
118 css::uno::Reference< ov::excel::XRange >
SpecialCellsImpl( sal_Int32
nType,
const css::uno::Any& _oValue);
134 ScVbaRange(
const css::uno::Reference< ov::XHelperInterface >& xParent,
const css::uno::Reference< css::uno::XComponentContext >& xContext,
const css::uno::Reference< css::table::XCellRange >& xRange,
bool bIsRows =
false,
bool bIsColumns =
false );
137 ScVbaRange(
const css::uno::Reference< ov::XHelperInterface >& xParent,
const css::uno::Reference< css::uno::XComponentContext >& xContext,
const css::uno::Reference< css::sheet::XSheetCellRangeContainer >& xRanges,
bool bIsRows =
false,
bool bIsColumns =
false );
140 ScVbaRange( css::uno::Sequence< css::uno::Any >
const& aArgs, css::uno::Reference< css::uno::XComponentContext >
const& xContext );
151 css::uno::Reference< css::frame::XModel >
getUnoModel();
153 static css::uno::Reference< css::frame::XModel >
getUnoModel(
const css::uno::Reference< ov::excel::XRange >& rxRange );
161 virtual css::uno::Reference< ov::XHelperInterface >
thisHelperIface()
override {
return this; }
166 const css::uno::Reference< css::uno::XComponentContext >& xContext,
167 const OUString& sRangeName,
ScDocShell* pDocSh,
171 static css::uno::Reference< ov::excel::XRange >
CellsHelper(
173 const css::uno::Reference< ov::XHelperInterface >& xParent,
174 const css::uno::Reference< css::uno::XComponentContext >& xContext,
175 const css::uno::Reference< css::table::XCellRange >& xRange,
176 const css::uno::Any &nRowIndex,
const css::uno::Any &nColumnIndex );
179 virtual css::uno::Any SAL_CALL
getValue()
override;
180 virtual css::uno::Any SAL_CALL
getValue2()
override;
181 virtual void SAL_CALL
setValue(
const css::uno::Any& aValue )
override;
182 virtual void SAL_CALL
setValue2(
const css::uno::Any& aValue2 )
override;
183 virtual css::uno::Any SAL_CALL
getFormula()
override;
184 virtual void SAL_CALL
setFormula(
const css::uno::Any& rFormula )
override;
186 virtual void SAL_CALL
setFormulaArray(
const css::uno::Any& rFormula)
override;
188 virtual void SAL_CALL
setFormulaR1C1(
const css::uno::Any &rFormula )
override;
190 virtual void SAL_CALL
setFormulaLocal(
const css::uno::Any &rFormula )
override;
193 virtual ::sal_Int32 SAL_CALL
getCount()
override;
194 virtual ::sal_Int32 SAL_CALL
getRow()
override;
195 virtual ::sal_Int32 SAL_CALL
getColumn()
override;
196 virtual OUString SAL_CALL
getText()
override;
198 virtual void SAL_CALL
setNumberFormat(
const css::uno::Any& rNumberFormat )
override;
200 virtual void SAL_CALL
setMergeCells(
const css::uno::Any& bMerge )
override;
202 virtual void SAL_CALL
setWrapText(
const css::uno::Any& bIsWrapped )
override;
203 virtual css::uno::Any SAL_CALL
getWrapText()
override;
204 virtual css::uno::Reference< ov::excel::XRange > SAL_CALL
getEntireRow()
override;
205 virtual css::uno::Reference< ov::excel::XRange > SAL_CALL
getEntireColumn()
override;
206 virtual css::uno::Reference< ov::excel::XComment > SAL_CALL
getComment()
override;
207 virtual css::uno::Any SAL_CALL
getHidden()
override;
208 virtual void SAL_CALL
setHidden(
const css::uno::Any& _hidden )
override;
210 virtual void SAL_CALL
setColumnWidth(
const css::uno::Any& _columnwidth )
override;
212 virtual void SAL_CALL
setRowHeight(
const css::uno::Any& _rowheight )
override;
213 virtual css::uno::Any SAL_CALL
getWidth()
override;
214 virtual css::uno::Any SAL_CALL
getHeight()
override;
215 virtual css::uno::Any SAL_CALL
getTop()
override;
216 virtual css::uno::Any SAL_CALL
getLeft()
override;
218 virtual css::uno::Reference< ov::excel::XName > SAL_CALL
getName()
override;
219 virtual css::uno::Reference< ov::excel::XWorksheet > SAL_CALL
getWorksheet()
override;
221 virtual void SAL_CALL
setPageBreak(
const css::uno::Any& _pagebreak )
override;
222 virtual css::uno::Reference< ov::excel::XValidation > SAL_CALL
getValidation()
override;
225 virtual void SAL_CALL
setShowDetail(
const css::uno::Any& aShowDetail)
override;
227 virtual css::uno::Reference< ov::excel::XComment > SAL_CALL
AddComment(
const css::uno::Any& Text )
override;
228 virtual void SAL_CALL
Clear()
override;
232 virtual css::uno::Any SAL_CALL
HasFormula()
override;
233 virtual void SAL_CALL
FillLeft()
override;
234 virtual void SAL_CALL
FillRight()
override;
235 virtual void SAL_CALL
FillUp()
override;
236 virtual void SAL_CALL
FillDown()
override;
237 virtual css::uno::Reference< ov::excel::XRange > SAL_CALL
Offset(
const css::uno::Any &nRowOffset,
const css::uno::Any &nColOffset )
override;
238 virtual css::uno::Reference< ov::excel::XRange > SAL_CALL
CurrentRegion()
override;
239 virtual css::uno::Reference< ov::excel::XRange > SAL_CALL
CurrentArray()
override;
240 virtual OUString SAL_CALL
Characters(
const css::uno::Any& nIndex,
const css::uno::Any& nCount )
override;
242 virtual OUString SAL_CALL
Address(
const css::uno::Any& RowAbsolute,
const css::uno::Any& ColumnAbsolute,
const css::uno::Any& ReferenceStyle,
const css::uno::Any& External,
const css::uno::Any& RelativeTo )
override;
244 virtual css::uno::Reference< ov::excel::XRange > SAL_CALL
Cells(
const css::uno::Any &nRow,
const css::uno::Any &nCol )
override;
245 virtual void SAL_CALL
Select()
override;
246 virtual void SAL_CALL
Activate()
override;
247 virtual css::uno::Reference< ov::excel::XRange > SAL_CALL
Rows(
const css::uno::Any& nIndex )
override;
248 virtual css::uno::Reference< ov::excel::XRange > SAL_CALL
Columns(
const css::uno::Any &nIndex )
override;
249 virtual void SAL_CALL
Copy(
const css::uno::Any&
Destination )
override;
250 virtual void SAL_CALL
Cut(
const css::uno::Any&
Destination )
override;
251 virtual css::uno::Reference< ov::excel::XRange > SAL_CALL
Resize(
const css::uno::Any& RowSize,
const css::uno::Any& ColumnSize )
override;
252 virtual css::uno::Reference< ov::excel::XFont > SAL_CALL
Font()
override;
253 virtual css::uno::Reference< ov::excel::XInterior > SAL_CALL
Interior( )
override ;
254 virtual css::uno::Reference< ov::excel::XRange > SAL_CALL
Range(
const css::uno::Any &Cell1,
const css::uno::Any &Cell2 )
override;
256 css::uno::Reference< ov::excel::XRange >
Range(
const css::uno::Any &Cell1,
const css::uno::Any &Cell2,
bool bForceUseInpuRangeTab );
257 virtual css::uno::Any SAL_CALL
getCellRange( )
override;
259 static css::uno::Any
getCellRange(
const css::uno::Reference< ov::excel::XRange >& rxRange );
260 virtual void SAL_CALL
PasteSpecial(
const css::uno::Any& Paste,
const css::uno::Any&
Operation,
const css::uno::Any& SkipBlanks,
const css::uno::Any& Transpose )
override;
261 virtual sal_Bool SAL_CALL
Replace(
const OUString& What,
const OUString& Replacement,
const css::uno::Any& LookAt,
const css::uno::Any& SearchOrder,
const css::uno::Any& MatchCase,
const css::uno::Any& MatchByte,
const css::uno::Any& SearchFormat,
const css::uno::Any& ReplaceFormat )
override;
262 virtual css::uno::Reference< ov::excel::XRange > SAL_CALL
Find(
const css::uno::Any& What,
const css::uno::Any& After,
const css::uno::Any& LookIn,
const css::uno::Any& LookAt,
const css::uno::Any& SearchOrder,
const css::uno::Any& SearchDirection,
const css::uno::Any& MatchCase,
const css::uno::Any& MatchByte,
const css::uno::Any& SearchFormat )
override;
263 virtual void SAL_CALL
Sort(
const css::uno::Any& Key1,
const css::uno::Any& Order1,
const css::uno::Any& Key2,
const css::uno::Any&
Type,
const css::uno::Any& Order2,
const css::uno::Any& Key3,
const css::uno::Any& Order3,
const css::uno::Any& Header,
const css::uno::Any& OrderCustom,
const css::uno::Any& MatchCase,
const css::uno::Any&
Orientation,
const css::uno::Any& SortMethod,
const css::uno::Any& DataOption1,
const css::uno::Any& DataOption2,
const css::uno::Any& DataOption3 )
override;
264 virtual css::uno::Reference< ov::excel::XRange > SAL_CALL
End( ::sal_Int32 Direction )
override;
265 virtual css::uno::Reference< ov::excel::XCharacters > SAL_CALL
characters(
const css::uno::Any& Start,
const css::uno::Any&
Length )
override;
266 virtual void SAL_CALL
Delete(
const css::uno::Any& Shift )
override;
267 virtual css::uno::Any SAL_CALL
Areas(
const css::uno::Any& )
override;
268 virtual css::uno::Any SAL_CALL
Borders(
const css::uno::Any& )
override;
270 const css::uno::Any& Weight,
const css::uno::Any& ColorIndex,
const css::uno::Any&
Color )
override;
271 virtual css::uno::Any SAL_CALL
Hyperlinks(
const css::uno::Any& aIndex )
override;
273 virtual void SAL_CALL
AutoFilter(
const css::uno::Any& Field,
const css::uno::Any& Criteria1,
const css::uno::Any& Operator,
const css::uno::Any& Criteria2,
const css::uno::Any& VisibleDropDown )
override;
274 virtual void SAL_CALL
Insert(
const css::uno::Any& Shift,
const css::uno::Any& CopyOrigin )
override;
275 virtual void SAL_CALL
Autofit()
override;
276 virtual void SAL_CALL
PrintOut(
const css::uno::Any& From,
const css::uno::Any& To,
const css::uno::Any& Copies,
const css::uno::Any& Preview,
const css::uno::Any& ActivePrinter,
const css::uno::Any& PrintToFile,
const css::uno::Any& Collate,
const css::uno::Any& PrToFileName )
override;
277 virtual void SAL_CALL
AutoFill(
const css::uno::Reference< ov::excel::XRange >&
Destination,
const css::uno::Any&
Type )
override ;
280 virtual css::uno::Reference< ov::excel::XRange > SAL_CALL
Item(
const css::uno::Any& row,
const css::uno::Any& column )
override;
282 virtual void SAL_CALL
Ungroup( )
override;
283 virtual void SAL_CALL
Group( )
override;
284 virtual void SAL_CALL
Merge(
const css::uno::Any& Across )
override;
285 virtual void SAL_CALL
UnMerge( )
override;
286 virtual css::uno::Any SAL_CALL
getStyle()
override;
287 virtual void SAL_CALL
setStyle(
const css::uno::Any& _style )
override;
288 virtual css::uno::Reference< ov::excel::XRange > SAL_CALL
Next()
override;
289 virtual css::uno::Reference< ov::excel::XRange > SAL_CALL
Previous()
override;
291 virtual css::uno::Reference< ov::excel::XRange > SAL_CALL
MergeArea()
override;
292 virtual void SAL_CALL
Subtotal( ::sal_Int32 GroupBy, ::sal_Int32 Function,
const css::uno::Sequence< ::sal_Int32 >& TotalList,
const css::uno::Any&
Replace,
const css::uno::Any& PageBreaks,
const css::uno::Any& SummaryBelowData )
override;
293 virtual void SAL_CALL
ExportAsFixedFormat(
const css::uno::Any&
Type,
const css::uno::Any& FileName,
const css::uno::Any& Quality,
294 const css::uno::Any& IncludeDocProperties,
const css::uno::Any& IgnorePrintAreas,
const css::uno::Any& From,
295 const css::uno::Any& To,
const css::uno::Any& OpenAfterPublish,
const css::uno::Any& FixedFormatExtClassPtr)
override;
298 virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL
createEnumeration()
override;
319 static css::uno::Reference< ov::excel::XRange >
ApplicationRange(
const css::uno::Reference< css::uno::XComponentContext >& xContext,
const css::uno::Any &Cell1,
const css::uno::Any &Cell2 );
321 virtual sal_Bool SAL_CALL
GoalSeek(
const css::uno::Any& Goal,
const css::uno::Reference< ov::excel::XRange >& ChangingCell )
override;
322 virtual css::uno::Reference< ov::excel::XRange > SAL_CALL
SpecialCells(
const css::uno::Any& _oType,
const css::uno::Any& _oValue)
override;
virtual void visitNode(sal_Int32 x, sal_Int32 y, const css::uno::Reference< css::table::XCell > &xCell)=0
virtual OUString SAL_CALL getText() override
virtual void SAL_CALL setFormulaR1C1Local(const css::uno::Any &rFormula) override
virtual void SAL_CALL Clear() override
virtual css::uno::Any SAL_CALL getColumnWidth() override
void groupUnGroup(bool bUnGroup)
virtual ScCellRangesBase * getCellRangesBase() override
static ScVbaRange * getImplementation(const css::uno::Reference< ov::excel::XRange > &rxRange)
Returns the ScVbaRange implementation object for the passed VBA Range object.
css::uno::Reference< ov::XCollection > m_Areas
virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL createEnumeration() override
virtual void SAL_CALL Insert(const css::uno::Any &Shift, const css::uno::Any &CopyOrigin) override
virtual css::uno::Reference< ov::excel::XRange > SAL_CALL CurrentArray() override
ScRange obtainRangeEvenIfRangeListIsEmpty(const ScRangeList &rCellRanges) const
virtual css::uno::Reference< ov::excel::XRange > SAL_CALL Find(const css::uno::Any &What, const css::uno::Any &After, const css::uno::Any &LookIn, const css::uno::Any &LookAt, const css::uno::Any &SearchOrder, const css::uno::Any &SearchDirection, const css::uno::Any &MatchCase, const css::uno::Any &MatchByte, const css::uno::Any &SearchFormat) override
virtual void SAL_CALL FillDown() override
virtual css::uno::Any SAL_CALL getFormulaArray() override
virtual void SAL_CALL setValue(const css::uno::Any &aValue) override
virtual void SAL_CALL Delete(const css::uno::Any &Shift) override
virtual void SAL_CALL setPageBreak(const css::uno::Any &_pagebreak) override
virtual void SAL_CALL ClearContents() override
virtual css::uno::Reference< ov::excel::XRange > SAL_CALL Resize(const css::uno::Any &RowSize, const css::uno::Any &ColumnSize) override
virtual void SAL_CALL Merge(const css::uno::Any &Across) override
virtual void SAL_CALL Autofit() override
virtual css::uno::Any SAL_CALL getMergeCells() override
virtual css::uno::Any SAL_CALL getNumberFormat() override
virtual css::uno::Any SAL_CALL getCellRange() override
const ScRangeList & getScRangeList()
virtual css::uno::Reference< ov::excel::XRange > SAL_CALL Next() override
ScVbaRange(const css::uno::Reference< ov::XHelperInterface > &xParent, const css::uno::Reference< css::uno::XComponentContext > &xContext, const css::uno::Reference< css::table::XCellRange > &xRange, bool bIsRows=false, bool bIsColumns=false)
virtual css::uno::Reference< ov::excel::XRange > SAL_CALL SpecialCells(const css::uno::Any &_oType, const css::uno::Any &_oValue) override
virtual OUString getServiceImplName() override
virtual void SAL_CALL FillLeft() override
virtual ~ScVbaRange() override
css::uno::Reference< css::table::XCellRange > mxRange
virtual void SAL_CALL ClearComments() override
virtual void SAL_CALL setStyle(const css::uno::Any &_style) override
virtual css::uno::Any SAL_CALL Hyperlinks(const css::uno::Any &aIndex) override
virtual void SAL_CALL RemoveSubtotal() override
virtual void SAL_CALL setHidden(const css::uno::Any &_hidden) override
virtual sal_Bool SAL_CALL hasElements() override
static css::uno::Reference< ov::excel::XRange > CellsHelper(const ScDocument &rDoc, const css::uno::Reference< ov::XHelperInterface > &xParent, const css::uno::Reference< css::uno::XComponentContext > &xContext, const css::uno::Reference< css::table::XCellRange > &xRange, const css::uno::Any &nRowIndex, const css::uno::Any &nColumnIndex)
virtual css::uno::Any SAL_CALL getRowHeight() override
css::uno::Reference< ov::excel::XRange > getEntireColumnOrRow(bool bColumn)
virtual css::uno::Reference< ov::excel::XRange > SAL_CALL Offset(const css::uno::Any &nRowOffset, const css::uno::Any &nColOffset) override
void setValue(const css::uno::Any &aValue, ValueSetter &setter)
virtual css::uno::Reference< ov::excel::XComment > SAL_CALL getComment() override
virtual void SAL_CALL setFormulaLocal(const css::uno::Any &rFormula) override
SfxItemSet * getCurrentDataSet()
virtual void SAL_CALL AutoOutline() override
virtual void SAL_CALL setFormula(const css::uno::Any &rFormula) override
virtual css::uno::Reference< ov::excel::XInterior > SAL_CALL Interior() override
css::uno::Reference< ov::excel::XRange > PreviousNext(bool bIsPrevious)
virtual void SAL_CALL ExportAsFixedFormat(const css::uno::Any &Type, const css::uno::Any &FileName, const css::uno::Any &Quality, const css::uno::Any &IncludeDocProperties, const css::uno::Any &IgnorePrintAreas, const css::uno::Any &From, const css::uno::Any &To, const css::uno::Any &OpenAfterPublish, const css::uno::Any &FixedFormatExtClassPtr) override
virtual void SAL_CALL setFormulaArray(const css::uno::Any &rFormula) override
virtual css::uno::Any SAL_CALL HasFormula() override
ScCellRangeObj * getCellRangeObj()
static css::uno::Any getCellRange(const css::uno::Reference< ov::excel::XRange > &rxRange)
ScDocShell * getScDocShell()
virtual void SAL_CALL ClearFormats() override
static css::uno::Reference< ov::excel::XRange > getRangeObjectForName(const css::uno::Reference< css::uno::XComponentContext > &xContext, const OUString &sRangeName, ScDocShell *pDocSh, formula::FormulaGrammar::AddressConvention eConv)
void fillSeries(css::sheet::FillDirection nFillDirection, css::sheet::FillMode nFillMode, css::sheet::FillDateMode nFillDateMode, double fStep, double fEndValue)
virtual void SAL_CALL AutoFilter(const css::uno::Any &Field, const css::uno::Any &Criteria1, const css::uno::Any &Operator, const css::uno::Any &Criteria2, const css::uno::Any &VisibleDropDown) override
css::uno::Reference< css::frame::XModel > getUnoModel()
virtual void SAL_CALL PasteSpecial(const css::uno::Any &Paste, const css::uno::Any &Operation, const css::uno::Any &SkipBlanks, const css::uno::Any &Transpose) override
virtual css::uno::Any SAL_CALL getTop() override
virtual ::sal_Int32 SAL_CALL getColumn() override
virtual css::uno::Reference< ov::excel::XValidation > SAL_CALL getValidation() override
virtual sal_Bool SAL_CALL hasError() override
virtual void SAL_CALL Subtotal(::sal_Int32 GroupBy, ::sal_Int32 Function, const css::uno::Sequence< ::sal_Int32 > &TotalList, const css::uno::Any &Replace, const css::uno::Any &PageBreaks, const css::uno::Any &SummaryBelowData) override
virtual css::uno::Any SAL_CALL getFormulaLocal() override
virtual void SAL_CALL Select() override
virtual css::uno::Any SAL_CALL getWidth() override
virtual css::uno::Any SAL_CALL getValue2() override
virtual css::uno::Reference< ov::excel::XCharacters > SAL_CALL characters(const css::uno::Any &Start, const css::uno::Any &Length) override
virtual OUString SAL_CALL Characters(const css::uno::Any &nIndex, const css::uno::Any &nCount) override
double getCalcRowHeight(const css::table::CellRangeAddress &)
static css::uno::Reference< ov::excel::XRange > ApplicationRange(const css::uno::Reference< css::uno::XComponentContext > &xContext, const css::uno::Any &Cell1, const css::uno::Any &Cell2)
virtual void SAL_CALL setFormulaR1C1(const css::uno::Any &rFormula) override
virtual css::uno::Any SAL_CALL getStyle() override
virtual css::uno::Reference< ov::excel::XRange > SAL_CALL End(::sal_Int32 Direction) override
virtual css::uno::Any SAL_CALL getHidden() override
css::uno::Reference< ov::excel::XRange > SpecialCellsImpl(sal_Int32 nType, const css::uno::Any &_oValue)
css::uno::Reference< ov::XCollection > m_Borders
virtual void SAL_CALL Activate() override
virtual void SAL_CALL Sort(const css::uno::Any &Key1, const css::uno::Any &Order1, const css::uno::Any &Key2, const css::uno::Any &Type, const css::uno::Any &Order2, const css::uno::Any &Key3, const css::uno::Any &Order3, const css::uno::Any &Header, const css::uno::Any &OrderCustom, const css::uno::Any &MatchCase, const css::uno::Any &Orientation, const css::uno::Any &SortMethod, const css::uno::Any &DataOption1, const css::uno::Any &DataOption2, const css::uno::Any &DataOption3) override
virtual css::uno::Reference< ov::excel::XRange > SAL_CALL CurrentRegion() override
virtual css::uno::Any SAL_CALL BorderAround(const css::uno::Any &LineStyle, const css::uno::Any &Weight, const css::uno::Any &ColorIndex, const css::uno::Any &Color) override
ScVbaRange(const css::uno::Reference< ov::XHelperInterface > &xParent, const css::uno::Reference< css::uno::XComponentContext > &xContext, const css::uno::Reference< css::sheet::XSheetCellRangeContainer > &xRanges, bool bIsRows=false, bool bIsColumns=false)
virtual css::uno::Any SAL_CALL Areas(const css::uno::Any &) override
virtual css::uno::Reference< ov::excel::XWorksheet > SAL_CALL getWorksheet() override
css::uno::Reference< ov::XCollection > & getBorders()
virtual void SAL_CALL setNumberFormat(const css::uno::Any &rNumberFormat) override
css::uno::Reference< css::sheet::XSheetCellRangeContainer > mxRanges
virtual css::uno::Reference< ov::excel::XRange > SAL_CALL Previous() override
OUString SAL_CALL getDefaultPropertyName() override
static css::uno::Reference< css::frame::XModel > getUnoModel(const css::uno::Reference< ov::excel::XRange > &rxRange)
virtual css::uno::Reference< ov::excel::XRange > SAL_CALL Range(const css::uno::Any &Cell1, const css::uno::Any &Cell2) override
virtual void SAL_CALL setShowDetail(const css::uno::Any &aShowDetail) override
virtual css::uno::Reference< ov::excel::XRange > SAL_CALL Item(const css::uno::Any &row, const css::uno::Any &column) override
virtual css::uno::Reference< ov::excel::XRange > SAL_CALL Cells(const css::uno::Any &nRow, const css::uno::Any &nCol) override
virtual css::uno::Any SAL_CALL getLeft() override
void SAL_CALL Calculate() override
virtual css::uno::Any SAL_CALL getPageBreak() override
void visitArray(ArrayVisitor &visitor)
virtual void SAL_CALL FillUp() override
virtual void SAL_CALL setValue2(const css::uno::Any &aValue2) override
virtual css::uno::Reference< ov::excel::XComment > SAL_CALL AddComment(const css::uno::Any &Text) override
virtual css::uno::Sequence< OUString > getServiceNames() override
css::uno::Any getFormulaValue(formula::FormulaGrammar::Grammar)
virtual css::uno::Reference< ov::excel::XRange > SAL_CALL Rows(const css::uno::Any &nIndex) override
virtual css::uno::Any SAL_CALL getWrapText() override
virtual css::uno::Any SAL_CALL getHeight() override
virtual css::uno::Reference< ov::excel::XName > SAL_CALL getName() override
static bool getCellRangesForAddress(ScRefFlags &rResFlags, std::u16string_view sAddress, ScDocShell *pDocSh, ScRangeList &rCellRanges, formula::FormulaGrammar::AddressConvention eConv, char cDelimiter)
virtual sal_Bool SAL_CALL GoalSeek(const css::uno::Any &Goal, const css::uno::Reference< ov::excel::XRange > &ChangingCell) override
void setFormulaValue(const css::uno::Any &aValue, formula::FormulaGrammar::Grammar)
virtual css::uno::Reference< ov::excel::XRange > SAL_CALL getEntireColumn() override
virtual OUString SAL_CALL Address(const css::uno::Any &RowAbsolute, const css::uno::Any &ColumnAbsolute, const css::uno::Any &ReferenceStyle, const css::uno::Any &External, const css::uno::Any &RelativeTo) override
virtual void SAL_CALL Group() override
bool isSingleCellRange() const
virtual void SAL_CALL setWrapText(const css::uno::Any &bIsWrapped) override
virtual void SAL_CALL Copy(const css::uno::Any &Destination) override
virtual css::uno::Reference< ov::excel::XRange > SAL_CALL getEntireRow() override
virtual void SAL_CALL Cut(const css::uno::Any &Destination) override
virtual void SAL_CALL setRowHeight(const css::uno::Any &_rowheight) override
OUString SAL_CALL getDefaultMethodName() override
virtual void SAL_CALL UnMerge() override
css::awt::Point getPosition() const
virtual css::uno::Any SAL_CALL getFormula() override
virtual void SAL_CALL setColumnWidth(const css::uno::Any &_columnwidth) override
virtual ::sal_Int32 SAL_CALL getRow() override
virtual void SAL_CALL PrintOut(const css::uno::Any &From, const css::uno::Any &To, const css::uno::Any &Copies, const css::uno::Any &Preview, const css::uno::Any &ActivePrinter, const css::uno::Any &PrintToFile, const css::uno::Any &Collate, const css::uno::Any &PrToFileName) override
double getCalcColWidth(const css::table::CellRangeAddress &)
virtual css::uno::Any SAL_CALL getFormulaR1C1() override
virtual css::uno::Any SAL_CALL getShowDetail() override
virtual css::uno::Reference< ov::excel::XRange > SAL_CALL MergeArea() override
virtual css::uno::Any SAL_CALL getPrefixCharacter() override
virtual css::uno::Any SAL_CALL getValue() override
virtual void SAL_CALL AutoFill(const css::uno::Reference< ov::excel::XRange > &Destination, const css::uno::Any &Type) override
virtual css::uno::Type SAL_CALL getElementType() override
static const ScRangeList & getScRangeList(const css::uno::Reference< ov::excel::XRange > &rxRange)
css::uno::Reference< ov::excel::XValidation > m_xValidation
css::uno::Any DoGetValue(RangeValueType eValueType)
virtual void SAL_CALL ClearOutline() override
virtual css::uno::Reference< ov::XHelperInterface > thisHelperIface() override
css::uno::Reference< ov::excel::XRange > Range(const css::uno::Any &Cell1, const css::uno::Any &Cell2, bool bForceUseInpuRangeTab)
virtual css::uno::Any SAL_CALL Borders(const css::uno::Any &) override
virtual void SAL_CALL FillRight() override
virtual sal_Bool SAL_CALL Replace(const OUString &What, const OUString &Replacement, const css::uno::Any &LookAt, const css::uno::Any &SearchOrder, const css::uno::Any &MatchCase, const css::uno::Any &MatchByte, const css::uno::Any &SearchFormat, const css::uno::Any &ReplaceFormat) override
virtual void SAL_CALL setMergeCells(const css::uno::Any &bMerge) override
ScVbaRange(css::uno::Sequence< css::uno::Any > const &aArgs, css::uno::Reference< css::uno::XComponentContext >const &xContext)
void fireChangeEvent()
Fires a Worksheet_Change event for this range or range list.
virtual void SAL_CALL Ungroup() override
css::uno::Reference< ov::excel::XRange > getArea(sal_Int32 nIndex)
ScDocument & getScDocument()
virtual css::uno::Reference< ov::excel::XFont > SAL_CALL Font() override
virtual ::sal_Int32 SAL_CALL getCount() override
virtual css::uno::Any SAL_CALL getFormulaR1C1Local() override
virtual css::uno::Reference< ov::excel::XRange > SAL_CALL Columns(const css::uno::Any &nIndex) override
virtual const css::uno::Any & getValue() const =0
virtual void processValue(const css::uno::Any &aValue)=0
virtual bool processValue(const css::uno::Any &aValue, const css::uno::Reference< css::table::XCell > &xCell)=0
css::uno::Type const & get()
const sal_Unicode cDelimiter
ScVbaFormat< ov::excel::XRange > ScVbaRange_BASE
bool getScRangeListForAddress(const OUString &sName, ScDocShell *pDocSh, const ScRange &refRange, ScRangeList &aCellRanges, formula::FormulaGrammar::AddressConvention aConv=formula::FormulaGrammar::CONV_XL_A1)