LibreOffice Module sc (master) 1
|
#include <viewutil.hxx>
Static Public Member Functions | |
static void | ExecuteCharMap (const SvxFontItem &rOldFont, const ScTabViewShell &rShell) |
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... | |
Definition at line 41 of file viewutil.hxx.
|
static |
Definition at line 318 of file viewutil.cxx.
References SvxAbstractDialogFactory::Create(), SvxAbstractDialogFactory::CreateCharMapDialog(), SvxFontItem::GetCharSet(), SvxFontItem::GetFamily(), SvxFontItem::GetFamilyName(), SfxViewFrame::GetFrame(), SfxFrame::GetFrameInterface(), SfxViewShell::GetFrameWeld(), SfxViewFrame::GetObjectShell(), SvxFontItem::GetPitch(), SfxShell::GetPool(), SfxItemSet::GetPool(), SvxFontItem::GetStyleName(), SfxViewShell::GetViewFrame(), SfxItemPool::GetWhich(), SfxItemSet::Put(), and xFrame.
Referenced by ScDrawTextObjectBar::Execute(), and ScEditShell::Execute().
|
static |
Fit a range to cover nRows number of unfiltered rows.
Definition at line 257 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().
|
static |
can this happen?
Definition at line 70 of file viewutil.cxx.
References ATTR_CJK_FONT_LANGUAGE(), ATTR_CTL_FONT_LANGUAGE(), ATTR_FONT_LANGUAGE(), ScAddress::Col(), ScDocument::GetAttr(), ScDocument::GetLanguage(), AllSettings::GetLanguageTag(), LanguageTag::getLanguageType(), ScDocument::GetScriptType(), Application::GetSettings(), LANGUAGE_DONTKNOW, LANGUAGE_ENGLISH_US, LANGUAGE_SYSTEM, ScAddress::Row(), and ScAddress::Tab().
Referenced by ScViewFunc::DoThesaurus(), and ScCellShell::GetCellState().
|
static |
Definition at line 99 of file viewutil.cxx.
References nType.
Referenced by ScDrawTextObjectBar::ExecuteTrans(), ScEditShell::ExecuteTrans(), and ScCellShell::ExecuteTrans().
|
static |
Definition at line 271 of file viewutil.cxx.
References ScRange::aEnd, ScRange::aStart, ScDocument::HasFilteredRows(), ScAddress::Row(), and ScAddress::Tab().
Referenced by ScGridWindow::AcceptPrivateDrop(), ScClipUtil::CheckDestRanges(), ScGridWindow::DropTransferObj(), ScViewData::GetSimpleArea(), ScViewFunc::PasteFromClip(), and ScViewFunc::PasteMultiRangesFromClip().
|
static |
Definition at line 284 of file viewutil.cxx.
References SfxItemSet::DisableItem(), SvtCJKOptions::IsAnyEnabled(), SvtCJKOptions::IsChangeCaseMapEnabled(), SvtCTLOptions::IsCTLFontEnabled(), rSet, and SfxBindings::SetVisibleState().
Referenced by ScCellShell::GetBlockState(), ScCellShell::GetState(), ScDrawTextObjectBar::GetState(), ScEditShell::GetState(), and ScModule::HideDisabledSlots().
|
static |
Definition at line 135 of file viewutil.cxx.
References ScChangeAction::GetActionNumber(), ScChangeAction::GetBigRange(), ScDocument::GetChangeTrack(), ScChangeAction::GetComment(), ScChangeAction::GetDateTime(), ScChangeAction::GetDescription(), ScChangeTrack::GetLastSavedActionNumber(), ScChangeViewSettings::GetTheActionRange(), ScChangeViewSettings::GetTheAuthorToShow(), ScChangeViewSettings::GetTheDateMode(), ScChangeViewSettings::GetTheFirstDateTime(), ScChangeViewSettings::GetTheLastDateTime(), ScChangeViewSettings::GetTheRangeList(), ScChangeAction::GetUser(), ScChangeViewSettings::HasActionRange(), ScChangeViewSettings::HasAuthor(), ScChangeViewSettings::HasComment(), ScChangeViewSettings::HasDate(), ScChangeViewSettings::HasRange(), ScRangeList::Intersects(), ScChangeAction::IsAccepted(), ScChangeAction::IsRejecting(), ScChangeViewSettings::IsShowAccepted(), ScChangeViewSettings::IsShowRejected(), ScChangeViewSettings::IsValidComment(), and ScBigRange::MakeRange().
Referenced by ScOutputData::DrawChangeTrack(), ScRedComDialog::FindNext(), ScRedComDialog::FindPrev(), ScDocument::GetCellChangeTrackNote(), ScDocument::IsCellInChangeTrack(), and ScGridWindow::ShowNoteMarker().
|
static |
Returns true, if the passed view shell is in full screen mode.
Definition at line 331 of file viewutil.cxx.
References SfxViewFrame::GetBindings(), SfxViewShell::GetViewFrame(), and SfxBindings::QueryState().
Referenced by ScCellShell::Execute(), ScPreviewShell::Execute(), ScVbaApplication::getDisplayFullScreen(), ScPreview::KeyInput(), and SetFullScreen().
|
static |
Definition at line 50 of file viewutil.cxx.
References SfxPoolItem::CloneSetWhich(), SvxScriptSetItem::GetItemOfScript(), SfxItemSet::GetPool(), SfxItemPool::GetSlotId(), SfxItemSet::InvalidateItem(), and SfxItemSet::Put().
Referenced by ScDrawTextObjectBar::GetAttrState(), ScEditShell::GetAttrState(), ScFormatShell::GetAttrState(), and ScFormatShell::GetTextAttrState().
|
static |
Enters or leaves full screen mode at the passed view shell.
Definition at line 343 of file viewutil.cxx.
References SfxDispatcher::ExecuteList(), SfxShell::GetDispatcher(), and IsFullScreen().
Referenced by ScCellShell::Execute(), and ScPreviewShell::Execute().
|
static |
Definition at line 223 of file viewutil.cxx.
References ScRange::aEnd, ScRange::aStart, ScAddress::Col(), ScMarkData::GetMultiMarkArea(), ScMarkData::HasAnyMultiMarks(), ScMarkData::MarkToMulti(), ScMarkData::MarkToSimple(), ScMarkData::ResetMark(), ScAddress::Row(), ScDocument::RowFiltered(), and ScMarkData::SetMultiMarkArea().
Referenced by ScViewFunc::ApplyPatternLines(), ScViewFunc::ApplySelectionPattern(), ScViewFunc::ChangeIndent(), ScViewFunc::DeleteContents(), ScViewFunc::DeleteMulti(), ScFormatShell::ExecuteAttr(), ScFormatShell::ExecuteStyle(), ScTabViewObj::getSelection(), ScViewFunc::PasteFromClip(), ScViewFunc::SetSelectionFrameLines(), and ScViewFunc::SetStyleSheetToMarked().