|
LibreOffice Module sc (master) 1
|
#include <scitems.hxx>#include <comphelper/lok.hxx>#include <o3tl/safeint.hxx>#include <o3tl/string_view.hxx>#include <sfx2/app.hxx>#include <editeng/editobj.hxx>#include <editeng/justifyitem.hxx>#include <sfx2/linkmgr.hxx>#include <sfx2/bindings.hxx>#include <utility>#include <vcl/weld.hxx>#include <vcl/stdtext.hxx>#include <vcl/svapp.hxx>#include <svx/svdocapt.hxx>#include <sal/log.hxx>#include <unotools/charclass.hxx>#include <osl/diagnose.h>#include <com/sun/star/container/XNameContainer.hpp>#include <com/sun/star/script/ModuleType.hpp>#include <com/sun/star/script/XLibraryContainer.hpp>#include <com/sun/star/script/vba/XVBAModuleInfo.hpp>#include <docfunc.hxx>#include <sc.hrc>#include <strings.hrc>#include <arealink.hxx>#include <attrib.hxx>#include <dociter.hxx>#include <autoform.hxx>#include <formulacell.hxx>#include <cellmergeoption.hxx>#include <detdata.hxx>#include <detfunc.hxx>#include <docpool.hxx>#include <docsh.hxx>#include <drwlayer.hxx>#include <editutil.hxx>#include <globstr.hrc>#include <olinetab.hxx>#include <patattr.hxx>#include <rangenam.hxx>#include <refundo.hxx>#include <scresid.hxx>#include <stlpool.hxx>#include <stlsheet.hxx>#include <tablink.hxx>#include <tabvwsh.hxx>#include <uiitems.hxx>#include <undoblk.hxx>#include <undocell.hxx>#include <undodraw.hxx>#include <undotab.hxx>#include <sizedev.hxx>#include <scmod.hxx>#include <inputhdl.hxx>#include <editable.hxx>#include <compiler.hxx>#include <scui_def.hxx>#include <tabprotection.hxx>#include <clipparam.hxx>#include <externalrefmgr.hxx>#include <undorangename.hxx>#include <progress.hxx>#include <dpobject.hxx>#include <stringutil.hxx>#include <cellvalue.hxx>#include <tokenarray.hxx>#include <rowheightcontext.hxx>#include <cellvalues.hxx>#include <undoconvert.hxx>#include <docfuncutil.hxx>#include <sheetevents.hxx>#include <conditio.hxx>#include <columnspanset.hxx>#include <validat.hxx>#include <SparklineGroup.hxx>#include <SparklineAttributes.hxx>#include <SparklineData.hxx>#include <undo/UndoInsertSparkline.hxx>#include <undo/UndoDeleteSparkline.hxx>#include <undo/UndoDeleteSparklineGroup.hxx>#include <undo/UndoEditSparklineGroup.hxx>#include <undo/UndoUngroupSparklines.hxx>#include <undo/UndoGroupSparklines.hxx>#include <undo/UndoEditSparkline.hxx>#include <config_features.h>#include <memory>#include <basic/basmgr.hxx>#include <set>#include <vector>#include <sfx2/viewfrm.hxx>Go to the source code of this file.
Functions | |
| static void | lcl_PaintAbove (ScDocShell &rDocShell, const ScRange &rRange) |
| static void | lcl_collectAllPredOrSuccRanges (const ScRangeList &rSrcRanges, vector< ScTokenRef > &rRefTokens, ScDocShell &rDocShell, bool bPred) |
| static uno::Reference< uno::XInterface > | GetDocModuleObject (const SfxObjectShell &rDocSh, const OUString &sCodeName) |
| static script::ModuleInfo | lcl_InitModuleInfo (const SfxObjectShell &rDocSh, const OUString &sModule) |
| void | VBA_InsertModule (ScDocument &rDoc, SCTAB nTab, const OUString &sSource) |
| void | VBA_DeleteModule (ScDocShell &rDocSh, const OUString &sModuleName) |
| static sal_uInt16 | lcl_GetOptimalColWidth (ScDocShell &rDocShell, SCCOL nCol, SCTAB nTab) |
| SetWidthOrHeight - duplicated in ViewFunc !!!!!! Problems: More... | |
| static ScDirection | DirFromFillDir (FillDir eDir) |
|
static |
Definition at line 4464 of file docfunc.cxx.
References DIR_BOTTOM, DIR_LEFT, DIR_RIGHT, DIR_TOP, FILL_TO_BOTTOM, FILL_TO_RIGHT, and FILL_TO_TOP.
Referenced by ScDocFunc::FillSeries().
|
static |
Definition at line 3175 of file docfunc.cxx.
References SfxObjectShell::GetModel().
Referenced by lcl_InitModuleInfo().
|
static |
Definition at line 546 of file docfunc.cxx.
References ScRange::aEnd, ScRange::aStart, ScAddress::Col(), ScRangeList::empty(), ScRangeList::front(), ScDetectiveFunc::GetAllPreds(), ScDetectiveFunc::GetAllSuccs(), ScDocShell::GetDocument(), i, n, ScAddress::Row(), ScRangeList::size(), and ScAddress::Tab().
Referenced by ScDocFunc::DetectiveCollectAllPreds(), and ScDocFunc::DetectiveCollectAllSuccs().
|
static |
SetWidthOrHeight - duplicated in ViewFunc !!!!!! Problems:
Definition at line 3637 of file docfunc.cxx.
References ScSizeDeviceProvider::GetDevice(), ScDocShell::GetDocument(), ScDocument::GetOptimalColWidth(), ScSizeDeviceProvider::GetPPTX(), ScSizeDeviceProvider::GetPPTY(), nPPTX, and nPPTY.
Referenced by ScDocFunc::SetWidthOrHeight().
|
static |
Definition at line 3189 of file docfunc.cxx.
References GetDocModuleObject().
Referenced by VBA_InsertModule().
|
static |
all of them?
Definition at line 139 of file docfunc.cxx.
References ScRange::aStart, ScDocShell::GetDocument(), Grid, ScDocument::MaxCol(), ScDocShell::PostPaint(), ScAddress::Row(), and ScAddress::Tab().
Referenced by ScDocFunc::ApplyAttributes(), ScDocFunc::DeleteCells(), and ScDocFunc::DeleteContents().
| void VBA_DeleteModule | ( | ScDocShell & | rDocSh, |
| const OUString & | sModuleName | ||
| ) |
Definition at line 3240 of file docfunc.cxx.
References SfxObjectShell::GetBasicContainer(), SfxObjectShell::GetBasicManager(), and BasicManager::GetName().
Referenced by ScDocFunc::DeleteTable(), and ScViewFunc::DeleteTables().
| void VBA_InsertModule | ( | ScDocument & | rDoc, |
| SCTAB | nTab, | ||
| const OUString & | sSource | ||
| ) |
Definition at line 3197 of file docfunc.cxx.
References SfxObjectShell::GetBasicContainer(), SfxObjectShell::GetBasicManager(), ScDocument::GetDocumentShell(), BasicManager::GetName(), lcl_InitModuleInfo(), and ScDocument::SetCodeName().
Referenced by ScDocFunc::InsertTable(), ScDocShell::MoveTable(), and ScDocument::TransferTab().