LibreOffice Module sc (master) 1
Namespaces | Classes | Typedefs | Enumerations | Functions | Variables
sc Namespace Reference

CAUTION! The following defines must be in the same namespace as the respective type. More...

Namespaces

namespace  datastreams
 
namespace  op
 
namespace  opencl
 
namespace  sidebar
 
namespace  tools
 

Classes

class  AggregateFunction
 
class  AlignedAllocator
 Custom allocator for STL container to ensure that the base address of allocated storage is aligned to a specified boundary. More...
 
struct  AreaListener
 
class  AutoCalcSwitch
 Temporarily switch on/off auto calculation mode. More...
 
class  BulkDataHint
 
class  CellStoreEvent
 
struct  CellStoreTrait
 
struct  CellTextAttr
 
class  CellValues
 Think of this as a mini-ScColumn like storage that only stores cell values in a column. More...
 
struct  CellValuesImpl
 
struct  CellValueSpan
 
class  ClipContextBase
 
class  ColRowReorderMapType
 
struct  ColRowSpan
 
struct  ColumnBlockConstPosition
 
struct  ColumnBlockPosition
 Store position data for column array storage. More...
 
class  ColumnBlockPositionSet
 
class  ColumnIterator
 This iterator lets you iterate over cells over specified range in a single column. More...
 
class  ColumnRemoveTransformation
 
class  ColumnSet
 Simple container to keep track of sheet - column pair. More...
 
class  ColumnSpanSet
 Structure that stores segments of boolean flags per column, and perform custom action on those segments. More...
 
struct  Compare
 
struct  CompareOptions
 
class  CompiledFormula
 Abstract base class for a "compiled" formula. More...
 
class  CompileFormulaContext
 
class  CopyFromClipContext
 
class  CopyToClipContext
 
class  CopyToDocContext
 
class  CSVDataProvider
 
class  CSVFetchThread
 
class  DataProvider
 Abstract class for all data provider. More...
 
class  DataProviderFactory
 
class  DataStream
 
class  DataStreamDlg
 
class  DataTransformation
 
class  DateTimeTransformation
 
class  DelayDeletingBroadcasters
 Wrapper for ScDocument::EnableDelayDeletingBroadcasters() More...
 
class  DelayFormulaGroupingSwitch
 Wrapper for ScDocument::DelayFormulaGrouping() More...
 
class  DelayStartListeningFormulaCells
 Wrapper for ScDocument::EnableDelayStartListeningFormulaCells() More...
 
class  DeleteRowTransformation
 
class  DocFuncUtil
 
class  DocumentLinkManager
 
struct  DocumentLinkManagerImpl
 
class  DocumentStreamAccess
 Provides methods to allow direct shifting of document content without broadcasting or shifting of broadcaster positions. More...
 
struct  DocumentStreamAccessImpl
 
class  EditTextIterator
 Iterate through all edit text cells in a given sheet. More...
 
class  EndListeningContext
 
class  ExpandRefsSwitch
 
class  ExternalDataMapper
 
class  ExternalDataSource
 
class  FindReplaceTransformation
 
class  FormulaGroupAreaListener
 
struct  FormulaGroupContext
 
struct  FormulaGroupEntry
 
class  FormulaGroupInterpreter
 Abstract base class for vectorised formula group interpreters, plus a global instance factory. More...
 
class  FormulaLogger
 Dummy class with all empty inline methods. More...
 
struct  FormulaResultValue
 
struct  FuncElseNoOp
 
struct  FuncNotElem
 
class  HTMLDataProvider
 
class  HTMLFetchThread
 
class  IdleSwitch
 
struct  ImportPostProcessData
 Stores data imported from the file that need to be processed at the end of the import process. More...
 
class  MergeColumnTransformation
 
class  MixDocContext
 
struct  MultiDataCellState
 
struct  NoteEntry
 
class  NumberTransformation
 
class  NumFmtUtil
 
struct  ParamIfsResult
 
class  PivotTableDataProvider
 
class  PivotTableDataSequence
 
class  PivotTableDataSource
 
struct  PivotTableSources
 Store pivot table data that need to be post-processed at the end of the import. More...
 
class  PrintPageRanges
 
struct  PrintPageRangesInput
 
class  PurgeListenerAction
 
class  QueryRange
 
class  RangeColumnSpanSet
 Optimized ColumnSpanSet version that operates on a single ScRange. More...
 
struct  RangeMatrix
 
class  RangeTraverser
 Iterator to traverse the addresses in a range if the range is one dimensional. More...
 
class  RefColReorderHint
 
class  RefHint
 
class  RefQueryFormulaGroup
 Used to collect positions of formula cells that belong to a formula group. More...
 
class  RefRowReorderHint
 
class  RefStartListeningHint
 
class  RefStopListeningHint
 
struct  RefUpdateContext
 Context for reference update during shifting, moving or copying of cell ranges. More...
 
struct  RefUpdateDeleteTabContext
 
struct  RefUpdateInsertTabContext
 
struct  RefUpdateMoveTabContext
 
struct  RefUpdateResult
 
struct  ReorderParam
 
class  ReplaceNullTransformation
 
class  RowHeightContext
 
struct  RowSpan
 
class  ScDBDataManager
 This class handles the copying of the data from the imported temporary document to the actual document. More...
 
class  ScNumberFormatControl
 
class  SearchResultsDlg
 
class  SearchResultsDlgWrapper
 
struct  SetFormulaDirtyContext
 
class  SharedFormulaGroupEntry
 
class  SharedFormulaGroups
 
class  SharedFormulaUtil
 
class  SharedStringPoolPurge
 
class  SingleColumnSpanSet
 Keep track of spans in a single column only. More...
 
class  SortTransformation
 
class  Sparkline
 Sparkline data, used for rendering the content of a cell. More...
 
class  SparklineAttributes
 Common properties for a group of sparklines. More...
 
class  SparklineCell
 Holder of a sparkline, that is connected to a cell specific. More...
 
struct  SparklineData
 Data defining a sparkline - input data and output position. More...
 
class  SparklineDataRangeDialog
 Dialog to change input data range for a sparkline
More...
 
class  SparklineDataRangeDialogWrapper
 Wrapper for the sparkline data range dialog. More...
 
class  SparklineDialog
 Dialog to create or edit sparkline group attributes. More...
 
class  SparklineDialogWrapper
 Wrapper for the sparkline properties dialog. More...
 
class  SparklineGroup
 Common properties for a group of sparklines. More...
 
class  SparklineGroupsExport
 Handle the export of sparkline groups and sparklines. More...
 
class  SparklineGroupsImportContext
 Handle the import of sparkline groups and sparklines. More...
 
struct  SparklineImportData
 Transitional import data of a sparkline. More...
 
class  SparklineList
 Tracks and gathers all created sparklines and sparkline groups. More...
 
struct  SparklineMarker
 Contains the marker polygon and the color of a marker. More...
 
class  SparklineRenderer
 Render a provided sparkline into the input rectangle. More...
 
class  SparklineShell
 Shell to handle the sparkline context. More...
 
struct  SparklineUndoData
 Previous sparkline group data, which is restored at undo ungroupping. More...
 
struct  SparklineValue
 Sparkline value and action that needs to me performed on the value. More...
 
class  SparklineValues
 Contains and manages the values of the sparkline. More...
 
class  SpellCheckContext
 Class shared between grid windows to cache spelling results. More...
 
class  SplitColumnTransformation
 
class  SQLDataProvider
 
class  SQLFetchThread
 
class  StartListeningContext
 
class  SwapRowsTransformation
 
class  TableColumnBlockPositionSet
 Set of column block positions only for one table. More...
 
class  TablePivotChart
 
class  TablePivotCharts
 
class  TableValues
 Stores cell values for multiple tables. More...
 
class  TextTransformation
 
struct  TokenStringContext
 Context for creating string from an array of formula tokens, used in ScTokenArray::CreateString(). More...
 
class  UndoDeleteSparkline
 Undo action for deleting a Sparkline. More...
 
class  UndoDeleteSparklineGroup
 Undo action for deleting a sparkline group and all associated sparklines. More...
 
class  UndoEditSparkline
 Undo action for editing a Sparkline. More...
 
class  UndoEditSparklneGroup
 Undo action for editing a Sparkline. More...
 
class  UndoFormulaToValue
 
class  UndoGroupSparklines
 Undo action for grouping sparklines. More...
 
struct  UndoGroupSparklinesData
 Previous sparkline group data, which is restored at Undo grouping. More...
 
class  UndoInsertSparkline
 Undo action for inserting a Sparkline. More...
 
class  UndoSetCells
 
class  UndoSort
 
class  UndoSwitch
 
