|
LibreOffice Module sc (master) 1
|
#include <prevwsh.hxx>
Public Member Functions | |
| SFX_DECL_VIEWFACTORY (ScPreviewShell) | |
| ScPreviewShell (SfxViewFrame &rViewFrame, 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 () |
Public Member Functions inherited from SfxViewShell | |
| SfxViewShell (SfxViewFrame &rFrame, 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, bool bOnlyASample=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 |
| virtual SfxPrinter * | GetPrinter (bool bCreate=false) |
| virtual sal_uInt16 | SetPrinter (SfxPrinter *pNewPrinter, SfxPrinterChangeFlags nDiffFlags=SFX_PRINTER_ALL) |
| virtual bool | HasPrintOptionsPage () const |
| virtual std::unique_ptr< SfxTabPage > | CreatePrintOptionsPage (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rOptions) |
| Printer * | GetActivePrinter () const |
| virtual void | WriteUserData (OUString &, bool bBrowse=false) |
| virtual void | ReadUserData (const OUString &, bool bBrowse=false) |
| virtual void | WriteUserDataSequence (css::uno::Sequence< css::beans::PropertyValue > &) |
| virtual void | ReadUserDataSequence (const css::uno::Sequence< css::beans::PropertyValue > &) |
| 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 rtl::Reference< VCLXPopupMenu > &rIn, const OUString &rMenuIdentifier, rtl::Reference< VCLXPopupMenu > &rOut, css::ui::ContextMenuExecuteEvent aEvent) |
| bool | TryContextMenuInterception (const rtl::Reference< VCLXPopupMenu > &, 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) |
| SfxLokCallbackInterface * | getLibreOfficeKitViewCallback () const |
| void | dumpLibreOfficeKitViewState (rtl::OStringBuffer &rState) |
| virtual void | libreOfficeKitViewCallback (int nType, const OString &pPayload) const override |
| virtual void | libreOfficeKitViewCallbackWithViewId (int nType, const OString &pPayload, int nViewId) const override |
| virtual void | libreOfficeKitViewInvalidateTilesCallback (const tools::Rectangle *pRect, int nPart, int nMode) const override |
| virtual void | libreOfficeKitViewUpdatedCallback (int nType) const override |
| virtual void | libreOfficeKitViewUpdatedCallbackPerViewId (int nType, int nViewId, int nSourceViewId) const override |
| virtual void | flushPendingLOKInvalidateTiles () |
| virtual void | libreOfficeKitViewAddPendingInvalidateTiles () override |
| virtual std::optional< OString > | getLOKPayload (int nType, int nViewId) const |
| void | setTiledSearching (bool bTiledSearching) |
| virtual int | getPart () const |
| virtual int | getEditMode () const |
| virtual void | dumpAsXml (xmlTextWriterPtr pWriter) const |
| ViewShellId | GetViewShellId () const override |
| ViewShellDocId | GetDocId () const override |
| virtual void | notifyInvalidation (tools::Rectangle const *) 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 |
| virtual ::Color | GetColorConfigColor (svtools::ColorConfigEntry nColorType) const |
| virtual OUString | GetColorConfigName () const |
| void | SetLOKLanguageTag (const OUString &rBcp47LanguageTag) |
| const LanguageTag & | GetLOKLanguageTag () const |
| void | SetLOKAccessibilityState (bool bEnabled) |
| std::pair< bool, OUString > | GetLOKTimezone () const |
| void | SetLOKTimezone (bool isSet, const OUString &rTimezone) |
| 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) |
| void | SetStoringHelper (std::shared_ptr< SfxStoringHelper > xHelper) |
| StylesHighlighterColorMap & | GetStylesHighlighterParaColorMap () |
| StylesHighlighterColorMap & | GetStylesHighlighterCharColorMap () |
| OUString | getA11yFocusedParagraph () const |
| int | getA11yCaretPosition () const |
Public Member Functions inherited from SfxShell | |
| 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 |
| virtual void | Activate (bool bMDI) |
| virtual void | Deactivate (bool bMDI) |
| 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 |
| virtual SfxObjectShell * | GetObjectShell () |
| 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 (HorzScrollHandler, weld::Scrollbar &, void) | |
| DECL_DLLPRIVATE_LINK (VertScrollHandler, weld::Scrollbar &, void) | |
| void | ScrollHandler (ScrollAdaptor *pScrollBar) |
| 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< ScrollAdaptor > | pHorScroll |
| VclPtr< ScrollAdaptor > | pVerScroll |
| TriState | nSourceDesignMode |
| SvxZoomType | eZoom |
| tools::Long | nMaxVertPos |
| tools::Long | nPrevHThumbPos |
| tools::Long | nPrevVThumbPos |
| std::unique_ptr< SfxBroadcaster > | pAccessibilityBroadcaster |
Additional Inherited Members | |
Static Public Member Functions inherited from SfxViewShell | |
| static SAL_WARN_UNUSED_RESULT SfxViewShell * | GetFirst (bool bOnlyVisible=true, const std::function< bool(const SfxViewShell *)> &isViewShell=nullptr) |
| static SAL_WARN_UNUSED_RESULT SfxViewShell * | GetNext (const SfxViewShell &rPrev, bool bOnlyVisible=true, const std::function< bool(const SfxViewShell *)> &isViewShell=nullptr) |
| static SAL_WARN_UNUSED_RESULT SfxViewShell * | Current () |
| static SAL_WARN_UNUSED_RESULT SfxViewShell * | Get (const css::uno::Reference< css::frame::XController > &i_rController) |
| static void | SetCurrentDocId (ViewShellDocId nId) |
Static Public Member Functions inherited from SfxShell | |
| static SfxInterface * | GetStaticInterface () |
| static void | EmptyExecStub (SfxShell *pShell, SfxRequest &) |
| static void | EmptyStateStub (SfxShell *pShell, SfxItemSet &) |
| static void | VerbState (SfxItemSet &) |
Protected Member Functions inherited from SfxViewShell | |
| virtual void | Activate (bool IsMDIActivate) override |
| virtual void | Deactivate (bool IsMDIActivate) override |
| virtual void | InnerResizePixel (const Point &rOfs, const Size &rSize, bool inplaceEditModeChange) |
| virtual void | OuterResizePixel (const Point &rOfs, const Size &rSize) |
| virtual void | SetZoomFactor (const Fraction &rZoomX, const Fraction &rZoomY) |
| virtual void | Move () |
| virtual void | Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override |
Protected Member Functions inherited from SfxShell | |
| SfxShell () | |
| SfxShell (SfxViewShell *pViewSh) | |
| void | SetViewShell_Impl (SfxViewShell *pView) |
| SAL_DLLPRIVATE void | Invalidate_Impl (SfxBindings &rBindings, sal_uInt16 nId) |
Static Protected Member Functions inherited from SfxShell | |
| static void | HandleOpenXmlFilterSettings (SfxRequest &) |
Definition at line 40 of file prevwsh.hxx.
| ScPreviewShell::ScPreviewShell | ( | SfxViewFrame & | rViewFrame, |
| SfxViewShell * | pOldSh | ||
| ) |
store live ScViewData instead, and update on ScTablesHint? or completely forget aSourceData on ScTablesHint?
Definition at line 146 of file prevwsh.cxx.
References Construct(), vcl::EnumContext::GetContextName(), ScViewData::GetMarkData(), ScViewData::GetTabNo(), SfxViewFrame::GetWindow(), HAS_PRINTOPTIONS, InitStartTable(), SdrMarkView::IsDesignMode(), nSourceDesignMode, pPreview, vcl::EnumContext::Printpreview, SfxShell::SetContextName(), TRISTATE_FALSE, TRISTATE_INDET, and TRISTATE_TRUE.
|
overridevirtual |
Definition at line 180 of file prevwsh.cxx.
References BroadcastAccessibility(), VclPtr< class reference_type >::disposeAndClear(), ScDocShell::GetDocument(), ScDocument::GetDrawBroadcaster(), mpFrameWindow, pAccessibilityBroadcaster, pDocShell, pHorScroll, pPreview, pVerScroll, SfxViewShell::SetWindow(), and SfxGetpApp().
|
overrideprivatevirtual |
Basic etc. -> outsource to its own file (see tabvwsh4)
Reimplemented from SfxViewShell.
Definition at line 538 of file prevwsh.cxx.
References SfxShell::Activate(), SfxViewShell::Activate(), ScInputHandler::NotifyChange(), and SC_MOD.
| void ScPreviewShell::AddAccessibilityObject | ( | SfxListener & | rObject | ) |
Definition at line 1142 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 209 of file prevwsh.cxx.
References eZoom, pPreview, and UpdateNeededScrollBars().
Referenced by InnerResizePixel(), and OuterResizePixel().
| void ScPreviewShell::BroadcastAccessibility | ( | const SfxHint & | rHint | ) |
Definition at line 1160 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< class reference_type >::Create(), eZoom, ScDocShell::GetDocument(), ScDocument::GetDrawBroadcaster(), vcl::Window::GetParent(), SfxShell::GetPool(), vcl::Window::IsSystemWindow(), LINK, mpFrameWindow, pDocShell, pHorScroll, pPreview, pVerScroll, SC_MOD, SfxShell::SetName(), SfxShell::SetPool(), SfxViewShell::SetWindow(), SfxGetpApp(), and StartListening.
Referenced by ScPreviewShell().
|
overridevirtual |
Reimplemented from SfxViewShell.
Definition at line 529 of file prevwsh.cxx.
References ScAbstractDialogFactory::Create(), and ScAbstractDialogFactory::GetTabPageCreatorFunc().
|
private |
References SFX_DECL_INTERFACE.
|
private |
|
private |
|
private |
Definition at line 964 of file prevwsh.cxx.
References Point::AdjustX(), Point::AdjustY(), Execute(), SfxViewShell::GetViewFrame(), nMaxVertPos, nPrevHThumbPos, nPrevVThumbPos, pHorScroll, pPreview, pVerScroll, Point::setX(), Point::setY(), Point::X(), and Point::Y().
Referenced by Execute().
| void ScPreviewShell::Execute | ( | SfxRequest & | rReq | ) |
Definition at line 555 of file prevwsh.cxx.
References ATTR_PAGE_SCALE(), 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(), ScDocument::GetPageStyle(), SfxShell::GetPool(), ScDocShell::GetPrinter(), SfxRequest::GetSlot(), ScDocument::GetStyleSheetPool(), SvxZoomItem::GetType(), SfxViewShell::GetViewFrame(), SfxBindings::Invalidate(), ScViewUtil::IsFullScreen(), pDocShell, pPreview, SfxItemSet::Put(), RET_CANCEL, rSet, ScViewUtil::SetFullScreen(), and ScPrintFunc::UpdatePages().
Referenced by DoScroll().
|
private |
Definition at line 1137 of file prevwsh.cxx.
References SfxDispatcher::Execute(), SfxViewFrame::GetDispatcher(), and SfxViewShell::GetViewFrame().
Referenced by Execute().
| void ScPreviewShell::FillFieldData | ( | ScHeaderFieldData & | rData | ) |
Definition at line 870 of file prevwsh.cxx.
References ScHeaderFieldData::aLongDocName, ScHeaderFieldData::aShortDocName, ScHeaderFieldData::aTabName, ScHeaderFieldData::aTitle, SfxObjectShell::getDocProperties(), ScDocShell::GetDocument(), INetURLObject::GetLastName(), INetURLObject::GetMainURL(), SfxObjectShell::GetMedium(), ScDocument::GetName(), SfxObjectShell::GetTitle(), SfxMedium::GetURLObject(), ScHeaderFieldData::nPageNo, ScHeaderFieldData::nTotalPages, pDocShell, pPreview, and INetURLObject::Unambiguous.
Referenced by ScAccessibleHeaderTextData::GetTextForwarder().
| ScDocument & ScPreviewShell::GetDocument | ( | ) |
Definition at line 1176 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 1171 of file prevwsh.cxx.
References pPreview.
Referenced by ScNotesChildren::DataChanged(), ScAccessiblePreviewHeaderCell::FillTableInfo(), ScAccessiblePreviewTable::FillTableInfo(), ScAccessibleDocumentPagePreview::getAccessibleAtPoint(), ScAccessibleDocumentPagePreview::getAccessibleChild(), ScAccessibleDocumentPagePreview::getAccessibleChildCount(), ScAccessiblePageHeader::getAccessibleChildCount(), ScAccessiblePageHeader::GetBoundingBox(), ScAccessiblePreviewCell::GetBoundingBox(), ScAccessiblePreviewCell::GetBoundingBoxOnScreen(), ScShapeChildren::GetDrawPage(), ScAccessibleDocumentPagePreview::GetNotesChildren(), ScAccessiblePreviewCellTextData::GetTextForwarder(), ScAccessiblePreviewHeaderCellTextData::GetTextForwarder(), ScAccessibleHeaderTextData::GetTextForwarder(), ScAccessibleNoteTextData::GetTextForwarder(), ScShapeChildren::Init(), ScNotesChildren::Init(), and ScAccessibleDocumentPagePreview::Notify().
|
private |
Definition at line 232 of file prevwsh.cxx.
References ATTR_PAGE_SIZE(), o3tl::convert(), SfxStyleSheetBasePool::Find(), SfxItemSet::Get(), ScDocShell::GetDocument(), SfxStyleSheetBase::GetItemSet(), ScDocument::GetPageStyle(), ScDocument::GetStyleSheetPool(), Size::Height(), o3tl::mm100, pDocShell, pPreview, Size::setHeight(), Size::setWidth(), o3tl::twip, and Size::Width().
Referenced by UpdateNeededScrollBars(), and UpdateScrollBars().
|
inline |
Definition at line 118 of file prevwsh.hxx.
Referenced by ScShapeChildren::GetAccShape(), ScPreviewObj::getSelectedSheets(), and ScVbaWorksheets::PrintPreview().
|
overridevirtual |
Reimplemented from SfxViewShell.
Definition at line 514 of file prevwsh.cxx.
References ScDocShell::GetPrinter(), and pDocShell.
|
inline |
Definition at line 102 of file prevwsh.hxx.
| void ScPreviewShell::GetState | ( | SfxItemSet & | rSet | ) |
Definition at line 761 of file prevwsh.cxx.
References SvxZoomSliderItem::AddSnappingPoint(), ATTR_PAGE_SCALE(), SfxItemSet::DisableItem(), eZoom, SfxStyleSheetBasePool::Find(), SfxWhichIter::FirstWhich(), SfxItemSet::Get(), ScDocShell::GetDocument(), SfxStyleSheetBase::GetItemSet(), ScDocument::GetPageStyle(), ScDocShell::GetStatePageStyle(), ScDocument::GetStyleSheetPool(), SfxObjectShell::IsReadOnly(), MAXZOOM, MAXZOOM_SLIDER, MINZOOM, MINZOOM_SLIDER, SfxWhichIter::NextWhich(), pDocShell, pPreview, SfxItemSet::Put(), rSet, and SvxZoomItem::SetValueSet().
| bool ScPreviewShell::HasAccessibilityObjects | ( | ) | const |
Definition at line 1166 of file prevwsh.cxx.
References pAccessibilityBroadcaster.
Referenced by ScPreview::GetFocus(), ScPreview::InvalidateLocationData(), and ScPreview::LoseFocus().
|
overridevirtual |
Reimplemented from SfxViewShell.
Definition at line 524 of file prevwsh.cxx.
|
staticprivate |
SfxInterface initializer.
Definition at line 89 of file prevwsh.cxx.
References SFX_OBJECTBAR_OBJECT.
| void ScPreviewShell::InitStartTable | ( | SCTAB | nTab | ) |
|
overrideprivatevirtual |
Reimplemented from SfxViewShell.
Definition at line 222 of file prevwsh.cxx.
References AdjustPosSizePixel().
|
overridevirtual |
Reimplemented from SfxViewShell.
Definition at line 28 of file prevwsh2.cxx.
References ScDocShell::GetDocument(), ScDocument::GetDrawBroadcaster(), SfxHint::GetId(), SdrHint::GetKind(), Grid, Left, pDocShell, pPreview, Size, StartListening, and Top.
|
overrideprivatevirtual |
Reimplemented from SfxViewShell.
Definition at line 227 of file prevwsh.cxx.
References AdjustPosSizePixel().
|
overrideprivatevirtual |
Reimplemented from SfxViewShell.
Definition at line 910 of file prevwsh.cxx.
References eZoom, o3tl::getToken(), nIndex, pPreview, SC_USERDATA_SEP, and o3tl::toInt32().
|
overrideprivatevirtual |
Reimplemented from SfxViewShell.
Definition at line 942 of file prevwsh.cxx.
References ScDocShell::MakeDrawLayer(), pDocShell, pPreview, SdrModel::ReadUserDataSequenceValue(), and SC_ZOOMVALUE.
| void ScPreviewShell::RemoveAccessibilityObject | ( | SfxListener & | rObject | ) |
Definition at line 1150 of file prevwsh.cxx.
References SfxListener::EndListening(), and pAccessibilityBroadcaster.
Referenced by ScAccessibleDocumentPagePreview::disposing(), ScAccessiblePageHeader::disposing(), ScAccessiblePageHeaderArea::disposing(), ScAccessiblePreviewCell::disposing(), ScAccessiblePreviewHeaderCell::disposing(), ScAccessiblePreviewTable::disposing(), and ScAccessiblePreviewHeaderCell::~ScAccessiblePreviewHeaderCell().
| bool ScPreviewShell::ScrollCommand | ( | const CommandEvent & | rCEvt | ) |
Definition at line 485 of file prevwsh.cxx.
References eZoom, CommandEvent::GetWheelData(), MAXZOOM, MINZOOM, pData, pHorScroll, pPreview, pVerScroll, basegfx::zoomtools::zoomIn(), and basegfx::zoomtools::zoomOut().
Referenced by ScPreview::Command().
|
private |
Definition at line 407 of file prevwsh.cxx.
References ScrollAdaptor::GetRangeMax(), ScrollAdaptor::GetThumbPos(), tools::Rectangle::Left(), nMaxVertPos, nPos, nPrevHThumbPos, nPrevVThumbPos, pHorScroll, pPreview, pVerScroll, ScResId(), tools::Rectangle::SetBottom(), tools::Rectangle::SetLeft(), tools::Rectangle::SetRight(), tools::Rectangle::SetTop(), Help::ShowQuickHelp(), tools::Rectangle::Top(), Point::X(), and Point::Y().
|
overridevirtual |
Reimplemented from SfxViewShell.
Definition at line 519 of file prevwsh.cxx.
References pDocShell, and ScDocShell::SetPrinter().
| ScPreviewShell::SFX_DECL_VIEWFACTORY | ( | ScPreviewShell | ) |
| void ScPreviewShell::UpdateNeededScrollBars | ( | bool | bFromZoom | ) |
Definition at line 250 of file prevwsh.cxx.
References Size::AdjustHeight(), Size::AdjustWidth(), Application::GetDefaultDevice(), GetPageSize(), StyleSettings::GetScrollBarSize(), vcl::Window::GetSettings(), AllSettings::GetStyleSettings(), SfxViewShell::GetViewFrame(), SfxViewFrame::GetWindow(), Size::Height(), pHorScroll, OutputDevice::PixelToLogic(), pPreview, pVerScroll, UpdateScrollBars(), Size::Width(), Point::X(), and Point::Y().
Referenced by AdjustPosSizePixel(), and ScPreview::SetZoom().
| void ScPreviewShell::UpdateScrollBars | ( | ) |
Definition at line 319 of file prevwsh.cxx.
References GetPageSize(), Size::Height(), nMaxVertPos, nPrevHThumbPos, nPrevVThumbPos, pHorScroll, pPreview, pVerScroll, Point::setX(), Point::setY(), Size::Width(), Point::X(), and Point::Y().
Referenced by ScPreview::Paint(), and UpdateNeededScrollBars().
|
overrideprivatevirtual |
Reimplemented from SfxViewShell.
Definition at line 900 of file prevwsh.cxx.
References pPreview, and SC_USERDATA_SEP.
|
overrideprivatevirtual |
Reimplemented from SfxViewShell.
Definition at line 921 of file prevwsh.cxx.
References GetDocument(), SfxViewShell::GetViewFrame(), comphelper::IsContextFlagActive(), pPreview, SC_VIEW, SC_VIEWID, and SC_ZOOMVALUE.
|
private |
Definition at line 50 of file prevwsh.hxx.
Referenced by AdjustPosSizePixel(), Construct(), Execute(), GetState(), ReadUserData(), and ScrollCommand().
|
private |
Definition at line 44 of file prevwsh.hxx.
Referenced by Construct(), and ~ScPreviewShell().
|
private |
Definition at line 51 of file prevwsh.hxx.
Referenced by DoScroll(), ScrollHandler(), and UpdateScrollBars().
|
private |
Definition at line 52 of file prevwsh.hxx.
Referenced by DoScroll(), ScrollHandler(), and UpdateScrollBars().
|
private |
Definition at line 53 of file prevwsh.hxx.
Referenced by DoScroll(), ScrollHandler(), and UpdateScrollBars().
|
private |
Definition at line 49 of file prevwsh.hxx.
Referenced by ScPreviewShell().
|
private |
Definition at line 55 of file prevwsh.hxx.
Referenced by AddAccessibilityObject(), BroadcastAccessibility(), HasAccessibilityObjects(), RemoveAccessibilityObject(), and ~ScPreviewShell().
|
private |
Definition at line 42 of file prevwsh.hxx.
Referenced by Construct(), Execute(), FillFieldData(), GetDocument(), GetPageSize(), GetPrinter(), GetState(), Notify(), ReadUserDataSequence(), SetPrinter(), and ~ScPreviewShell().
|
private |
Definition at line 46 of file prevwsh.hxx.
Referenced by Construct(), DoScroll(), ScrollCommand(), ScrollHandler(), UpdateNeededScrollBars(), UpdateScrollBars(), and ~ScPreviewShell().
Definition at line 45 of file prevwsh.hxx.
Referenced by AdjustPosSizePixel(), Construct(), DoScroll(), Execute(), FillFieldData(), GetLocationData(), GetPageSize(), GetState(), InitStartTable(), Notify(), ReadUserData(), ReadUserDataSequence(), ScPreviewShell(), ScrollCommand(), ScrollHandler(), UpdateNeededScrollBars(), UpdateScrollBars(), WriteUserData(), WriteUserDataSequence(), and ~ScPreviewShell().
|
private |
Definition at line 47 of file prevwsh.hxx.
Referenced by Construct(), DoScroll(), ScrollCommand(), ScrollHandler(), UpdateNeededScrollBars(), UpdateScrollBars(), and ~ScPreviewShell().