LibreOffice Module sc (master)  1
Typedefs | Functions | Variables
bcaslot.cxx File Reference
#include <sfx2/objsh.hxx>
#include <svl/listener.hxx>
#include <sal/log.hxx>
#include <osl/diagnose.h>
#include <document.hxx>
#include <brdcst.hxx>
#include <bcaslot.hxx>
#include <scerrors.hxx>
#include <refupdat.hxx>
#include <bulkdatahint.hxx>
#include <columnspanset.hxx>
Include dependency graph for bcaslot.cxx:

Go to the source code of this file.

Typedefs

typedef ::std::vector< ScSlotData > ScSlotDistribution
 

Functions

static SCSIZE initSlotDistribution (ScSlotDistribution &rSD, SCSIZE &rBSR)
 
static void ComputeNextSlot (SCSIZE &nOff, SCSIZE &nBreak, ScBroadcastAreaSlot **&pp, SCSIZE &nStart, ScBroadcastAreaSlot **const &ppSlots, SCSIZE nRowBreak)
 

Variables

constexpr SCCOL BCA_SLOTS_COL = MAXCOLCOUNT / 16
 
constexpr SCROW BCA_SLICE = 128
 
constexpr SCROW BCA_SLOTS_ROW = MAXROWCOUNT / BCA_SLICE
 
constexpr SCCOL BCA_SLOT_COLS = MAXCOLCOUNT / BCA_SLOTS_COL
 
constexpr SCROW BCA_SLOT_ROWS = MAXROWCOUNT / BCA_SLOTS_ROW
 
constexpr int BCA_SLOTS = BCA_SLOTS_COL * BCA_SLOTS_ROW
 
static ScSlotDistribution aSlotDistribution
 
static SCSIZE nBcaSlotsRow
 
static SCSIZE nBcaSlots = initSlotDistribution( aSlotDistribution, nBcaSlotsRow) * BCA_SLOTS_COL
 

Typedef Documentation

typedef ::std::vector< ScSlotData > ScSlotDistribution

Definition at line 70 of file bcaslot.cxx.

Function Documentation

static void ComputeNextSlot ( SCSIZE nOff,
SCSIZE nBreak,
ScBroadcastAreaSlot **&  pp,
SCSIZE nStart,
ScBroadcastAreaSlot **const &  ppSlots,
SCSIZE  nRowBreak 
)
static
static SCSIZE initSlotDistribution ( ScSlotDistribution rSD,
SCSIZE rBSR 
)
static

Definition at line 76 of file bcaslot.cxx.

References MAXROWCOUNT.

Variable Documentation

ScSlotDistribution aSlotDistribution
static

Definition at line 94 of file bcaslot.cxx.

constexpr SCROW BCA_SLICE = 128

Definition at line 41 of file bcaslot.cxx.

constexpr SCCOL BCA_SLOT_COLS = MAXCOLCOUNT / BCA_SLOTS_COL

Definition at line 43 of file bcaslot.cxx.

Referenced by ScBroadcastAreaSlotMachine::ComputeSlotOffset().

constexpr SCROW BCA_SLOT_ROWS = MAXROWCOUNT / BCA_SLOTS_ROW

Definition at line 44 of file bcaslot.cxx.

constexpr int BCA_SLOTS = BCA_SLOTS_COL * BCA_SLOTS_ROW

Definition at line 50 of file bcaslot.cxx.

constexpr SCCOL BCA_SLOTS_COL = MAXCOLCOUNT / 16

Definition at line 40 of file bcaslot.cxx.

constexpr SCROW BCA_SLOTS_ROW = MAXROWCOUNT / BCA_SLICE

Definition at line 42 of file bcaslot.cxx.

Definition at line 96 of file bcaslot.cxx.

Referenced by ScBroadcastAreaSlotMachine::TableSlots::~TableSlots().

SCSIZE nBcaSlotsRow
static

Definition at line 95 of file bcaslot.cxx.

Referenced by ComputeNextSlot(), and ScBroadcastAreaSlotMachine::ComputeSlotOffset().