LibreOffice Module sc (master) 1
|
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... | |
struct | BroadcasterState |
struct | BroadcasterTraits |
class | BulkDataHint |
struct | CellNodeTraits |
class | CellStoreEvent |
struct | CellStoreTraits |
struct | CellTextAttr |
struct | CellTextAttrTraits |
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 | ModelConstraint |
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 | SolverSettings |
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 | SparklineTraits |
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 |
class | ThemeColorChanger |
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 | UndoThemeChange |
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, BitmapEx > | IconSetBitmapMap |
typedef mdds::mtv::noncopyable_managed_element_block< element_type_sparkline, sc::SparklineCell > | sparkline_block |
Custom element blocks. More... | |
typedef mdds::mtv::noncopyable_managed_element_block< element_type_cellnote, ScPostIt > | cellnote_block |
typedef mdds::mtv::noncopyable_managed_element_block< element_type_broadcaster, SvtBroadcaster > | broadcaster_block |
typedef mdds::mtv::default_element_block< element_type_celltextattr, CellTextAttr > | celltextattr_block |
typedef mdds::mtv::default_element_block< element_type_string, svl::SharedString > | string_block |
typedef mdds::mtv::noncopyable_managed_element_block< element_type_edittext, EditTextObject > | edittext_block |
typedef mdds::mtv::noncopyable_managed_element_block< element_type_formula, ScFormulaCell > | formula_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::soa::multi_type_vector< SparklineTraits > | SparklineStoreType |
Sparkline container. More... | |
typedef mdds::mtv::soa::multi_type_vector< CellNodeTraits > | CellNoteStoreType |
Cell note container. More... | |
typedef mdds::mtv::soa::multi_type_vector< BroadcasterTraits > | BroadcasterStoreType |
Broadcaster storage container. More... | |
typedef mdds::mtv::soa::multi_type_vector< CellTextAttrTraits > | CellTextAttrStoreType |
Cell text attribute container. More... | |
typedef mdds::mtv::soa::multi_type_vector< CellStoreTraits > | CellStoreType |
Cell container. More... | |
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 |
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 SfxItemPropertyMapEntry > | lcl_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 |
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 mdds::mtv::noncopyable_managed_element_block<element_type_broadcaster, SvtBroadcaster> sc::broadcaster_block |
Definition at line 63 of file mtvelements.hxx.
typedef mdds::mtv::soa::multi_type_vector<BroadcasterTraits> sc::BroadcasterStoreType |
Broadcaster storage container.
Definition at line 146 of file mtvelements.hxx.
typedef mdds::mtv::noncopyable_managed_element_block<element_type_cellnote, ScPostIt> sc::cellnote_block |
Definition at line 62 of file mtvelements.hxx.
typedef mdds::mtv::soa::multi_type_vector<CellNodeTraits> sc::CellNoteStoreType |
Cell note container.
Definition at line 143 of file mtvelements.hxx.
typedef mdds::mtv::soa::multi_type_vector<CellStoreTraits> sc::CellStoreType |
Cell container.
Definition at line 152 of file mtvelements.hxx.
typedef mdds::mtv::default_element_block<element_type_celltextattr, CellTextAttr> sc::celltextattr_block |
Definition at line 64 of file mtvelements.hxx.
typedef mdds::mtv::soa::multi_type_vector<CellTextAttrTraits> sc::CellTextAttrStoreType |
Cell text attribute container.
Definition at line 149 of file mtvelements.hxx.
typedef mdds::mtv::noncopyable_managed_element_block<element_type_edittext, EditTextObject> sc::edittext_block |
Definition at line 66 of file mtvelements.hxx.
typedef mdds::mtv::noncopyable_managed_element_block<element_type_formula, ScFormulaCell> sc::formula_block |
Definition at line 67 of file mtvelements.hxx.
typedef std::map<OUString, BitmapEx> sc::IconSetBitmapMap |
Definition at line 217 of file document.hxx.
typedef mdds::mtv::double_element_block sc::numeric_block |
Mapped standard element blocks (for convenience).
Definition at line 70 of file mtvelements.hxx.
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.
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.
typedef cppu::WeakImplHelper<css::chart2::data::XDataSource, css::lang::XServiceInfo> sc::PivotTableDataSource_Base |
Definition at line 26 of file PivotTableDataSource.hxx.
typedef mdds::mtv::noncopyable_managed_element_block<element_type_sparkline, sc::SparklineCell> sc::sparkline_block |
Custom element blocks.
Definition at line 61 of file mtvelements.hxx.
typedef mdds::mtv::soa::multi_type_vector<SparklineTraits> sc::SparklineStoreType |
Sparkline container.
Definition at line 140 of file mtvelements.hxx.
typedef mdds::mtv::default_element_block<element_type_string, svl::SharedString> sc::string_block |
Definition at line 65 of file mtvelements.hxx.
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.
typedef cppu::WeakImplHelper<css::table::XTablePivotCharts, css::container::XIndexAccess, css::lang::XServiceInfo> sc::TablePivotCharts_Base |
Definition at line 28 of file TablePivotCharts.hxx.
typedef std::vector<std::unique_ptr<TableType> > sc::TablesType |
Definition at line 274 of file cellvalues.cxx.
typedef std::vector<std::unique_ptr<CellValues> > sc::TableType |
Definition at line 273 of file cellvalues.cxx.
typedef mdds::mtv::uint16_element_block sc::uint16_block |
Definition at line 71 of file mtvelements.hxx.
|
strong |
Enumerator | |
---|---|
SUM | |
AVERAGE | |
MIN | |
MAX |
Definition at line 41 of file datatransformation.hxx.
|
strong |
|
strong |
The method of calculating the axis min or max value.
Enumerator | |
---|---|
Individual | |
Group | |
Custom |
Definition at line 30 of file SparklineAttributes.hxx.
|
strong |
Enumerator | |
---|---|
Unknown | |
InsertColumnsBefore | |
InsertColumnsAfter | |
InsertRowsBefore | |
InsertRowsAfter | |
DeleteColumns | |
DeleteRows |
Definition at line 426 of file global.hxx.
Enumerator | |
---|---|
CO_LESS_EQUAL | |
CO_EQUAL | |
CO_GREATER_EQUAL | |
CO_INTEGER | |
CO_BINARY |
Definition at line 50 of file SolverSettings.hxx.
enum sc::ConstraintPart |
Enumerator | |
---|---|
CP_LEFT_HAND_SIDE | |
CP_OPERATOR | |
CP_RIGHT_HAND_SIDE |
Definition at line 60 of file SolverSettings.hxx.
|
strong |
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.
|
strong |
Enumerator | |
---|---|
Import | |
Recalc | |
Render | |
LAST |
Definition at line 26 of file datastreamgettime.hxx.
|
strong |
Determines how to display the empty cells.
Enumerator | |
---|---|
Span | |
Gap | |
Zero |
Definition at line 38 of file SparklineAttributes.hxx.
enum sc::GroupCalcState |
|
strong |
|
strong |
|
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.
enum sc::ObjectiveType |
Enumerator | |
---|---|
OT_MAXIMIZE | |
OT_MINIMIZE | |
OT_VALUE |
Definition at line 25 of file SolverSettings.hxx.
|
strong |
Enumerator | |
---|---|
Unknown | |
Row | |
Col |
Definition at line 31 of file SparklineData.hxx.
enum sc::SolverParameter |
Enumerator | |
---|---|
SP_OBJ_CELL | |
SP_OBJ_TYPE | |
SP_OBJ_VAL | |
SP_VAR_CELLS | |
SP_CONSTR_COUNT | |
SP_LO_ENGINE | |
SP_MS_ENGINE | |
SP_INTEGER | |
SP_NON_NEGATIVE | |
SP_EPSILON_LEVEL | |
SP_LIMIT_BBDEPTH | |
SP_TIMEOUT | |
SP_ALGORITHM |
Definition at line 32 of file SolverSettings.hxx.
|
strong |
Supported sparkline types.
Enumerator | |
---|---|
Line | |
Column | |
Stacked |
Definition at line 22 of file SparklineAttributes.hxx.
|
strong |
Enumerator | |
---|---|
TO_LOWER | |
TO_UPPER | |
CAPITALIZE | |
TRIM |
Definition at line 39 of file datatransformation.hxx.
|
strong |
Definition at line 23 of file datatransformation.hxx.
|
strong |
Enumerator | |
---|---|
Empty | |
String | |
Numeric |
Definition at line 34 of file PivotTableDataSequence.hxx.
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.
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.
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().
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.
double sc::CompareEmptyToNumericFunc | ( | double | fCell2 | ) |
Left cell is empty while the right cell is numeric.
Definition at line 312 of file compare.cxx.
double sc::CompareFunc | ( | const Compare & | rComp, |
CompareOptions * | pOptions = nullptr |
||
) |
pOptions | Used for comparing two strings, if given. NULL means that for comparing two strings ScQueryOp rComp.meOp is tested for SC_EQUAL and SC_NOT_EQUAL, else pOptions->aQueryEntry.eOp Case sensitivity document option is always to be passed in rComp.mbIgnoreCase. |
Definition at line 54 of file compare.cxx.
References sc::CompareOptions::aQueryEntry, sc::CompareOptions::bMatchWholeCell, ScQueryEntry::ByString, CollatorWrapper::compareString(), ScQueryEntry::eOp, sc::CompareOptions::eSearchType, ScGlobal::GetCaseCollator(), ScGlobal::GetCollator(), svl::SharedString::getData(), svl::SharedString::getDataIgnoreCase(), svl::SharedString::getLength(), ScQueryEntry::GetQueryItem(), ScQueryEntry::GetQueryItems(), ScQueryEntry::GetSearchTextPtr(), svl::SharedString::getString(), ScGlobal::GetTransliteration(), svl::SharedString::isEmpty(), sc::Compare::maCells, sc::Compare::Cell::maStr, ScQueryEntry::Item::maString, sc::Compare::Cell::mbEmpty, sc::Compare::mbIgnoreCase, sc::Compare::Cell::mbValue, sc::Compare::meOp, ScQueryEntry::Item::meType, sc::Compare::Cell::mfValue, utl::SearchParam::Normal, ScGlobal::oSysLocale, SC_EQUAL, SC_NOT_EQUAL, utl::TextSearch::SearchForward(), and utl::TransliterationWrapper::transliterate().
Referenced by ScInterpreter::Compare(), and ScInterpreter::CompareMat().
double sc::CompareFunc | ( | const Compare::Cell & | rCell1, |
double | fCell2, | ||
const CompareOptions * | pOptions | ||
) |
Definition at line 228 of file compare.cxx.
References sc::CompareOptions::aQueryEntry, ScQueryEntry::ByString, ScQueryEntry::eOp, ScQueryEntry::GetQueryItems(), svl::SharedString::isEmpty(), sc::Compare::Cell::maStr, ScQueryEntry::Item::maString, sc::Compare::Cell::mbEmpty, sc::Compare::Cell::mbValue, ScQueryEntry::Item::meType, sc::Compare::Cell::mfValue, SC_EQUAL, and SC_NOT_EQUAL.
double sc::CompareFunc | ( | double | fCell1, |
double | fCell2 | ||
) |
Definition at line 290 of file compare.cxx.
double sc::datastream_get_time | ( | DebugTime | nIdx | ) |
Definition at line 40 of file datastream.cxx.
References fTimes.
Referenced by ScInterpreter::ScDebugVar().
|
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().
|
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().
void sc::EachElem | ( | NodeT & | rNode, |
FuncElem & | rFuncElem | ||
) |
Definition at line 124 of file mtvfunctions.hxx.
void sc::EachElem | ( | NodeT & | rNode, |
size_t | nOffset, | ||
size_t | nDataSize, | ||
FuncElem & | rFuncElem | ||
) |
Definition at line 112 of file mtvfunctions.hxx.
void sc::EachElemReverse | ( | NodeT & | rNode, |
FuncElem & | rFuncElem | ||
) |
Definition at line 134 of file mtvfunctions.hxx.
|
static |
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.
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.
std::pair< CellStoreType::const_iterator, size_t > sc::FindFormula | ( | const CellStoreType & | rStore, |
SCROW | nRow1, | ||
SCROW | nRow2, | ||
Func & | rFunc | ||
) |
Definition at line 129 of file mtvcellfunc.hxx.
Referenced by ScTable::DoAutoOutline(), ScColumn::HasFormulaCell(), and ScTable::TestRemoveSubTotals().
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().
sc::IMPL_LINK | ( | SearchResultsDlg | , |
HeaderBarClick | , | ||
int | , | ||
nColumn | , | ||
void | |||
) |
Definition at line 200 of file searchresults.cxx.
References TRISTATE_FALSE, TRISTATE_INDET, and TRISTATE_TRUE.
sc::IMPL_LINK | ( | SparklineDataRangeDialog | , |
ButtonClicked | , | ||
weld::Button & | , | ||
rButton | , | ||
void | |||
) |
Definition at line 179 of file SparklineDataRangeDialog.cxx.
References RET_CANCEL, and RET_OK.
sc::IMPL_LINK | ( | SparklineDataRangeDialog | , |
ButtonFocusHandler | , | ||
formula::RefButton & | , | ||
rButton | , | ||
void | |||
) |
Definition at line 136 of file SparklineDataRangeDialog.cxx.
sc::IMPL_LINK | ( | SparklineDataRangeDialog | , |
EditFocusHandler | , | ||
formula::RefEdit & | , | ||
rEdit | , | ||
void | |||
) |
Definition at line 125 of file SparklineDataRangeDialog.cxx.
sc::IMPL_LINK | ( | SparklineDialog | , |
ButtonClicked | , | ||
weld::Button & | , | ||
rButton | , | ||
void | |||
) |
Definition at line 377 of file SparklineDialog.cxx.
References RET_CANCEL, and RET_OK.
sc::IMPL_LINK | ( | SparklineDialog | , |
ButtonFocusHandler | , | ||
formula::RefButton & | , | ||
rButton | , | ||
void | |||
) |
Definition at line 313 of file SparklineDialog.cxx.
sc::IMPL_LINK | ( | SparklineDialog | , |
ComboValueChanged | , | ||
weld::ComboBox & | , | ||
rComboBox | , | ||
void | |||
) |
Definition at line 458 of file SparklineDialog.cxx.
References Custom, Group, and Individual.
sc::IMPL_LINK | ( | SparklineDialog | , |
EditFocusHandler | , | ||
formula::RefEdit & | , | ||
rEdit | , | ||
void | |||
) |
Definition at line 298 of file SparklineDialog.cxx.
sc::IMPL_LINK | ( | SparklineDialog | , |
SpinCustomChanged | , | ||
weld::FormattedSpinButton & | , | ||
rFormatted | , | ||
void | |||
) |
Definition at line 446 of file SparklineDialog.cxx.
sc::IMPL_LINK | ( | SparklineDialog | , |
ToggleHandler | , | ||
weld::Toggleable & | , | ||
rToggle | , | ||
void | |||
) |
Definition at line 390 of file SparklineDialog.cxx.
sc::IMPL_LINK_NOARG | ( | DataStream | , |
ImportTimerHdl | , | ||
Timer * | , | ||
void | |||
) |
Definition at line 542 of file datastream.cxx.
sc::IMPL_LINK_NOARG | ( | DataStreamDlg | , |
BrowseHdl | , | ||
weld::Button & | , | ||
void | |||
) |
Definition at line 51 of file datastreamdlg.cxx.
References sfx2::FileDialogHelper::CalcDataStream, ERRCODE_NONE, sfx2::FileDialogHelper::Execute(), sfx2::FileDialogHelper::GetPath(), m_xDialog, and sfx2::FileDialogHelper::SetContext().
sc::IMPL_LINK_NOARG | ( | DataStreamDlg | , |
UpdateClickHdl | , | ||
weld::Toggleable & | , | ||
void | |||
) |
Definition at line 62 of file datastreamdlg.cxx.
sc::IMPL_LINK_NOARG | ( | DataStreamDlg | , |
UpdateComboBoxHdl | , | ||
weld::ComboBox & | , | ||
void | |||
) |
Definition at line 64 of file datastreamdlg.cxx.
sc::IMPL_LINK_NOARG | ( | DataStreamDlg | , |
UpdateHdl | , | ||
weld::Entry & | , | ||
void | |||
) |
Definition at line 66 of file datastreamdlg.cxx.
sc::IMPL_LINK_NOARG | ( | SearchResultsDlg | , |
ListSelectHdl | , | ||
weld::TreeView & | , | ||
void | |||
) |
Definition at line 231 of file searchresults.cxx.
References ScTabView::AlignToCursor(), ScAddress::Col(), ScTabViewShell::GetActiveViewShell(), ScAddress::Parse(), ScAddress::Row(), SC_FOLLOW_JUMP, ScTabView::SetCursor(), ScTabView::SetTabNo(), and VALID.
sc::IMPL_LINK_NOARG | ( | SharedStringPoolPurge | , |
timerHandler | , | ||
Timer * | , | ||
void | |||
) |
Definition at line 49 of file sharedstringpoolpurge.cxx.
References cleanup().
sc::IMPL_LINK_NOARG | ( | SparklineDataRangeDialog | , |
LoseButtonFocusHandler | , | ||
formula::RefButton & | , | ||
void | |||
) |
Definition at line 152 of file SparklineDataRangeDialog.cxx.
References m_xDialog.
sc::IMPL_LINK_NOARG | ( | SparklineDataRangeDialog | , |
LoseEditFocusHandler | , | ||
formula::RefEdit & | , | ||
void | |||
) |
Definition at line 147 of file SparklineDataRangeDialog.cxx.
References m_xDialog.
sc::IMPL_LINK_NOARG | ( | SparklineDataRangeDialog | , |
RefInputModifyHandler | , | ||
formula::RefEdit & | , | ||
void | |||
) |
Definition at line 157 of file SparklineDataRangeDialog.cxx.
References ScAddress::INITIALIZE_INVALID, and ScRangeList::size().
sc::IMPL_LINK_NOARG | ( | SparklineDialog | , |
LoseButtonFocusHandler | , | ||
formula::RefButton & | , | ||
void | |||
) |
Definition at line 333 of file SparklineDialog.cxx.
References m_xDialog.
sc::IMPL_LINK_NOARG | ( | SparklineDialog | , |
LoseEditFocusHandler | , | ||
formula::RefEdit & | , | ||
void | |||
) |
Definition at line 328 of file SparklineDialog.cxx.
References m_xDialog.
sc::IMPL_LINK_NOARG | ( | SparklineDialog | , |
RefInputModifyHandler | , | ||
formula::RefEdit & | , | ||
void | |||
) |
Definition at line 338 of file SparklineDialog.cxx.
References ScAddress::INITIALIZE_INVALID, and ScRangeList::size().
sc::IMPL_LINK_NOARG | ( | SparklineDialog | , |
SelectSparklineType | , | ||
weld::ComboBox & | , | ||
void | |||
) |
sc::IMPL_LINK_NOARG | ( | SparklineDialog | , |
SpinLineWidthChanged | , | ||
weld::SpinButton & | , | ||
void | |||
) |
Definition at line 440 of file SparklineDialog.cxx.
References value.
sc::IMPL_STATIC_LINK | ( | SearchResultsDlg | , |
OnShowToggled | , | ||
weld::Toggleable & | , | ||
rButton | , | ||
void | |||
) |
Definition at line 258 of file searchresults.cxx.
References ScTabViewShell::GetActiveViewShell(), ScViewData::GetOptions(), ScTabView::GetViewData(), ScViewOptions::SetOption(), ScViewData::SetOptions(), and VOPT_SUMMARY.
|
static |
Definition at line 31 of file PivotTableDataSequence.cxx.
References cppu::UnoType< typename T >::get(), SC_UNONAME_HIDDENVALUES, SC_UNONAME_INCLUDEHIDDENCELLS, and SC_UNONAME_ROLE.
|
inline |
Definition at line 1160 of file interpre.hxx.
CellStoreType::const_iterator sc::ParseAll | ( | const typename CellStoreType::const_iterator & | itPos, |
const CellStoreType & | rCells, | ||
SCROW | nRow1, | ||
SCROW | nRow2, | ||
FuncElem & | rFuncElem, | ||
FuncElse & | rFuncElse | ||
) |
Definition at line 83 of file mtvcellfunc.hxx.
References ParseElements4().
Referenced by ScColumn::GetFilterEntries(), ScColumn::MixData(), and ScTable::TransposeClip().
CellStoreType::const_iterator sc::ParseAllNonEmpty | ( | const typename CellStoreType::const_iterator & | itPos, |
const CellStoreType & | rCells, | ||
SCROW | nRow1, | ||
SCROW | nRow2, | ||
Func & | rFunc | ||
) |
Definition at line 95 of file mtvcellfunc.hxx.
References ParseElements4().
Referenced by ScDocument::FillInfo(), ScColumn::GetMaxStringLen(), ScColumn::GetOptimalColWidth(), ScColumn::ResolveStaticReference(), ScColumn::UpdateScriptTypes(), and ScColumn::UpdateSelectionFunction().
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 | ||
) |
Generic algorithm to parse blocks of multi_type_vector either partially or fully.
Definition at line 43 of file mtvfunctions.hxx.
Referenced by ScColumn::AssertNoInterpretNeeded(), ScColumn::CopyFromClip(), ScColumn::CopyToClip(), ScColumn::CopyToColumn(), ScColumn::CopyUpdated(), ScColumn::FillMatrix(), ScColumn::FindUsed(), sc::SingleColumnSpanSet::scan(), sc::ColumnSpanSet::scan(), ScColumn::StoreToCache(), and ScColumn::VisibleCount().
void sc::ParseElements1 | ( | const StoreT & | rStore, |
FuncElem & | rFuncElem, | ||
FuncElse & | rFuncElse | ||
) |
Definition at line 167 of file mtvfunctions.hxx.
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.
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().
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().
void sc::ParseFormula | ( | const CellStoreType & | rStore, |
Func & | rFunc | ||
) |
Definition at line 63 of file mtvcellfunc.hxx.
Referenced by ScColumn::ConvertFormulaToValue(), ScColumn::FindRangeNamesInUse(), ScColumn::GetCodeCount(), ScColumn::RemoveProtected(), ScTable::RemoveSubTotals(), and ScColumn::TestTabRefAbs().
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.
CellStoreType::const_iterator sc::ParseFormulaNumeric | ( | const CellStoreType::const_iterator & | itPos, |
const CellStoreType & | rCells, | ||
SCROW | nRow1, | ||
SCROW | nRow2, | ||
Func & | rFunc | ||
) |
Definition at line 108 of file mtvcellfunc.hxx.
References ParseElements2().
Referenced by ScColumn::GetMaxNumberStringLen(), and ScColumn::UpdateSelectionFunction().
CellNoteStoreType::const_iterator sc::ParseNote | ( | const CellNoteStoreType::const_iterator & | itPos, |
const CellNoteStoreType & | rStore, | ||
SCROW | nStart, | ||
SCROW | nEnd, | ||
Func & | rFunc | ||
) |
Definition at line 152 of file mtvcellfunc.hxx.
Referenced by ScColumn::CellNotesDeleting(), and ScColumn::CopyCellNotesToDocument().
SparklineStoreType::const_iterator sc::ParseSparkline | ( | const SparklineStoreType::const_iterator & | itPos, |
const SparklineStoreType & | rStore, | ||
SCROW | nStart, | ||
SCROW | nEnd, | ||
Functor & | rFunctor | ||
) |
Definition at line 183 of file mtvcellfunc.hxx.
Referenced by ScColumn::CopyCellSparklinesToDocument(), ScColumn::DeleteSparkline(), and ScColumn::DeleteSparklineCells().
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().
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().
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().
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().
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.
void sc::ProcessElements1 | ( | StoreT & | rStore, |
FuncElem & | rFuncElem, | ||
FuncElse & | rFuncElse | ||
) |
Definition at line 317 of file mtvfunctions.hxx.
Referenced by ProcessBroadcaster(), ProcessFormula(), and ProcessNote().
void sc::ProcessElements2 | ( | StoreT & | rStore, |
FuncElem & | rFuncElem, | ||
FuncElse & | rFuncElse | ||
) |
Definition at line 376 of file mtvfunctions.hxx.
void sc::ProcessElements2Reverse | ( | StoreT & | rStore, |
FuncElem & | rFuncElem, | ||
FuncElse & | rFuncElse | ||
) |
Definition at line 398 of file mtvfunctions.hxx.
void sc::ProcessFormula | ( | CellStoreType & | rStore, |
Func & | rFunc | ||
) |
Definition at line 20 of file mtvcellfunc.hxx.
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().
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().
CellStoreType::iterator sc::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.
This function allows modifications of the states of the formula function objects.
Definition at line 12 of file mtvcellfunc.cxx.
References ProcessElements1().
Referenced by ScColumn::AttachFormulaCells(), ScColumn::BroadcastRecalcOnRefMove(), ScColumn::CalcAfterLoad(), ScColumn::CalcAll(), ScColumn::CheckVectorizationState(), ScColumn::CollectFormulaCells(), ScColumn::CompileAll(), ScColumn::CompileColRowNameFormula(), ScColumn::CompileDBFormula(), ScColumn::CompileErrorCells(), ScColumn::CompileXML(), ScColumn::DeleteRow(), ScColumn::DetachFormulaCells(), ScColumn::InterpretCellsIfNeeded(), ScColumn::InterpretDirtyCells(), ScColumn::ResetChanged(), ScColumn::ResetFormulaCellPositions(), ScColumn::SetAllFormulasDirty(), ScColumn::SetDirty(), ScColumn::SetDirtyAfterLoad(), ScColumn::SetDirtyFromClip(), ScColumn::SetDirtyIfPostponed(), ScColumn::SetDirtyVar(), ScColumn::SetTableOpDirty(), ScColumn::SetTabNo(), ScColumn::SplitFormulaGroupByRelativeRef(), ScColumn::SwapNonEmpty(), ScColumn::UpdateCompile(), ScColumn::UpdateGrow(), and ScColumn::UpdateTranspose().
void sc::ProcessFormulaEditText | ( | CellStoreType & | rStore, |
Func & | rFunc | ||
) |
Definition at line 119 of file mtvcellfunc.hxx.
Referenced by ScColumn::UpdateDeleteTab(), ScColumn::UpdateInsertTabAbs(), ScColumn::UpdateInsertTabOnlyCells(), and ScColumn::UpdateMoveTab().
void sc::ProcessNote | ( | CellNoteStoreType & | rStore, |
Func & | rFunc | ||
) |
Definition at line 144 of file mtvcellfunc.hxx.
Referenced by ScColumn::CreateAllNoteCaptions(), ScColumn::ForgetNoteCaptions(), and ScColumn::UpdateNoteCaptions().
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().
void sc::SetElementsToEmpty1 | ( | StoreT & | rStore, |
FuncElem & | rFuncElem | ||
) |
Definition at line 528 of file mtvfunctions.hxx.
References element_type_empty.
sc::SFX_IMPL_CHILDWINDOW_WITHID | ( | SearchResultsDlgWrapper | , |
SID_SEARCH_RESULTS_DIALOG | |||
) |
ScRefCellValue sc::toRefCell | ( | const sc::CellStoreType::const_iterator & | itPos, |
size_t | nOffset | ||
) |
Definition at line 173 of file mtvelements.cxx.
References element_type_edittext, element_type_formula, element_type_numeric, and element_type_string.
Referenced by sc::ColumnIterator::getCell(), ScCountIfCellIterator< ScQueryCellIteratorAccess::SortedCache >::GetCount(), ScCellIterator::getCurrent(), ScDBQueryDataIterator::DataAccessInternal::getCurrent(), and ScHorizontalCellIterator::GetNext().
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.
std::vector< Span > sc::toSpanArray | ( | const mdds::flat_segment_tree< Key, bool > & | rTree, |
Key | nStartPos | ||
) |
Definition at line 108 of file fstalgorithm.hxx.
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.
constexpr ::tools::Long sc::TwipsToEvenHMM | ( | ::tools::Long | nTwips | ) |
Definition at line 100 of file global.hxx.
References o3tl::convert().
Referenced by ScCellShell::Execute(), ScDocDefaultsObj::getPropertyValue(), and IMPL_LINK_NOARG().
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 44 of file mtvelements.hxx.
Referenced by ScColumn::CollectBroadcasterState(), ScColumn::EndListening(), and ScColumn::PrepareBroadcastersForDestruction().
const mdds::mtv::element_t sc::element_type_cellnote = mdds::mtv::element_type_user_start + 5 |
Definition at line 51 of file mtvelements.hxx.
Referenced by ScColumn::GetCellNote(), ScColumn::GetCellNotesMaxRow(), ScColumn::GetNotePosition(), and ScColumn::HasCellNote().
const mdds::mtv::element_t sc::element_type_celltextattr = mdds::mtv::element_type_user_start + 1 |
Definition at line 45 of file mtvelements.hxx.
Referenced by sc::CellValues::copyCellTextAttrsTo(), ScColumn::GetCellTextAttr(), ScColumn::GetRangeScriptType(), ScColumnTextWidthIterator::init(), ScColumnTextWidthIterator::next(), ScColumn::SetScriptType(), and ScColumn::SetTextWidth().
const mdds::mtv::element_t sc::element_type_edittext = mdds::mtv::element_type_user_start + 3 |
Definition at line 48 of file mtvelements.hxx.
Referenced by sc::CellValues::copyCellsTo(), ScColumn::CopyCellToDocument(), ScColumn::CopyStaticToDocument(), ScColumn::FetchVectorRefArray(), ScColumn::GetCellType(), ScColumn::GetCellValue(), ScCountIfCellIterator< ScQueryCellIteratorAccess::SortedCache >::GetCount(), ScColumn::GetEditText(), ScColumn::GetNextSpellingCell(), ScColumn::GetSharedString(), ScValueIterator::GetThis(), ScColumn::HasStringCells(), ScColumn::HasStringData(), lcl_EvalDirty(), ScColumn::RemoveEditTextCharAttribs(), ScColumn::ResolveStaticReference(), sc::EditTextIterator::seek(), and toRefCell().
const mdds::mtv::element_t sc::element_type_empty = mdds::mtv::element_type_empty |
Definition at line 56 of file mtvelements.hxx.
Referenced by ScColumn::CellStorageModified(), ScColumn::CopyCellToDocument(), ScColumn::DeleteRow(), ScColumn::FetchVectorRefArray(), ScColumn::FindDataAreaPos(), ScColumn::FindNextVisibleRowWithContent(), ScCellIterator::getCurrent(), ScDBQueryDataIterator::DataAccessInternal::getCurrent(), ScColumn::GetEmptyLinesInBlock(), ScColumn::GetFirstDataPos(), ScColumn::GetLastDataPos(), ScColumn::GetNeededSize(), ScColumn::GetNextDataPos(), ScTable::GetNextMarkedCell(), ScColumn::GetNextSpellingCell(), sc::CellValues::getNonEmptySpans(), ScColumn::GetOptimalColWidth(), ScColumn::GetPrevDataPos(), ScValueIterator::GetThis(), ScColumn::HasCellNotes(), ScColumn::HasDataAt(), ScColumn::HasDataCellsInRange(), ScColumn::HasSparklines(), ScColumn::HasVisibleDataAt(), ScColumn::IsEmptyData(), ScColumn::IsNotesEmptyBlock(), ScColumn::IsSparklinesEmptyBlock(), ScQueryCellIteratorBase< accessType, queryType >::PerformQuery(), ScColumn::ResolveStaticReference(), sc::SingleColumnSpanSet::scan(), SetElementsToEmpty1(), ScHorizontalCellIterator::SetTab(), ScHorizontalCellIterator::SkipInvalidInRow(), sc::CellValues::swapNonEmpty(), ScColumn::TestInsertCol(), ScColumn::TestInsertRow(), and ScColumn::TrimEmptyBlocks().
const mdds::mtv::element_t sc::element_type_formula = mdds::mtv::element_type_user_start + 4 |
Definition at line 49 of file mtvelements.hxx.
Referenced by assertNoInterpretNeededHelper(), ScColumn::AttachFormulaCells(), ScColumn::AttachNewFormulaCells(), ScColumn::CalculateInThread(), ScColumn::CloneFormulaCell(), sc::CellValues::copyCellsTo(), ScColumn::CopyCellToDocument(), ScColumn::CopyStaticToDocument(), ScColumn::DeleteContent(), sc::CellStoreEvent::element_block_acquired(), sc::CellStoreEvent::element_block_released(), ScColumn::EndListeningGroup(), ScColumn::EndListeningIntersectedGroup(), ScColumn::EndListeningIntersectedGroups(), ScColumn::FetchVectorRefArray(), ScColumn::GetBlockMatrixEdges(), ScColumn::GetCellType(), ScColumn::GetCellValue(), ScCellIterator::getCurrent(), ScColumn::GetErrCode(), ScColumn::GetFormulaCellBlockAddress(), ScColumn::GetPositionToInsert(), sc::SharedFormulaUtil::getSharedTopFormulaCell(), ScValueIterator::GetThis(), ScColumn::GetValue(), ScColumn::HandleStuffAfterParallelCalculation(), ScColumn::HasSelectionMatrixFragment(), ScColumn::HasStringData(), ScColumn::HasValueData(), ScColumn::IsFormulaDirty(), sc::SharedFormulaUtil::joinFormulaCellAbove(), ScColumn::JoinNewFormulaCell(), lcl_AddFormulaGroupBoundaries(), lcl_EvalDirty(), ScColumn::ResolveStaticReference(), ScDocumentImport::setFormulaCell(), ScColumn::SetFormulaResults(), ScColumn::SetNeedsListeningGroup(), sc::SharedFormulaUtil::splitFormulaCellGroup(), and toRefCell().
const mdds::mtv::element_t sc::element_type_numeric = mdds::mtv::element_type_double |
Mapped standard element types (for convenience).
Definition at line 55 of file mtvelements.hxx.
Referenced by sc::CellValues::copyCellsTo(), ScColumn::CopyCellToDocument(), ScColumn::CopyStaticToDocument(), ScColumn::FetchVectorRefArray(), ScColumn::GetCellType(), ScColumn::GetCellValue(), ScValueIterator::GetThis(), ScColumn::GetValue(), ScColumn::GetValueCell(), ScColumn::HasValueData(), ScColumn::ResolveStaticReference(), and toRefCell().
const mdds::mtv::element_t sc::element_type_sparkline = mdds::mtv::element_type_user_start + 6 |
Definition at line 52 of file mtvelements.hxx.
Referenced by ScColumn::GetSparklinesMaxRow().
const mdds::mtv::element_t sc::element_type_string = mdds::mtv::element_type_user_start + 2 |
Definition at line 47 of file mtvelements.hxx.
Referenced by sc::CellValues::copyCellsTo(), ScColumn::CopyCellToDocument(), ScColumn::CopyStaticToDocument(), ScColumn::FetchVectorRefArray(), ScColumn::GetCellType(), ScColumn::GetCellValue(), ScCountIfCellIterator< ScQueryCellIteratorAccess::SortedCache >::GetCount(), ScColumn::GetNextSpellingCell(), ScColumn::GetSharedString(), ScValueIterator::GetThis(), ScColumn::HasStringCells(), ScColumn::HasStringData(), ScColumn::ResolveStaticReference(), and toRefCell().
const mdds::mtv::element_t sc::element_type_uint16 = mdds::mtv::element_type_uint16 |
Definition at line 57 of file mtvelements.hxx.
|
static |
Definition at line 38 of file datastream.cxx.
Referenced by datastream_get_time(), KahanSum::operator*(), KahanSum::operator*=(), sc::DataStream::Refresh(), and sc::DataStream::Text2Doc().