LibreOffice Module sc (master) 1
Classes | Namespaces | Macros | Enumerations | Functions | Variables
global.hxx File Reference
#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>
Include dependency graph for global.hxx:
This graph shows which files directly or indirectly include this file:

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
 

Enumerations

enum class  PaintPartFlags {
  NONE = 0x00 ,
  Grid = 0x01 ,
  Top = 0x02 ,
  Left = 0x04 ,
  Extras = 0x08 ,
  Marks = 0x10 ,
  Objects = 0x20 ,
  Size = 0x40 ,
  All = Grid | Top | Left | Extras | Objects | Size
}
 
enum class  CRFlags : sal_uInt8 {
  NONE = 0x00 ,
  Hidden = 0x01 ,
  ManualBreak = 0x02 ,
  Filtered = 0x04 ,
  ManualSize = 0x08 ,
  All = Hidden | ManualBreak | Filtered | ManualSize
}
 
enum class  ScBreakType {
  NONE = 0x00 ,
  Page = 0x01 ,
  Manual = 0x02
}
 
enum class  InsertDeleteFlags : sal_uInt16 {
  NONE = 0x0000 ,
  VALUE = 0x0001 ,
  DATETIME = 0x0002 ,
  STRING = 0x0004 ,
  NOTE = 0x0008 ,
  FORMULA = 0x0010 ,
  HARDATTR = 0x0020 ,
  STYLES = 0x0040 ,
  OBJECTS = 0x0080 ,
  EDITATTR = 0x0100 ,
  OUTLINE = 0x0800 ,
  SPARKLINES = 0x4000 ,
  NOCAPTIONS = 0x0200 ,
  ADDNOTES = 0x0400 ,
  SPECIAL_BOOLEAN = 0x1000 ,
  FORGETCAPTIONS = 0x2000 ,
  ATTRIB = HARDATTR | STYLES ,
  CONTENTS = VALUE | DATETIME | STRING | NOTE | FORMULA | OUTLINE | SPARKLINES ,
  ALL = CONTENTS | ATTRIB | OBJECTS | SPARKLINES | EDITATTR ,
  AUTOFILL = ALL & ~(NOTE | OBJECTS)
}
 
enum class  ScPasteFunc {
  NONE ,
  ADD ,
  SUB ,
  MUL ,
  DIV
}
 
enum class  HasAttrFlags {
  NONE = 0x0000 ,
  Lines = 0x0001 ,
  Merged = 0x0002 ,
  Overlapped = 0x0004 ,
  Protected = 0x0008 ,
  Shadow = 0x0010 ,
  NeedHeight = 0x0020 ,
  ShadowRight = 0x0040 ,
  ShadowDown = 0x0080 ,
  AutoFilter = 0x0100 ,
  Conditional = 0x0200 ,
  Rotate = 0x0400 ,
  NotOverlapped = 0x0800 ,
  RightOrCenter = 0x1000
}
 
enum class  ScLinkMode {
  NONE ,
  NORMAL ,
  VALUE
}
 
enum class  ScEnterMode {
  NORMAL ,
  BLOCK ,
  MATRIX
}
 
enum class  ScScenarioFlags {
  NONE = 0 ,
  CopyAll = 1 ,
  ShowFrame = 2 ,
  PrintFrame = 4 ,
  TwoWay = 8 ,
  Attrib = 16 ,
  Value = 32 ,
  Protected = 64
}
 
enum class  SubtotalFlags {
  NONE = 0x00 ,
  IgnoreNestedStAg = 0x08 ,
  IgnoreErrVal = 0x04 ,
  IgnoreHidden = 0x02 ,
  IgnoreFiltered = 0x01
}
 
enum class  ScCloneFlags {
  Default = 0x0000 ,
  StartListening = 0x0001 ,
  NoMakeAbsExternal = 0x0002 ,
  NamesToLocal = 0x0004
}
 