class  UndoUngroupSparklines
 Undo action for ungrouping sparklines. More...
 
class  UpdatedRangeNames
 Keep track of all named expressions that have been updated during reference update. More...
 
struct  ValueAndFormat
 
class  XMLDataProvider
 
class  XMLFetchThread
 

Typedefs

typedef std::vector< std::unique_ptr< CellValues > > TableType
 
typedef std::vector< std::unique_ptr< TableType > > TablesType
 
typedef std::map< OUString, BitmapExIconSetBitmapMap
 
typedef mdds::mtv::noncopyable_managed_element_block< element_type_sparkline, sc::SparklineCellsparkline_block
 Custom element blocks. More...
 
typedef mdds::mtv::noncopyable_managed_element_block< element_type_cellnote, ScPostItcellnote_block
 
typedef mdds::mtv::noncopyable_managed_element_block< element_type_broadcaster, SvtBroadcasterbroadcaster_block
 
typedef mdds::mtv::default_element_block< element_type_celltextattr, CellTextAttrcelltextattr_block
 
typedef mdds::mtv::default_element_block< element_type_string, svl::SharedStringstring_block
 
typedef mdds::mtv::noncopyable_managed_element_block< element_type_edittext, EditTextObjectedittext_block
 
typedef mdds::mtv::noncopyable_managed_element_block< element_type_formula, ScFormulaCellformula_block
 
typedef mdds::mtv::double_element_block numeric_block
 Mapped standard element blocks (for convenience). More...
 
typedef mdds::mtv::uint16_element_block uint16_block
 
typedef mdds::mtv::custom_block_func1< sc::sparkline_blockCSparklineFunction
 Sparkline container. More...
 
typedef mdds::mtv::soa::multi_type_vector< CSparklineFunctionSparklineStoreType
 
typedef mdds::mtv::custom_block_func1< sc::cellnote_blockCNoteFunc
 Cell note container. More...
 
typedef mdds::mtv::soa::multi_type_vector< CNoteFuncCellNoteStoreType
 
typedef mdds::mtv::custom_block_func1< sc::broadcaster_blockBCBlkFunc
 Broadcaster storage container. More...
 
typedef mdds::mtv::soa::multi_type_vector< BCBlkFuncBroadcasterStoreType
 
typedef mdds::mtv::custom_block_func1< sc::celltextattr_blockCTAttrFunc
 Cell text attribute container. More...
 
typedef mdds::mtv::soa::multi_type_vector< CTAttrFuncCellTextAttrStoreType
 
typedef mdds::mtv::custom_block_func3< sc::string_block, sc::edittext_block, sc::formula_blockCellFunc
 Cell container. More...
 
typedef mdds::mtv::soa::multi_type_vector< CellFunc, CellStoreTraitCellStoreType
 
typedef cppu::WeakImplHelper< css::chart2::data::XDataProvider, css::chart2::data::XPivotTableDataProvider, css::beans::XPropertySet, css::lang::XServiceInfo, css::util::XModifyBroadcaster > PivotTableDataProvider_Base
 
typedef cppu::WeakImplHelper< css::chart2::data::XDataSequence, css::chart2::data::XTextualDataSequence, css::chart2::data::XNumericalDataSequence, css::util::XCloneable, css::util::XModifyBroadcaster, css::beans::XPropertySet, css::lang::XServiceInfo > PivotTableDataSequence_Base
 
typedef cppu::WeakImplHelper< css::chart2::data::XDataSource, css::lang::XServiceInfo > PivotTableDataSource_Base
 
typedef comphelper::WeakComponentImplHelper< css::table::XTablePivotChart, css::document::XEmbeddedObjectSupplier, css::container::XNamed, css::lang::XServiceInfo > TablePivotChart_Base
 
typedef cppu::WeakImplHelper< css::table::XTablePivotCharts, css::container::XIndexAccess, css::lang::XServiceInfo > TablePivotCharts_Base
 

Enumerations

enum class  TransformationType {
  MERGE_TRANSFORMATION ,
  SPLIT_TRANSFORMATION ,
  DELETE_TRANSFORMATION ,
  SORT_TRANSFORMATION ,
  TEXT_TRANSFORMATION ,
  AGGREGATE_FUNCTION ,
  NUMBER_TRANSFORMATION ,
  REMOVE_NULL_TRANSFORMATION ,
  DATETIME_TRANSFORMATION ,
  FINDREPLACE_TRANSFORMATION ,
  DELETEROW_TRANSFORMATION ,
  SWAPROWS_TRANSFORMATION
}
 
enum class  TEXT_TRANSFORM_TYPE {
  TO_LOWER ,
  TO_UPPER ,
  CAPITALIZE ,
  TRIM
}
 
enum class  AGGREGATE_FUNCTION {
  SUM ,
  AVERAGE ,
  MIN ,
  MAX
}
 
enum class  NUMBER_TRANSFORM_TYPE {
  ROUND ,
  ROUND_UP ,
  ROUND_DOWN ,
  ABSOLUTE ,
  LOG_E ,
  LOG_10 ,
  CUBE ,
  SQUARE ,
  SQUARE_ROOT ,
  EXPONENT ,
  IS_EVEN ,
  IS_ODD ,
  SIGN
}
 
enum class  DATETIME_TRANSFORMATION_TYPE {
  DATE_STRING ,
  YEAR ,
  START_OF_YEAR ,
  END_OF_YEAR ,
  MONTH ,
  MONTH_NAME ,
  START_OF_MONTH ,
  END_OF_MONTH ,
  DAY ,
  DAY_OF_WEEK ,
  DAY_OF_YEAR ,
  QUARTER ,
  START_OF_QUARTER ,
  END_OF_QUARTER ,
  TIME ,
  HOUR ,
  MINUTE ,
  SECOND
}
 
enum class  DebugTime {
  Import ,
  Recalc ,
  Render ,
  LAST = Render
}
 
enum class  ColRowEditAction {
  Unknown ,
  InsertColumnsBefore ,
  InsertColumnsAfter ,
  InsertRowsBefore ,
  InsertRowsAfter ,
  DeleteColumns ,
  DeleteRows
}
 
enum class  ValueType {
  Empty ,
  String ,
  Numeric
}
 
enum class  SparklineType {
  Line ,
  Column ,
  Stacked
}
 Supported sparkline types. More...
 
enum class  AxisType {
  Individual ,
  Group ,
  Custom
}
 The method of calculating the axis min or max value. More...
 
enum class  DisplayEmptyCellsAs {
  Span ,
  Gap ,
  Zero
}
 Determines how to display the empty cells. More...
 
enum class  RangeOrientation {
  Unknown ,
  Row ,
  Col
}
 
enum class  MatrixEdge {
  Nothing = 0 ,
  Inside = 1 ,
  Bottom = 2 ,
  Left = 4 ,
  Top = 8 ,
  Right = 16 ,
  Open = 32
}
 
enum  GroupCalcState {
  GroupCalcDisabled = 0 ,
  GroupCalcEnabled ,
  GroupCalcRunning
}
 
enum class  AreaOverlapType {
  Inside ,
  InsideOrOverlap ,
  OneRowInside ,
  OneColumnInside
}
 
enum class  ListenerGroupType {
  Group ,
  Both
}
 
enum  StartListeningType {
  ConvertToGroupListening ,
  SingleCellListening ,
  NoListening
}
 

Functions

CellStoreType::iterator ProcessFormula (const CellStoreType::iterator &it, CellStoreType &rStore, SCROW nRow1, SCROW nRow2, std::function< void(size_t, ScFormulaCell *)> aFuncElem)
 Process formula cells found within specified row range. More...
 
ScRefCellValue toRefCell (const sc::CellStoreType::const_iterator &itPos, size_t nOffset)
 
template<typename charT , typename traits >
std::basic_ostream< charT, traits > & operator<< (std::basic_ostream< charT, traits > &stream, const ParamIfsResult &rRes)
 
double CompareFunc (const Compare &rComp, CompareOptions *pOptions)
 
double CompareFunc (const Compare::Cell &rCell1, double fCell2, const CompareOptions *pOptions)
 
double CompareFunc (double fCell1, double fCell2)
 
double CompareEmptyToNumericFunc (double fCell2)
 Left cell is empty while the right cell is numeric. More...
 
static double err_pow (const double &fVal1, const double &fVal2)
 
