LibreOffice Module sc (master) 1
|
#include "address.hxx"
#include "typedstrdata.hxx"
#include <i18nlangtag/lang.h>
#include <svx/svdtypes.hxx>
#include <tools/ref.hxx>
#include <sal/types.h>
#include <com/sun/star/i18n/CollatorOptions.hpp>
#include "scdllapi.h"
#include <rtl/ustring.hxx>
#include <tools/long.hxx>
#include <o3tl/unit_conversion.hxx>
#include <atomic>
#include <memory>
#include <optional>
#include <string_view>
Go to the source code of this file.
Classes | |
struct | o3tl::typed_flags< PaintPartFlags > |
struct | o3tl::typed_flags< CRFlags > |
struct | o3tl::typed_flags< ScBreakType > |
struct | o3tl::typed_flags< InsertDeleteFlags > |
struct | o3tl::typed_flags< HasAttrFlags > |
struct | o3tl::typed_flags< ScScenarioFlags > |
struct | o3tl::typed_flags< SubtotalFlags > |
struct | o3tl::typed_flags< ScCloneFlags > |
struct | ScImportParam |
struct | InputHandlerFunctionNames |
class | ScGlobal |
struct | ScConsolidateParam |
Namespaces | |
namespace | com |
namespace | com::sun |
namespace | com::sun::star |
namespace | com::sun::star::uno |
namespace | sc |
CAUTION! The following defines must be in the same namespace as the respective type. | |
namespace | o3tl |
namespace | com::sun::star::lang |
namespace | com::sun::star::i18n |
namespace | utl |
Macros | |
#define | SC_COLLATOR_IGNORES css::i18n::CollatorOptions::CollatorOptions_IGNORE_CASE |
#define | MINDOUBLE 1.7e-307 |
#define | MAXDOUBLE 1.7e307 |
#define | STD_ROWHEIGHT_DIFF 23 |
#define | OLE_STD_CELLS_X 4 |
#define | OLE_STD_CELLS_Y 5 |
#define | SC_INDENT_STEP 200 |
Functions | |
constexpr ::tools::Long | sc::TwipsToEvenHMM (::tools::Long nTwips) |
constexpr SdrLayerID | SC_LAYER_FRONT (0) |
constexpr SdrLayerID | SC_LAYER_BACK (1) |
constexpr SdrLayerID | SC_LAYER_INTERN (2) |
constexpr SdrLayerID | SC_LAYER_CONTROLS (3) |
constexpr SdrLayerID | SC_LAYER_HIDDEN (4) |
#define MAXDOUBLE 1.7e307 |
Definition at line 77 of file global.hxx.
#define MINDOUBLE 1.7e-307 |
Definition at line 76 of file global.hxx.
#define OLE_STD_CELLS_X 4 |
Definition at line 104 of file global.hxx.
#define OLE_STD_CELLS_Y 5 |
Definition at line 105 of file global.hxx.
#define SC_COLLATOR_IGNORES css::i18n::CollatorOptions::CollatorOptions_IGNORE_CASE |
Definition at line 52 of file global.hxx.
#define SC_INDENT_STEP 200 |
Definition at line 224 of file global.hxx.
#define STD_ROWHEIGHT_DIFF 23 |
Definition at line 96 of file global.hxx.
enum CellType |
Enumerator | |
---|---|
CELLTYPE_NONE | |
CELLTYPE_VALUE | |
CELLTYPE_STRING | |
CELLTYPE_FORMULA | |
CELLTYPE_EDIT |
Definition at line 271 of file global.hxx.
Enumerator | |
---|---|
NONE | |
Hidden | |
ManualBreak | |
Filtered | |
ManualSize | |
All |
Definition at line 125 of file global.hxx.
|
strong |
Enumerator | |
---|---|
CellsUp | |
CellsLeft | |
Rows | |
Cols | |
NONE |
Definition at line 280 of file global.hxx.
enum FillCmd |
Enumerator | |
---|---|
FILL_SIMPLE | |
FILL_LINEAR | |
FILL_GROWTH | |
FILL_DATE | |
FILL_AUTO |
Definition at line 316 of file global.hxx.
enum FillDateCmd |
Enumerator | |
---|---|
FILL_DAY | |
FILL_WEEKDAY | |
FILL_MONTH | |
FILL_END_OF_MONTH | |
FILL_YEAR |
Definition at line 333 of file global.hxx.
enum FillDir |
Enumerator | |
---|---|
FILL_TO_BOTTOM | |
FILL_TO_RIGHT | |
FILL_TO_TOP | |
FILL_TO_LEFT |
Definition at line 308 of file global.hxx.
|
strong |
Enumerator | |
---|---|
NONE | |
Lines | |
Merged | |
Overlapped | |
Protected | |
Shadow | |
NeedHeight | |
ShadowRight | |
ShadowDown | |
AutoFilter | |
Conditional | |
Rotate | |
NotOverlapped | |
RightOrCenter |
Definition at line 185 of file global.hxx.
enum InsCellCmd |
Enumerator | |
---|---|
INS_CELLSDOWN | |
INS_CELLSRIGHT | |
INS_INSROWS_BEFORE | |
INS_INSCOLS_BEFORE | |
INS_NONE | |
INS_INSROWS_AFTER | |
INS_INSCOLS_AFTER |
Definition at line 289 of file global.hxx.
|
strong |
Enumerator | |
---|---|
NONE | |
VALUE | |
DATETIME | Numeric values (and numeric results if InsertDeleteFlags::FORMULA is not set). |
STRING | Dates, times, datetime values. |
NOTE | Strings (and string results if InsertDeleteFlags::FORMULA is not set). |
FORMULA | Cell notes. |
HARDATTR | Formula cells. |
STYLES | Hard cell attributes. |
OBJECTS | Cell styles. |
EDITATTR | Drawing objects. |
OUTLINE | Rich-text attributes. |
SPARKLINES | Sheet / outlining (grouping) information. |
NOCAPTIONS | Sparklines in a cell. |
ADDNOTES | Internal use only (undo etc.): do not copy/delete caption objects of cell notes. |
SPECIAL_BOOLEAN | Internal use only (copy from clip): do not delete existing cell contents when pasting notes. |
FORGETCAPTIONS | |
ATTRIB | Internal use only (d&d undo): do not delete caption objects of cell notes. |
CONTENTS | |
ALL | |
AUTOFILL | Copy flags for auto/series fill functions: do not touch notes and drawing objects. |
Definition at line 148 of file global.hxx.
|
strong |
Enumerator | |
---|---|
NONE | |
Grid | |
Top | |
Left | |
Extras | |
Marks | |
Objects | |
Size | |
All |
Definition at line 109 of file global.hxx.
enum ScAggregateFunc |
Definition at line 877 of file global.hxx.
enum ScAnchorType |
Enumerator | |
---|---|
SCA_CELL | |
SCA_CELL_RESIZE | |
SCA_PAGE | |
SCA_DONTKNOW |
Definition at line 373 of file global.hxx.
|
strong |
Enumerator | |
---|---|
NONE | |
Page | |
Manual |
Definition at line 139 of file global.hxx.
|
strong |
Definition at line 251 of file global.hxx.
enum ScDBObject |
Enumerator | |
---|---|
ScDbTable | |
ScDbQuery |
Definition at line 418 of file global.hxx.
enum ScDirection |
Enumerator | |
---|---|
DIR_BOTTOM | |
DIR_RIGHT | |
DIR_TOP | |
DIR_LEFT |
Definition at line 342 of file global.hxx.
|
strong |
Enumerator | |
---|---|
NORMAL | |
BLOCK | |
MATRIX |
Definition at line 219 of file global.hxx.
enum ScGetDBMode |
Definition at line 381 of file global.hxx.
|
strong |
Enumerator | |
---|---|
Keep | Keep selection as is, expand to used data area if no selection. |
ShrinkToUsedData | Shrink selection to actually used data area within the selection. |
RowDown | If only one row or portion thereof is selected, shrink row to used data columns and select further rows down until end of data. If an area is selected, shrink rows to actually used columns. Else, no selection, expand to used data area. |
ForceMark | Behave as if the range corresponding to a ScDBData area was selected, for API use. |
Definition at line 390 of file global.hxx.
enum ScInputMode |
Enumerator | |
---|---|
SC_INPUT_NONE | |
SC_INPUT_TYPE | |
SC_INPUT_TABLE | |
SC_INPUT_TOP |
Definition at line 359 of file global.hxx.
|
strong |
Enumerator | |
---|---|
NONE | |
NORMAL | |
VALUE |
Definition at line 215 of file global.hxx.
enum ScLkUpdMode |
Enumerator | |
---|---|
LM_ALWAYS | |
LM_NEVER | |
LM_ON_DEMAND | |
LM_UNKNOWN |
Definition at line 409 of file global.hxx.
enum ScMoveDirection |
Enumerator | |
---|---|
SC_MOVE_RIGHT | |
SC_MOVE_LEFT | |
SC_MOVE_UP | |
SC_MOVE_DOWN |
Definition at line 325 of file global.hxx.
|
strong |
Enumerator | |
---|---|
NONE | |
ADD | |
SUB | |
MUL | |
DIV |
Definition at line 181 of file global.hxx.
enum ScQueryConnect |
Enumerator | |
---|---|
SC_AND | |
SC_OR |
Definition at line 853 of file global.hxx.
enum ScQueryOp |
Definition at line 833 of file global.hxx.
|
strong |
Enumerator | |
---|---|
NONE | |
CopyAll | |
ShowFrame | |
PrintFrame | |
TwoWay | |
Attrib | |
Value | |
Protected |
Definition at line 226 of file global.hxx.
enum ScSizeMode |
Enumerator | |
---|---|
SC_SIZE_DIRECT | |
SC_SIZE_OPTIMAL | |
SC_SIZE_SHOW | |
SC_SIZE_VISOPT | |
SC_SIZE_ORIGINAL |
Definition at line 350 of file global.hxx.
enum ScSubTotalFunc |
Definition at line 859 of file global.hxx.
enum ScVObjMode |
Enumerator | |
---|---|
VOBJ_MODE_SHOW | |
VOBJ_MODE_HIDE |
Definition at line 367 of file global.hxx.
|
strong |
Enumerator | |
---|---|
NONE | |
IgnoreNestedStAg | |
IgnoreErrVal | |
IgnoreHidden | |
IgnoreFiltered |
Definition at line 240 of file global.hxx.
enum UpdateRefMode |
Enumerator | |
---|---|
URM_INSDEL | |
URM_COPY | |
URM_MOVE | |
URM_REORDER |
Definition at line 300 of file global.hxx.
|
constexpr |
Referenced by ScDrawView::Construct(), ScGridWindow::DrawContent(), ScPrintFunc::DrawToDev(), ScDrawShell::ExecDrawFunc(), ScXMLImportWrapper::Export(), ScShapeChildren::FillShapes(), XMLTableShapeImportHelper::finishShape(), ScDrawShell::GetDrawFuncState(), ScDocument::GetObjectAtPoint(), ScDocument::HasBackgroundDraw(), ScDrawView::LockBackgroundLayer(), ScPrintFunc::PrintArea(), ScDrawLayer::ScDrawLayer(), ScTabViewObj::select(), ScDrawView::SelectCurrentViewObject(), ScDrawView::SelectObject(), and ScTabView::UpdateLayerLocks().
|
constexpr |
Referenced by FuConstUnoControl::Activate(), ScDrawView::Construct(), FuConstUnoControl::CreateDefaultObject(), XclImpControlHelper::CreateSdrObjectFromShape(), ScTabViewShell::ExecDrawIns(), ScXMLImportWrapper::Export(), ScShapeChildren::FillShapes(), ScDrawTransferObj::InitDocShell(), ScViewFunc::PasteDataFormat(), ScViewFunc::PasteDraw(), ScDrawLayer::ScDrawLayer(), XMLTableShapeImportHelper::SetLayer(), and ScTabView::UpdateLayerLocks().
|
constexpr |
Referenced by ScDrawView::Construct(), FuConstUnoControl::Deactivate(), ScGridWindow::DrawContent(), ScPrintFunc::DrawToDev(), ScDrawShell::ExecDrawFunc(), ScTabViewShell::ExecDrawIns(), ScXMLImportWrapper::Export(), ScShapeChildren::FillShapes(), ScDrawShell::GetDrawFuncState(), ScDrawTransferObj::InitDocShell(), ScViewFunc::PasteDataFormat(), XclImpDrawObjBase::PreProcessSdrObject(), ScPrintFunc::PrintArea(), ScDrawLayer::ScDrawLayer(), and ScTabView::UpdateLayerLocks().
|
constexpr |
|
constexpr |
Referenced by ScChildrenShapes::AddShape(), ScXMLExport::CollectInternalShape(), ScXMLExport::CollectSharedData(), ScDrawView::Construct(), ScDrawLayer::CopyFromClip(), ScDrawLayer::CopyToClip(), ScDetectiveFunc::DeleteAll(), ScDetectiveFunc::DeleteArrowsAt(), ScDetectiveFunc::DeleteBox(), ScDetectiveFunc::DeleteCirclesAt(), ScDetectiveFunc::DrawCircle(), ScGridWindow::DrawContent(), ScPrintFunc::DrawToDev(), ScDrawShell::ExecDrawFunc(), ScXMLImportWrapper::Export(), ScShapeChildren::FillShapes(), ScDetectiveFunc::FindFrameForObject(), ScDetectiveFunc::GetDetectiveObjectType(), ScDrawShell::GetDrawFuncState(), ScDocument::GetObjectAtPoint(), ScDetectiveFunc::HasArrow(), ScDocument::HasDetectiveObjects(), ScDrawView::HasMarkedInternal(), ScDetectiveFunc::InsertArrow(), ScDetectiveFunc::InsertToOtherTab(), ScDetectiveFunc::IsNonAlienArrow(), ScDrawView::LockInternalLayer(), ScPrintFunc::PrintArea(), ScDrawLayer::ScDrawLayer(), FuText::SetInEditMode(), ScDrawView::SetMarkedToLayer(), FuText::StopEditMode(), ScDetectiveFunc::UpdateAllArrowColors(), and ScTabView::UpdateLayerLocks().
const sal_Unicode CHAR_LRM = 0x200E |
Definition at line 70 of file global.hxx.
Referenced by ScEditShell::Execute(), and ScDrawStringsVars::HasEditCharacters().
const sal_Unicode CHAR_NBHY = 0x2011 |
Definition at line 72 of file global.hxx.
Referenced by ScEditShell::Execute(), and ScDrawStringsVars::HasEditCharacters().
const sal_Unicode CHAR_NBSP = 0x00A0 |
Definition at line 67 of file global.hxx.
Referenced by ScEditShell::Execute(), and ScDrawStringsVars::HasEditCharacters().
const sal_Unicode CHAR_NNBSP = 0x202F |
Definition at line 74 of file global.hxx.
Referenced by ScEditShell::Execute().
const sal_Unicode CHAR_RLM = 0x200F |
Definition at line 71 of file global.hxx.
Referenced by ScEditShell::Execute(), and ScDrawStringsVars::HasEditCharacters().
const sal_Unicode CHAR_SHY = 0x00AD |
Definition at line 68 of file global.hxx.
Referenced by ScEditShell::Execute(), and ScDrawStringsVars::HasEditCharacters().
const sal_Unicode CHAR_WJ = 0x2060 |
Definition at line 73 of file global.hxx.
Referenced by ScEditShell::Execute(), and ScDrawStringsVars::HasEditCharacters().
const sal_Unicode CHAR_ZWSP = 0x200B |
Definition at line 69 of file global.hxx.
Referenced by ScEditShell::Execute(), and ScDrawStringsVars::HasEditCharacters().
|
constexpr |
Definition at line 463 of file global.hxx.
Referenced by ScInputHandler::GetFormulaData(), ScGlobal::GetInputHandlerFunctionNames(), ScInputHandler::PasteFunctionData(), and ScInputHandler::ShowFuncList().
|
constexpr |
Definition at line 92 of file global.hxx.
Referenced by ScCellShell::Execute(), and ScViewFunc::ModifyCellSize().
|
constexpr |
Definition at line 91 of file global.hxx.
Referenced by ScCellShell::Execute().
|
constexpr |
Definition at line 90 of file global.hxx.
Referenced by ScCellShell::Execute().
|
constexpr |
Definition at line 93 of file global.hxx.
Referenced by ScCellShell::Execute(), and ScViewFunc::ModifyCellSize().
const SCSIZE MAXSUBTOTAL = 3 |
Definition at line 82 of file global.hxx.
Referenced by ScSubTotalDescriptorBase::addNew(), ScCellRangeObj::applySubTotals(), ScSubTotalParam::Clear(), ScXMLDatabaseRangeContext::ConvertToDBData(), ScCellRangeObj::createSubTotalDescriptor(), ScTable::DoSubTotals(), ScSubTotalDescriptorBase::getCount(), ScSubTotalDescriptorBase::getPropertyValue(), ScDatabaseRangeObj::GetSubTotalParam(), ScDBData::MoveTo(), ScSubTotalParam::operator=(), ScSubTotalParam::operator==(), ScSortParam::ScSortParam(), ScSubTotalParam::ScSubTotalParam(), ScSubTotalDescriptorBase::setPropertyValue(), ScDatabaseRangeObj::SetSubTotalParam(), and ScSubTotalParam::SetSubTotals().
const sal_uInt16 MAXZOOM = 400 |
Definition at line 80 of file global.hxx.
Referenced by ScTabView::CalcZoom(), ScTabViewShell::Execute(), ScTabView::GestureZoomCommand(), ScPreviewShell::GetState(), ScTabViewShell::GetState(), ScPreviewShell::ScrollCommand(), ScTabView::ScrollCommand(), ScSpreadsheetSettings::setPropertyValue(), and ScTabViewObj::SetZoomType().
const sal_uInt16 MINZOOM = 20 |
Definition at line 79 of file global.hxx.
Referenced by ScTabView::CalcZoom(), ScTabViewShell::Execute(), ScTabView::GestureZoomCommand(), ScPreviewShell::GetState(), ScTabViewShell::GetState(), ScPreviewShell::ScrollCommand(), ScTabView::ScrollCommand(), ScSpreadsheetSettings::setPropertyValue(), and ScTabViewObj::SetZoomType().
|
extern |
Definition at line 117 of file global.cxx.
Referenced by ScGridWindow::HandleMouseButtonDown(), ScGlobal::OpenURL(), and ScGlobal::ShouldOpenURL().
|
extern |
Definition at line 118 of file global.cxx.
Referenced by ScTable::FillAnalyse(), ScTable::FillAutoSimple(), ScTable::GetAutoFillPreview(), ScGridWindow::MouseButtonUp(), ScGridWindow::MouseMove(), ScViewFunctionSet::SetCursorAtCell(), and ScTabView::UpdateRef().
|
extern |
Definition at line 116 of file global.cxx.
Referenced by ScTabViewShell::Activate(), ScTabViewShell::Deactivate(), ScGridWindow::HandleMouseButtonDown(), and ScGlobal::OpenURL().
|
inlineconstexpr |
Definition at line 63 of file global.hxx.
Referenced by ScDocShell::ConvertFrom(), ScDocShell::ConvertTo(), ScDocShell::GetAsciiFilterName(), ScVbaWorkbook::getFileFormat(), ScDocShell::HasAutomaticTableName(), ScVbaWorkbooks::Open(), ScAreaLink::Refresh(), ScVbaWorkbook::setFilterPropsFromFormat(), and ScLinkedAreaDlg::UpdateSourceRanges().
|
constexpr |
Definition at line 87 of file global.hxx.
Referenced by ScTable::DeleteCol(), ScTable::dumpColumnRowSizes(), ScCellShell::Execute(), ScDocument::FillInfo(), ScTable::GetColWidth(), ScTable::GetLastChangedColFlagsWidth(), ScTable::GetOptimalColWidth(), ScTable::GetOriginalWidth(), ScDocShell::InitNew(), ScTable::InsertCol(), ScViewFunc::ModifyCellSize(), ScTable::ScTable(), ScViewData::ScViewData(), ScTable::SetColWidth(), ScTable::SetColWidthOnly(), and ScGridWindow::ShowFilterMenu().
|
constexpr |
Definition at line 88 of file global.hxx.
Referenced by ScDocFunc::AutoFormat(), ScCellShell::Execute(), ScTable::GetOptimalColWidth(), ScViewFunc::ModifyCellSize(), ScUndoAutoFormat::Redo(), ScColBar::SetEntrySize(), ScTableColumnObj::SetOnePropertyValue(), and ScTableColumnsObj::setPropertyValue().
|
inlineconstexpr |
Definition at line 58 of file global.hxx.
Referenced by ScViewFunc::MoveTable(), and ScDocumentLoader::RemoveAppPrefix().
|
inlineconstexpr |
Definition at line 60 of file global.hxx.
Referenced by ScStyleSheetPool::Make(), ScDocumentPool::ScDocumentPool(), and ScStyleSheet::SetName().
|
constexpr |
Definition at line 85 of file global.hxx.
Referenced by ImportLotus::Columnwidth(), OP_ColumnWidth(), and OP_Window1().