enum  CellType {
  CELLTYPE_NONE ,
  CELLTYPE_VALUE ,
  CELLTYPE_STRING ,
  CELLTYPE_FORMULA ,
  CELLTYPE_EDIT
}
 
enum class  DelCellCmd {
  CellsUp ,
  CellsLeft ,
  Rows ,
  Cols ,
  NONE
}
 
enum  InsCellCmd {
  INS_CELLSDOWN ,
  INS_CELLSRIGHT ,
  INS_INSROWS_BEFORE ,
  INS_INSCOLS_BEFORE ,
  INS_NONE ,
  INS_INSROWS_AFTER ,
  INS_INSCOLS_AFTER
}
 
enum  UpdateRefMode {
  URM_INSDEL ,
  URM_COPY ,
  URM_MOVE ,
  URM_REORDER
}
 
enum  FillDir {
  FILL_TO_BOTTOM ,
  FILL_TO_RIGHT ,
  FILL_TO_TOP ,
  FILL_TO_LEFT
}
 
enum  FillCmd {
  FILL_SIMPLE ,
  FILL_LINEAR ,
  FILL_GROWTH ,
  FILL_DATE ,
  FILL_AUTO
}
 
enum  ScMoveDirection {
  SC_MOVE_RIGHT ,
  SC_MOVE_LEFT ,
  SC_MOVE_UP ,
  SC_MOVE_DOWN
}
 
enum  FillDateCmd {
  FILL_DAY ,
  FILL_WEEKDAY ,
  FILL_MONTH ,
  FILL_END_OF_MONTH ,
  FILL_YEAR
}
 
enum  ScDirection {
  DIR_BOTTOM ,
  DIR_RIGHT ,
  DIR_TOP ,
  DIR_LEFT
}
 
enum  ScSizeMode {
  SC_SIZE_DIRECT ,
  SC_SIZE_OPTIMAL ,
  SC_SIZE_SHOW ,
  SC_SIZE_VISOPT ,
  SC_SIZE_ORIGINAL
}
 
enum  ScInputMode {
  SC_INPUT_NONE ,
  SC_INPUT_TYPE ,
  SC_INPUT_TABLE ,
  SC_INPUT_TOP
}
 
enum  ScVObjMode {
  VOBJ_MODE_SHOW ,
  VOBJ_MODE_HIDE
}
 
enum  ScAnchorType {
  SCA_CELL ,
  SCA_CELL_RESIZE ,
  SCA_PAGE ,
  SCA_DONTKNOW
}
 
enum  ScGetDBMode {
  SC_DB_MAKE ,
  SC_DB_AUTOFILTER ,
  SC_DB_IMPORT ,
  SC_DB_OLD
}
 
enum class  ScGetDBSelection {
  Keep ,
  ShrinkToUsedData ,
  RowDown ,
  ForceMark
}
 For ScDBFunc::GetDBData() More...
 
enum  ScLkUpdMode {
  LM_ALWAYS ,
  LM_NEVER ,
  LM_ON_DEMAND ,
  LM_UNKNOWN
}
 
enum  ScDBObject {
  ScDbTable ,
  ScDbQuery
}
 
enum class  sc::ColRowEditAction {
  sc::Unknown ,
  sc::InsertColumnsBefore ,
  sc::InsertColumnsAfter ,
  sc::InsertRowsBefore ,
  sc::InsertRowsAfter ,
  sc::DeleteColumns ,
  sc::DeleteRows
}
 
enum  ScQueryOp {
  SC_EQUAL ,
  SC_LESS ,
  SC_GREATER ,
  SC_LESS_EQUAL ,
  SC_GREATER_EQUAL ,
  SC_NOT_EQUAL ,
  SC_TOPVAL ,
  SC_BOTVAL ,
  SC_TOPPERC ,
  SC_BOTPERC ,
  SC_CONTAINS ,
  SC_DOES_NOT_CONTAIN ,
  SC_BEGINS_WITH ,
  SC_DOES_NOT_BEGIN_WITH ,
  SC_ENDS_WITH ,
  SC_DOES_NOT_END_WITH
}
 