double power (const double &fVal1, const double &fVal2)
 Return pow(fVal1,fVal2) with error handling. More...
 
 IMPL_LINK_NOARG (SharedStringPoolPurge, timerHandler, Timer *, void)
 
 IMPL_LINK (SearchResultsDlg, HeaderBarClick, int, nColumn, void)
 
 IMPL_LINK_NOARG (SearchResultsDlg, ListSelectHdl, weld::TreeView &, void)
 
 IMPL_STATIC_LINK (SearchResultsDlg, OnShowToggled, weld::Toggleable &, rButton, void)
 
 SFX_IMPL_CHILDWINDOW_WITHID (SearchResultsDlgWrapper, SID_SEARCH_RESULTS_DIALOG)
 
 IMPL_LINK (SparklineDataRangeDialog, EditFocusHandler, formula::RefEdit &, rEdit, void)
 
 IMPL_LINK (SparklineDataRangeDialog, ButtonFocusHandler, formula::RefButton &, rButton, void)
 
 IMPL_LINK_NOARG (SparklineDataRangeDialog, LoseEditFocusHandler, formula::RefEdit &, void)
 
 IMPL_LINK_NOARG (SparklineDataRangeDialog, LoseButtonFocusHandler, formula::RefButton &, void)
 
 IMPL_LINK_NOARG (SparklineDataRangeDialog, RefInputModifyHandler, formula::RefEdit &, void)
 
 IMPL_LINK (SparklineDataRangeDialog, ButtonClicked, weld::Button &, rButton, void)
 
 IMPL_LINK (SparklineDialog, EditFocusHandler, formula::RefEdit &, rEdit, void)
 
 IMPL_LINK (SparklineDialog, ButtonFocusHandler, formula::RefButton &, rButton, void)
 
 IMPL_LINK_NOARG (SparklineDialog, LoseEditFocusHandler, formula::RefEdit &, void)
 
 IMPL_LINK_NOARG (SparklineDialog, LoseButtonFocusHandler, formula::RefButton &, void)
 
 IMPL_LINK_NOARG (SparklineDialog, RefInputModifyHandler, formula::RefEdit &, void)
 
 IMPL_LINK (SparklineDialog, ButtonClicked, weld::Button &, rButton, void)
 
 IMPL_LINK (SparklineDialog, ToggleHandler, weld::Toggleable &, rToggle, void)
 
 IMPL_LINK_NOARG (SparklineDialog, SelectSparklineType, weld::ComboBox &, void)
 
 IMPL_LINK_NOARG (SparklineDialog, SpinLineWidthChanged, weld::SpinButton &, void)
 
 IMPL_LINK (SparklineDialog, SpinCustomChanged, weld::FormattedSpinButton &, rFormatted, void)
 
 IMPL_LINK (SparklineDialog, ComboValueChanged, weld::ComboBox &, rComboBox, void)
 
double datastream_get_time (DebugTime nIdx)
 
 IMPL_LINK_NOARG (DataStream, ImportTimerHdl, Timer *, void)
 
 IMPL_LINK_NOARG (DataStreamDlg, BrowseHdl, weld::Button &, void)
 
 IMPL_LINK_NOARG (DataStreamDlg, UpdateClickHdl, weld::Toggleable &, void)
 
 IMPL_LINK_NOARG (DataStreamDlg, UpdateComboBoxHdl, weld::ComboBox &, void)
 
 IMPL_LINK_NOARG (DataStreamDlg, UpdateHdl, weld::Entry &, void)
 
RangeOrientation calculateOrientation (sal_Int32 nOutputSize, ScRange const &rInputRange)
 Determine the sparkline group orientation for the input data the output size. More...
 
static o3tl::span< const SfxItemPropertyMapEntrylcl_GetDataSequencePropertyMap ()
 
template<typename Key , typename Span >
void buildSpan (std::vector< Span > &rSpans, typename mdds::flat_segment_tree< Key, bool >::const_iterator it, typename mdds::flat_segment_tree< Key, bool >::const_iterator itEnd, const Key *pStart)
 
template<typename Key , typename Val , typename Span >
void buildSpanWithValue (std::vector< Span > &rSpans, typename mdds::flat_segment_tree< Key, Val >::const_iterator it, typename mdds::flat_segment_tree< Key, Val >::const_iterator itEnd)
 
template<typename Key , typename Span >
std::vector< Span > toSpanArray (const mdds::flat_segment_tree< Key, bool > &rTree)
 Convert a flat_segment_tree structure whose value type is boolean, into an array of ranges that corresponds with the segments that have a 'true' value. More...
 
template<typename Key , typename Val , typename Span >
std::vector< Span > toSpanArrayWithValue (const mdds::flat_segment_tree< Key, Val > &rTree)
 Convert a flat_segment_tree structure into an array of ranges with values. More...
 
template<typename Key , typename Span >
std::vector< Span > toSpanArray (const mdds::flat_segment_tree< Key, bool > &rTree, Key nStartPos)
 
constexpr ::tools::Long TwipsToEvenHMM (::tools::Long nTwips)
 
double div (const double &fNumerator, const double &fDenominator)
 Return fNumerator/fDenominator if fDenominator!=0 else #DIV/0! error coded into double. More...
 
double divide (const double &fNumerator, const double &fDenominator)
 Return fNumerator/fDenominator if fDenominator!=0 else +-Infinity if fNumerator!=0 or NaN if fNumerator==0. More...
 
template<typename Func >
void ProcessFormula (CellStoreType &rStore, Func &rFunc)
 
template<typename FuncElem >
CellStoreType::iterator ProcessFormula (const CellStoreType::iterator &it, CellStoreType &rStore, SCROW nRow1, SCROW nRow2, FuncElem &rFuncElem)
 
template<typename FuncElem , typename FuncElse >
CellStoreType::iterator ProcessFormula (const CellStoreType::iterator &it, CellStoreType &rStore, SCROW nRow1, SCROW nRow2, FuncElem &rFuncElem, FuncElse &rFuncElse)
 
template<typename Func >
CellStoreType::iterator ProcessEditText (const CellStoreType::iterator &itPos, CellStoreType &rStore, SCROW nRow1, SCROW nRow2, Func &rFunc)
 
template<typename Func >
void ParseFormula (const CellStoreType &rStore, Func &rFunc)
 
template<typename Func >
CellStoreType::const_iterator ParseFormula (const CellStoreType::const_iterator &itPos, const CellStoreType &rStore, SCROW nStart, SCROW nEnd, Func &rFunc)
 
template<typename FuncElem , typename FuncElse >
CellStoreType::const_iterator ParseAll (const typename CellStoreType::const_iterator &itPos, const CellStoreType &rCells, SCROW nRow1, SCROW nRow2, FuncElem &rFuncElem, FuncElse &rFuncElse)
 
template<typename Func >
CellStoreType::const_iterator ParseAllNonEmpty (const typename CellStoreType::const_iterator &itPos, const CellStoreType &rCells, SCROW nRow1, SCROW nRow2, Func &rFunc)
 
template<typename Func >
CellStoreType::const_iterator ParseFormulaNumeric (const CellStoreType::const_iterator &itPos, const CellStoreType &rCells, SCROW nRow1, SCROW nRow2, Func &rFunc)
 
template<typename Func >
void ProcessFormulaEditText (CellStoreType &rStore, Func &rFunc)
 
template<typename Func >
std::pair< CellStoreType::const_iterator, size_t > FindFormula (const CellStoreType &rStore, SCROW nRow1, SCROW nRow2, Func &rFunc)
 
template<typename Func >
std::pair< CellStoreType::const_iterator, size_t > FindFormulaEditText (const CellStoreType &rStore, SCROW nRow1, SCROW nRow2, Func &rFunc)
 
template<typename Func >
void ProcessNote (CellNoteStoreType &rStore, Func &rFunc)
 
template<typename Func >
CellNoteStoreType::const_iterator ParseNote (const CellNoteStoreType::const_iterator &itPos, const CellNoteStoreType &rStore, SCROW nStart, SCROW nEnd, Func &rFunc)
 
template<typename FuncElem >
CellNoteStoreType::iterator ProcessNote (const CellNoteStoreType::iterator &it, CellNoteStoreType &rStore, SCROW nRow1, SCROW nRow2, FuncElem &rFuncElem)
 
template<typename FuncElem >
BroadcasterStoreType::iterator ProcessBroadcaster (const BroadcasterStoreType::iterator &it, BroadcasterStoreType &rStore, SCROW nRow1, SCROW nRow2, FuncElem &rFuncElem)
 
template<typename Functor >
SparklineStoreType::const_iterator ParseSparkline (const SparklineStoreType::const_iterator &itPos, const SparklineStoreType &rStore, SCROW nStart, SCROW nEnd, Functor &rFunctor)
 
template<typename StoreT , typename Func >
StoreT::const_iterator ParseBlock (const typename StoreT::const_iterator &itPos, const StoreT &rStore, Func &rFunc, typename StoreT::size_type nStart, typename StoreT::size_type nEnd)
 Generic algorithm to parse blocks of multi_type_vector either partially or fully. More...
 
