LibreOffice Module sc (master)  1
Static Public Member Functions | List of all members
ScViewUtil Class Reference

#include <viewutil.hxx>

Static Public Member Functions

static void ExecuteCharMap (const SvxFontItem &rOldFont, SfxViewFrame &rFrame)
static bool IsActionShown (const ScChangeAction &rAction, const ScChangeViewSettings &rSettings, ScDocument &rDocument)
static void PutItemScript (SfxItemSet &rShellSet, const SfxItemSet &rCoreSet, sal_uInt16 nWhichId, SvtScriptType nScript)
static LanguageType GetEffLanguage (ScDocument &rDoc, const ScAddress &rPos)
static TransliterationFlags GetTransliterationType (sal_uInt16 nSlotID)
static bool HasFiltered (const ScRange &rRange, const ScDocument &rDoc)
static bool FitToUnfilteredRows (ScRange &rRange, const ScDocument &rDoc, size_t nRows)
 Fit a range to cover nRows number of unfiltered rows. More...
static void UnmarkFiltered (ScMarkData &rMark, const ScDocument &rDoc)
static void HideDisabledSlot (SfxItemSet &rSet, SfxBindings &rBindings, sal_uInt16 nSlotId)
static bool IsFullScreen (const SfxViewShell &rViewShell)
 Returns true, if the passed view shell is in full screen mode. More...
static void SetFullScreen (const SfxViewShell &rViewShell, bool bSet)
 Enters or leaves full screen mode at the passed view shell. More...

Detailed Description

Definition at line 41 of file viewutil.hxx.

Member Function Documentation

void ScViewUtil::ExecuteCharMap ( const SvxFontItem rOldFont,
SfxViewFrame rFrame 
bool ScViewUtil::FitToUnfilteredRows ( ScRange rRange,
const ScDocument rDoc,
size_t  nRows 

Fit a range to cover nRows number of unfiltered rows.

<TRUE> if the resulting range covers nRows unfiltered rows.

Definition at line 258 of file viewutil.cxx.

References ScRange::aEnd, ScRange::aStart, ScDocument::CountNonFilteredRows(), ScDocument::LastNonFilteredRow(), ScDocument::MaxRow(), nCount, ScAddress::Row(), ScAddress::SetRow(), ScAddress::Tab(), and ScDocument::ValidRow().

Referenced by ScViewFunc::PasteFromClip(), and ScViewFunc::PasteMultiRangesFromClip().

LanguageType ScViewUtil::GetEffLanguage ( ScDocument rDoc,
const ScAddress rPos 
TransliterationFlags ScViewUtil::GetTransliterationType ( sal_uInt16  nSlotID)
bool ScViewUtil::HasFiltered ( const ScRange rRange,
const ScDocument rDoc 
void ScViewUtil::HideDisabledSlot ( SfxItemSet rSet,
SfxBindings rBindings,
sal_uInt16  nSlotId 
bool ScViewUtil::IsActionShown ( const ScChangeAction rAction,
const ScChangeViewSettings rSettings,
ScDocument rDocument 
bool ScViewUtil::IsFullScreen ( const SfxViewShell rViewShell)
void ScViewUtil::PutItemScript ( SfxItemSet rShellSet,
const SfxItemSet rCoreSet,
sal_uInt16  nWhichId,
SvtScriptType  nScript 
void ScViewUtil::SetFullScreen ( const SfxViewShell rViewShell,
bool  bSet 

Enters or leaves full screen mode at the passed view shell.

Definition at line 344 of file viewutil.cxx.

References SfxDispatcher::ExecuteList(), SfxShell::GetDispatcher(), and IsFullScreen().

Referenced by ScCellShell::Execute(), and ScPreviewShell::Execute().

void ScViewUtil::UnmarkFiltered ( ScMarkData rMark,
const ScDocument rDoc 

The documentation for this class was generated from the following files: