|
LibreOffice Module sc (master) 1
|
#include <scitems.hxx>#include <sfx2/app.hxx>#include <editeng/borderline.hxx>#include <editeng/boxitem.hxx>#include <editeng/fontitem.hxx>#include <editeng/lineitem.hxx>#include <editeng/scripttypeitem.hxx>#include <svl/srchitem.hxx>#include <sfx2/linkmgr.hxx>#include <sfx2/dispatch.hxx>#include <sfx2/docfilt.hxx>#include <sfx2/docfile.hxx>#include <sfx2/objitem.hxx>#include <sfx2/viewfrm.hxx>#include <svl/numformat.hxx>#include <svl/stritem.hxx>#include <svl/zforlist.hxx>#include <svx/srchdlg.hxx>#include <svx/svdview.hxx>#include <vcl/svapp.hxx>#include <vcl/weld.hxx>#include <osl/diagnose.h>#include <viewfunc.hxx>#include <vcl/uitest/logger.hxx>#include <vcl/uitest/eventdescription.hxx>#include <sc.hrc>#include <globstr.hrc>#include <scresid.hxx>#include <attrib.hxx>#include <autoform.hxx>#include <formulacell.hxx>#include <cellmergeoption.hxx>#include <compiler.hxx>#include <docfunc.hxx>#include <docpool.hxx>#include <docsh.hxx>#include <docoptio.hxx>#include <global.hxx>#include <patattr.hxx>#include <printfun.hxx>#include <refundo.hxx>#include <table.hxx>#include <tablink.hxx>#include <tabvwsh.hxx>#include <uiitems.hxx>#include <undoblk.hxx>#include <undotab.hxx>#include <sizedev.hxx>#include <editable.hxx>#include <docuno.hxx>#include <charthelper.hxx>#include <tabbgcolor.hxx>#include <clipparam.hxx>#include <prnsave.hxx>#include <searchresults.hxx>#include <tokenarray.hxx>#include <rowheightcontext.hxx>#include <LibreOfficeKit/LibreOfficeKitEnums.h>#include <comphelper/lok.hxx>#include <mergecellsdialog.hxx>#include <sheetevents.hxx>#include <columnspanset.hxx>#include <vector>#include <memory>#include <boost/property_tree/json_parser.hpp>#include <tools/json_writer.hxx>#include <officecfg/Office/Calc.hxx>Go to the source code of this file.
Macros | |
| #define | SC_AUTOSUM_MAXCOUNT 20 |
| #define | SET_LINE_ATTRIBUTES(LINE, BOXLINE) |
Functions | |
| static ScAutoSum | lcl_IsAutoSumData (ScDocument &rDoc, SCCOL nCol, SCROW nRow, SCTAB nTab, ScDirection eDir, SCCOLROW &nExtend) |
| static ScAutoSum | lcl_SeekAutoSumData (ScDocument &rDoc, SCCOL &nCol, SCROW &nRow, SCTAB nTab, ScDirection eDir, SCCOLROW &nExtend) |
| static bool | lcl_FindNextSumEntryInColumn (ScDocument &rDoc, SCCOL nCol, SCROW &nRow, SCTAB nTab, SCCOLROW &nExtend, SCROW nMinRow) |
| static bool | lcl_FindNextSumEntryInRow (ScDocument &rDoc, SCCOL &nCol, SCROW nRow, SCTAB nTab, SCCOLROW &nExtend, SCCOL nMinCol) |
| static ScAutoSum | lcl_GetAutoSumForColumnRange (ScDocument &rDoc, ScRangeList &rRangeList, const ScRange &rRange) |
| static ScAutoSum | lcl_GetAutoSumForRowRange (ScDocument &rDoc, ScRangeList &rRangeList, const ScRange &rRange) |
| static sal_Int8 | GetSubTotal (const OpCode eCode) |
| static bool | lcl_extendMergeRange (ScCellMergeOption &rOption, const ScRange &rRange) |
| #define SC_AUTOSUM_MAXCOUNT 20 |
Definition at line 320 of file viewfun2.cxx.
| #define SET_LINE_ATTRIBUTES | ( | LINE, | |
| BOXLINE | |||
| ) |
Definition at line 3343 of file viewfun2.cxx.
|
static |
Definition at line 1319 of file viewfun2.cxx.
References ScRange::aEnd, ScRange::aStart, ScAddress::Col(), ScCellMergeOption::mnEndCol, ScCellMergeOption::mnEndRow, ScCellMergeOption::mnStartCol, ScCellMergeOption::mnStartRow, and ScAddress::Row().
Referenced by ScViewFunc::RemoveMerge().
|
static |
Definition at line 353 of file viewfun2.cxx.
References DIR_TOP, and lcl_IsAutoSumData().
Referenced by ScViewFunc::GetAutoSumArea(), and lcl_GetAutoSumForColumnRange().
|
static |
Definition at line 368 of file viewfun2.cxx.
References DIR_LEFT, and lcl_IsAutoSumData().
Referenced by ScViewFunc::GetAutoSumArea(), and lcl_GetAutoSumForRowRange().
|
static |
Definition at line 383 of file viewfun2.cxx.
References ScRange::aEnd, ScRange::aStart, ScAddress::Col(), DIR_TOP, lcl_FindNextSumEntryInColumn(), lcl_IsAutoSumData(), ScRangeList::push_back(), ScAddress::Row(), and ScAddress::Tab().
Referenced by ScViewFunc::AutoSum().
|
static |
Definition at line 430 of file viewfun2.cxx.
References ScRange::aEnd, ScRange::aStart, ScAddress::Col(), DIR_LEFT, lcl_FindNextSumEntryInRow(), lcl_IsAutoSumData(), ScRangeList::push_back(), ScAddress::Row(), and ScAddress::Tab().
Referenced by ScViewFunc::AutoSum().
|
static |
Definition at line 271 of file viewfun2.cxx.
References CELLTYPE_FORMULA, ScTokenArray::GetAdjacentExtendOfOuterFuncRefs(), ScFormulaCell::GetCode(), ScRefCellValue::getFormula(), formula::FormulaTokenArray::GetOuterFuncOpCode(), ScRefCellValue::getType(), ScRefCellValue::hasNumeric(), ocAverage, ocCount, ocCount2, ocMax, ocMin, ocProduct, ocStDev, ocStDevP, ocSum, ocVar, and ocVarP.
Referenced by ScViewFunc::AutoSum(), ScViewFunc::GetAutoSumArea(), lcl_FindNextSumEntryInColumn(), lcl_FindNextSumEntryInRow(), lcl_GetAutoSumForColumnRange(), lcl_GetAutoSumForRowRange(), and lcl_SeekAutoSumData().
|
static |
Definition at line 322 of file viewfun2.cxx.
References DIR_TOP, lcl_IsAutoSumData(), nCount, and SC_AUTOSUM_MAXCOUNT.
Referenced by ScViewFunc::GetAutoSumArea().