template<typename StoreT , typename Func >
StoreT::iterator ProcessBlock (const typename StoreT::iterator &itPos, StoreT &rStore, Func &rFunc, typename StoreT::size_type nStart, typename StoreT::size_type nEnd)
 Non-const variant of the above function. More...
 
template<typename BlkT , typename ItrT , typename NodeT , typename FuncElem >
void EachElem (NodeT &rNode, size_t nOffset, size_t nDataSize, FuncElem &rFuncElem)
 
template<typename BlkT , typename ItrT , typename NodeT , typename FuncElem >
void EachElem (NodeT &rNode, FuncElem &rFuncElem)
 
template<typename BlkT , typename ItrT , typename NodeT , typename FuncElem >
void EachElemReverse (NodeT &rNode, FuncElem &rFuncElem)
 
template<typename BlkT , typename StoreT , typename FuncElem >
std::pair< typename StoreT::const_iterator, size_t > CheckElem (const StoreT &rStore, const typename StoreT::const_iterator &it, size_t nOffset, size_t nDataSize, FuncElem &rFuncElem)
 
template<typename StoreT , typename BlkT , typename FuncElem , typename FuncElse >
void ParseElements1 (const StoreT &rStore, FuncElem &rFuncElem, FuncElse &rFuncElse)
 
template<typename StoreT , typename BlkT , typename FuncElem , typename FuncElse >
StoreT::const_iterator ParseElements1 (const typename StoreT::const_iterator &itPos, const StoreT &rStore, typename StoreT::size_type nStart, typename StoreT::size_type nEnd, FuncElem &rFuncElem, FuncElse &rFuncElse)
 
template<typename StoreT , typename Blk1 , typename Blk2 , typename FuncElem , typename FuncElse >
StoreT::const_iterator ParseElements2 (const typename StoreT::const_iterator &itPos, const StoreT &rStore, typename StoreT::size_type nStart, typename StoreT::size_type nEnd, FuncElem &rFuncElem, FuncElse &rFuncElse)
 
template<typename StoreT , typename Blk1 , typename Blk2 , typename Blk3 , typename Blk4 , typename FuncElem , typename FuncElse >
StoreT::const_iterator ParseElements4 (const typename StoreT::const_iterator &itPos, const StoreT &rStore, typename StoreT::size_type nStart, typename StoreT::size_type nEnd, FuncElem &rFuncElem, FuncElse &rFuncElse)
 
template<typename StoreT , typename BlkT , typename FuncElem , typename FuncElse >
void ProcessElements1 (StoreT &rStore, FuncElem &rFuncElem, FuncElse &rFuncElse)
 
template<typename StoreT , typename BlkT , typename FuncElem , typename FuncElse >
StoreT::iterator ProcessElements1 (const typename StoreT::iterator &itPos, StoreT &rStore, typename StoreT::size_type nStart, typename StoreT::size_type nEnd, FuncElem &rFuncElem, FuncElse &rFuncElse)
 This variant specifies start and end positions. More...
 
template<typename StoreT , typename Blk1 , typename Blk2 , typename FuncElem , typename FuncElse >
void ProcessElements2 (StoreT &rStore, FuncElem &rFuncElem, FuncElse &rFuncElse)
 
template<typename StoreT , typename Blk1 , typename Blk2 , typename FuncElem , typename FuncElse >
void ProcessElements2Reverse (StoreT &rStore, FuncElem &rFuncElem, FuncElse &rFuncElse)
 
template<typename StoreT , typename Blk1 , typename FuncElem , typename FuncElse >
std::pair< typename StoreT::const_iterator, typename StoreT::size_type > FindElement1 (const StoreT &rStore, typename StoreT::size_type nStart, typename StoreT::size_type nEnd, FuncElem &rFuncElem, FuncElse &rFuncElse)
 
template<typename StoreT , typename Blk1 , typename Blk2 , typename FuncElem , typename FuncElse >
std::pair< typename StoreT::const_iterator, typename StoreT::size_type > FindElement2 (const StoreT &rStore, typename StoreT::size_type nStart, typename StoreT::size_type nEnd, FuncElem &rFuncElem, FuncElse &rFuncElse)
 
template<typename Blk1 , typename StoreT , typename FuncElem >
void SetElementsToEmpty1 (StoreT &rStore, FuncElem &rFuncElem)
 

Variables

static o3tl::enumarray< DebugTime, double > fTimes { 0.0, 0.0, 0.0 }
 
const mdds::mtv::element_t element_type_broadcaster = mdds::mtv::element_type_user_start
 Custom element type IDs for multi_type_vector. More...
 
const mdds::mtv::element_t element_type_celltextattr = mdds::mtv::element_type_user_start + 1
 
const mdds::mtv::element_t element_type_string = mdds::mtv::element_type_user_start + 2
 
const mdds::mtv::element_t element_type_edittext = mdds::mtv::element_type_user_start + 3
 
const mdds::mtv::element_t element_type_formula = mdds::mtv::element_type_user_start + 4
 
const mdds::mtv::element_t element_type_cellnote = mdds::mtv::element_type_user_start + 5
 
const mdds::mtv::element_t element_type_sparkline = mdds::mtv::element_type_user_start + 6
 
const mdds::mtv::element_t element_type_numeric = mdds::mtv::element_type_double
 Mapped standard element types (for convenience). More...
 
const mdds::mtv::element_t element_type_empty = mdds::mtv::element_type_empty
 
const mdds::mtv::element_t element_type_uint16 = mdds::mtv::element_type_uint16
 

Detailed Description

CAUTION! The following defines must be in the same namespace as the respective type.

For example sc types like sc::CellTextAttr, ScFormulaCell in global namespace.

Typedef Documentation

◆ BCBlkFunc

typedef mdds::mtv::custom_block_func1<sc::broadcaster_block> sc::BCBlkFunc

Broadcaster storage container.

Definition at line 128 of file mtvelements.hxx.

◆ broadcaster_block

typedef mdds::mtv::noncopyable_managed_element_block<element_type_broadcaster, SvtBroadcaster> sc::broadcaster_block

Definition at line 64 of file mtvelements.hxx.

◆ BroadcasterStoreType

typedef mdds::mtv::soa::multi_type_vector<BCBlkFunc> sc::BroadcasterStoreType

Definition at line 129 of file mtvelements.hxx.

◆ CellFunc

typedef mdds::mtv::custom_block_func3<sc::string_block, sc::edittext_block, sc::formula_block> sc::CellFunc

Cell container.

Definition at line 136 of file mtvelements.hxx.

◆ cellnote_block

typedef mdds::mtv::noncopyable_managed_element_block<element_type_cellnote, ScPostIt> sc::cellnote_block

Definition at line 63 of file mtvelements.hxx.

◆ CellNoteStoreType

typedef mdds::mtv::soa::multi_type_vector<CNoteFunc> sc::CellNoteStoreType

Definition at line 125 of file mtvelements.hxx.

◆ CellStoreType

typedef mdds::mtv::soa::multi_type_vector<CellFunc, CellStoreTrait> sc::CellStoreType

Definition at line 137 of file mtvelements.hxx.

◆ celltextattr_block

typedef mdds::mtv::default_element_block<element_type_celltextattr, CellTextAttr> sc::celltextattr_block

Definition at line 65 of file mtvelements.hxx.

◆ CellTextAttrStoreType

typedef mdds::mtv::soa::multi_type_vector<CTAttrFunc> sc::CellTextAttrStoreType

Definition at line 133 of file mtvelements.hxx.

◆ CNoteFunc

typedef mdds::mtv::custom_block_func1<sc::cellnote_block> sc::CNoteFunc

Cell note container.

Definition at line 124 of file mtvelements.hxx.

◆ CSparklineFunction

typedef mdds::mtv::custom_block_func1<sc::sparkline_block> sc::CSparklineFunction

Sparkline container.

Definition at line 120 of file mtvelements.hxx.

◆ CTAttrFunc

typedef mdds::mtv::custom_block_func1<sc::celltextattr_block> sc::CTAttrFunc

Cell text attribute container.

Definition at line 132 of file mtvelements.hxx.

◆ edittext_block

typedef mdds::mtv::noncopyable_managed_element_block<element_type_edittext, EditTextObject> sc::edittext_block

Definition at line 67 of file mtvelements.hxx.

◆ formula_block

typedef mdds::mtv::noncopyable_managed_element_block<element_type_formula, ScFormulaCell> sc::formula_block

Definition at line 68 of file mtvelements.hxx.

◆ IconSetBitmapMap

Definition at line 216 of file document.hxx.

◆ numeric_block