enum  ScQueryConnect {
  SC_AND ,
  SC_OR
}
 
enum  ScSubTotalFunc {
  SUBTOTAL_FUNC_NONE = 0 ,
  SUBTOTAL_FUNC_AVE = 1 ,
  SUBTOTAL_FUNC_CNT = 2 ,
  SUBTOTAL_FUNC_CNT2 = 3 ,
  SUBTOTAL_FUNC_MAX = 4 ,
  SUBTOTAL_FUNC_MIN = 5 ,
  SUBTOTAL_FUNC_PROD = 6 ,
  SUBTOTAL_FUNC_STD = 7 ,
  SUBTOTAL_FUNC_STDP = 8 ,
  SUBTOTAL_FUNC_SUM = 9 ,
  SUBTOTAL_FUNC_VAR = 10 ,
  SUBTOTAL_FUNC_VARP = 11 ,
  SUBTOTAL_FUNC_MED = 12 ,
  SUBTOTAL_FUNC_SELECTION_COUNT = 13
}
 
enum  ScAggregateFunc {
  AGGREGATE_FUNC_AVE = 1 ,
  AGGREGATE_FUNC_CNT = 2 ,
  AGGREGATE_FUNC_CNT2 = 3 ,
  AGGREGATE_FUNC_MAX = 4 ,
  AGGREGATE_FUNC_MIN = 5 ,
  AGGREGATE_FUNC_PROD = 6 ,
  AGGREGATE_FUNC_STD = 7 ,
  AGGREGATE_FUNC_STDP = 8 ,
  AGGREGATE_FUNC_SUM = 9 ,
  AGGREGATE_FUNC_VAR = 10 ,
  AGGREGATE_FUNC_VARP = 11 ,
  AGGREGATE_FUNC_MEDIAN = 12 ,
  AGGREGATE_FUNC_MODSNGL = 13 ,
  AGGREGATE_FUNC_LARGE = 14 ,
  AGGREGATE_FUNC_SMALL = 15 ,
  AGGREGATE_FUNC_PERCINC = 16 ,
  AGGREGATE_FUNC_QRTINC = 17 ,
  AGGREGATE_FUNC_PERCEXC = 18 ,
  AGGREGATE_FUNC_QRTEXC = 19
}
 

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)
 

Variables

constexpr OUStringLiteral STRING_SCAPP = u"scalc"
 
constexpr OUStringLiteral STRING_STANDARD = u"Standard"
 
constexpr OUStringLiteral SC_TEXT_CSV_FILTER_NAME = u"Text - txt - csv (StarCalc)"
 
const sal_Unicode CHAR_NBSP = 0x00A0
 
const sal_Unicode CHAR_SHY = 0x00AD
 
const sal_Unicode CHAR_ZWSP = 0x200B
 
const sal_Unicode CHAR_LRM = 0x200E
 
const sal_Unicode CHAR_RLM = 0x200F
 
const sal_Unicode CHAR_NBHY = 0x2011
 
const sal_Unicode CHAR_WJ = 0x2060
 
const sal_Unicode CHAR_NNBSP = 0x202F
 
const sal_uInt16 MINZOOM = 20
 
const sal_uInt16 MAXZOOM = 400
 
const SCSIZE MAXSUBTOTAL = 3
 
constexpr auto TWIPS_PER_CHAR = o3tl::toTwips(1 / 13.6, o3tl::Length::in)
 
constexpr sal_Int32 STD_COL_WIDTH = o3tl::convert(64, o3tl::Length::pt, o3tl::Length::twip)
 
constexpr sal_Int32 STD_EXTRA_WIDTH = o3tl::convert(2, o3tl::Length::mm, o3tl::Length::twip)
 
constexpr sal_Int32 MAX_EXTRA_WIDTH = o3tl::convert(42, o3tl::Length::cm, o3tl::Length::twip)
 
