LibreOffice Module sc (master)
1
|
#include <prevwsh.hxx>
Public Member Functions | |
SFX_DECL_VIEWFACTORY (ScPreviewShell) | |
ScPreviewShell (SfxViewFrame *pViewFrame, SfxViewShell *pOldSh) | |
virtual | ~ScPreviewShell () override |
void | InitStartTable (SCTAB nTab) |
void | UpdateScrollBars () |
void | UpdateNeededScrollBars (bool bFromZoom) |
bool | ScrollCommand (const CommandEvent &rCEvt) |
void | Execute (SfxRequest &rReq) |
void | GetState (SfxItemSet &rSet) |
void | FillFieldData (ScHeaderFieldData &rData) |
TriState | GetSourceDesignMode () const |
virtual void | Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override |
virtual SfxPrinter * | GetPrinter (bool bCreate=false) override |
virtual sal_uInt16 | SetPrinter (SfxPrinter *pNewPrinter, SfxPrinterChangeFlags nDiffFlags=SFX_PRINTER_ALL) override |
virtual bool | HasPrintOptionsPage () const override |
virtual std::unique_ptr< SfxTabPage > | CreatePrintOptionsPage (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rOptions) override |
void | AddAccessibilityObject (SfxListener &rObject) |
void | RemoveAccessibilityObject (SfxListener &rObject) |
void | BroadcastAccessibility (const SfxHint &rHint) |
bool | HasAccessibilityObjects () const |
const ScPreviewLocationData & | GetLocationData () |
ScDocument & | GetDocument () |
ScPreview * | GetPreview () |
![]() | |
SfxViewShell (SfxViewFrame *pFrame, SfxViewShellFlags nFlags) | |
virtual | ~SfxViewShell () override |
SfxInPlaceClient * | GetIPClient () const |
SfxInPlaceClient * | GetUIActiveClient () const |
SfxInPlaceClient * | FindIPClient (const css::uno::Reference< css::embed::XEmbeddedObject > &xObj, vcl::Window *pObjParentWin) const |
virtual ErrCode | DoVerb (sal_Int32 nVerb) |
void | OutplaceActivated (bool bActive) |
virtual void | UIActivating (SfxInPlaceClient *pClient) |
virtual void | UIDeactivated (SfxInPlaceClient *pClient) |
void | JumpToMark (const OUString &rMark) |
void | VisAreaChanged () |
virtual bool | PrepareClose (bool bUI=true) |
virtual OUString | GetSelectionText (bool bCompleteWords=false) |
virtual bool | HasSelection (bool bText=true) const |
virtual SdrView * | GetDrawView () const |
void | AddSubShell (SfxShell &rShell) |
void | RemoveSubShell (SfxShell *pShell=nullptr) |
SfxShell * | GetSubShell (sal_uInt16) |
virtual SfxShell * | GetFormShell () |
virtual const SfxShell * | GetFormShell () const |
virtual void | notifyWindow (vcl::LOKWindowId nLOKWindowId, const OUString &rAction, const std::vector< vcl::LOKPayloadItem > &rPayload=std::vector< vcl::LOKPayloadItem >()) const override |
virtual void | ShowCursor (bool bOn=true) |
virtual bool | KeyInput (const KeyEvent &rKeyEvent) |
bool | Escape () |
vcl::Window * | GetWindow () const |
weld::Window * | GetFrameWeld () const |
void | SetWindow (vcl::Window *pViewPort) |
const SvBorder & | GetBorderPixel () const |
void | SetBorderPixel (const SvBorder &rBorder) |
void | InvalidateBorder () |
SfxViewFrame * | GetViewFrame () const |
Printer * | GetActivePrinter () const |
virtual void | QueryObjAreaPixel (tools::Rectangle &rRect) const |
virtual SfxObjectShell * | GetObjectShell () override |
virtual css::uno::Reference< css::frame::XModel > | GetCurrentDocument () const |
void | SetCurrentDocument () const |
virtual css::uno::Reference< css::view::XRenderable > | GetRenderable () |
virtual void | MarginChanged () |
const Size & | GetMargin () const |
void | SetMargin (const Size &) |
void | DisconnectAllClients () |
bool | NewWindowAllowed () const |
void | SetNewWindowAllowed (bool bSet) |
void | SetController (SfxBaseController *pController) |
css::uno::Reference< css::frame::XController > | GetController () const |
bool | TryContextMenuInterception (const css::uno::Reference< css::awt::XPopupMenu > &rIn, const OUString &rMenuIdentifier, css::uno::Reference< css::awt::XPopupMenu > &rOut, css::ui::ContextMenuExecuteEvent aEvent) |
bool | TryContextMenuInterception (const css::uno::Reference< css::awt::XPopupMenu > &, const OUString &rMenuIdentifier, css::ui::ContextMenuExecuteEvent aEvent) |
void | ExecPrint (const css::uno::Sequence< css::beans::PropertyValue > &, bool, bool) |
void | StartPrint (const css::uno::Sequence< css::beans::PropertyValue > &, bool, bool) |
const std::shared_ptr< vcl::PrinterController > & | GetPrinterController () const |
void | AddRemoveClipboardListener (const css::uno::Reference< css::datatransfer::clipboard::XClipboardListener > &, bool) |
css::uno::Reference< css::datatransfer::clipboard::XClipboardNotifier > | GetClipboardNotifier () const |
SAL_DLLPRIVATE SfxInPlaceClient * | GetUIActiveIPClient_Impl () const |
SAL_DLLPRIVATE void | AddContextMenuInterceptor_Impl (const css::uno::Reference< css::ui::XContextMenuInterceptor > &xInterceptor) |
SAL_DLLPRIVATE void | RemoveContextMenuInterceptor_Impl (const css::uno::Reference< css::ui::XContextMenuInterceptor > &xInterceptor) |
SAL_DLLPRIVATE bool | GlobalKeyInput_Impl (const KeyEvent &rKeyEvent) |
SAL_DLLPRIVATE void | NewIPClient_Impl (SfxInPlaceClient *pIPClient) |
SAL_DLLPRIVATE void | IPClientGone_Impl (SfxInPlaceClient const *pIPClient) |
SAL_DLLPRIVATE void | ResetAllClients_Impl (SfxInPlaceClient const *pIP) |
SAL_DLLPRIVATE void | SetPrinter_Impl (VclPtr< SfxPrinter > &pNewPrinter) |
SAL_DLLPRIVATE bool | HandleNotifyEvent_Impl (NotifyEvent const &rEvent) |
SAL_DLLPRIVATE bool | HasKeyListeners_Impl () const |
SAL_DLLPRIVATE bool | HasMouseClickListeners_Impl () const |
SAL_DLLPRIVATE SfxBaseController * | GetBaseController_Impl () const |
SAL_DLLPRIVATE void | ExecPrint_Impl (SfxRequest &) |
SAL_DLLPRIVATE void | ExecMisc_Impl (SfxRequest &) |
SAL_DLLPRIVATE void | GetState_Impl (SfxItemSet &) |
SAL_DLLPRIVATE void | CheckIPClient_Impl (SfxInPlaceClient const *, const tools::Rectangle &) |
SAL_DLLPRIVATE void | PushSubShells_Impl (bool bPush=true) |
SAL_DLLPRIVATE void | PopSubShells_Impl () |
SAL_DLLPRIVATE bool | ExecKey_Impl (const KeyEvent &aKey) |
void | setLibreOfficeKitViewCallback (SfxLokCallbackInterface *pCallback) |
virtual void | libreOfficeKitViewCallback (int nType, const char *pPayload) const override |
virtual void | libreOfficeKitViewCallbackWithViewId (int nType, const char *pPayload, int nViewId) const override |
virtual void | libreOfficeKitViewInvalidateTilesCallback (const tools::Rectangle *pRect, int nPart) const override |
virtual void | flushPendingLOKInvalidateTiles () |
virtual void | libreOfficeKitViewUpdatedCallback (int nType) const override |
virtual void | libreOfficeKitViewUpdatedCallbackPerViewId (int nType, int nViewId, int nSourceViewId) const override |
virtual OString | getLOKPayload (int nType, int nViewId, bool *ignore) const |
void | setTiledSearching (bool bTiledSearching) |
virtual int | getPart () const |
virtual void | dumpAsXml (xmlTextWriterPtr pWriter) const |
ViewShellId | GetViewShellId () const override |
ViewShellDocId | GetDocId () const override |
void | NotifyOtherViews (int nType, const OString &rKey, const OString &rPayload) override |
void | NotifyOtherView (OutlinerViewShell *pOtherShell, int nType, const OString &rKey, const OString &rPayload) override |
virtual void | NotifyCursor (SfxViewShell *) const |
virtual void | afterCallbackRegistered () |
virtual vcl::Window * | GetEditWindowForActiveOLEObj () const override |
void | SetLOKLanguageTag (const OUString &rBcp47LanguageTag) |
const LanguageTag & | GetLOKLanguageTag () const |
void | SetLOKLocale (const OUString &rBcp47LanguageTag) |
const LanguageTag & | GetLOKLocale () const |
LOKDeviceFormFactor | GetLOKDeviceFormFactor () const |
bool | isLOKDesktop () const |
bool | isLOKTablet () const |
bool | isLOKMobilePhone () const |
virtual tools::Rectangle | getLOKVisibleArea () const |
void | setBlockedCommandList (const char *blockedCommandList) |
bool | isBlockedCommand (OUString command) |
![]() | |
virtual | ~SfxShell () override |
virtual SfxInterface * | GetInterface () const |
void | SetName (const OUString &rName) |
const OUString & | GetName () const |
SfxViewShell * | GetViewShell () const |
const SfxPoolItem * | GetSlotState (sal_uInt16 nSlotId, const SfxInterface *pIF=nullptr, SfxItemSet *pStateSet=nullptr) |
const SfxPoolItem * | ExecuteSlot (SfxRequest &rReq, const SfxInterface *pIF=nullptr) |
void | ExecuteSlot (SfxRequest &rReq, bool bAsync) |
SfxItemPool & | GetPool () const |
void | SetPool (SfxItemPool *pNewPool) |
virtual SfxUndoManager * | GetUndoManager () |
void | SetUndoManager (SfxUndoManager *pNewUndoMgr) |
SfxRepeatTarget * | GetRepeatTarget () const |
void | SetRepeatTarget (SfxRepeatTarget *pTarget) |
virtual void | Invalidate (sal_uInt16 nId=0) |
virtual bool | IsDesignMode () const |
bool | IsActive () const |
SfxDispatcher * | GetDispatcher () const |
SfxViewFrame * | GetFrame () const |
virtual bool | HasUIFeature (SfxShellFeature nFeature) const |
void | UIFeatureChanged () |
const SfxPoolItem * | GetItem (sal_uInt16 nSlotId) const |
const T * | GetItem (TypedWhichId< T > nWhich) const |
void | PutItem (const SfxPoolItem &rItem) |
void | SetVerbs (const css::uno::Sequence< css::embed::VerbDescriptor > &aVerbs) |
const css::uno::Sequence< css::embed::VerbDescriptor > & | GetVerbs () const |
void | VerbExec (SfxRequest &) |
SAL_DLLPRIVATE const SfxSlot * | GetVerbSlot_Impl (sal_uInt16 nId) const |
void | SetDisableFlags (SfxDisableFlags nFlags) |
SfxDisableFlags | GetDisableFlags () const |
virtual std::optional< SfxItemSet > | CreateItemSet (sal_uInt16 nId) |
virtual void | ApplyItemSet (sal_uInt16 nId, const SfxItemSet &rSet) |
void | SetContextName (const OUString &rsContextName) |
void | BroadcastContextForActivation (const bool bIsActivated) |
bool | SetContextBroadcasterEnabled (const bool bIsEnabled) |
SAL_DLLPRIVATE bool | CanExecuteSlot_Impl (const SfxSlot &rSlot) |
virtual bool | IsConditionalFastCall (const SfxRequest &rReq) |
SAL_DLLPRIVATE void | DoActivate_Impl (SfxViewFrame *pFrame, bool bMDI) |
SAL_DLLPRIVATE void | DoDeactivate_Impl (SfxViewFrame const *pFrame, bool bMDI) |
Private Member Functions | |
bool | GetPageSize (Size &aPageSize) |
void | Construct (vcl::Window *pParent) |
DECL_DLLPRIVATE_LINK (ScrollHandler, ScrollBar *, void) | |
DECL_DLLPRIVATE_LINK (CloseHdl, SystemWindow &, void) | |
void | DoScroll (sal_uInt16 nMode) |
void | ExitPreview () |
virtual void | Activate (bool bMDI) override |
void | AdjustPosSizePixel (const Point &rPos, const Size &rSize) |
virtual void | InnerResizePixel (const Point &rOfs, const Size &rSize, bool inplaceEditModeChange) override |
virtual void | OuterResizePixel (const Point &rOfs, const Size &rSize) override |
virtual void | WriteUserData (OUString &, bool bBrowse=false) override |
virtual void | ReadUserData (const OUString &, bool bBrowse=false) override |
virtual void | WriteUserDataSequence (css::uno::Sequence< css::beans::PropertyValue > &) override |
virtual void | ReadUserDataSequence (const css::uno::Sequence< css::beans::PropertyValue > &) override |
Static Private Member Functions | |
static void | InitInterface_Impl () |
SfxInterface initializer. More... | |
Private Attributes | |
ScDocShell * | pDocShell |
VclPtr< SystemWindow > | mpFrameWindow |
VclPtr< ScPreview > | pPreview |
VclPtr< ScrollBar > | pHorScroll |
VclPtr< ScrollBar > | pVerScroll |
VclPtr< vcl::Window > | pCorner |
TriState | nSourceDesignMode |
SvxZoomType | eZoom |
tools::Long | nMaxVertPos |
std::unique_ptr< SfxBroadcaster > | pAccessibilityBroadcaster |
Additional Inherited Members | |
![]() | |
static SfxViewShell * | GetFirst (bool bOnlyVisible=true, const std::function< bool(const SfxViewShell *)> &isViewShell=nullptr) |
static SfxViewShell * | GetNext (const SfxViewShell &rPrev, bool bOnlyVisible=true, const std::function< bool(const SfxViewShell *)> &isViewShell=nullptr) |
static SfxViewShell * | Current () |
static SfxViewShell * | Get (const css::uno::Reference< css::frame::XController > &i_rController) |
static void | SetCurrentDocId (ViewShellDocId nId) |
![]() | |
static SfxInterface * | GetStaticInterface () |
static void | EmptyExecStub (SfxShell *pShell, SfxRequest &) |
static void | EmptyStateStub (SfxShell *pShell, SfxItemSet &) |
static void | VerbState (SfxItemSet &) |
![]() | |
virtual void | Deactivate (bool IsMDIActivate) override |
virtual void | SetZoomFactor (const Fraction &rZoomX, const Fraction &rZoomY) |
virtual void | Move () |
![]() | |
SfxShell () | |
SfxShell (SfxViewShell *pViewSh) | |
void | SetViewShell_Impl (SfxViewShell *pView) |
SAL_DLLPRIVATE void | Invalidate_Impl (SfxBindings &rBindings, sal_uInt16 nId) |
![]() | |
static void | HandleOpenXmlFilterSettings (SfxRequest &) |
Definition at line 39 of file prevwsh.hxx.
ScPreviewShell::ScPreviewShell | ( | SfxViewFrame * | pViewFrame, |
SfxViewShell * | pOldSh | ||
) |
store live ScViewData instead, and update on ScTablesHint? or completely forget aSourceData on ScTablesHint?
Definition at line 149 of file prevwsh.cxx.
References SfxShell::BroadcastContextForActivation(), Construct(), NotebookBar::ControlListenerForCurrentController(), vcl::EnumContext::GetContextName(), ScViewData::GetMarkData(), SystemWindow::GetNotebookBar(), vcl::Window::GetSystemWindow(), ScViewData::GetTabNo(), SfxViewFrame::GetWindow(), HAS_PRINTOPTIONS, InitStartTable(), nSourceDesignMode, pPreview, vcl::EnumContext::Printpreview, rData, SAL_WARN, SfxShell::SetContextBroadcasterEnabled(), SfxShell::SetContextName(), ScPreview::SetSelectedTabs(), TRISTATE_FALSE, TRISTATE_INDET, and TRISTATE_TRUE.
|
overridevirtual |
Definition at line 200 of file prevwsh.cxx.
References BroadcastAccessibility(), VclPtr< vcl::Window >::disposeAndClear(), VclPtr< reference_type >::disposeAndClear(), VclPtr< ScrollBar >::disposeAndClear(), ScDocShell::GetDocument(), ScDocument::GetDrawBroadcaster(), SfxViewShell::GetViewFrame(), SfxViewShell::GetWindow(), mpFrameWindow, pAccessibilityBroadcaster, pCorner, pDocShell, pHorScroll, pPreview, pVerScroll, SystemWindow::SetCloseHdl(), SfxViewShell::SetWindow(), and SfxGetpApp().
|
overrideprivatevirtual |
Basic etc. -> outsource to its own file (see tabvwsh4)
Reimplemented from SfxViewShell.
Definition at line 550 of file prevwsh.cxx.
References SfxViewShell::Activate(), ScInputHandler::NotifyChange(), and SC_MOD.
void ScPreviewShell::AddAccessibilityObject | ( | SfxListener & | rObject | ) |
Definition at line 1150 of file prevwsh.cxx.
References pAccessibilityBroadcaster, and SfxListener::StartListening().
Referenced by ScAccessibleDocumentPagePreview::ScAccessibleDocumentPagePreview(), ScAccessiblePageHeader::ScAccessiblePageHeader(), ScAccessiblePageHeaderArea::ScAccessiblePageHeaderArea(), ScAccessiblePreviewCell::ScAccessiblePreviewCell(), ScAccessiblePreviewHeaderCell::ScAccessiblePreviewHeaderCell(), and ScAccessiblePreviewTable::ScAccessiblePreviewTable().
Definition at line 233 of file prevwsh.cxx.
References eZoom, ScPreview::GetOptimalZoom(), pPreview, vcl::Window::SetPosSizePixel(), ScPreview::SetZoom(), and UpdateNeededScrollBars().
Referenced by InnerResizePixel(), and OuterResizePixel().
Definition at line 1168 of file prevwsh.cxx.
References pAccessibilityBroadcaster.
Referenced by ScPreview::GetFocus(), ScPreview::InvalidateLocationData(), ScPreview::LoseFocus(), and ~ScPreviewShell().
|
private |
Definition at line 103 of file prevwsh.cxx.
References VclPtr< reference_type >::Create(), vcl::Window::GetParent(), vcl::Window::IsSystemWindow(), LINK, SC_MOD, SfxGetpApp(), StartListening, WB_HSCROLL, WB_SIZEABLE, and WB_VSCROLL.
Referenced by ScPreviewShell().
|
overridevirtual |
Reimplemented from SfxViewShell.
Definition at line 541 of file prevwsh.cxx.
References ScAbstractDialogFactory::Create(), and ScAbstractDialogFactory::GetTabPageCreatorFunc().
|
private |
|
private |
Definition at line 974 of file prevwsh.cxx.
References ScPreview::AllTested(), ScPreview::CalcAll(), Execute(), ScrollBar::GetLineSize(), ScPreview::GetPageNo(), ScrollBar::GetPageSize(), ScrollBar::GetRange(), ScrollBar::GetRangeMax(), ScrollBar::GetThumbPos(), ScPreview::GetTotalPages(), SfxViewShell::GetViewFrame(), Range::Max(), nMaxVertPos, pHorScroll, Point, pPreview, pVerScroll, ScrollBar::SetThumbPos(), ScPreview::SetXOffset(), and ScPreview::SetYOffset().
Referenced by Execute().
void ScPreviewShell::Execute | ( | SfxRequest & | rReq | ) |
Definition at line 565 of file prevwsh.cxx.
References ScPreview::AllTested(), ATTR_PAGE_SCALE(), ScPreview::CalcAll(), SvxAbstractDialogFactory::Create(), SvxAbstractDialogFactory::CreateSvxZoomDialog(), SfxRequest::Done(), DoScroll(), ScDocShell::ExecutePageStyle(), ExitPreview(), eZoom, SfxStyleSheetBasePool::Find(), SfxViewShell::Get(), SfxItemSet::Get(), SfxRequest::GetArgs(), SfxViewFrame::GetBindings(), ScDocShell::GetDocument(), SfxItemSet::GetItemIfSet(), SfxStyleSheetBase::GetItemSet(), ScPreview::GetOptimalZoom(), ScPreview::GetPageMargins(), ScPreview::GetPageNo(), ScDocument::GetPageStyle(), SfxShell::GetPool(), ScDocShell::GetPrinter(), SfxRequest::GetSlot(), ScDocument::GetStyleSheetPool(), ScPreview::GetTab(), ScPreview::GetTotalPages(), SvxZoomItem::GetType(), SfxViewShell::GetViewFrame(), ScPreview::GetZoom(), SfxBindings::Invalidate(), vcl::Window::Invalidate(), ScViewUtil::IsFullScreen(), pDocShell, pPreview, SfxItemSet::Put(), RET_CANCEL, ScViewUtil::SetFullScreen(), ScPreview::SetPageMargins(), ScPreview::SetPageNo(), ScPreview::SetZoom(), and ScPrintFunc::UpdatePages().
Referenced by DoScroll().
|
private |
Definition at line 1145 of file prevwsh.cxx.
References SfxDispatcher::Execute(), SfxViewFrame::GetDispatcher(), and SfxViewShell::GetViewFrame().
Referenced by Execute().
void ScPreviewShell::FillFieldData | ( | ScHeaderFieldData & | rData | ) |
Definition at line 880 of file prevwsh.cxx.
References ScPreview::AllTested(), ScHeaderFieldData::aLongDocName, ScHeaderFieldData::aShortDocName, ScHeaderFieldData::aTabName, ScHeaderFieldData::aTitle, SfxObjectShell::getDocProperties(), ScDocShell::GetDocument(), INetURLObject::GetLastName(), INetURLObject::GetMainURL(), SfxObjectShell::GetMedium(), ScDocument::GetName(), ScPreview::GetPageNo(), ScPreview::GetTab(), SfxObjectShell::GetTitle(), ScPreview::GetTotalPages(), SfxMedium::GetURLObject(), ScHeaderFieldData::nPageNo, ScHeaderFieldData::nTotalPages, pDocShell, pPreview, and INetURLObject::Unambiguous.
Referenced by ScAccessibleHeaderTextData::GetTextForwarder().
ScDocument & ScPreviewShell::GetDocument | ( | ) |
Definition at line 1184 of file prevwsh.cxx.
References ScDocShell::GetDocument(), and pDocShell.
Referenced by ScAccessiblePreviewTable::createAccessibleName(), ScAccessiblePageHeader::getAccessibleChildCount(), ScAccessiblePreviewTable::getAccessibleColumnExtentAt(), ScAccessibleDocumentPagePreview::getAccessibleName(), ScAccessiblePreviewTable::getAccessibleRowExtentAt(), ScAccessiblePreviewCellTextData::GetDocShell(), ScAccessiblePreviewHeaderCellTextData::GetDocShell(), ScNotesChildren::GetDocument(), ScShapeChildren::GetDrawPage(), ScAccessiblePreviewHeaderCell::getMaximumValue(), ScAccessibleHeaderTextData::ScAccessibleHeaderTextData(), ScAccessibleNoteTextData::ScAccessibleNoteTextData(), and WriteUserDataSequence().
const ScPreviewLocationData & ScPreviewShell::GetLocationData | ( | ) |
Definition at line 1179 of file prevwsh.cxx.
References ScPreview::GetLocationData(), and pPreview.
Referenced by ScNotesChildren::DataChanged(), ScAccessiblePreviewHeaderCell::FillTableInfo(), ScAccessiblePreviewTable::FillTableInfo(), ScAccessibleDocumentPagePreview::getAccessibleAtPoint(), ScAccessibleDocumentPagePreview::getAccessibleChild(), ScAccessiblePageHeader::getAccessibleChildCount(), ScAccessibleDocumentPagePreview::getAccessibleChildCount(), ScAccessiblePageHeader::GetBoundingBox(), ScAccessiblePreviewCell::GetBoundingBox(), ScAccessiblePreviewCell::GetBoundingBoxOnScreen(), ScShapeChildren::GetDrawPage(), ScAccessibleDocumentPagePreview::GetNotesChildren(), ScAccessiblePreviewCellTextData::GetTextForwarder(), ScAccessiblePreviewHeaderCellTextData::GetTextForwarder(), ScAccessibleHeaderTextData::GetTextForwarder(), ScAccessibleNoteTextData::GetTextForwarder(), ScNotesChildren::Init(), ScShapeChildren::Init(), and ScAccessibleDocumentPagePreview::Notify().
|
private |
Definition at line 256 of file prevwsh.cxx.
References ATTR_PAGE_SIZE(), o3tl::convert(), SfxStyleSheetBasePool::Find(), SfxItemSet::Get(), ScDocShell::GetDocument(), SfxStyleSheetBase::GetItemSet(), ScDocument::GetPageStyle(), ScDocument::GetStyleSheetPool(), ScPreview::GetTab(), Size::Height(), o3tl::mm100, pDocShell, pPreview, Size::setHeight(), Size::setWidth(), o3tl::twip, and Size::Width().
Referenced by UpdateNeededScrollBars(), and UpdateScrollBars().
|
inline |
Definition at line 115 of file prevwsh.hxx.
Referenced by ScShapeChildren::GetAccShape(), and ScPreviewObj::getSelectedSheets().
|
overridevirtual |
Reimplemented from SfxViewShell.
Definition at line 526 of file prevwsh.cxx.
References ScDocShell::GetPrinter(), and pDocShell.
|
inline |
Definition at line 99 of file prevwsh.hxx.
void ScPreviewShell::GetState | ( | SfxItemSet & | rSet | ) |
Definition at line 771 of file prevwsh.cxx.
References SvxZoomSliderItem::AddSnappingPoint(), ScPreview::AllTested(), ATTR_PAGE_SCALE(), SfxItemSet::DisableItem(), eZoom, SfxStyleSheetBasePool::Find(), SfxWhichIter::FirstWhich(), SfxItemSet::Get(), ScDocShell::GetDocument(), SfxStyleSheetBase::GetItemSet(), ScPreview::GetPageNo(), ScDocument::GetPageStyle(), ScPreview::GetPosString(), ScDocShell::GetStatePageStyle(), ScDocument::GetStyleSheetPool(), ScPreview::GetTab(), ScPreview::GetTotalPages(), ScPreview::GetZoom(), SfxObjectShell::IsReadOnly(), MAXZOOM, MAXZOOM_SLIDER, MINZOOM, MINZOOM_SLIDER, SfxWhichIter::NextWhich(), pDocShell, pPreview, SfxItemSet::Put(), ScPreview::SetInGetState(), and SvxZoomItem::SetValueSet().
bool ScPreviewShell::HasAccessibilityObjects | ( | ) | const |
Definition at line 1174 of file prevwsh.cxx.
References pAccessibilityBroadcaster.
Referenced by ScPreview::GetFocus(), ScPreview::InvalidateLocationData(), and ScPreview::LoseFocus().
|
overridevirtual |
Reimplemented from SfxViewShell.
Definition at line 536 of file prevwsh.cxx.
|
staticprivate |
SfxInterface initializer.
Definition at line 89 of file prevwsh.cxx.
References SFX_OBJECTBAR_OBJECT.
Definition at line 228 of file prevwsh.cxx.
References ScPreview::GetFirstPage(), pPreview, and ScPreview::SetPageNo().
Referenced by ScPreviewShell().
|
overrideprivatevirtual |
Reimplemented from SfxViewShell.
Definition at line 246 of file prevwsh.cxx.
References AdjustPosSizePixel().
|
overridevirtual |
Reimplemented from SfxViewShell.
Definition at line 28 of file prevwsh2.cxx.
References ScPreview::DataChanged(), ScDocShell::GetDocument(), ScDocument::GetDrawBroadcaster(), SfxHint::GetId(), SdrHint::GetKind(), Grid, Left, pDocShell, pPreview, Size, StartListening, and Top.
|
overrideprivatevirtual |
Reimplemented from SfxViewShell.
Definition at line 251 of file prevwsh.cxx.
References AdjustPosSizePixel().
|
overrideprivatevirtual |
Reimplemented from SfxViewShell.
Definition at line 920 of file prevwsh.cxx.
References eZoom, o3tl::getToken(), nIndex, pPreview, SC_USERDATA_SEP, ScPreview::SetPageNo(), ScPreview::SetZoom(), and o3tl::toInt32().
|
overrideprivatevirtual |
Reimplemented from SfxViewShell.
Definition at line 952 of file prevwsh.cxx.
References ScDocShell::MakeDrawLayer(), pDocShell, pPreview, SdrModel::ReadUserDataSequenceValue(), SC_ZOOMVALUE, ScPreview::SetPageNo(), and ScPreview::SetZoom().
void ScPreviewShell::RemoveAccessibilityObject | ( | SfxListener & | rObject | ) |
Definition at line 1158 of file prevwsh.cxx.
References SfxListener::EndListening(), and pAccessibilityBroadcaster.
Referenced by ScAccessiblePageHeader::disposing(), ScAccessiblePreviewCell::disposing(), ScAccessiblePreviewTable::disposing(), ScAccessiblePageHeaderArea::disposing(), ScAccessibleDocumentPagePreview::disposing(), ScAccessiblePreviewHeaderCell::disposing(), and ScAccessiblePreviewHeaderCell::~ScAccessiblePreviewHeaderCell().
bool ScPreviewShell::ScrollCommand | ( | const CommandEvent & | rCEvt | ) |
Definition at line 497 of file prevwsh.cxx.
References eZoom, CommandWheelData::GetDelta(), CommandWheelData::GetMode(), CommandEvent::GetWheelData(), ScPreview::GetZoom(), vcl::Window::HandleScrollCommand(), MAXZOOM, MINZOOM, pData, pHorScroll, pPreview, pVerScroll, ScPreview::SetZoom(), basegfx::zoomtools::zoomIn(), and basegfx::zoomtools::zoomOut().
Referenced by ScPreview::Command().
|
overridevirtual |
Reimplemented from SfxViewShell.
Definition at line 531 of file prevwsh.cxx.
References pDocShell, and ScDocShell::SetPrinter().
ScPreviewShell::SFX_DECL_VIEWFACTORY | ( | ScPreviewShell | ) |
void ScPreviewShell::UpdateNeededScrollBars | ( | bool | bFromZoom | ) |
Definition at line 274 of file prevwsh.cxx.
References Size::AdjustHeight(), Size::AdjustWidth(), Application::GetDefaultDevice(), vcl::Window::GetMapMode(), vcl::Window::GetOutDev(), OutputDevice::GetOutputSize(), vcl::Window::GetOutputSizePixel(), GetPageSize(), vcl::Window::GetPosPixel(), StyleSettings::GetScrollBarSize(), vcl::Window::GetSettings(), AllSettings::GetStyleSettings(), SfxViewShell::GetViewFrame(), SfxViewFrame::GetWindow(), Height, Size::Height(), vcl::Window::IsVisible(), pCorner, pHorScroll, OutputDevice::PixelToLogic(), Point, pPreview, pVerScroll, vcl::Window::SetPosSizePixel(), vcl::Window::SetSizePixel(), vcl::Window::Show(), UpdateScrollBars(), and Size::Width().
Referenced by AdjustPosSizePixel(), and ScPreview::SetZoom().
void ScPreviewShell::UpdateScrollBars | ( | ) |
Definition at line 345 of file prevwsh.cxx.
References ScPreview::GetOffset(), vcl::Window::GetOutDev(), OutputDevice::GetOutputSize(), ScPreview::GetPageNo(), GetPageSize(), ScPreview::GetTotalPages(), Size::Height(), nMaxVertPos, pHorScroll, Point, pPreview, pVerScroll, ScrollBar::SetLineSize(), ScrollBar::SetPageSize(), ScrollBar::SetRange(), ScrollBar::SetThumbPos(), ScrollBar::SetVisibleSize(), ScPreview::SetXOffset(), ScPreview::SetYOffset(), and Size::Width().
Referenced by ScPreview::Paint(), and UpdateNeededScrollBars().
|
overrideprivatevirtual |
Reimplemented from SfxViewShell.
Definition at line 910 of file prevwsh.cxx.
References ScPreview::GetPageNo(), ScPreview::GetZoom(), pPreview, and SC_USERDATA_SEP.
|
overrideprivatevirtual |
Reimplemented from SfxViewShell.
Definition at line 931 of file prevwsh.cxx.
References GetDocument(), ScPreview::GetPageNo(), SfxViewShell::GetViewFrame(), ScPreview::GetZoom(), comphelper::IsContextFlagActive(), pPreview, SC_VIEW, SC_VIEWID, and SC_ZOOMVALUE.
|
private |
Definition at line 50 of file prevwsh.hxx.
Referenced by AdjustPosSizePixel(), Execute(), GetState(), ReadUserData(), and ScrollCommand().
|
private |
Definition at line 43 of file prevwsh.hxx.
Referenced by ~ScPreviewShell().
|
private |
Definition at line 51 of file prevwsh.hxx.
Referenced by DoScroll(), and UpdateScrollBars().
|
private |
Definition at line 49 of file prevwsh.hxx.
Referenced by ScPreviewShell().
|
private |
Definition at line 53 of file prevwsh.hxx.
Referenced by AddAccessibilityObject(), BroadcastAccessibility(), HasAccessibilityObjects(), RemoveAccessibilityObject(), and ~ScPreviewShell().
|
private |
Definition at line 47 of file prevwsh.hxx.
Referenced by UpdateNeededScrollBars(), and ~ScPreviewShell().
|
private |
Definition at line 41 of file prevwsh.hxx.
Referenced by Execute(), FillFieldData(), GetDocument(), GetPageSize(), GetPrinter(), GetState(), Notify(), ReadUserDataSequence(), SetPrinter(), and ~ScPreviewShell().
Definition at line 45 of file prevwsh.hxx.
Referenced by DoScroll(), ScrollCommand(), UpdateNeededScrollBars(), UpdateScrollBars(), and ~ScPreviewShell().
Definition at line 44 of file prevwsh.hxx.
Referenced by AdjustPosSizePixel(), DoScroll(), Execute(), FillFieldData(), GetLocationData(), GetPageSize(), GetState(), InitStartTable(), Notify(), ReadUserData(), ReadUserDataSequence(), ScPreviewShell(), ScrollCommand(), UpdateNeededScrollBars(), UpdateScrollBars(), WriteUserData(), WriteUserDataSequence(), and ~ScPreviewShell().
Definition at line 46 of file prevwsh.hxx.
Referenced by DoScroll(), ScrollCommand(), UpdateNeededScrollBars(), UpdateScrollBars(), and ~ScPreviewShell().