typedef mdds::mtv::double_element_block sc::numeric_block

Mapped standard element blocks (for convenience).

Definition at line 71 of file mtvelements.hxx.

◆ PivotTableDataProvider_Base

typedef cppu::WeakImplHelper<css::chart2::data::XDataProvider, css::chart2::data::XPivotTableDataProvider, css::beans::XPropertySet, css::lang::XServiceInfo, css::util::XModifyBroadcaster> sc::PivotTableDataProvider_Base

Definition at line 44 of file PivotTableDataProvider.hxx.

◆ PivotTableDataSequence_Base

typedef cppu::WeakImplHelper<css::chart2::data::XDataSequence, css::chart2::data::XTextualDataSequence, css::chart2::data::XNumericalDataSequence, css::util::XCloneable, css::util::XModifyBroadcaster, css::beans::XPropertySet, css::lang::XServiceInfo> sc::PivotTableDataSequence_Base

Definition at line 79 of file PivotTableDataSequence.hxx.

◆ PivotTableDataSource_Base

typedef cppu::WeakImplHelper<css::chart2::data::XDataSource, css::lang::XServiceInfo> sc::PivotTableDataSource_Base

Definition at line 26 of file PivotTableDataSource.hxx.

◆ sparkline_block

typedef mdds::mtv::noncopyable_managed_element_block<element_type_sparkline, sc::SparklineCell> sc::sparkline_block

Custom element blocks.

Definition at line 62 of file mtvelements.hxx.

◆ SparklineStoreType

typedef mdds::mtv::soa::multi_type_vector<CSparklineFunction> sc::SparklineStoreType

Definition at line 121 of file mtvelements.hxx.

◆ string_block

typedef mdds::mtv::default_element_block<element_type_string, svl::SharedString> sc::string_block

Definition at line 66 of file mtvelements.hxx.

◆ TablePivotChart_Base

typedef comphelper::WeakComponentImplHelper<css::table::XTablePivotChart, css::document::XEmbeddedObjectSupplier, css::container::XNamed, css::lang::XServiceInfo> sc::TablePivotChart_Base

Definition at line 31 of file TablePivotChart.hxx.

◆ TablePivotCharts_Base

typedef cppu::WeakImplHelper<css::table::XTablePivotCharts, css::container::XIndexAccess, css::lang::XServiceInfo> sc::TablePivotCharts_Base

Definition at line 28 of file TablePivotCharts.hxx.

◆ TablesType

typedef std::vector<std::unique_ptr<TableType> > sc::TablesType

Definition at line 267 of file cellvalues.cxx.

◆ TableType

typedef std::vector<std::unique_ptr<CellValues> > sc::TableType

Definition at line 266 of file cellvalues.cxx.

◆ uint16_block

typedef mdds::mtv::uint16_element_block sc::uint16_block

Definition at line 72 of file mtvelements.hxx.

Enumeration Type Documentation

◆ AGGREGATE_FUNCTION

enum class sc::AGGREGATE_FUNCTION
strong
Enumerator
SUM 
AVERAGE 
MIN 
MAX 

Definition at line 41 of file datatransformation.hxx.

◆ AreaOverlapType

enum class sc::AreaOverlapType
strong
Enumerator
Inside 
InsideOrOverlap 
OneRowInside 
OneColumnInside 

Definition at line 109 of file types.hxx.

◆ AxisType

enum class sc::AxisType
strong

The method of calculating the axis min or max value.

Enumerator
Individual 
Group 
Custom 

Definition at line 30 of file SparklineAttributes.hxx.

◆ ColRowEditAction

enum class sc::ColRowEditAction
strong
Enumerator
Unknown 
InsertColumnsBefore 
InsertColumnsAfter 
InsertRowsBefore 
InsertRowsAfter 
DeleteColumns 
DeleteRows 

Definition at line 425 of file global.hxx.

◆ DATETIME_TRANSFORMATION_TYPE

Enumerator
DATE_STRING 
YEAR 
START_OF_YEAR 
END_OF_YEAR 
MONTH 
MONTH_NAME 
START_OF_MONTH 
END_OF_MONTH 
DAY 
DAY_OF_WEEK 
DAY_OF_YEAR 
QUARTER 
START_OF_QUARTER 
END_OF_QUARTER 
TIME 
HOUR 
MINUTE 
SECOND 

Definition at line 46 of file datatransformation.hxx.

◆ DebugTime

enum class sc::DebugTime
strong
Enumerator
Import 
Recalc 
Render 
LAST 

Definition at line 26 of file datastreamgettime.hxx.

◆ DisplayEmptyCellsAs

enum class sc::DisplayEmptyCellsAs
strong

Determines how to display the empty cells.

Enumerator
Span 
Gap 
Zero 

Definition at line 38 of file SparklineAttributes.hxx.

◆ GroupCalcState

Enumerator
GroupCalcDisabled 
GroupCalcEnabled 
GroupCalcRunning 

Definition at line 75 of file types.hxx.

◆ ListenerGroupType

enum class sc::ListenerGroupType
strong
Enumerator
Group 
Both 

Definition at line 117 of file types.hxx.

◆ MatrixEdge

enum class sc::MatrixEdge
strong
Enumerator
Nothing 
Inside 
Bottom 
Left 
Top 
Right 
Open 

Definition at line 65 of file types.hxx.

◆ NUMBER_TRANSFORM_TYPE

enum class sc::NUMBER_TRANSFORM_TYPE
strong
Enumerator
ROUND 
ROUND_UP 
ROUND_DOWN 
ABSOLUTE 
LOG_E 
LOG_10 
CUBE 
SQUARE 
SQUARE_ROOT 
EXPONENT 
IS_EVEN 
IS_ODD 
SIGN 

Definition at line 43 of file datatransformation.hxx.

◆ RangeOrientation

enum class sc::RangeOrientation
strong
Enumerator
Unknown 
Row 
Col 

Definition at line 31 of file SparklineData.hxx.

◆ SparklineType

enum class sc::SparklineType
strong

Supported sparkline types.

Enumerator
Line 
Column 
Stacked 

Definition at line 22 of file SparklineAttributes.hxx.

◆ StartListeningType

Enumerator
ConvertToGroupListening 
SingleCellListening 
NoListening 

Definition at line 123 of file types.hxx.

◆ TEXT_TRANSFORM_TYPE

enum class sc::TEXT_TRANSFORM_TYPE
strong
Enumerator
TO_LOWER 
TO_UPPER 
CAPITALIZE 
TRIM 

Definition at line 39 of file datatransformation.hxx.

◆ TransformationType

enum class sc::TransformationType
strong
Enumerator
MERGE_TRANSFORMATION 
SPLIT_TRANSFORMATION 
DELETE_TRANSFORMATION 
SORT_TRANSFORMATION 
TEXT_TRANSFORMATION 
AGGREGATE_FUNCTION 
NUMBER_TRANSFORMATION 
REMOVE_NULL_TRANSFORMATION 
DATETIME_TRANSFORMATION 
FINDREPLACE_TRANSFORMATION 
DELETEROW_TRANSFORMATION 
SWAPROWS_TRANSFORMATION 

Definition at line 23 of file datatransformation.hxx.

◆ ValueType

enum class sc::ValueType
strong
Enumerator
Empty 
String 
Numeric 

Definition at line 34 of file PivotTableDataSequence.hxx.

Function Documentation

◆ buildSpan()

template<typename Key , typename Span >
void sc::buildSpan ( std::vector< Span > &  rSpans,
typename mdds::flat_segment_tree< Key, bool >::const_iterator  it,
typename mdds::flat_segment_tree< Key, bool >::const_iterator  itEnd,
const Key pStart 
)

Definition at line 18 of file fstalgorithm.hxx.

References Span.

◆ buildSpanWithValue()

template<typename Key , typename Val , typename Span >
void sc::buildSpanWithValue ( std::vector< Span > &  rSpans,
typename mdds::flat_segment_tree< Key, Val >::const_iterator  it,
typename mdds::flat_segment_tree< Key, Val >::const_iterator  itEnd 
)

Definition at line 47 of file fstalgorithm.hxx.

References Span.

◆ calculateOrientation()

SC_DLLPUBLIC RangeOrientation sc::calculateOrientation ( sal_Int32  nOutputSize,
ScRange const &  rInputRange 
)

Determine the sparkline group orientation for the input data the output size.

Definition at line 15 of file SparklineData.cxx.

References ScRange::aEnd, ScRange::aStart, ScAddress::Col(), Col, ScAddress::Row(), Row, and Unknown.

Referenced by sc::SparklineDialog::checkValidInputOutput(), and ScDocFunc::InsertSparklines().

◆ CheckElem()