constexpr sal_Int32 MAX_EXTRA_HEIGHT = o3tl::convert(42, o3tl::Length::cm, o3tl::Length::twip)
 
constexpr sal_Int32 MAX_COL_WIDTH = o3tl::convert(1, o3tl::Length::m, o3tl::Length::twip)
 
constexpr sal_Int32 MAX_ROW_HEIGHT = o3tl::convert(1, o3tl::Length::m, o3tl::Length::twip)
 
constexpr sal_Unicode cParenthesesReplacement = 0x0001
 
SfxViewShellpScActiveViewShell
 
sal_uInt16 nScClickMouseModifier
 
sal_uInt16 nScFillModeMouseModifier
 

Macro Definition Documentation

◆ MAXDOUBLE

#define MAXDOUBLE   1.7e307

Definition at line 77 of file global.hxx.

◆ MINDOUBLE

#define MINDOUBLE   1.7e-307

Definition at line 76 of file global.hxx.

◆ OLE_STD_CELLS_X

#define OLE_STD_CELLS_X   4

Definition at line 104 of file global.hxx.

◆ OLE_STD_CELLS_Y

#define OLE_STD_CELLS_Y   5

Definition at line 105 of file global.hxx.

◆ SC_COLLATOR_IGNORES

#define SC_COLLATOR_IGNORES   css::i18n::CollatorOptions::CollatorOptions_IGNORE_CASE

Definition at line 52 of file global.hxx.

◆ SC_INDENT_STEP

#define SC_INDENT_STEP   200

Definition at line 224 of file global.hxx.

◆ STD_ROWHEIGHT_DIFF

#define STD_ROWHEIGHT_DIFF   23

Definition at line 96 of file global.hxx.

Enumeration Type Documentation

◆ CellType

enum CellType
Enumerator
CELLTYPE_NONE 
CELLTYPE_VALUE 
CELLTYPE_STRING 
CELLTYPE_FORMULA 
CELLTYPE_EDIT 

Definition at line 271 of file global.hxx.

◆ CRFlags

enum class CRFlags : sal_uInt8
strong
Enumerator
NONE 
Hidden 
ManualBreak 
Filtered 
ManualSize 
All 

Definition at line 125 of file global.hxx.

◆ DelCellCmd

enum class DelCellCmd
strong
Enumerator
CellsUp 
CellsLeft 
Rows 
Cols 
NONE 

Definition at line 280 of file global.hxx.

◆ FillCmd

enum FillCmd
Enumerator
FILL_SIMPLE 
FILL_LINEAR 
FILL_GROWTH 
FILL_DATE 
FILL_AUTO 

Definition at line 316 of file global.hxx.

◆ FillDateCmd

Enumerator
FILL_DAY 
FILL_WEEKDAY 
FILL_MONTH 
FILL_END_OF_MONTH 
FILL_YEAR 

Definition at line 333 of file global.hxx.

◆ FillDir

enum FillDir
Enumerator
FILL_TO_BOTTOM 
FILL_TO_RIGHT 
FILL_TO_TOP 
FILL_TO_LEFT 

Definition at line 308 of file global.hxx.

◆ HasAttrFlags

enum class HasAttrFlags
strong
Enumerator
NONE 
Lines 
Merged 
Overlapped 
Protected 
Shadow 
NeedHeight 
ShadowRight 
ShadowDown 
AutoFilter 
Conditional 
Rotate 
NotOverlapped 
RightOrCenter 

Definition at line 185 of file global.hxx.

◆ InsCellCmd

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.

◆ InsertDeleteFlags

enum class InsertDeleteFlags : sal_uInt16
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.

◆ PaintPartFlags

enum class PaintPartFlags
strong
Enumerator
NONE 
Grid 
Top 
Left 
Extras 
Marks 
Objects 
Size 
All 

Definition at line 109 of file global.hxx.

◆ ScAggregateFunc

Enumerator
AGGREGATE_FUNC_AVE 
AGGREGATE_FUNC_CNT 
AGGREGATE_FUNC_CNT2 
AGGREGATE_FUNC_MAX 
AGGREGATE_FUNC_MIN 
AGGREGATE_FUNC_PROD 
AGGREGATE_FUNC_STD 
AGGREGATE_FUNC_STDP 
AGGREGATE_FUNC_SUM 
AGGREGATE_FUNC_VAR 
AGGREGATE_FUNC_VARP 
AGGREGATE_FUNC_MEDIAN 
AGGREGATE_FUNC_MODSNGL 
AGGREGATE_FUNC_LARGE 
AGGREGATE_FUNC_SMALL 
AGGREGATE_FUNC_PERCINC 
AGGREGATE_FUNC_QRTINC 
AGGREGATE_FUNC_PERCEXC 
AGGREGATE_FUNC_QRTEXC 

Definition at line 877 of file global.hxx.

◆ ScAnchorType

Enumerator
SCA_CELL 
SCA_CELL_RESIZE 
SCA_PAGE 
SCA_DONTKNOW 

Definition at line 373 of file global.hxx.

◆ ScBreakType

enum class ScBreakType
strong
Enumerator
NONE 
Page 
Manual 

Definition at line 139 of file global.hxx.

◆ ScCloneFlags

enum class ScCloneFlags
strong
Enumerator
Default 

Default cell clone flags: do not start listening, do not adjust 3D refs to old position, clone note captions of cell notes.

StartListening 

If set, cloned formula cells will start to listen to the document.

NoMakeAbsExternal 

If set, absolute refs will not transformed to external references.

NamesToLocal 

If set, global named expressions will be converted to sheet-local named expressions.

Definition at line 251 of file global.hxx.

◆ ScDBObject

enum ScDBObject
Enumerator
ScDbTable 
ScDbQuery 

Definition at line 418 of file global.hxx.

◆ ScDirection

Enumerator
DIR_BOTTOM 
DIR_RIGHT 
DIR_TOP 
DIR_LEFT 

Definition at line 342 of file global.hxx.

◆ ScEnterMode

enum class ScEnterMode
strong
Enumerator
NORMAL 
BLOCK 
MATRIX 

Definition at line 219 of file global.hxx.

◆ ScGetDBMode

Enumerator
SC_DB_MAKE 

create "untitled" (if necessary)

SC_DB_AUTOFILTER 

force use of sheet-local instead of document global anonymous range

SC_DB_IMPORT 

create "Importx" (if necessary)

SC_DB_OLD 

don't create

Definition at line 381 of file global.hxx.

◆ ScGetDBSelection

enum class ScGetDBSelection
strong

For ScDBFunc::GetDBData()

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.

◆ ScInputMode

Enumerator
SC_INPUT_NONE 
SC_INPUT_TYPE 
SC_INPUT_TABLE 
SC_INPUT_TOP 

Definition at line 359 of file global.hxx.

◆ ScLinkMode

enum class ScLinkMode
strong
Enumerator
NONE 
NORMAL 
VALUE 

Definition at line 215 of file global.hxx.

◆ ScLkUpdMode

Enumerator
LM_ALWAYS 
LM_NEVER 
LM_ON_DEMAND 
LM_UNKNOWN 

Definition at line 409 of file global.hxx.

◆ ScMoveDirection

Enumerator
SC_MOVE_RIGHT 
SC_MOVE_LEFT 
SC_MOVE_UP 
SC_MOVE_DOWN 

Definition at line 325 of file global.hxx.

◆ ScPasteFunc

enum class ScPasteFunc
strong
Enumerator
NONE 
ADD 
SUB 
MUL 
DIV 

Definition at line 181 of file global.hxx.

◆ ScQueryConnect

Enumerator
SC_AND 
SC_OR 

Definition at line 853 of file global.hxx.

◆ ScQueryOp