template<typename BlkT , typename StoreT , typename FuncElem >
std::pair< typename StoreT::const_iterator, size_t > sc::CheckElem ( const StoreT &  rStore,
const typename StoreT::const_iterator &  it,
size_t  nOffset,
size_t  nDataSize,
FuncElem &  rFuncElem 
)

Definition at line 145 of file mtvfunctions.hxx.

◆ CompareEmptyToNumericFunc()

double sc::CompareEmptyToNumericFunc ( double  fCell2)

Left cell is empty while the right cell is numeric.

Definition at line 312 of file compare.cxx.

◆ CompareFunc() [1/3]

double sc::CompareFunc ( const Compare rComp,
CompareOptions pOptions = nullptr 
)

◆ CompareFunc() [2/3]

double sc::CompareFunc ( const Compare::Cell rCell1,
double  fCell2,
const CompareOptions pOptions 
)

◆ CompareFunc() [3/3]

double sc::CompareFunc ( double  fCell1,
double  fCell2 
)

Definition at line 290 of file compare.cxx.

◆ datastream_get_time()

double sc::datastream_get_time ( DebugTime  nIdx)

Definition at line 39 of file datastream.cxx.

References fTimes.

Referenced by ScInterpreter::ScDebugVar().

◆ div()

double sc::div ( const double &  fNumerator,
const double &  fDenominator 
)
inline

Return fNumerator/fDenominator if fDenominator!=0 else #DIV/0! error coded into double.

Definition at line 29 of file math.hxx.

References CreateDoubleError().

Referenced by ScInterpreter::div(), ScMatrix::DivOp(), lcl_IterResult(), ScInterpreter::ScAverageIfs(), and ScInterpreter::ScVarP().

◆ divide()

double sc::divide ( const double &  fNumerator,
const double &  fDenominator 
)
inline

Return fNumerator/fDenominator if fDenominator!=0 else +-Infinity if fNumerator!=0 or NaN if fNumerator==0.

This allows to build/run with -fsanitize=float-divide-by-zero and have a defined behavior for the otherwise undefined division by zero case ("If the second operand of / or % is zero the behavior is undefined." ([expr.mul]/4)).

The Calc interpreter gracefully handles Infinity or NaN double values encountered as interim or final results, using this function we can ensure defined behavior where desired.

Use where the double coded error creating div() is not wanted.

Definition at line 49 of file math.hxx.

Referenced by ScInterpreter::ScChiTest().

◆ EachElem() [1/2]

template<typename BlkT , typename ItrT , typename NodeT , typename FuncElem >
void sc::EachElem ( NodeT &  rNode,
FuncElem &  rFuncElem 
)

Definition at line 124 of file mtvfunctions.hxx.

◆ EachElem() [2/2]

template<typename BlkT , typename ItrT , typename NodeT , typename FuncElem >
void sc::EachElem ( NodeT &  rNode,
size_t  nOffset,
size_t  nDataSize,
FuncElem &  rFuncElem 
)

Definition at line 112 of file mtvfunctions.hxx.

◆ EachElemReverse()

template<typename BlkT , typename ItrT , typename NodeT , typename FuncElem >
void sc::EachElemReverse ( NodeT &  rNode,
FuncElem &  rFuncElem 
)

Definition at line 134 of file mtvfunctions.hxx.

◆ err_pow()

static double sc::err_pow ( const double &  fVal1,
const double &  fVal2 
)
static

Definition at line 20 of file math.cxx.

Referenced by power().

◆ FindElement1()

template<typename StoreT , typename Blk1 , typename FuncElem , typename FuncElse >
std::pair< typename StoreT::const_iterator, typename StoreT::size_type > sc::FindElement1 ( const StoreT &  rStore,
typename StoreT::size_type  nStart,
typename StoreT::size_type  nEnd,
FuncElem &  rFuncElem,
FuncElse &  rFuncElse 
)

Definition at line 421 of file mtvfunctions.hxx.

◆ FindElement2()

template<typename StoreT , typename Blk1 , typename Blk2 , typename FuncElem , typename FuncElse >
std::pair< typename StoreT::const_iterator, typename StoreT::size_type > sc::FindElement2 ( const StoreT &  rStore,
typename StoreT::size_type  nStart,
typename StoreT::size_type  nEnd,
FuncElem &  rFuncElem,
FuncElse &  rFuncElse 
)

Definition at line 471 of file mtvfunctions.hxx.

◆ FindFormula()

template<typename Func >
std::pair< CellStoreType::const_iterator, size_t > sc::FindFormula ( const CellStoreType rStore,
SCROW  nRow1,
SCROW  nRow2,
Func &  rFunc 
)

◆ FindFormulaEditText()

template<typename Func >
std::pair< CellStoreType::const_iterator, size_t > sc::FindFormulaEditText ( const CellStoreType rStore,
SCROW  nRow1,
SCROW  nRow2,
Func &  rFunc 
)

Definition at line 138 of file mtvcellfunc.hxx.

Referenced by ScColumn::HasEditCells().

◆ IMPL_LINK() [1/10]

sc::IMPL_LINK ( SearchResultsDlg  ,
HeaderBarClick  ,
int  ,
nColumn  ,
void   
)

Definition at line 200 of file searchresults.cxx.

References TRISTATE_FALSE, TRISTATE_INDET, and TRISTATE_TRUE.

◆ IMPL_LINK() [2/10]

sc::IMPL_LINK ( SparklineDataRangeDialog  ,
ButtonClicked  ,
weld::Button ,
rButton  ,
void   
)

Definition at line 179 of file SparklineDataRangeDialog.cxx.

References RET_CANCEL, and RET_OK.

◆ IMPL_LINK() [3/10]

sc::IMPL_LINK ( SparklineDataRangeDialog  ,
ButtonFocusHandler  ,
formula::RefButton ,
rButton  ,
void   
)

Definition at line 136 of file SparklineDataRangeDialog.cxx.

◆ IMPL_LINK() [4/10]

sc::IMPL_LINK ( SparklineDataRangeDialog  ,
EditFocusHandler  ,
formula::RefEdit ,
rEdit  ,
void   
)

Definition at line 125 of file SparklineDataRangeDialog.cxx.

◆ IMPL_LINK() [5/10]

sc::IMPL_LINK ( SparklineDialog  ,
ButtonClicked  ,
weld::Button ,
rButton  ,
void   
)

Definition at line 377 of file SparklineDialog.cxx.

References RET_CANCEL, and RET_OK.

◆ IMPL_LINK() [6/10]

sc::IMPL_LINK ( SparklineDialog  ,
ButtonFocusHandler  ,
formula::RefButton ,
rButton  ,
void   
)

Definition at line 313 of file SparklineDialog.cxx.

◆ IMPL_LINK() [7/10]

sc::IMPL_LINK ( SparklineDialog  ,
ComboValueChanged  ,
weld::ComboBox ,
rComboBox  ,
void   
)

Definition at line 458 of file SparklineDialog.cxx.

References Custom, Group, and Individual.

◆ IMPL_LINK() [8/10]

sc::IMPL_LINK ( SparklineDialog  ,
EditFocusHandler  ,
formula::RefEdit ,
rEdit  ,
void   
)

Definition at line 298 of file SparklineDialog.cxx.

◆ IMPL_LINK() [9/10]

sc::IMPL_LINK ( SparklineDialog  ,
SpinCustomChanged  ,
weld::FormattedSpinButton ,
rFormatted  ,
void   
)

Definition at line 446 of file SparklineDialog.cxx.

◆ IMPL_LINK() [10/10]

sc::IMPL_LINK ( SparklineDialog  ,
ToggleHandler  ,
weld::Toggleable ,
rToggle  ,
void   
)

Definition at line 390 of file SparklineDialog.cxx.

◆ IMPL_LINK_NOARG() [1/15]

sc::IMPL_LINK_NOARG ( DataStream  ,
ImportTimerHdl  ,
Timer ,
void   
)

Definition at line 533 of file datastream.cxx.

◆ IMPL_LINK_NOARG() [2/15]

sc::IMPL_LINK_NOARG ( DataStreamDlg  ,
BrowseHdl  ,
weld::Button ,
void   
)

◆ IMPL_LINK_NOARG() [3/15]

sc::IMPL_LINK_NOARG ( DataStreamDlg  ,
UpdateClickHdl  ,
weld::Toggleable ,
void   
)

Definition at line 62 of file datastreamdlg.cxx.

◆ IMPL_LINK_NOARG() [4/15]

sc::IMPL_LINK_NOARG ( DataStreamDlg  ,
UpdateComboBoxHdl  ,
weld::ComboBox ,
void   
)

Definition at line 64 of file datastreamdlg.cxx.