enum ScQueryOp
Enumerator
SC_EQUAL 
SC_LESS 
SC_GREATER 
SC_LESS_EQUAL 
SC_GREATER_EQUAL 
SC_NOT_EQUAL 
SC_TOPVAL 
SC_BOTVAL 
SC_TOPPERC 
SC_BOTPERC 
SC_CONTAINS 
SC_DOES_NOT_CONTAIN 
SC_BEGINS_WITH 
SC_DOES_NOT_BEGIN_WITH 
SC_ENDS_WITH 
SC_DOES_NOT_END_WITH 

Definition at line 833 of file global.hxx.

◆ ScScenarioFlags

enum class ScScenarioFlags
strong
Enumerator
NONE 
CopyAll 
ShowFrame 
PrintFrame 
TwoWay 
Attrib 
Value 
Protected 

Definition at line 226 of file global.hxx.

◆ ScSizeMode

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.

◆ ScSubTotalFunc

Enumerator
SUBTOTAL_FUNC_NONE 
SUBTOTAL_FUNC_AVE 
SUBTOTAL_FUNC_CNT 
SUBTOTAL_FUNC_CNT2 
SUBTOTAL_FUNC_MAX 
SUBTOTAL_FUNC_MIN 
SUBTOTAL_FUNC_PROD 
SUBTOTAL_FUNC_STD 
SUBTOTAL_FUNC_STDP 
SUBTOTAL_FUNC_SUM 
SUBTOTAL_FUNC_VAR 
SUBTOTAL_FUNC_VARP 
SUBTOTAL_FUNC_MED 
SUBTOTAL_FUNC_SELECTION_COUNT 

Definition at line 859 of file global.hxx.

◆ ScVObjMode

enum ScVObjMode
Enumerator
VOBJ_MODE_SHOW 
VOBJ_MODE_HIDE 

Definition at line 367 of file global.hxx.

◆ SubtotalFlags

enum class SubtotalFlags
strong
Enumerator
NONE 
IgnoreNestedStAg 
IgnoreErrVal 
IgnoreHidden 
IgnoreFiltered 

Definition at line 240 of file global.hxx.

◆ UpdateRefMode

Enumerator
URM_INSDEL 
URM_COPY 
URM_MOVE 
URM_REORDER 

Definition at line 300 of file global.hxx.

Function Documentation

◆ SC_LAYER_BACK()

constexpr SdrLayerID SC_LAYER_BACK ( )
constexpr

◆ SC_LAYER_CONTROLS()

constexpr SdrLayerID SC_LAYER_CONTROLS ( )
constexpr

◆ SC_LAYER_FRONT()

constexpr SdrLayerID SC_LAYER_FRONT ( )
constexpr

◆ SC_LAYER_HIDDEN()

constexpr SdrLayerID SC_LAYER_HIDDEN ( )
constexpr

◆ SC_LAYER_INTERN()

constexpr SdrLayerID SC_LAYER_INTERN ( )
constexpr

Variable Documentation

◆ CHAR_LRM

const sal_Unicode CHAR_LRM = 0x200E

Definition at line 70 of file global.hxx.

Referenced by ScEditShell::Execute(), and ScDrawStringsVars::HasEditCharacters().

◆ CHAR_NBHY

const sal_Unicode CHAR_NBHY = 0x2011

Definition at line 72 of file global.hxx.

Referenced by ScEditShell::Execute(), and ScDrawStringsVars::HasEditCharacters().

◆ CHAR_NBSP

const sal_Unicode CHAR_NBSP = 0x00A0

Definition at line 67 of file global.hxx.

Referenced by ScEditShell::Execute(), and ScDrawStringsVars::HasEditCharacters().

◆ CHAR_NNBSP

const sal_Unicode CHAR_NNBSP = 0x202F

Definition at line 74 of file global.hxx.

Referenced by ScEditShell::Execute().

◆ CHAR_RLM

const sal_Unicode CHAR_RLM = 0x200F

Definition at line 71 of file global.hxx.

Referenced by ScEditShell::Execute(), and ScDrawStringsVars::HasEditCharacters().

◆ CHAR_SHY

const sal_Unicode CHAR_SHY = 0x00AD

Definition at line 68 of file global.hxx.

Referenced by ScEditShell::Execute(), and ScDrawStringsVars::HasEditCharacters().

◆ CHAR_WJ

const sal_Unicode CHAR_WJ = 0x2060

Definition at line 73 of file global.hxx.

Referenced by ScEditShell::Execute(), and ScDrawStringsVars::HasEditCharacters().

◆ CHAR_ZWSP

const sal_Unicode CHAR_ZWSP = 0x200B

Definition at line 69 of file global.hxx.

Referenced by ScEditShell::Execute(), and ScDrawStringsVars::HasEditCharacters().

◆ cParenthesesReplacement

constexpr sal_Unicode cParenthesesReplacement = 0x0001
constexpr

◆ MAX_COL_WIDTH

constexpr sal_Int32 MAX_COL_WIDTH = o3tl::convert(1, o3tl::Length::m, o3tl::Length::twip)
constexpr

Definition at line 92 of file global.hxx.

Referenced by ScCellShell::Execute(), and ScViewFunc::ModifyCellSize().

◆ MAX_EXTRA_HEIGHT

constexpr sal_Int32 MAX_EXTRA_HEIGHT = o3tl::convert(42, o3tl::Length::cm, o3tl::Length::twip)
constexpr

Definition at line 91 of file global.hxx.

Referenced by ScCellShell::Execute().

◆ MAX_EXTRA_WIDTH

constexpr sal_Int32 MAX_EXTRA_WIDTH = o3tl::convert(42, o3tl::Length::cm, o3tl::Length::twip)
constexpr

Definition at line 90 of file global.hxx.

Referenced by ScCellShell::Execute().

◆ MAX_ROW_HEIGHT

constexpr sal_Int32 MAX_ROW_HEIGHT = o3tl::convert(1, o3tl::Length::m, o3tl::Length::twip)
constexpr

Definition at line 93 of file global.hxx.

Referenced by ScCellShell::Execute(), and ScViewFunc::ModifyCellSize().

◆ MAXSUBTOTAL

const SCSIZE MAXSUBTOTAL = 3

◆ MAXZOOM

const sal_uInt16 MAXZOOM = 400

◆ MINZOOM

const sal_uInt16 MINZOOM = 20

◆ nScClickMouseModifier

sal_uInt16 nScClickMouseModifier
extern

◆ nScFillModeMouseModifier

sal_uInt16 nScFillModeMouseModifier
extern

◆ pScActiveViewShell

SfxViewShell* pScActiveViewShell
extern

◆ SC_TEXT_CSV_FILTER_NAME

constexpr OUStringLiteral SC_TEXT_CSV_FILTER_NAME = u"Text - txt - csv (StarCalc)"
inlineconstexpr

◆ STD_COL_WIDTH

constexpr sal_Int32 STD_COL_WIDTH = o3tl::convert(64, o3tl::Length::pt, o3tl::Length::twip)
constexpr

◆ STD_EXTRA_WIDTH

constexpr sal_Int32 STD_EXTRA_WIDTH = o3tl::convert(2, o3tl::Length::mm, o3tl::Length::twip)
constexpr

◆ STRING_SCAPP

constexpr OUStringLiteral STRING_SCAPP = u"scalc"
inlineconstexpr

Definition at line 58 of file global.hxx.

Referenced by ScViewFunc::MoveTable(), and ScDocumentLoader::RemoveAppPrefix().

◆ STRING_STANDARD

constexpr OUStringLiteral STRING_STANDARD = u"Standard"
inlineconstexpr

◆ TWIPS_PER_CHAR

constexpr auto TWIPS_PER_CHAR = o3tl::toTwips(1 / 13.6, o3tl::Length::in)
constexpr

Definition at line 85 of file global.hxx.

Referenced by ImportLotus::Columnwidth(), OP_ColumnWidth(), and OP_Window1().