◆ IMPL_LINK_NOARG() [5/15]

sc::IMPL_LINK_NOARG ( DataStreamDlg  ,
UpdateHdl  ,
weld::Entry ,
void   
)

Definition at line 66 of file datastreamdlg.cxx.

◆ IMPL_LINK_NOARG() [6/15]

sc::IMPL_LINK_NOARG ( SearchResultsDlg  ,
ListSelectHdl  ,
weld::TreeView ,
void   
)

◆ IMPL_LINK_NOARG() [7/15]

sc::IMPL_LINK_NOARG ( SharedStringPoolPurge  ,
timerHandler  ,
Timer ,
void   
)

Definition at line 49 of file sharedstringpoolpurge.cxx.

References cleanup().

◆ IMPL_LINK_NOARG() [8/15]

sc::IMPL_LINK_NOARG ( SparklineDataRangeDialog  ,
LoseButtonFocusHandler  ,
formula::RefButton ,
void   
)

Definition at line 152 of file SparklineDataRangeDialog.cxx.

References m_xDialog.

◆ IMPL_LINK_NOARG() [9/15]

sc::IMPL_LINK_NOARG ( SparklineDataRangeDialog  ,
LoseEditFocusHandler  ,
formula::RefEdit ,
void   
)

Definition at line 147 of file SparklineDataRangeDialog.cxx.

References m_xDialog.

◆ IMPL_LINK_NOARG() [10/15]

sc::IMPL_LINK_NOARG ( SparklineDataRangeDialog  ,
RefInputModifyHandler  ,
formula::RefEdit ,
void   
)

◆ IMPL_LINK_NOARG() [11/15]

sc::IMPL_LINK_NOARG ( SparklineDialog  ,
LoseButtonFocusHandler  ,
formula::RefButton ,
void   
)

Definition at line 333 of file SparklineDialog.cxx.

References m_xDialog.

◆ IMPL_LINK_NOARG() [12/15]

sc::IMPL_LINK_NOARG ( SparklineDialog  ,
LoseEditFocusHandler  ,
formula::RefEdit ,
void   
)

Definition at line 328 of file SparklineDialog.cxx.

References m_xDialog.

◆ IMPL_LINK_NOARG() [13/15]

sc::IMPL_LINK_NOARG ( SparklineDialog  ,
RefInputModifyHandler  ,
formula::RefEdit ,
void   
)

Definition at line 338 of file SparklineDialog.cxx.

References ScAddress::INITIALIZE_INVALID, and ScRangeList::size().

◆ IMPL_LINK_NOARG() [14/15]

sc::IMPL_LINK_NOARG ( SparklineDialog  ,
SelectSparklineType  ,
weld::ComboBox ,
void   
)

Definition at line 412 of file SparklineDialog.cxx.

References Column, Gap, Line, Span, Stacked, and Zero.

◆ IMPL_LINK_NOARG() [15/15]

sc::IMPL_LINK_NOARG ( SparklineDialog  ,
SpinLineWidthChanged  ,
weld::SpinButton ,
void   
)

Definition at line 440 of file SparklineDialog.cxx.

References value.

◆ IMPL_STATIC_LINK()

sc::IMPL_STATIC_LINK ( SearchResultsDlg  ,
OnShowToggled  ,
weld::Toggleable ,
rButton  ,
void   
)

◆ lcl_GetDataSequencePropertyMap()

static o3tl::span< const SfxItemPropertyMapEntry > sc::lcl_GetDataSequencePropertyMap ( )
static

◆ operator<<()

template<typename charT , typename traits >
std::basic_ostream< charT, traits > & sc::operator<< ( std::basic_ostream< charT, traits > &  stream,
const ParamIfsResult rRes 
)
inline

Definition at line 1148 of file interpre.hxx.

◆ ParseAll()

template<typename FuncElem , typename FuncElse >
CellStoreType::const_iterator sc::ParseAll ( const typename CellStoreType::const_iterator &  itPos,
const CellStoreType rCells,
SCROW  nRow1,
SCROW  nRow2,
FuncElem &  rFuncElem,
FuncElse &  rFuncElse 
)

◆ ParseAllNonEmpty()

template<typename Func >
CellStoreType::const_iterator sc::ParseAllNonEmpty ( const typename CellStoreType::const_iterator &  itPos,
const CellStoreType rCells,
SCROW  nRow1,
SCROW  nRow2,
Func &  rFunc 
)

◆ ParseBlock()

template<typename StoreT , typename Func >
StoreT::const_iterator sc::ParseBlock ( const typename StoreT::const_iterator &  itPos,
const StoreT &  rStore,
Func &  rFunc,
typename StoreT::size_type  nStart,
typename StoreT::size_type  nEnd 
)

◆ ParseElements1() [1/2]

template<typename StoreT , typename BlkT , typename FuncElem , typename FuncElse >
void sc::ParseElements1 ( const StoreT &  rStore,
FuncElem &  rFuncElem,
FuncElse &  rFuncElse 
)

Definition at line 167 of file mtvfunctions.hxx.

◆ ParseElements1() [2/2]

template<typename StoreT , typename BlkT , typename FuncElem , typename FuncElse >
StoreT::const_iterator sc::ParseElements1 ( const typename StoreT::const_iterator &  itPos,
const StoreT &  rStore,
typename StoreT::size_type  nStart,
typename StoreT::size_type  nEnd,
FuncElem &  rFuncElem,
FuncElse &  rFuncElse 
)

Definition at line 186 of file mtvfunctions.hxx.

◆ ParseElements2()

template<typename StoreT , typename Blk1 , typename Blk2 , typename FuncElem , typename FuncElse >
StoreT::const_iterator sc::ParseElements2 ( const typename StoreT::const_iterator &  itPos,
const StoreT &  rStore,
typename StoreT::size_type  nStart,
typename StoreT::size_type  nEnd,
FuncElem &  rFuncElem,
FuncElse &  rFuncElse 
)

Definition at line 224 of file mtvfunctions.hxx.

Referenced by ParseFormulaNumeric().

◆ ParseElements4()

template<typename StoreT , typename Blk1 , typename Blk2 , typename Blk3 , typename Blk4 , typename FuncElem , typename FuncElse >
StoreT::const_iterator sc::ParseElements4 ( const typename StoreT::const_iterator &  itPos,
const StoreT &  rStore,
typename StoreT::size_type  nStart,
typename StoreT::size_type  nEnd,
FuncElem &  rFuncElem,
FuncElse &  rFuncElse 
)

Definition at line 268 of file mtvfunctions.hxx.

Referenced by ParseAll(), and ParseAllNonEmpty().

◆ ParseFormula() [1/2]

template<typename Func >
void sc::ParseFormula ( const CellStoreType rStore,
Func &  rFunc 
)

◆ ParseFormula() [2/2]

template<typename Func >
CellStoreType::const_iterator sc::ParseFormula ( const CellStoreType::const_iterator &  itPos,
const CellStoreType rStore,
SCROW  nStart,
SCROW  nEnd,
Func &  rFunc 
)

Definition at line 72 of file mtvcellfunc.hxx.

◆ ParseFormulaNumeric()

template<typename Func >
CellStoreType::const_iterator sc::ParseFormulaNumeric ( const CellStoreType::const_iterator &  itPos,
const CellStoreType rCells,
SCROW  nRow1,
SCROW  nRow2,
Func &  rFunc 
)

◆ ParseNote()

template<typename Func >
CellNoteStoreType::const_iterator sc::ParseNote ( const CellNoteStoreType::const_iterator &  itPos,
const CellNoteStoreType rStore,
SCROW  nStart,
SCROW  nEnd,
Func &  rFunc 
)

◆ ParseSparkline()

template<typename Functor >
SparklineStoreType::const_iterator sc::ParseSparkline ( const SparklineStoreType::const_iterator &  itPos,
const SparklineStoreType rStore,
SCROW  nStart,
SCROW  nEnd,
Functor &  rFunctor 
)

◆ power()

double sc::power ( const double &  fVal1,
const double &  fVal2 
)

Return pow(fVal1,fVal2) with error handling.

If an error was detected, a coded double error of FormulaError::IllegalFPOperation is returned.

Definition at line 30 of file math.cxx.

References o3tl::convertsToAtLeast(), o3tl::convertsToAtMost(), CreateDoubleError(), err_pow(), i, SAL_MAX_INT64, and SAL_MIN_INT64.

Referenced by ScMatrix::PowOp(), and ScInterpreter::ScPow().

◆ ProcessBlock()

template<typename StoreT , typename Func >
StoreT::iterator sc::ProcessBlock ( const typename StoreT::iterator &  itPos,
StoreT &  rStore,
Func &  rFunc,
typename StoreT::size_type  nStart,
typename StoreT::size_type  nEnd 
)

Non-const variant of the above function.

TODO: Find a way to merge these two in an elegant way.

Definition at line 81 of file mtvfunctions.hxx.

Referenced by ScColumn::DeleteCells(), ScColumn::EndListeningFormulaCells(), ScColumn::StartListeningFormulaCells(), and ScColumn::UpdateReferenceOnCopy().

◆ ProcessBroadcaster()

template<typename FuncElem >
BroadcasterStoreType::iterator sc::ProcessBroadcaster ( const BroadcasterStoreType::iterator &  it,
BroadcasterStoreType rStore,
SCROW  nRow1,
SCROW  nRow2,
FuncElem &  rFuncElem 
)

Definition at line 173 of file mtvcellfunc.hxx.

References ProcessElements1().

Referenced by ScColumn::BroadcastBroadcasters(), and ScColumn::CollectListeners().

◆ ProcessEditText()

template<typename Func >
CellStoreType::iterator sc::ProcessEditText ( const CellStoreType::iterator &  itPos,
CellStoreType rStore,
SCROW  nRow1,
SCROW  nRow2,
Func &  rFunc 
)

Definition at line 55 of file mtvcellfunc.hxx.

Referenced by ScColumn::RemoveEditAttribs().

◆ ProcessElements1() [1/2]

template<typename StoreT , typename BlkT , typename FuncElem , typename FuncElse >
StoreT::iterator sc::ProcessElements1 ( const typename StoreT::iterator &  itPos,
StoreT &  rStore,
typename StoreT::size_type  nStart,
typename StoreT::size_type  nEnd,
FuncElem &  rFuncElem,
FuncElse &  rFuncElse 
)

This variant specifies start and end positions.

Definition at line 339 of file mtvfunctions.hxx.

◆ ProcessElements1() [2/2]

template<typename StoreT , typename BlkT , typename FuncElem , typename FuncElse >
void sc::ProcessElements1 ( StoreT &  rStore,
FuncElem &  rFuncElem,
FuncElse &  rFuncElse 
)

Definition at line 317 of file mtvfunctions.hxx.

Referenced by ProcessBroadcaster(), ProcessFormula(), and ProcessNote().

◆ ProcessElements2()

template<typename StoreT , typename Blk1 , typename Blk2 , typename FuncElem , typename FuncElse >
void sc::ProcessElements2 ( StoreT &  rStore,
FuncElem &  rFuncElem,
FuncElse &  rFuncElse 
)

Definition at line 376 of file mtvfunctions.hxx.

◆ ProcessElements2Reverse()

template<typename StoreT , typename Blk1 , typename Blk2 , typename FuncElem , typename FuncElse >
void sc::ProcessElements2Reverse ( StoreT &  rStore,
FuncElem &  rFuncElem,
FuncElse &  rFuncElse 
)

Definition at line 398 of file mtvfunctions.hxx.

◆ ProcessFormula() [1/4]

template<typename Func >
void sc::ProcessFormula ( CellStoreType rStore,
Func &  rFunc 
)

Definition at line 20 of file mtvcellfunc.hxx.

◆ ProcessFormula() [2/4]

template<typename FuncElem >
CellStoreType::iterator sc::ProcessFormula ( const CellStoreType::iterator &  it,
CellStoreType rStore,
SCROW  nRow1,
SCROW  nRow2,
FuncElem &  rFuncElem 
)

Definition at line 28 of file mtvcellfunc.hxx.

References ProcessElements1().

◆ ProcessFormula() [3/4]

template<typename FuncElem , typename FuncElse >
CellStoreType::iterator sc::ProcessFormula ( const CellStoreType::iterator &  it,
CellStoreType rStore,
SCROW  nRow1,
SCROW  nRow2,
FuncElem &  rFuncElem,
FuncElse &  rFuncElse 
)

Definition at line 46 of file mtvcellfunc.hxx.

References ProcessElements1().

◆ ProcessFormula() [4/4]

CellStoreType::iterator sc::ProcessFormula ( const CellStoreType::iterator &  it,
CellStoreType rStore,
SCROW  nRow1,
SCROW  nRow2,
std::function< void(size_t, ScFormulaCell *)>  aFuncElem 
)

◆ ProcessFormulaEditText()

template<typename Func >
void sc::ProcessFormulaEditText ( CellStoreType rStore,
Func &  rFunc 
)

◆ ProcessNote() [1/2]

template<typename Func >
void sc::ProcessNote ( CellNoteStoreType rStore,
Func &  rFunc 
)

◆ ProcessNote() [2/2]

template<typename FuncElem >
CellNoteStoreType::iterator sc::ProcessNote ( const CellNoteStoreType::iterator &  it,
CellNoteStoreType rStore,
SCROW  nRow1,
SCROW  nRow2,
FuncElem &  rFuncElem 
)

Definition at line 163 of file mtvcellfunc.hxx.

References ProcessElements1().

◆ SetElementsToEmpty1()

template<typename Blk1 , typename StoreT , typename FuncElem >
void sc::SetElementsToEmpty1 ( StoreT &  rStore,
FuncElem &  rFuncElem 
)

Definition at line 528 of file mtvfunctions.hxx.

References element_type_empty.

◆ SFX_IMPL_CHILDWINDOW_WITHID()

sc::SFX_IMPL_CHILDWINDOW_WITHID ( SearchResultsDlgWrapper  ,
SID_SEARCH_RESULTS_DIALOG   
)

◆ toRefCell()

ScRefCellValue sc::toRefCell ( const sc::CellStoreType::const_iterator &  itPos,
size_t  nOffset 
)

◆ toSpanArray() [1/2]

template<typename Key , typename Span >
std::vector< Span > sc::toSpanArray ( const mdds::flat_segment_tree< Key, bool > &  rTree)

Convert a flat_segment_tree structure whose value type is boolean, into an array of ranges that corresponds with the segments that have a 'true' value.

Definition at line 77 of file fstalgorithm.hxx.

◆ toSpanArray() [2/2]

template<typename Key , typename Span >
std::vector< Span > sc::toSpanArray ( const mdds::flat_segment_tree< Key, bool > &  rTree,
Key  nStartPos 
)

Definition at line 108 of file fstalgorithm.hxx.

◆ toSpanArrayWithValue()

template<typename Key , typename Val , typename Span >
std::vector< Span > sc::toSpanArrayWithValue ( const mdds::flat_segment_tree< Key, Val > &  rTree)

Convert a flat_segment_tree structure into an array of ranges with values.

Only those ranges whose value is evaluated to be true will be included. The value type must be something that supports bool operator. The span type must support a constructor that takes a start key, an end key and a value in this order.

Definition at line 96 of file fstalgorithm.hxx.

◆ TwipsToEvenHMM()

constexpr ::tools::Long sc::TwipsToEvenHMM ( ::tools::Long  nTwips)

Variable Documentation

◆ element_type_broadcaster

const mdds::mtv::element_t sc::element_type_broadcaster = mdds::mtv::element_type_user_start

Custom element type IDs for multi_type_vector.

Definition at line 45 of file mtvelements.hxx.

Referenced by ScColumn::EndListening(), and ScColumn::PrepareBroadcastersForDestruction().

◆ element_type_cellnote

const mdds::mtv::element_t sc::element_type_cellnote = mdds::mtv::element_type_user_start + 5

◆ element_type_celltextattr

const mdds::mtv::element_t sc::element_type_celltextattr = mdds::mtv::element_type_user_start + 1

◆ element_type_edittext

const mdds::mtv::element_t sc::element_type_edittext = mdds::mtv::element_type_user_start + 3

◆ element_type_empty

const mdds::mtv::element_t sc::element_type_empty = mdds::mtv::element_type_empty

◆ element_type_formula

const mdds::mtv::element_t sc::element_type_formula = mdds::mtv::element_type_user_start + 4

◆ element_type_numeric

const mdds::mtv::element_t sc::element_type_numeric = mdds::mtv::element_type_double

◆ element_type_sparkline

const mdds::mtv::element_t sc::element_type_sparkline = mdds::mtv::element_type_user_start + 6

Definition at line 53 of file mtvelements.hxx.

Referenced by ScColumn::GetSparklinesMaxRow().

◆ element_type_string

const mdds::mtv::element_t sc::element_type_string = mdds::mtv::element_type_user_start + 2

◆ element_type_uint16

const mdds::mtv::element_t sc::element_type_uint16 = mdds::mtv::element_type_uint16

Definition at line 58 of file mtvelements.hxx.

◆ fTimes

o3tl::enumarray<DebugTime, double> sc::fTimes { 0.0, 0.0, 0.0 }
static