LibreOffice Module sw (master)
1
|
#include <view.hxx>
Classes | |
struct | SelectCycle |
Public Types | |
enum | CachedStringID { OldGrfCat, OldTabCat, OldFrameCat, OldDrwCat, CachedStrings } |
Public Member Functions | |
SAL_DLLPRIVATE bool | InsertGraphicDlg (SfxRequest &) |
SFX_DECL_VIEWFACTORY (SwView) | |
SfxDispatcher & | GetDispatcher () |
void | GotFocus () const |
virtual SdrView * | GetDrawView () const override |
virtual bool | HasUIFeature (SfxShellFeature nFeature) const override |
virtual void | ShowCursor (bool bOn=true) override |
virtual ErrCode | DoVerb (sal_Int32 nVerb) override |
virtual sal_uInt16 | SetPrinter (SfxPrinter *pNew, SfxPrinterChangeFlags nDiff=SFX_PRINTER_ALL) override |
ShellMode | GetShellMode () const |
css::view::XSelectionSupplier * | GetUNOObject () |
OUString | GetSelectionTextParam (bool bCompleteWords, bool bEraseTrail) |
virtual bool | HasSelection (bool bText=true) const override |
virtual OUString | GetSelectionText (bool bCompleteWords=false) override |
virtual bool | PrepareClose (bool bUI=true) override |
virtual void | MarginChanged () override |
void | InsertThesaurusSynonym (const OUString &rSynonmText, const OUString &rLookUpText, bool bValidSelection) |
bool | IsValidSelectionForThesaurus () const |
OUString | GetThesaurusLookUpText (bool bSelection) const |
void | StopShellTimer () |
SwWrtShell & | GetWrtShell () const |
SwWrtShell * | GetWrtShellPtr () const |
SwEditWin & | GetEditWin () |
const SwEditWin & | GetEditWin () const |
void | ScannerEventHdl () |
SwGlossaryHdl * | GetGlosHdl () |
const tools::Rectangle & | GetVisArea () const |
bool | IsScroll (const tools::Rectangle &rRect) const |
void | Scroll (const tools::Rectangle &rRect, sal_uInt16 nRangeX=USHRT_MAX, sal_uInt16 nRangeY=USHRT_MAX) |
tools::Long | SetVScrollMax (tools::Long lMax) |
tools::Long | SetHScrollMax (tools::Long lMax) |
void | SpellError (LanguageType eLang) |
bool | ExecSpellPopup (const Point &rPt) |
! End of extra code for context menu modifying extensions More... | |
void | ExecSmartTagPopup (const Point &rPt) |
Function: ExecSmartTagPopup. More... | |
DECL_DLLPRIVATE_LINK (OnlineSpellCallback, SpellCallbackInfo &, void) | |
bool | ExecDrwTextSpellPopup (const Point &rPt) |
void | SetTabColFromDocPos (const Point &rPt) |
void | SetTabColFromDoc (bool b) |
bool | IsTabColFromDoc () const |
void | SetTabRowFromDoc (bool b) |
bool | IsTabRowFromDoc () const |
void | SetNumRuleNodeFromDoc (SwTextNode *pNumRuleNode) |
void | DocSzChgd (const Size &rNewSize) |
const Size & | GetDocSz () const |
void | SetVisArea (const tools::Rectangle &, bool bUpdateScrollbar=true) |
void | SetVisArea (const Point &, bool bUpdateScrollbar=true) |
void | CheckVisArea () |
void | RecheckBrowseMode () |
DECL_DLLPRIVATE_LINK (MoveNavigationHdl, void *, void) | |
bool | HandleWheelCommands (const CommandEvent &) |
void | InsFrameMode (sal_uInt16 nCols) |
void | SetZoom (SvxZoomType eZoomType, short nFactor=100, bool bViewOnly=false) |
virtual void | SetZoomFactor (const Fraction &rX, const Fraction &) override |
void | SetViewLayout (sal_uInt16 nColumns, bool bBookMode, bool bViewOnly=false) |
void | ShowHScrollbar (bool bShow) |
bool | IsHScrollbarVisible () const |
void | ShowVScrollbar (bool bShow) |
bool | IsVScrollbarVisible () const |
void | EnableHScrollbar (bool bEnable) |
void | EnableVScrollbar (bool bEnable) |
void | CreateVRuler () |
void | KillVRuler () |
void | CreateTab () |
void | KillTab () |
bool | StatVRuler () const |
void | ChangeVRulerMetric (FieldUnit eUnit) |
void | GetVRulerMetric (FieldUnit &rToFill) const |
SvxRuler & | GetHRuler () |
SvxRuler & | GetVRuler () |
void | InvalidateRulerPos () |
void | ChangeTabMetric (FieldUnit eUnit) |
void | GetHRulerMetric (FieldUnit &rToFill) const |
void | Execute (SfxRequest &) |
void | ExecLingu (SfxRequest &) |
void | ExecDlg (SfxRequest const &) |
void | ExecDlgExt (SfxRequest const &) |
void | ExecColl (SfxRequest const &) |
void | ExecutePrint (SfxRequest &) |
void | ExecDraw (const SfxRequest &) |
void | ExecTabWin (SfxRequest const &) |
void | ExecuteStatusLine (SfxRequest &) |
execute method for the status line More... | |
DECL_DLLPRIVATE_LINK (ExecRulerClick, Ruler *, void) | |
void | ExecSearch (SfxRequest &) |
void | ExecViewOptions (SfxRequest &) |
virtual bool | IsConditionalFastCall (const SfxRequest &rReq) override |
void | StateViewOptions (SfxItemSet &) |
void | StateSearch (SfxItemSet &) |
void | GetState (SfxItemSet &) |
void | StateStatusLine (SfxItemSet &) |
get status of the status line More... | |
void | UpdateWordCount (SfxShell *, sal_uInt16) |
void | ExecFormatFootnote () |
void | ExecNumberingOutline (SfxItemPool &) |
void | SetDrawFuncPtr (std::unique_ptr< SwDrawBase > pFuncPtr) |
SwDrawBase * | GetDrawFuncPtr () const |
void | GetDrawState (SfxItemSet &rSet) |
void | ExitDraw () |
bool | IsDrawRotate () const |
void | FlipDrawRotate () |
bool | IsDrawSelMode () const |
void | SetSelDrawSlot () |
void | FlipDrawSelMode () |
void | NoRotate () |
bool | EnterDrawTextMode (const Point &aDocPos) |
bool | EnterShapeDrawTextMode (SdrObject *pObject) |
Same as EnterDrawTextMode(), but takes an SdrObject instead of guessing it by document position. More... | |
void | LeaveDrawCreate () |
bool | IsDrawMode () const |
bool | IsFormMode () const |
bool | IsBezierEditMode () const |
bool | AreOnlyFormsSelected () const |
bool | HasOnlyObj (SdrObject const *pSdrObj, SdrInventor eObjInventor) const |
bool | BeginTextEdit (SdrObject *pObj, SdrPageView *pPV=nullptr, vcl::Window *pWin=nullptr, bool bIsNewObj=false, bool bSetSelectionToStart=false) |
bool | isSignatureLineSelected () const |
bool | isSignatureLineSigned () const |
bool | isQRCodeSelected () const |
void | StateTabWin (SfxItemSet &) |
DECL_LINK (AttrChangedNotify, LinkParamNone *, void) | |
DECL_DLLPRIVATE_LINK (FormControlActivated, LinkParamNone *, void) | |
void | EditLinkDlg () |
show "edit link" dialog More... | |
void | AutoCaption (const sal_uInt16 nType, const SvGlobalName *pOleId=nullptr) |
void | InsertCaption (const InsCaptionOpt *pOpt) |
void | UpdatePageNums () |
invalidate page numbering field More... | |
OUString | GetPageStr (sal_uInt16 nPhyNum, sal_uInt16 nVirtNum, const OUString &rPgStr) |
Create string for showing the page number in the statusbar. More... | |
void | ForcePageUpDownOffset (SwTwips nTwips) |
Force page size for PgUp/PgDown to overwrite the computation based on m_aVisArea. More... | |
SfxShell * | GetCurShell () |
SwDocShell * | GetDocShell () |
const SwDocShell * | GetDocShell () const |
virtual FmFormShell * | GetFormShell () override |
virtual const FmFormShell * | GetFormShell () const override |
void | ResetSubShell () |
virtual void | WriteUserData (OUString &, bool bBrowse=false) override |
virtual void | ReadUserData (const OUString &, bool bBrowse=false) override |
virtual void | ReadUserDataSequence (const css::uno::Sequence< css::beans::PropertyValue > &) override |
virtual void | WriteUserDataSequence (css::uno::Sequence< css::beans::PropertyValue > &) override |
void | SetCursorAtTop (bool bFlag, bool bCenter=false) |
bool | JumpToSwMark (std::u16string_view rMark) |
tools::Long | InsertDoc (sal_uInt16 nSlotId, const OUString &rFileName, const OUString &rFilterName, sal_Int16 nVersion=0) |
void | ExecuteInsertDoc (SfxRequest &rRequest, const SfxPoolItem *pItem) |
tools::Long | InsertMedium (sal_uInt16 nSlotId, std::unique_ptr< SfxMedium > pMedium, sal_Int16 nVersion) |
DECL_DLLPRIVATE_LINK (DialogClosedHdl, sfx2::FileDialogHelper *, void) | |
bool | IsPasteAllowed () |
bool | IsPasteSpecialAllowed () |
bool | IsPasteSpreadsheet (bool bHasOwnTableCopied) |
void | EnableMailMerge () |
void | ApplyAccessibilityOptions (SvtAccessibilityOptions const &rAccessibilityOptions) |
SwView (SfxViewFrame *pFrame, SfxViewShell *) | |
virtual | ~SwView () override |
void | NotifyDBChanged () |
SfxObjectShellLock | CreateTmpSelectionDoc () |
void | AddTransferable (SwTransferable &rTransferable) |
void | SetMailMergeConfigItem (std::shared_ptr< SwMailMergeConfigItem > const &rConfigItem) |
std::shared_ptr< SwMailMergeConfigItem > const & | GetMailMergeConfigItem () const |
std::shared_ptr< SwMailMergeConfigItem > | EnsureMailMergeConfigItem (const SfxItemSet *pArgs=nullptr) |
OUString | GetDataSourceName () const |
void | ExecFormatPaintbrush (SfxRequest const &) |
void | StateFormatPaintbrush (SfxItemSet &) |
ErrCode | InsertGraphic (const OUString &rPath, const OUString &rFilter, bool bLink, GraphicFilter *pFlt) |
void | ExecuteScan (SfxRequest &rReq) |
SwPostItMgr * | GetPostItMgr () |
const SwPostItMgr * | GetPostItMgr () const |
void | SelectShellForDrop () |
void | UpdateDocStats () |
virtual SAL_DLLPRIVATE SfxPrinter * | GetPrinter (bool bCreate=false) override |
virtual SAL_DLLPRIVATE bool | HasPrintOptionsPage () const override |
virtual SAL_DLLPRIVATE std::unique_ptr< SfxTabPage > | CreatePrintOptionsPage (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet) override |
int | getPart () const override |
See SfxViewShell::getPart(). More... | |
void | dumpAsXml (xmlTextWriterPtr pWriter) const override |
See SfxViewShell::dumpAsXml(). More... | |
void | SetRedlineAuthor (const OUString &rAuthor) |
const OUString & | GetRedlineAuthor () const |
void | NotifyCursor (SfxViewShell *pViewShell) const override |
See SfxViewShell::NotifyCursor(). More... | |
void | ShowUIElement (const OUString &sElementURL) const |
const OUString & | GetCachedString (CachedStringID id) |
void | SetCachedString (CachedStringID id, const OUString &sStr) |
const OUString & | GetOldGrfCat () |
void | SetOldGrfCat (const OUString &sStr) |
const OUString & | GetOldTabCat () |
void | SetOldTabCat (const OUString &sStr) |
const OUString & | GetOldFrameCat () |
void | SetOldFrameCat (const OUString &sStr) |
const OUString & | GetOldDrwCat () |
void | SetOldDrwCat (const OUString &sStr) |
virtual tools::Rectangle | getLOKVisibleArea () const override |
virtual void | flushPendingLOKInvalidateTiles () override |
virtual OString | getLOKPayload (int nType, int nViewId, bool *ignore) const override |
![]() | |
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 |
void | OutplaceActivated (bool bActive) |
virtual void | UIActivating (SfxInPlaceClient *pClient) |
virtual void | UIDeactivated (SfxInPlaceClient *pClient) |
void | JumpToMark (const OUString &rMark) |
void | VisAreaChanged () |
void | AddSubShell (SfxShell &rShell) |
void | RemoveSubShell (SfxShell *pShell=nullptr) |
SfxShell * | GetSubShell (sal_uInt16) |
virtual void | notifyWindow (vcl::LOKWindowId nLOKWindowId, const OUString &rAction, const std::vector< vcl::LOKPayloadItem > &rPayload=std::vector< vcl::LOKPayloadItem >()) const override |
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 () |
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 | libreOfficeKitViewUpdatedCallback (int nType) const override |
virtual void | libreOfficeKitViewUpdatedCallbackPerViewId (int nType, int nViewId, int nSourceViewId) const override |
void | setTiledSearching (bool bTiledSearching) |
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 | 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 |
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 |
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) |
SAL_DLLPRIVATE void | DoActivate_Impl (SfxViewFrame *pFrame, bool bMDI) |
SAL_DLLPRIVATE void | DoDeactivate_Impl (SfxViewFrame const *pFrame, bool bMDI) |
Static Public Member Functions | |
static SvxSearchDialog * | GetSearchDialog () |
static sal_uInt16 | GetMoveType () |
static void | SetMoveType (sal_uInt16 nSet) |
static void | SetActMark (sal_Int32 nSet) |
static bool | IsDataSourceAvailable (const OUString sDataSourceName) |
static SvxSearchItem * | GetSearchItem () |
![]() | |
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 &) |
Public Attributes | |
OUString | m_StringCache [CachedStrings] |
Protected Member Functions | |
SwView_Impl * | GetViewImpl () |
void | ImpSetVerb (SelectionType nSelType) |
SelectionType | GetSelectionType () const |
void | SetSelectionType (SelectionType nSet) |
void | SetShell (SfxShell *pS) |
void | SetFormShell (FmFormShell *pSh) |
virtual void | SelectShell () |
virtual void | Activate (bool) override |
virtual void | Deactivate (bool) override |
virtual void | InnerResizePixel (const Point &rOfs, const Size &rSize, bool inplaceEditModeChange) override |
virtual void | OuterResizePixel (const Point &rOfs, const Size &rSize) override |
const SwFrameFormat * | GetLastTableFrameFormat () const |
void | SetLastTableFrameFormat (const SwFrameFormat *pSet) |
void | GenerateFormLetter (bool bUseCurrentDocument) |
![]() | |
SfxShell () | |
SfxShell (SfxViewShell *pViewSh) | |
void | SetViewShell_Impl (SfxViewShell *pView) |
SAL_DLLPRIVATE void | Invalidate_Impl (SfxBindings &rBindings, sal_uInt16 nId) |
Private Member Functions | |
SAL_DLLPRIVATE bool | SearchAndWrap (bool bApi) |
SAL_DLLPRIVATE bool | SearchAll () |
SAL_DLLPRIVATE sal_uLong | FUNC_Search (const SwSearchOptions &rOptions) |
SAL_DLLPRIVATE void | Replace () |
bool | IsDocumentBorder () |
SAL_DLLPRIVATE bool | IsTextTool () const |
DECL_DLLPRIVATE_LINK (TimeoutHdl, Timer *, void) | |
tools::Long | GetXScroll () const |
tools::Long | GetYScroll () const |
SAL_DLLPRIVATE Point | AlignToPixel (const Point &rPt) const |
SAL_DLLPRIVATE void | CalcPt (Point *pPt, const tools::Rectangle &rRect, sal_uInt16 nRangeX, sal_uInt16 nRangeY) |
Calculate the visible range. More... | |
SAL_DLLPRIVATE bool | GetPageScrollUpOffset (SwTwips &rOff) const |
Scroll page by page. More... | |
SAL_DLLPRIVATE bool | GetPageScrollDownOffset (SwTwips &rOff) const |
SAL_DLLPRIVATE bool | PageUp () |
SAL_DLLPRIVATE bool | PageDown () |
SAL_DLLPRIVATE bool | PageUpCursor (bool bSelect) |
SAL_DLLPRIVATE bool | PageDownCursor (bool bSelect) |
SAL_DLLPRIVATE void | PhyPageUp () |
SAL_DLLPRIVATE void | PhyPageDown () |
SAL_DLLPRIVATE void | CreateScrollbar (bool bHori) |
DECL_DLLPRIVATE_LINK (ScrollHdl, ScrollBar *, void) | |
DECL_DLLPRIVATE_LINK (EndScrollHdl, ScrollBar *, void) | |
SAL_DLLPRIVATE bool | UpdateScrollbars () |
DECL_DLLPRIVATE_LINK (WindowChildEventListener, VclWindowEvent &, void) | |
SAL_DLLPRIVATE void | CalcVisArea (const Size &rPixelSz) |
SAL_DLLPRIVATE void | HyphenateDocument () |
SAL_DLLPRIVATE bool | IsDrawTextHyphenate () |
SAL_DLLPRIVATE void | HyphenateDrawText () |
SAL_DLLPRIVATE void | StartThesaurus () |
SAL_DLLPRIVATE void | StartTextConversion (LanguageType nSourceLang, LanguageType nTargetLang, const vcl::Font *pTargetFont, sal_Int32 nOptions, bool bIsInteractive) |
SAL_DLLPRIVATE void | SpellStart (SvxSpellArea eSpell, bool bStartDone, bool bEndDone, SwConversionArgs *pConvArgs) |
SAL_DLLPRIVATE void | SpellEnd (SwConversionArgs const *pConvArgs) |
SAL_DLLPRIVATE void | HyphStart (SvxSpellArea eSpell) |
SAL_DLLPRIVATE void | SpellContext (bool bOn=true) |
virtual SAL_DLLPRIVATE void | Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override |
SAL_DLLPRIVATE void | CheckReadonlyState () |
SAL_DLLPRIVATE void | CheckReadonlySelection () |
SAL_DLLPRIVATE void | SwapPageMargin (const SwPageDesc &, SvxLRSpaceItem &rLR) |
SAL_DLLPRIVATE void | SetZoom_ (const Size &rEditSz, SvxZoomType eZoomType, short nFactor, bool bViewOnly) |
SAL_DLLPRIVATE void | CalcAndSetBorderPixel (SvBorder &rToFill) |
SAL_DLLPRIVATE void | ShowAtResize () |
virtual SAL_DLLPRIVATE void | Move () override |
Static Private Member Functions | |
static void | InitInterface_Impl () |
SfxInterface initializer. More... | |
Static Private Attributes | |
static SvxSearchItem * | s_pSrchItem = nullptr |
static sal_uInt16 | s_nMoveType = NID_PGE |
static sal_Int32 | s_nActMark = 0 |
static bool | s_bExtra = false |
static bool | s_bFound = false |
static bool | s_bJustOpened = false |
static std::unique_ptr< SearchAttrItemList > | s_xSearchList |
static std::unique_ptr< SearchAttrItemList > | s_xReplaceList |
Friends | |
class | SwHHCWrapper |
class | SwHyphWrapper |
class | SwView_Impl |
class | SwClipboardChangeListener |
Additional Inherited Members | |
![]() | |
static void | HandleOpenXmlFilterSettings (SfxRequest &) |
SwView::SwView | ( | SfxViewFrame * | pFrame, |
SfxViewShell * | pOldSh | ||
) |
get lingu options without loading lingu DLL
Definition at line 714 of file view.cxx.
References SL::aData, vcl::Window::AddChildEventListener(), All, SwViewShell::ApplyViewOptions(), ASPECT_CONTENT, bDocSzUpdated, SvtLinguOptions::bIsSpellAuto, BORDERS, BROWSE_MODE, VclPtr< reference_type >::Create(), CreateScrollbar(), CreateTab(), CreateVRuler(), DocSzChgd(), EMBED_FONTS, SfxObjectShell::EnableSetModified(), Execute(), SfxDispatcher::ExecuteList(), false, FN_UPDATE_TOX, g_bNoInterrupt, sw::proofreadingiterator::get(), IDocumentSettingAccess::get(), SfxViewFrame::GetBindings(), GetBindings(), SwViewOption::getBrowseMode(), SfxViewFrame::GetChildWindow(), SfxObjectShell::GetCreateMode(), IDocumentLayoutAccess::GetCurrentViewShell(), GetDispatcher(), SwDocShell::GetDoc(), SfxViewFrame::GetFirst(), SfxViewFrame::GetFrame(), SfxFrame::GetFrameInterface(), SwMasterUsrPref::GetHScrollMetric(), SwDoc::getIDocumentLayoutAccess(), SwDoc::getIDocumentSettingAccess(), SfxViewShell::GetMargin(), SfxViewFrame::GetObjectShell(), SvtLinguConfig::GetOptions(), SfxShell::GetPool(), SfxViewShell::GetViewFrame(), SwViewShell::GetViewOptions(), SfxShell::GetViewShell(), SwDocShell::GetVisArea(), SwMasterUsrPref::GetVScrollMetric(), SfxViewFrame::GetWindow(), SwViewOption::GetZoom(), SwViewOption::GetZoomType(), SfxViewShell::InvalidateBorder(), Task::IsActive(), SwViewOption::IsCursorInProtectedArea(), tools::Rectangle::IsEmpty(), SfxObjectShell::IsEnableSetModified(), SwViewOption::IsFieldName(), utl::ConfigManager::IsFuzzing(), SfxObjectShell::IsPreview(), SwViewOption::IsShowHiddenChar(), SwViewOption::IsShowHiddenField(), SwViewOption::IsShowHiddenPara(), SwViewOption::IsViewHRuler(), SwViewOption::IsViewHScrollBar(), SwViewOption::IsViewVRuler(), SwViewOption::IsViewVScrollBar(), SwScrollbar::IsVisible(), LINK, m_aTimer, m_bAttrChgNotified, m_bAttrChgNotifiedWithRegistrations, m_bHScrollbarEnabled, m_bIsPreviewDoubleClick, m_bOldShellWasPagePreview, m_bVScrollbarEnabled, m_nNewPage, m_pEditWin, m_pHRuler, m_pHScrollbar, m_pPostItMgr, m_pShell, m_pViewImpl, m_pVRuler, m_pVScrollbar, m_pWrtShell, m_sNewCursorPos, m_sSwViewData, m_xGlueDocShell, PARAGRAPH_MARGINS_VERTICAL, REDUCED_METRIC, vcl::Window::RequestDoubleBuffering(), SAL_INFO, SAL_WARN_IF, SvxRuler::SetActive(), SwScrollbar::SetAuto(), SwViewOption::setBrowseMode(), SdrMarkView::SetDesignMode(), Timer::SetInvokeHandler(), SfxShell::SetName(), SfxViewShell::SetNewWindowAllowed(), SwViewOption::SetOnlineSpell(), SwViewOption::SetReadonly(), Timer::SetTimeout(), SwViewOption::SetViewLayoutBookMode(), SwViewOption::SetViewLayoutColumns(), SetVisArea(), SfxViewShell::SetWindow(), SwViewOption::SetZoom(), SwViewOption::SetZoomType(), SwModule::ShowDBObj(), ShowHScrollbar(), ShowVScrollbar(), StartListening, Task::Stop(), SW_MOD, SwView_Impl, TABS, SwDocShell::UpdateFontList(), WB_BORDER, WB_EXTRAFIELD, WB_SIZEABLE, WB_STDRULER, WB_VSCROLL, and xFrame.
|
overridevirtual |
Definition at line 1078 of file view.cxx.
References IDocumentMarkAccess::ClearFieldActivation(), VclPtr< vcl::Window >::disposeAndClear(), VclPtr< reference_type >::disposeAndClear(), SdrObjEditView::DisposeUndoManager(), SfxViewFrame::GetBindings(), GetDocShell(), SwViewShell::getIDocumentMarkAccess(), SfxViewShell::GetViewFrame(), SfxViewFrame::GetWindow(), GetWrtShell(), vcl::Window::Hide(), Task::IsActive(), SdrObjEditView::IsTextEdit(), LINK, m_aTimer, m_bAttrChgNotifiedWithRegistrations, m_bInDtor, m_pEditWin, m_pFormatClipboard, m_pGlosHdl, m_pHRuler, m_pHScrollbar, m_pPostItMgr, m_pScrollFill, m_pViewImpl, m_pVRuler, m_pVScrollbar, m_pWrtShell, m_xGlueDocShell, SfxLokHelper::notifyOtherViews(), vcl::Window::RemoveChildEventListener(), vcl::Window::RequestDoubleBuffering(), SdrObjEditView::SdrEndTextEdit(), and SfxViewShell::SetWindow().
|
overrideprotectedvirtual |
Reimplemented from SfxViewShell.
Definition at line 38 of file view1.cxx.
References SfxViewShell::Activate(), bDocSzUpdated, DocSzChgd(), SfxViewFrame::GetChildWindow(), GetDispatcher(), GetDocShell(), SfxDispatcher::GetShell(), SfxViewShell::GetViewFrame(), SfxShell::GetViewShell(), i, m_aDocSz, m_bMakeSelectionVisible, m_pHRuler, m_pShell, m_pVRuler, m_pWrtShell, m_sSwViewData, nId, ReadUserData(), SwFieldDlgWrapper::ReInitDlg(), SwInsertIdxMarkWrapper::ReInitDlg(), SwInsertAuthMarkWrapper::ReInitDlg(), SwRedlineAcceptChild::ReInitDlg(), SvxRuler::SetActive(), SwModule::SetView(), SwDocShell::SetView(), and SW_MOD.
void SwView::AddTransferable | ( | SwTransferable & | rTransferable | ) |
Definition at line 1919 of file view.cxx.
References SwView_Impl::AddTransferable(), and GetViewImpl().
Referenced by SwTransferable::SwTransferable().
Definition at line 147 of file viewport.cxx.
References GetEditWin(), vcl::Window::PixelToLogic(), and Point.
Referenced by PhyPageDown(), PhyPageUp(), and UpdateScrollbars().
void SwView::ApplyAccessibilityOptions | ( | SvtAccessibilityOptions const & | rAccessibilityOptions | ) |
Definition at line 115 of file view0.cxx.
References GetDocShell(), IsReadOnly(), m_pWrtShell, and void().
bool SwView::AreOnlyFormsSelected | ( | ) | const |
Definition at line 652 of file viewdraw.cxx.
References SwViewShell::GetDrawView(), SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMarkView::GetMarkedObjectList(), SdrMark::GetMarkedSdrObj(), GetWrtShell(), HasOnlyObj(), i, and nCount.
Referenced by IsFormMode().
void SwView::AutoCaption | ( | const sal_uInt16 | nType, |
const SvGlobalName * | pOleId = nullptr |
||
) |
Definition at line 180 of file viewdlg2.cxx.
References SwModuleOptions::GetCapOption(), SwModuleOptions::IsInsWithCaption(), SW_MOD, and InsCaptionOpt::UseCaption().
Referenced by SwTextShell::ExecInsert(), SwBaseShell::Execute(), SwBaseShell::InsertTable(), InsertTableImpl(), SwDrawBase::MouseButtonUp(), and SwTransferable::PasteData().
bool SwView::BeginTextEdit | ( | SdrObject * | pObj, |
SdrPageView * | pPV = nullptr , |
||
vcl::Window * | pWin = nullptr , |
||
bool | bIsNewObj = false , |
||
bool | bSetSelectionToStart = false |
||
) |
Definition at line 507 of file viewdraw.cxx.
References aNewSelection, EE_INDEX_NOT_FOUND, EE_PARA_NOT_FOUND, false, SwDoc::GetDefault(), SwViewShell::GetDoc(), SwViewShell::GetDrawView(), GetHyphenator(), SwViewShell::getIDocumentDeviceAccess(), SwLangHelper::GetLanguage(), SdrPaintView::GetModel(), OutlinerView::GetOutputArea(), IDocumentDeviceAccess::getReferenceDevice(), SwFEShell::GetShapeBackground(), GetSpellChecker(), SdrObjEditView::GetTextEditOutlinerView(), SwViewShell::GetViewOptions(), GetWrtShell(), comphelper::LibreOfficeKit::isActive(), SwViewOption::IsFieldShadings(), SwViewOption::IsOnlineSpell(), SwFEShell::IsShapeDefaultHoriTextDirR2L(), m_nDrawSfxId, SfxLokHelper::notifyOtherViews(), Point, VclReferenceBase::release(), RES_CHRATR_LANGUAGE(), SdrObjEditView::SdrBeginTextEdit(), OutlinerView::SetBackgroundColor(), SwFEShell::SetCalcFieldValueHdl(), OutlinerView::SetSelection(), and tools::Rectangle::toString().
Referenced by EnterDrawTextMode(), EnterShapeDrawTextMode(), ExecDraw(), SwDrawTextShell::Execute(), SwSpellDialogChildWindow::FindNextDrawTextError_Impl(), and ConstRectangle::MouseButtonUp().
Definition at line 812 of file viewport.cxx.
References SvBorder::Bottom(), GetEditWin(), StyleSettings::GetScrollBarSize(), vcl::Window::GetSettings(), AllSettings::GetStyleSettings(), SwScrollbar::IsVisible(), SvBorder::Left(), m_pHRuler, m_pHScrollbar, m_pVRuler, m_pVScrollbar, m_pWrtShell, SvBorder::Right(), SfxViewShell::SetBorderPixel(), and SvBorder::Top().
Referenced by InnerResizePixel(), and OuterResizePixel().
|
private |
Calculate the visible range.
Definition at line 342 of file viewport.cxx.
References tools::Rectangle::Bottom(), DOCUMENTBORDER, tools::Rectangle::GetHeight(), GetLeftMargin(), tools::Rectangle::GetWidth(), GetXScroll(), GetYScroll(), IsDocumentBorder(), tools::Rectangle::Left(), m_aVisArea, min(), nLeftOfst, nScrollX, tools::Rectangle::Right(), SetHScrollMax(), SetVScrollMax(), and tools::Rectangle::Top().
Referenced by Scroll().
Definition at line 770 of file viewport.cxx.
References tools::Rectangle::AdjustBottom(), tools::Rectangle::AdjustLeft(), tools::Rectangle::AdjustRight(), tools::Rectangle::AdjustTop(), tools::Rectangle::Bottom(), tools::Rectangle::BottomRight(), DOCUMENTBORDER, SfxViewFrame::GetBindings(), SwViewShell::GetDocSize(), GetEditWin(), SfxViewShell::GetViewFrame(), GetWrtShell(), Size::Height(), SfxBindings::Invalidate(), IsDocumentBorder(), tools::Rectangle::Left(), vcl::Window::PixelToLogic(), Point, tools::Rectangle::Right(), tools::Rectangle::SetBottom(), tools::Rectangle::SetLeft(), tools::Rectangle::SetRight(), tools::Rectangle::SetTop(), SetVisArea(), tools::Rectangle::Top(), and Size::Width().
Referenced by ExecViewOptions(), InnerResizePixel(), OuterResizePixel(), and SetZoom_().
Definition at line 630 of file viewmdi.cxx.
References m_pHRuler.
Referenced by SwXViewSettings::_postSetValues(), SwModule::ApplyItemSet(), SwModule::ApplyRulerMetric(), SwModule::ApplyUserCharUnit(), and SwModule::ApplyUserMetric().
Definition at line 639 of file viewmdi.cxx.
References m_pVRuler.
Referenced by SwXViewSettings::_postSetValues(), SwModule::ApplyItemSet(), SwModule::ApplyRulerMetric(), SwModule::ApplyUserCharUnit(), and SwModule::ApplyUserMetric().
|
private |
Definition at line 659 of file view.cxx.
References SfxViewFrame::GetBindings(), SfxDispatcher::GetDisableFlags(), GetDispatcher(), GetEditWin(), InputContext::GetOptions(), SfxViewShell::GetViewFrame(), SfxBindings::InvalidateAll(), ListText, m_pViewImpl, m_pWrtShell, SfxDispatcher::SetDisableFlags(), vcl::Window::SetInputContext(), InputContext::SetOptions(), TableListText, TableText, and Text.
|
private |
Definition at line 570 of file view.cxx.
References FN_BACKSPACE, FN_CALCULATE, FN_DELETE_BACK_LINE, FN_DELETE_BACK_PARA, FN_DELETE_BACK_SENT, FN_DELETE_BACK_WORD, FN_DELETE_LINE, FN_DELETE_PARA, FN_DELETE_SENT, FN_DELETE_WHOLE_LINE, FN_DELETE_WORD, FN_EDIT_REGION, FN_FORMAT_DROPCAPS, FN_GROW_FONT_SIZE, FN_INSERT_BOOKMARK, FN_INSERT_BREAK_DLG, FN_INSERT_CHECKBOX_CONTENT_CONTROL, FN_INSERT_COLUMN_BREAK, FN_INSERT_CONTENT_CONTROL, FN_INSERT_DROPDOWN_CONTENT_CONTROL, FN_INSERT_LINEBREAK, FN_INSERT_PICTURE_CONTENT_CONTROL, FN_JAVAEDIT, FN_PASTE_NESTED_TABLE, FN_POSTIT, FN_SELECT_PARA, FN_SET_SUB_SCRIPT, FN_SET_SUPER_SCRIPT, FN_SHIFT_BACKSPACE, FN_SHRINK_FONT_SIZE, FN_TABLE_PASTE_COL_BEFORE, FN_TABLE_PASTE_ROW_BEFORE, FN_TXTATR_INET, SfxViewFrame::GetBindings(), GetDispatcher(), SfxViewShell::GetViewFrame(), SfxBindings::InvalidateAll(), lcl_CmpIds(), m_pWrtShell, SfxDispatcher::QueryState(), SAL_N_ELEMENTS, and SfxDispatcher::SetSlotFilter().
void SwView::CheckVisArea | ( | ) |
Definition at line 316 of file viewport.cxx.
References DOCUMENTBORDER, SfxViewFrame::GetFrame(), SfxViewShell::GetViewFrame(), IsDocumentBorder(), SfxFrame::IsInPlace(), tools::Rectangle::Left(), m_aVisArea, m_pHScrollbar, m_pWrtShell, tools::Rectangle::Move(), SwScrollbar::SetAuto(), SetVisArea(), and tools::Rectangle::Top().
Referenced by RecheckBrowseMode().
|
overridevirtual |
Reimplemented from SfxViewShell.
Definition at line 161 of file viewprt.cxx.
References CreatePrintOptionsPage().
|
private |
Definition at line 299 of file viewmdi.cxx.
References VclPtr< reference_type >::Create(), ScrollBar::EnableDrag(), SwScrollbar::ExtendedShow(), SfxViewShell::GetViewFrame(), SfxViewFrame::GetWindow(), SfxViewShell::GetWindow(), SfxViewShell::InvalidateBorder(), LINK, m_bShowAtResize, m_pHScrollbar, m_pVScrollbar, ScrollBar::SetEndScrollHdl(), ScrollBar::SetScrollHdl(), and UpdateScrollbars().
Referenced by SwView().
void SwView::CreateTab | ( | ) |
Definition at line 616 of file viewmdi.cxx.
References SfxShell::GetFrame(), SfxViewShell::InvalidateBorder(), SfxShell::IsActive(), m_pHRuler, and SvxRuler::SetActive().
Referenced by lcl_SetUIPrefs(), Notify(), and SwView().
SfxObjectShellLock SwView::CreateTmpSelectionDoc | ( | ) |
Definition at line 1913 of file view.cxx.
References SwXTextView::BuildTmpSelectionDoc(), SwView_Impl::GetUNOObject_Impl(), and GetViewImpl().
void SwView::CreateVRuler | ( | ) |
Definition at line 658 of file viewmdi.cxx.
References SfxShell::GetFrame(), SfxViewShell::InvalidateBorder(), SfxShell::IsActive(), m_pHRuler, m_pVRuler, and SvxRuler::SetActive().
Referenced by lcl_SetUIPrefs(), Notify(), and SwView().
|
overrideprotectedvirtual |
Reimplemented from SfxViewShell.
Definition at line 137 of file view1.cxx.
References SfxViewShell::Deactivate(), SwEditWin::FlushInBuffer(), GetEditWin(), m_pHRuler, m_pVRuler, m_pWrtShell, and SvxRuler::SetActive().
|
private |
SwView::DECL_DLLPRIVATE_LINK | ( | OnlineSpellCallback | , |
SpellCallbackInfo & | , | ||
void | |||
) |
SwView::DECL_DLLPRIVATE_LINK | ( | FormControlActivated | , |
LinkParamNone * | , | ||
void | |||
) |
SwView::DECL_DLLPRIVATE_LINK | ( | DialogClosedHdl | , |
sfx2::FileDialogHelper * | , | ||
void | |||
) |
SwView::DECL_LINK | ( | AttrChangedNotify | , |
LinkParamNone * | , | ||
void | |||
) |
Definition at line 154 of file viewport.cxx.
References tools::Rectangle::AdjustBottom(), tools::Rectangle::AdjustLeft(), tools::Rectangle::AdjustRight(), tools::Rectangle::AdjustTop(), bDocSzUpdated, tools::Rectangle::Bottom(), DOCUMENTBORDER, SfxShell::GetFrame(), SfxViewShell::GetViewFrame(), SfxViewShell::GetWindow(), Size::Height(), IsDocumentBorder(), tools::Rectangle::IsEmpty(), m_aDocSz, m_aVisArea, m_bInInnerResizePixel, m_bInOuterResizePixel, m_pWrtShell, OuterResizePixel(), Point, tools::Rectangle::Right(), SetVisArea(), UpdateScrollbars(), and Size::Width().
Referenced by Activate(), and SwView().
|
overridevirtual |
Reimplemented from SfxViewShell.
Definition at line 1629 of file view.cxx.
References ERRCODE_NONE, SfxShell::GetFrame(), SwWrtShell::GetSelectionType(), SfxViewShell::GetViewFrame(), GetWrtShell(), SwWrtShell::LaunchOLEObj(), and Ole.
|
overridevirtual |
See SfxViewShell::dumpAsXml().
Reimplemented from SfxViewShell.
Definition at line 268 of file viewprt.cxx.
References SfxViewShell::dumpAsXml(), m_pWrtShell, and void().
Referenced by SwFrame::dumpAsXml().
void SwView::EditLinkDlg | ( | ) |
show "edit link" dialog
Definition at line 2160 of file view2.cxx.
References SvxAbstractDialogFactory::Create(), and GetFrameWeld().
void SwView::EnableHScrollbar | ( | bool | bEnable | ) |
Definition at line 742 of file viewmdi.cxx.
References SfxViewShell::InvalidateBorder(), and m_bHScrollbarEnabled.
Referenced by lcl_SetUIPrefs().
void SwView::EnableMailMerge | ( | ) |
Definition at line 2634 of file view2.cxx.
References FN_INSERT_FIELD_DATA_ONLY, SfxBindings::Invalidate(), and SfxBindings::Update().
void SwView::EnableVScrollbar | ( | bool | bEnable | ) |
Definition at line 751 of file viewmdi.cxx.
References SfxViewShell::InvalidateBorder(), and m_bVScrollbarEnabled.
Referenced by lcl_SetUIPrefs().
std::shared_ptr< SwMailMergeConfigItem > SwView::EnsureMailMergeConfigItem | ( | const SfxItemSet * | pArgs = nullptr | ) |
Definition at line 238 of file apphdl.cxx.
References svx::Command, svx::CommandType, svx::Connection, svx::DataSource, DB_DELIM, FN_PARAM_DATABASE_PROPERTIES, SwEditShell::GetAllUsedDB(), SfxItemSet::GetItemIfSet(), GetMailMergeConfigItem(), o3tl::getToken(), SfxUnoAnyItem::GetValue(), GetWrtShell(), svx::ODataAccessDescriptor::has(), SwDBData::nCommandType, utl::SharedUNOComponent< INTERFACE, COMPONENT >::NoTakeOwnership, SwDBData::sCommand, SwDBData::sDataSource, SetMailMergeConfigItem(), and o3tl::toInt32().
Referenced by SwModule::StateOther().
bool SwView::EnterDrawTextMode | ( | const Point & | aDocPos | ) |
Definition at line 463 of file viewdraw.cxx.
References BeginTextEdit(), Content, SwViewShell::GetDrawView(), SdrPaintView::GetHitTolerancePixel(), SdrPaintView::getHitTolLog(), GetWrtShell(), SdrMarkView::IsMarkedHit(), IsTextTool(), lcl_isTextBox(), m_pEditWin, m_pWrtShell, NONE, SdrMarkView::PickHandle(), SdrMarkView::PickObj(), and SdrPaintView::SetHitTolerancePixel().
Referenced by SwEditWin::EnterDrawTextMode().
bool SwView::EnterShapeDrawTextMode | ( | SdrObject * | pObject | ) |
Same as EnterDrawTextMode(), but takes an SdrObject instead of guessing it by document position.
Definition at line 498 of file viewdraw.cxx.
References BeginTextEdit(), SwViewShell::GetDrawView(), SdrPaintView::GetSdrPageView(), GetWrtShell(), and m_pEditWin.
Referenced by sw::DocumentDrawModelManager::Search().
void SwView::ExecColl | ( | SfxRequest const & | rReq | ) |
Definition at line 31 of file viewcoll.cxx.
References aName, SfxRequest::AppendItem(), SfxShell::ExecuteSlot(), FN_FORMAT_PAGE_DLG, FN_PARAM_WRTSHELL, FN_SET_PAGE, FN_SET_PAGE_STYLE, SfxRequest::GetArgs(), SwWrtShell::GetCurPageStyle(), GetCurShell(), SfxItemSet::GetItemState(), SfxShell::GetPool(), SfxRequest::GetSlot(), GetValue, GetWrtShell(), and GetWrtShellPtr().
void SwView::ExecDlg | ( | SfxRequest const & | rReq | ) |
Definition at line 27 of file viewdlg.cxx.
References FN_CHANGE_PAGENUM, SfxRequest::GetArgs(), SfxItemSet::GetItemState(), SfxShell::GetPool(), SfxRequest::GetSlot(), GetValue, GetWhich, m_pWrtShell, and nValue.
void SwView::ExecDlgExt | ( | SfxRequest const & | rReq | ) |
Definition at line 49 of file viewdlg2.cxx.
References VclAbstractDialogFactory::Create(), SwAbstractDialogFactory::Create(), VclAbstractDialogFactory::CreateAdditionsDialog(), SwAbstractDialogFactory::CreateInsFootNoteDlg(), VclAbstractDialogFactory::CreateQrCodeGenDialog(), VclAbstractDialogFactory::CreateSignatureLineDialog(), VclAbstractDialogFactory::CreateSignSignatureLineDialog(), SwAbstractDialogFactory::CreateSwCaptionDialog(), VclAbstractDialog::Execute(), FN_EDIT_FOOTNOTE, FN_INSERT_CAPTION, SfxRequest::GetArg(), GetFrameWeld(), SfxRequest::GetSlot(), CntUnencodedStringItem::GetValue(), SwResId(), and xModel.
void SwView::ExecDraw | ( | const SfxRequest & | rReq | ) |
Definition at line 73 of file viewdraw.cxx.
References BeginTextEdit(), FmFormView::CreateFieldControl(), SwDrawBase::Deactivate(), vcl::Window::EnterWait(), SfxDispatcher::Execute(), SfxRequest::GetArg(), SfxRequest::GetArgs(), SfxViewFrame::GetBindings(), SfxViewFrame::GetDispatcher(), GetDrawFuncPtr(), vcl::Window::GetFrameWeld(), tools::Rectangle::GetHeight(), SfxItemSet::GetItemState(), SdrObject::GetLogicRect(), SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMarkView::GetMarkedObjectList(), SdrMark::GetMarkedSdrObj(), SdrPaintView::GetModel(), SfxRequest::GetModifier(), SfxShell::GetPool(), ConstCustomShape::GetShapeType(), ConstCustomShape::GetShapeTypeFromRequest(), SfxRequest::GetSlot(), SwDrawBase::GetSlotId(), CntUInt16Item::GetValue(), CntUnencodedStringItem::GetValue(), SfxUnoAnyItem::GetValue(), SfxViewShell::GetViewFrame(), GetWhich, tools::Rectangle::GetWidth(), SfxBindings::Invalidate(), comphelper::LibreOfficeKit::isActive(), SdrObjEditView::IsTextEdit(), KEY_MOD1, LeaveDrawCreate(), vcl::Window::LeaveWait(), m_eFormObjKind, m_nDrawSfxId, m_nFormSfxId, m_pEditWin, m_pWrtShell, m_sDrawCustom, NoRotate(), Point, weld::DialogController::runAsync(), SdrObjEditView::SdrEndTextEdit(), SetDrawFuncPtr(), and SfxBindings::Update().
bool SwView::ExecDrwTextSpellPopup | ( | const Point & | rPt | ) |
Definition at line 717 of file viewdraw.cxx.
References OutlinerView::ExecuteSpellPopup(), GetEditWin(), SdrObjEditView::GetTextEditOutlinerView(), OutlinerView::IsWrongSpelledWordAtPos(), LINK, m_pWrtShell, and Point.
void SwView::ExecFormatFootnote | ( | ) |
Definition at line 679 of file view0.cxx.
References SwAbstractDialogFactory::Create(), SwAbstractDialogFactory::CreateSwFootNoteOptionDlg(), SfxViewShell::GetFrameWeld(), and GetWrtShell().
Referenced by SwAnnotationShell::Exec(), SwFrameShell::Execute(), SwDrawShell::Execute(), and SwDrawTextShell::Execute().
void SwView::ExecFormatPaintbrush | ( | SfxRequest const & | rReq | ) |
Definition at line 156 of file view1.cxx.
References SfxItemSet::Count(), SfxItemSet::Get(), SfxRequest::GetArgs(), SfxViewFrame::GetBindings(), GetEditWin(), SfxShell::GetPool(), SfxViewShell::GetViewFrame(), GetWrtShell(), SfxBindings::Invalidate(), SwApplyTemplate::m_pFormatClipboard, m_pFormatClipboard, and SwEditWin::SetApplyTemplate().
void SwView::ExecLingu | ( | SfxRequest & | rReq | ) |
Definition at line 93 of file viewling.cxx.
References aSeq, cppu::defaultBootstrap_InitialComponentContext(), Exception, FN_HYPHENATE_OPT_DLG, OutputDevice::GetDefaultFont(), SfxRequest::GetFrameWeld(), SwIndex::GetIndex(), SwNodeIndex::GetNode(), SfxRequest::GetSlot(), SwTextNode::GetText(), SwNode::GetTextNode(), SfxRequest::Ignore(), comphelper::InitAnyPropertySequence(), SwNode::IsTextNode(), LANGUAGE_CHINESE_SIMPLIFIED, LANGUAGE_CHINESE_TRADITIONAL, LANGUAGE_KOREAN, SwPosition::nContent, SwPosition::nNode, OVERWRITE, and RET_OK.
void SwView::ExecNumberingOutline | ( | SfxItemPool & | rPool | ) |
Definition at line 686 of file view0.cxx.
References SwAbstractDialogFactory::Create(), SwAbstractDialogFactory::CreateOutlineTabDialog(), SfxViewShell::GetFrameWeld(), and GetWrtShell().
Referenced by SwAnnotationShell::Exec(), SwFrameShell::Execute(), SwDrawShell::Execute(), and SwDrawTextShell::Execute().
void SwView::ExecSearch | ( | SfxRequest & | rReq | ) |
Definition at line 132 of file viewsrch.cxx.
References SfxRequest::AppendItem(), SfxPoolItem::Clone(), SearchAttrItemList::Count(), SwCursorShell::DeleteCurrent, SfxRequest::Done(), FN_REPEAT_SEARCH, SfxItemSet::Get(), SfxRequest::GetArgs(), SfxItemSet::GetItemState(), GetMoveType(), SvxSearchDialog::GetReplaceItemList(), SvxSearchDialog::GetSearchItemList(), SfxRequest::GetSlot(), comphelper::LibreOfficeKit::isActive(), SvtCJKOptions::IsAnyEnabled(), SfxRequest::IsAPI(), svl::Items, lcl_emitSearchResultCallbacks(), SfxItemSet::MergeRange(), NID_SRCH_REP, Replace, sw::ReplaceBackReferences(), RES_CHRATR_BACKGROUND(), RES_CHRATR_BLINK(), RES_CHRATR_CASEMAP(), RES_CHRATR_CJK_FONT(), RES_CHRATR_CJK_WEIGHT(), RES_CHRATR_COLOR(), RES_CHRATR_CTL_FONT(), RES_CHRATR_CTL_WEIGHT(), RES_CHRATR_EMPHASIS_MARK(), RES_CHRATR_OVERLINE(), RES_CHRATR_POSTURE(), RES_CHRATR_RELIEF(), RES_CHRATR_ROTATE(), RES_CHRATR_SCALEW(), RES_CHRATR_SHADOWED(), RES_CHRATR_TWO_LINES(), RES_CHRATR_WORDLINEMODE(), RES_LR_SPACE(), RES_PARATR_FORBIDDEN_RULES(), RES_PARATR_HYPHENZONE(), RES_PARATR_LINESPACING(), RES_PARATR_REGISTER(), RES_PARATR_SCRIPTSPACE(), RES_PARATR_VERTALIGN(), RES_UL_SPACE(), SAL_WARN_IF, Scroll, SetMoveType(), SfxRequest::SetReturnValue(), SvxSearchDialogWrapper::SetSearchLabel(), Start, SW_MOD, and SwResId().
Referenced by SwAnnotationShell::ExecSearch().
Function: ExecSmartTagPopup.
This function shows the popup menu for smarttag actions.
Definition at line 815 of file viewling.cxx.
References VCLUnoHelper::ConvertToAWTRect(), SwCursorShell::DeleteCurrent, GetDispatcher(), comphelper::getProcessComponentContext(), SwRect::HasArea(), comphelper::makePropertyValue(), and SwRect::SVRect().
bool SwView::ExecSpellPopup | ( | const Point & | rPt | ) |
! End of extra code for context menu modifying extensions
happy hacking for context menu modifying extensions of this 'custom made' menu... sigh (code copied from sfx2 and framework)
Definition at line 625 of file viewling.cxx.
References aCommand, aEvent, aURL, SfxViewShell::Current(), SwCursorShell::DeleteCurrent, DrawObjectEditMode, Exception, ExecuteMenuCommand(), SfxDispatcher::fillPopupMenu(), fnParaEnd, fnParaStart, SwPaM::GetContentNode(), SwCursorShell::GetCursor(), SfxViewFrame::GetFrame(), SfxFrame::GetFrameInterface(), VCLUnoHelper::GetInterface(), SwViewShell::GetLayout(), SwContentNode::getLayoutFrame(), SwPaM::GetPoint(), comphelper::getProcessComponentContext(), SwCursorShell::GetSelText(), SwNode::GetTextNode(), GoCurrPara(), SwRect::HasArea(), SwPaM::HasMark(), comphelper::LibreOfficeKit::isActive(), SwCursorShell::IsEndPara(), SwPaM::IsMultiSelection(), SwViewOption::IsOnlineSpell(), SwCursorShell::IsSttPara(), SwCursorShell::IsTableMode(), LINK, SwCursorShell::MovePara(), nId, Point, SwCursorShell::Pop(), Application::PostUserEvent(), SwCursorShell::Push(), SwCursorShell::SetMark(), SwRect::SVRect(), xDispatch, and xFrame.
Referenced by SwEditWin::Command().
void SwView::ExecTabWin | ( | SfxRequest const & | rReq | ) |
Definition at line 229 of file viewtab.cxx.
References SL::aData, SwWrtShell::AutoUpdatePara(), SwRect::Bottom(), SvxColumnDescription::bVisible, SwFEShell::CalcBoundRect(), SwPageDesc::ChgFirstShare(), SwPageDesc::ChgFooterShare(), SwPageDesc::ChgHeaderShare(), SwFEShell::ChgPageDesc(), SvxTabStopItem::Clone(), COLSECT, COLUMN, SvxColumnItem::Count(), SvxTabStopItem::Count(), SwTabCols::Count(), DEFAULT, DRAWOBJ, SwCursorShell::EndAction(), SwEditShell::EndAllAction(), Fixed, FLY_ANY, FlyEmbedded, FlyEmbeddedPrt, FOOTER, SfxViewShell::Get(), SfxItemSet::Get(), SwFEShell::GetAnyCurRect(), SwEditShell::GetAnySection(), SfxRequest::GetArgs(), SwViewShell::GetAttrPool(), SfxViewFrame::GetBindings(), SwViewOption::getBrowseMode(), SwFormat::GetCol(), SwEditShell::GetCurAttr(), SwFEShell::GetCurPageDesc(), SwEditShell::GetCurrSection(), SwEditShell::GetCurTextFormatColl(), SwEditShell::GetDefault(), SwTabCols::GetEntry(), SwFEShell::GetFlyFrameAttr(), SwFEShell::GetFlyFrameFormat(), SwFormat::GetFooter(), SwFormatFooter::GetFooterFormat(), SwSection::GetFormat(), SwFormat::GetFrameSize(), SwFEShell::GetFrameType(), SwFormat::GetHeader(), SwFormatHeader::GetHeaderFormat(), SvxSizeItem::GetHeight(), SwFormat::GetHoriOrient(), GetHRuler(), SfxItemSet::GetItemIfSet(), SvxColumnItem::GetLeft(), SvxLongLRSpaceItem::GetLeft(), SvxLRSpaceItem::GetLeft(), SwTabCols::GetLeft(), SwTabCols::GetLeftMin(), SvxLongULSpaceItem::GetLower(), SvxULSpaceItem::GetLower(), SwFormat::GetLRSpace(), SwPageDesc::GetMaster(), SwFEShell::GetMouseTabCols(), SwFEShell::GetMouseTabRows(), SwFEShell::GetObjRect(), SwFEShell::GetPageDesc(), SfxShell::GetPool(), SvxColumnItem::GetRight(), SvxLongLRSpaceItem::GetRight(), SvxLRSpaceItem::GetRight(), SwTabCols::GetRight(), SwEditShell::GetSectionFormatPos(), SfxRequest::GetSlot(), SwFEShell::GetTabCols(), GetTabDist(), SwEditShell::GetTableFormat(), SvxTabStop::GetTabPos(), SwFEShell::GetTabRows(), SvxLRSpaceItem::GetTextFirstLineOffset(), SvxLRSpaceItem::GetTextLeft(), SwFormat::GetULSpace(), SvxLongULSpaceItem::GetUpper(), SvxULSpaceItem::GetUpper(), CntUInt16Item::GetValue(), CntUnencodedStringItem::GetValue(), GetValue, SfxInt16Item::GetValue(), CntInt32Item::GetValue(), SwFormat::GetVertOrient(), SfxViewShell::GetViewFrame(), SwViewShell::GetViewOptions(), SfxItemPool::GetWhich(), SvxSizeItem::GetWidth(), GetWrtShell(), HEADER, SwRect::Height(), i, SwFormatCol::Init(), SvxTabStopItem::Insert(), SwFormatHeader::IsActive(), SwFormatFooter::IsActive(), SwFormat::IsAutoUpdateFormat(), SwFEShell::IsDirectlyInSection(), SwFEShell::IsFrameSelected(), SwFEShell::IsFrameVertical(), SwCursorShell::IsInVerticalText(), SwFEShell::IsMouseTableRightToLeft(), SwFEShell::IsObjSelected(), IsTabColFromDoc(), SwFEShell::IsTableRightToLeft(), SwViewShell::IsViewLocked(), lcl_ConvertToCols(), lcl_EraseDefTabs(), SwWrtShell::LeaveSelFrameMode(), SwRect::Left(), SwViewShell::LockView(), m_aTabColFromDocPos, m_bSetTabColFromDoc, m_bSetTabRowFromDoc, m_bTabColFromDoc, m_bTabRowFromDoc, m_nLeftBorderDistance, m_nRightBorderDistance, m_pNumRuleNodeFromDoc, MakeDefTabs(), min(), nBorder, nCount, SvxColumnDescription::nEnd, nIndex, SwPostItHelper::NONE, SwTabColsEntry::nPos, SvxColumnDescription::nStart, Page, PagePrt, SwWrtShell::Pop(), SwRect::Pos(), SwCursorShell::Push(), SfxItemSet::Put(), RES_COL(), RES_FRM_SIZE(), RES_HORI_ORIENT(), RES_LR_SPACE(), RES_PARATR_TABSTOP(), RES_UL_SPACE(), RES_VERT_ORIENT(), ResizeFrameCols(), SwRect::Right(), Section, SectionPrt, SwEditShell::SetAttrItem(), SwFEShell::SetFlyFrameAttr(), SwFormat::SetFormatAttr(), SwFormatFrameSize::SetHeightSizeType(), SwTabCols::SetHidden(), SwFormatHoriOrient::SetHoriOrient(), SwEditShell::SetIndent(), SvxLRSpaceItem::SetLeft(), SwTabCols::SetLeft(), SvxULSpaceItem::SetLower(), SwFEShell::SetMouseTabCols(), SwFEShell::SetMouseTabRows(), SetNumRuleNodeFromDoc(), SwFEShell::SetObjRect(), SvxLRSpaceItem::SetRight(), SwTabCols::SetRight(), SwEditShell::SetSectionAttr(), SfxBindings::SetState(), SwFEShell::SetTabCols(), SwFEShell::SetTabRows(), SvxLRSpaceItem::SetTextFirstLineOffset(), SvxLRSpaceItem::SetTextLeft(), SvxULSpaceItem::SetUpper(), SvxRuler::SetValues(), SwFormatVertOrient::SetVertOrient(), SID_ATTR_PAGE_COLUMN, SID_ATTR_PAGE_FOOTER, SID_ATTR_PAGE_FOOTER_LAYOUT, SID_ATTR_PAGE_FOOTER_LRMARGIN, SID_ATTR_PAGE_FOOTER_SPACING, SID_ATTR_PAGE_HEADER, SID_ATTR_PAGE_HEADER_LAYOUT, SID_ATTR_PAGE_HEADER_LRMARGIN, SID_ATTR_PAGE_HEADER_SPACING, SwCursorShell::StartAction(), SwEditShell::StartAllAction(), sType, SwapPageMargin(), SwRect::Top(), SwWrtShell::UnSelectFrame(), SwEditShell::UpdateSection(), SwRect::Width(), XATTR_FILLBITMAP(), XATTR_FILLCOLOR(), XATTR_FILLGRADIENT(), XATTR_FILLHATCH(), and XATTR_FILLSTYLE().
void SwView::Execute | ( | SfxRequest & | rReq | ) |
Definition at line 543 of file view2.cxx.
References ACCEPT_REDLINE, SL::aData, SwRewriter::AddRule(), SfxRequest::AppendItem(), aProperties, SdrMarkView::AreObjectsMarked(), SfxViewFrame::ChildWindowExecute(), SvPasswordHelper::CompareHashPassword(), comphelper::DocPasswordHelper::ConvertPasswordInfo(), SfxItemSet::Count(), SwAbstractDialogFactory::Create(), SwAbstractDialogFactory::CreateMailMergeCreateFromDlg(), Application::CreateMessageDialog(), SwAbstractDialogFactory::CreateVclSwViewDialog(), SfxRequest::Done(), DrawObjectEditMode, SwEditShell::EndUndo(), SwWrtShell::EnterStdMode(), VclAbstractDialog::Execute(), SwDBManager::ExecuteFormLetter(), FLYCNTTYPE_FRM, FN_EDIT_CURRENT_TOX, FN_EDIT_LINK_DLG, FN_ESCAPE, FN_GOTO_PAGE, FN_INSERT_FIELD, FN_INSERT_FIELD_DATA_ONLY, FN_INSERT_MULTI_TOX, FN_LINE_NUMBERING_DLG, FN_MAILMERGE_SENDMAIL_CHILDWINDOW, FN_NAV_ELEMENT, FN_PAGEDOWN, FN_PAGEUP, FN_PARAM_FTN_INFO, FN_QRY_MERGE, FN_REDLINE_ACCEPT, FN_REDLINE_ACCEPT_DIRECT, FN_REDLINE_ACCEPT_TONEXT, FN_REDLINE_NEXT_CHANGE, FN_REDLINE_PREV_CHANGE, FN_REDLINE_REJECT_DIRECT, FN_REDLINE_REJECT_TONEXT, FN_REDLINE_SHOW, FN_SCROLL_NEXT, FN_SCROLL_PREV, FN_SELECTION_CYCLE, FN_SPELL_GRAMMAR_DIALOG, FN_SYNC_LABELS, FN_TO_NEXT_PAGE, FN_TO_PREV_PAGE, FN_TOGGLE_OUTLINE_CONTENT_VISIBILITY, FN_UPDATE_CUR_TOX, FN_UPDATE_TOX, Get(), SfxRequest::GetArg(), SfxRequest::GetArgs(), SfxViewFrame::GetBindings(), GetBindings(), SfxViewFrame::GetChildWindow(), SwEditShell::GetDBData(), SwEditShell::GetDBManager(), SwDocShell::GetDoc(), SfxViewFrame::GetFirst(), SdrHdlList::GetFocusHdl(), SfxViewFrame::GetFrameWeld(), GetFrameWeld(), SwDoc::GetGCIterator(), SvPasswordHelper::GetHashPassword(), SdrHdlList::GetHdl(), SdrMarkView::GetHdlList(), GetId(), SwRangeRedline::GetId(), SwDoc::getIDocumentRedlineAccess(), LinguMgr::GetIgnoreAllList(), SfxItemSet::GetItemIfSet(), SfxItemSet::GetItemState(), SdrHdl::GetKind(), SvxLanguageItem::GetLanguage(), SwShellCursor::GetMkPos(), SwFormat::GetName(), SfxViewFrame::GetNext(), SwNodeIndex::GetNode(), SwNode::GetNodes(), SwNodes::GetOutLineNds(), SwGotoPageDlg::GetPageSelection(), SfxPasswordDialog::GetPassword(), SwFrame::GetPhyPageNum(), SwShellCursor::GetPtPos(), IDocumentRedlineAccess::GetRedline(), IDocumentRedlineAccess::GetRedlineFlags(), IDocumentRedlineAccess::GetRedlinePassword(), IDocumentRedlineAccess::GetRedlineTable(), SfxRequest::GetSlot(), SwNode::GetTableBox(), SwNode::GetTextNode(), SwTOXBase::GetType(), SwTableBox::GetUpper(), CntUInt32Item::GetValue(), GetValue, CntUInt16Item::GetValue(), GetWhich, SfxViewFrame::HasChildWindow(), SwPaM::HasMark(), Height, i, SfxRequest::Ignore(), SfxBindings::Invalidate(), comphelper::LibreOfficeKit::isActive(), SwEditShell::IsAnyDatabaseFieldInDoc(), comphelper::DocPasswordHelper::IsModifyPasswordCorrect(), SwCursorShell::IsTableMode(), AbstractMailMergeCreateFromDlg::IsThisDocument(), ItemSetToPageDesc(), JumpToSwMark(), lcl_SetAllTextToDefaultLanguage(), SwShellCursor::m_MarkPt, m_pShell, MakeDefTabs(), comphelper::makePropertyValue(), SdrView::MoveShapeHandle(), SwDBData::nCommandType, nId, SwPosition::nNode, NONE, nPos, SwOutlineNodes::npos, SwRedlineTable::npos, nVersion, On, Point, rData, SwRedlineAcceptChild::ReInitDlg(), REJECT_REDLINE, RES_BACKGROUND(), RES_CHRATR_CJK_LANGUAGE(), RES_CHRATR_CTL_LANGUAGE(), RES_CHRATR_LANGUAGE(), RES_PARATR_TABSTOP(), RET_OK, SfxPasswordDialog::run(), weld::DialogController::run(), SwDBData::sCommand, SwDBData::sDataSource, SwTextNode::SetAttrOutlineContentVisible(), SwDocShell::SetChangeRecording(), SfxViewFrame::SetChildWindow(), SwFormat::SetFormatAttr(), SfxPasswordDialog::SetMinLen(), SetMoveType(), IDocumentRedlineAccess::SetRedlinePassword(), SfxRequest::SetReturnValue(), SvxSearchDialogWrapper::SetSearchLabel(), SwEditWin::SetUseInputLanguage(), SfxResId(), SfxViewFrame::ShowChildWindow(), SwModule::ShowDBObj(), SfxPasswordDialog::ShowExtras(), sfx2::sidebar::Sidebar::ShowPanel(), SwRedlineTable::size(), SwDoc::SpellItAgainSam(), SwPaM::Start(), VclAbstractDialog::StartExecuteAsync(), SwEditShell::StartUndo(), SW_LEAVE_FRAME, SwResId(), Text, SfxViewFrame::ToggleChildWindow(), TOX_INDEX, u, UndoArg1, SwTableLine::UpdateTextChangesOnly(), void(), basegfx::zoomtools::zoomIn(), and basegfx::zoomtools::zoomOut().
Referenced by SwSpellPopup::Execute(), SwXTextViewCursor::screenDown(), SwXTextViewCursor::screenUp(), and SwView().
void SwView::ExecuteInsertDoc | ( | SfxRequest & | rRequest, |
const SfxPoolItem * | pItem | ||
) |
Definition at line 2426 of file view2.cxx.
References SfxRequest::Done(), SfxRequest::GetArgs(), SfxItemSet::GetItemState(), SfxRequest::GetSlot(), GetValue, and SfxRequest::SetReturnValue().
void SwView::ExecutePrint | ( | SfxRequest & | rReq | ) |
Definition at line 169 of file viewprt.cxx.
References SfxRequest::AppendItem(), Application::CreateBuilder(), Application::CreateMessageDialog(), SfxDispatcher::ExecuteList(), SfxShell::ExecuteSlot(), FN_QRY_MERGE, SfxRequest::GetArg(), SfxViewFrame::GetDispatcher(), GetEditWin(), SwPrintData::GetFaxName(), SfxViewShell::GetFrameWeld(), SfxShell::GetInterface(), SwEditShell::GetLinkManager(), SfxRequest::GetSlot(), SfxBoolItem::GetValue(), SfxViewShell::GetViewFrame(), GetWrtShell(), SfxRequest::Ignore(), SwEditShell::IsAnyDatabaseFieldInDoc(), SwFEShell::IsFrameSelected(), SwEditShell::IsGlblDocSaveLinks(), SwEditShell::IsGlobalDoc(), SwFEShell::IsObjSelected(), SwCursorShell::IsSelection(), SfxRequest::RemoveItem(), RET_CANCEL, RET_NO, RET_OK, RET_YES, SetAppPrintOptions(), SW_MOD, SwResId(), and sfx2::LinkManager::UpdateAllLinks().
void SwView::ExecuteScan | ( | SfxRequest & | rReq | ) |
Definition at line 2843 of file view2.cxx.
Referenced by SwGrfShell::Execute().
void SwView::ExecuteStatusLine | ( | SfxRequest & | rReq | ) |
execute method for the status line
rReq | ??? |
Definition at line 1902 of file view2.cxx.
References SfxRequest::AppendItem(), BROWSE_MODE, SvxAbstractDialogFactory::Create(), SvxAbstractDialogFactory::CreateSvxZoomDialog(), ScopedVclPtr< reference_type >::disposeAndReset(), SfxRequest::Done(), SwWrtShell::EnterAddMode(), SwWrtShell::EnterBlockMode(), SwWrtShell::EnterExtMode(), SwWrtShell::EnterStdMode(), eType, FN_EDIT_REGION, FN_FORMAT_FRAME_DLG, FN_FORMAT_PAGE_DLG, FN_FORMAT_TABLE_DLG, FN_GOTO_PAGE, FN_INSERT_MULTI_TOX, FN_NUMBER_BULLETS, FN_SET_ADD_MODE, FN_SET_BLOCK_MODE, FN_SET_EXT_MODE, FN_STAT_BOOKMARK, FN_STAT_PAGE, FN_STAT_SELMODE, FN_STAT_TEMPLATE, FN_STAT_WORDCOUNT, FN_WORDCOUNT_DIALOG, IDocumentSettingAccess::get(), SfxRequest::GetArgs(), IDocumentMarkAccess::getBookmarksBegin(), SwViewOption::getBrowseMode(), SwEditShell::GetCurrSection(), SwEditShell::GetCurTOX(), GetFrameWeld(), SwViewShell::getIDocumentMarkAccess(), SwViewShell::getIDocumentSettingAccess(), SfxItemSet::GetItemIfSet(), SfxItemSet::GetItemState(), SwEditShell::GetNumRuleAtCurrCursorPos(), AbstractSvxZoomDialog::GetOutputItemSet(), SfxRequest::GetSlot(), SvxZoomItem::GetType(), GetValue, SwViewOption::GetViewLayoutColumns(), SwViewShell::GetViewOptions(), SwViewOption::GetZoom(), SwViewOption::GetZoomType(), SwWrtShell::GotoMark(), SwPostItMgr::HasActiveSidebarWin(), SfxBindings::Invalidate(), SwNumRule::IsAutoRule(), SvxViewLayoutItem::IsBookMode(), SwCursorShell::IsCursorInTable(), SwFEShell::IsFrameSelected(), SwFEShell::IsObjSelected(), SwViewOption::IsViewLayoutBookMode(), m_pShell, MAXZOOM, MINZOOM, nId, RET_CANCEL, AbstractSvxZoomDialog::SetLimits(), SwWrtShell::ToggleAddMode(), SwWrtShell::ToggleBlockMode(), SwWrtShell::ToggleExtMode(), SwWrtShell::ToggleInsMode(), SwPostItMgr::ToggleInsModeOnActiveSidebarWin(), and SfxBindings::Update().
void SwView::ExecViewOptions | ( | SfxRequest & | rReq | ) |
Definition at line 363 of file view0.cxx.
References SfxRequest::AppendItem(), SwModule::ApplyUsrPref(), SwWrtShell::ApplyViewOptions(), CalcVisArea(), SwPostItMgr::CheckMetaText(), SwModule::CheckSpellChanges(), DestText, DestWeb, DocBoundaries, SfxRequest::Done(), SwCursorShell::EndAction(), false, FieldShadings, FN_HSCROLLBAR, FN_PRINT_LAYOUT, FN_RULER, FN_SHADOWCURSOR, FN_SHOW_CHANGES_IN_MARGIN, FN_SHOW_INLINETOOLTIPS, FN_SHOW_OUTLINECONTENTVISIBILITYBUTTON, FN_USE_HEADERFOOTERMENU, FN_VIEW_BOUNDS, FN_VIEW_FIELDNAME, FN_VIEW_FIELDS, FN_VIEW_GRAPHIC, FN_VIEW_HIDDEN_PARA, FN_VIEW_HIDE_WHITESPACE, FN_VIEW_MARKS, FN_VIEW_META_CHARS, FN_VIEW_SHOW_WHITESPACE, FN_VIEW_SMOOTH_SCROLL, FN_VIEW_TABLEGRID, FN_VLINEAL, FN_VSCROLLBAR, SfxRequest::GetArgs(), SwDocShell::GetDoc(), GetDocShell(), GetEditWin(), SfxItemSet::GetItemState(), GetLinguPropertySet(), GetPostItMgr(), SvtLinguConfig::GetProperty(), SfxRequest::GetSlot(), SwModule::GetUsrPref(), GetValue, SwViewShell::GetViewOptions(), GetWrtShell(), SfxItemSet::HasItem(), SfxShell::Invalidate(), SwViewOption::IsDocBoundaries(), SwViewOption::IsFieldShadings(), SwEditShell::IsModified(), SwViewOption::IsTableBoundaries(), SwViewShell::IsViewLocked(), lcl_IsViewMarks(), lcl_SetViewMarks(), lcl_SetViewMetaChars(), SwViewShell::LockView(), SwWrtShell::MakeAllFoldedOutlineContentVisible(), SwEditShell::ResetModified(), SwViewOption::SetAppearanceFlag(), SwPostItMgr::SetLayout(), SvtLinguConfig::SetProperty(), SwPostItMgr::SetSpellChecking(), SwPostItMgr::ShowHideResolvedNotes(), SwCursorShell::StartAction(), SwDoc::StartGrammarChecking(), STATE_OFF, STATE_ON, STATE_TOGGLE, SW_MOD, TableBoundaries, SwDocShell::ToggleLayoutMode(), UPN_IS_GRAMMAR_AUTO, and UPN_IS_SPELL_AUTO.
Referenced by SwPostItMgr::Focus(), and SwCommentRuler::MouseButtonDown().
void SwView::ExitDraw | ( | ) |
Definition at line 389 of file viewdraw.cxx.
References SwDrawBase::Deactivate(), SfxViewFrame::GetBindings(), SfxViewFrame::GetDispatcher(), GetDrawFuncPtr(), GetEditWin(), SfxDispatcher::GetShell(), SfxViewShell::GetViewFrame(), SfxBindings::Invalidate(), SdrPaintView::IsGroupEntered(), LeaveDrawCreate(), SdrPaintView::LeaveOneGroup(), m_pShell, m_pWrtShell, NoRotate(), SetDrawFuncPtr(), vcl::Window::SetPointer(), and SdrView::UnmarkAll().
Referenced by SwDrawTextShell::ExecDraw(), and SwDrawBaseShell::~SwDrawBaseShell().
|
inline |
Definition at line 530 of file view.hxx.
Referenced by SwDrawShell::Execute(), SwGrfShell::Execute(), SwDrawBaseShell::Execute(), and NoRotate().
|
inline |
Definition at line 533 of file view.hxx.
Referenced by SwDrawShell::Execute(), and ConstRectangle::MouseButtonDown().
|
overridevirtual |
Reimplemented from SfxViewShell.
Definition at line 1933 of file view.cxx.
References SwViewShell::FlushPendingLOKInvalidateTiles(), and GetWrtShellPtr().
|
private |
Definition at line 731 of file viewsrch.cxx.
References SwSearchOptions::eEnd, SwSearchOptions::eStart, GetAppLanguageTag(), SvxSearchItem::GetCommand(), LanguageTag::getLocale(), SvxSearchItem::GetNotes(), SvxSearchItem::GetPattern(), SvxSearchItem::GetReplaceString(), SvxSearchItem::GetSearchOptions(), SvxSearchItem::GetSearchString(), SvxSearchItem::GetSelection(), InBody, InOther, InSel, InSelAll, svl::Items, i18nutil::SearchOptions::Locale, m_pWrtShell, RES_CHRATR_BEGIN(), RES_CHRATR_END(), RES_FRMATR_BEGIN(), RES_FRMATR_END(), RES_PARATR_BEGIN(), RES_PARATR_END(), s_bExtra, s_pSrchItem, s_xReplaceList, s_xSearchList, SvxSearchDialogWrapper::SetSearchLabel(), and SfxToSwPageDescAttr().
|
protected |
Definition at line 2660 of file view2.cxx.
References SL::aData, aProperties, SfxAbstractDialogFactory::Create(), SwAbstractDialogFactory::Create(), Application::CreateBuilder(), SwAbstractDialogFactory::CreateMailMergeFieldConnectionsDlg(), DB_DELIM, SwWrtShell::EnterStdMode(), SwDBManager::ExecuteFormLetter(), SfxDispatcher::ExecuteList(), FN_INSERT_FIELD, FN_INSERT_FIELD_DATA_ONLY, SwEditShell::GetAllUsedDB(), SfxViewFrame::GetDispatcher(), GetFrameWeld(), comphelper::getProcessComponentContext(), o3tl::getToken(), SfxApplication::GetTopWindow(), comphelper::makePropertyValue(), SwDBData::nCommandType, weld::Window::present(), RET_OK, SfxTemplateManagerDlg::run(), SwDBData::sCommand, SwDBData::sDataSource, SfxViewFrame::SetChildWindow(), SfxGetpApp(), o3tl::toInt32(), and void().
|
inline |
|
inline |
Definition at line 575 of file view.hxx.
Referenced by SwEnvFormatPage::Edit(), ExecColl(), SwWebView::SelectShell(), SelectShellForDrop(), and SwBaseShell::~SwBaseShell().
OUString SwView::GetDataSourceName | ( | ) | const |
Definition at line 1947 of file view.cxx.
References GetDocShell(), and xFactory.
Referenced by SwMailMergeWizard::enterState().
SfxDispatcher & SwView::GetDispatcher | ( | ) |
Definition at line 135 of file view.cxx.
References SfxViewFrame::GetDispatcher(), and SfxViewShell::GetViewFrame().
Referenced by Activate(), CheckReadonlySelection(), CheckReadonlyState(), GotFocus(), Notify(), SelectShell(), and SwView().
SwDocShell * SwView::GetDocShell | ( | ) |
Definition at line 1132 of file view.cxx.
References SfxViewFrame::GetObjectShell(), and SfxViewShell::GetViewFrame().
Referenced by SwXViewSettings::_setSingleValue(), SwEditWin::AcceptDrop(), SwRedlineAcceptDlg::Activate(), SwModelessRedlineAcceptDlg::Activate(), Activate(), SwPostItMgr::AddPostIts(), SwSortDlg::Apply(), ApplyAccessibilityOptions(), SwModule::ApplyUsrPref(), SwTransferable::CalculateAndCopy(), SwRedlineAcceptDlg::CallAcceptReject(), SwNumFormatBase::CallSelectHdl(), SwTemplateControl::Command(), SwEditWin::Command(), SwHHCWrapper::Convert(), SdrHHCWrapper::ConvertNextDocument(), SwTransferable::CopyGlossary(), SwTbxAutoTextCtrl::CreatePopupWindow(), SwEditWin::DataChanged(), SwInsertDBColAutoPilot::DataToDoc(), SwPostItMgr::Delete(), SwPostItMgr::DeleteCommentThread(), SwContentTree::Display(), SwContentTree::EditEntry(), SwBaseShell::ExecDlg(), SwTextShell::ExecEnterNum(), SwFrameShell::Execute(), SwDrawFormShell::Execute(), SwGrfShell::Execute(), SwTableShell::Execute(), SwDrawBaseShell::Execute(), SwBaseShell::Execute(), SwXMailMerge::execute(), SwDocShell::Execute(), SwHeaderFooterWin::ExecuteCommand(), ExecViewOptions(), SwMMResultEmailDialog::FillInEmailSettings(), SwInsertSectionTabPage::FillItemSet(), SwContentTree::FillTransferData(), SwSpellDialogChildWindow::FindNextDrawTextError_Impl(), SwTextShell::GetAttrState(), SwTransferable::GetData(), GetDataSourceName(), GetDocShell(), GetDrawState(), SwEditWin::GetDropDestination(), SwXTextViewCursor::getEnd(), SwTransferable::GetSotDestination(), SwXTextViewCursor::getStart(), SwFrameShell::GetState(), GetState(), SwXTextViewCursor::getText(), SwXTextView::getTransferableForTextRange(), SwMailMergeDlg::GetURLfromPath(), sw::annotation::SwAnnotationWin::GotoPos(), SwXTextViewCursor::gotoRange(), IMPL_LINK(), IMPL_LINK_NOARG(), SwDBManager::ImportFromConnection(), sw::annotation::SwAnnotationWin::InitAnswer(), SwCompatibilityOptPage::InitControls(), SwTableFUNC::InsertChart(), SwModule::InsertLab(), SwBaseShell::InsertTable(), SwBaseShell::InsertURLButton(), IsDocumentBorder(), sw::sidebarwindows::SidebarTextControl::KeyInput(), lcl_GetCharFormat(), lcl_getDocStyleSheet(), lcl_IsOwnDocument(), LoadURL(), SwWrtShell::MakeAllFoldedOutlineContentVisible(), SwDBManager::Merge(), SwDBManager::MergeMailFiles(), SwWrtShell::NavigatorPaste(), SwPostItMgr::Notify(), SwContentTree::Notify(), Notify(), SwGlobalTree::OpenDoc(), OuterResizePixel(), SwParaDlg::PageCreated(), SwCharDlg::PageCreated(), SwTemplateDlgController::PageCreated(), SwSvxNumBulletTabDialog::PageCreated(), SwTransferable::PasteData(), SwTransferable::PasteFileName(), SwTransferable::PasteFormat(), SwTransferable::PasteGrf(), SwTransferable::PrepareForCopy(), SwTransferable::PrepareForCopyTextRange(), ReadUserDataSequence(), SwEditWin::RequestHelp(), SwCondCollPage::Reset(), SwEndNoteOptionPage::Reset(), SwDropCapsPage::Reset(), SwFramePage::Reset(), SdrHHCWrapper::SdrHHCWrapper(), SwXTextView::select(), SwGlobalTree::Select(), SwCondCollPage::SelectHdl(), SwWebView::SelectShell(), SelectShell(), SwContentTree::SetActiveShell(), SwContentTree::SetConstantShell(), SwJavaEditDialog::SetField(), SwXTextView::setRubyList(), SwEndNoteOptionPage::SetShell(), SwTextFlowPage::SetShell(), SetVisArea(), SwOutlineSettingsTabPage::SetWrtShell(), SwInsertSectionTabPage::SetWrtShell(), SwTOXEntryTabPage::SetWrtShell(), SwHyphWrapper::SpellContinue(), SwHyphWrapper::SpellStart(), SwEditWin::StartDrag(), SwTransferable::StartDrag(), SwAnnotationShell::StateInsert(), SwTextShell::StateInsert(), StateSearch(), SwBaseShell::StateStyle(), StateViewOptions(), sw_CharDialog(), SwCaptionDialog::SwCaptionDialog(), SwCaptionOptPage::SwCaptionOptPage(), SwCharURLPage::SwCharURLPage(), SwConvertTableDlg::SwConvertTableDlg(), SwEditRegionDlg::SwEditRegionDlg(), SwEditWin::SwEditWin(), SwFlyFrameAttrMgr::SwFlyFrameAttrMgr(), SwFrameDlg::SwFrameDlg(), SwGlossaryDlg::SwGlossaryDlg(), SwInsertChart::SwInsertChart(), SwInsertDBColAutoPilot::SwInsertDBColAutoPilot(), SwInsertSectionTabDialog::SwInsertSectionTabDialog(), SwInsTableDlg::SwInsTableDlg(), SwLineNumberingDlg::SwLineNumberingDlg(), SwMailMergeLayoutPage::SwMailMergeLayoutPage(), SwParaDlg::SwParaDlg(), SwPostItMgr::SwPostItMgr(), SwReadOnlyPopup::SwReadOnlyPopup(), SwSectionPropertyTabDialog::SwSectionPropertyTabDialog(), SwTableHeightDlg::SwTableHeightDlg(), SwTableWidthDlg::SwTableWidthDlg(), SwTemplateDlgController::SwTemplateDlgController(), SwEditWin::ToggleOutlineContentVisibility(), SwPostItMgr::ToggleResolved(), SwPostItMgr::ToggleResolvedForThread(), SwGlobalTree::Update(), sw::annotation::SwAnnotationWin::UpdateData(), SwNavigationPI::UpdateListBox(), SwTOXMgr::UpdateOrInsertTOX(), WriteUserDataSequence(), SwHHCWrapper::~SwHHCWrapper(), SwHyphWrapper::~SwHyphWrapper(), SwNavigationPI::~SwNavigationPI(), SwPostItMgr::~SwPostItMgr(), ~SwView(), and SwViewGlueDocShell::~SwViewGlueDocShell().
|
inline |
Definition at line 709 of file view.hxx.
References GetDocShell().
|
inline |
Definition at line 453 of file view.hxx.
Referenced by SetHScrollMax(), SwDocShell::SetVisArea(), and SetVScrollMax().
|
inline |
Definition at line 526 of file view.hxx.
Referenced by SwWrtShell::DelRight(), SwEditWin::EnterDrawMode(), SwEditWin::EnterDrawTextMode(), ExecDraw(), SwBezierShell::Execute(), SwDrawBaseShell::Execute(), ExitDraw(), IsFormMode(), SwSpellDialogChildWindow::MakeTextSelection_Impl(), Notify(), SwEditWin::SelectMenuPosition(), SwTransferable::SetSelInShell(), and SwDrawBaseShell::SwDrawBaseShell().
void SwView::GetDrawState | ( | SfxItemSet & | rSet | ) |
Definition at line 592 of file viewstat.cxx.
References SfxItemSet::DisableItem(), SfxWhichIter::FirstWhich(), GetDocShell(), GetHtmlMode(), HTMLMODE_SOME_STYLES, SvtCJKOptions::IsVerticalTextEnabled(), m_nDrawSfxId, m_nFormSfxId, m_sDrawCustom, SfxWhichIter::NextWhich(), and SfxItemSet::Put().
|
overridevirtual |
Reimplemented from SfxViewShell.
Definition at line 621 of file viewdraw.cxx.
References SwViewShell::GetDrawView(), and GetWrtShell().
Referenced by sw::sidebarwindows::AnchorOverlayObject::CreateAnchorOverlayObject(), SwDrawBase::CreateDefaultObjectAtPosWithSize(), sw::overlay::OverlayRanges::CreateOverlayRange(), sw::sidebarwindows::ShadowOverlayObject::CreateShadowOverlayObject(), SwTextShell::ExecMoveMisc(), SwXTextView::GetControl(), SwXTextView::getFormController(), IsBezierEditMode(), ConstRectangle::MouseButtonDown(), Notify(), SwWebView::SelectShell(), and SwPostItMgr::SwPostItMgr().
|
inline |
Definition at line 416 of file view.hxx.
Referenced by SwXViewSettings::_getSingleValue(), SwXViewSettings::_setSingleValue(), SwFlyFrame::ActiveUnfloatButton(), AlignToPixel(), SwInputWindow::ApplyFormula(), CalcAndSetBorderPixel(), SwTransferable::CalculateAndCopy(), CalcVisArea(), SwInputWindow::CancelFormula(), CheckReadonlySelection(), SwEditWin::Command(), SdrHHCWrapper::ConvertNextDocument(), SwDocShell::ConvertTo(), SwTransferable::Copy(), SwTransferable::CopyGlossary(), SwXTextView::createTextRangeByPixelPosition(), Deactivate(), SwPageFrame::DestroyImpl(), SwDocShell::DoWaterCan(), SwTransferable::DragFinished(), SwNavigationPI::EditAction(), SwGlobalTree::EditContent(), SwTextShell::ExecBasicMove(), SwAnnotationShell::ExecClpbrd(), SwBaseShell::ExecClpbrd(), SwBaseShell::ExecDelete(), ExecDrwTextSpellPopup(), ExecFormatPaintbrush(), SwTextShell::ExecInsert(), SwTextShell::ExecMove(), SwTextShell::ExecMoveLingu(), SwTextShell::ExecMovePage(), SwBaseShell::ExecTextCtrl(), SwBezierShell::Execute(), SwFrameShell::Execute(), SwDrawBaseShell::Execute(), SwDrawTextShell::Execute(), SwBaseShell::Execute(), SwGlobalTree::ExecuteContextMenuAction(), SwXTextDocument::executeFromFieldEvent(), ExecutePrint(), ExecViewOptions(), ExitDraw(), SwSpellDialogChildWindow::FindNextDrawTextError_Impl(), SwXTextDocument::getDocWindow(), SwDocShell::GetIPClient(), SwXTextDocument::getPointer(), SwWrtShell::GetSelectionType(), SwBezierShell::GetState(), SwFrameShell::GetState(), SwBaseShell::GetTextFontCtrlState(), SwContentTree::GotoContent(), IMPL_LINK(), IMPL_LINK_NOARG(), SwXTextDocument::initializeForTiledRendering(), InnerResizePixel(), SwTableFUNC::InsertChart(), SwWrtShell::InsertPostIt(), SwWrtShell::InvalidateOutlineContentVisibility(), SwEditWin::IsInHeaderFooter(), SwXTextDocument::isMimeTypeSupported(), IsPasteAllowed(), IsPasteSpecialAllowed(), IsPasteSpreadsheet(), SwPostItMgr::LayoutPostIts(), SwWrtShell::MakeAllFoldedOutlineContentVisible(), SwDBManager::MergeMailFiles(), sw::mark::MarkManager::NotifyCursorUpdate(), OuterResizePixel(), SwPageFrame::PaintBreak(), SwPageFrame::PaintDecorators(), SwRootFrame::PaintSwFrame(), PhyPageDown(), PhyPageUp(), SwXTextDocument::postMouseEvent(), ReadUserDataSequence(), SwDocShell::Save(), SwDocShell::SaveAs(), Scroll(), SdrHHCWrapper::SdrHHCWrapper(), SwWebView::SelectShell(), SelectShell(), SwXTextDocument::setClipboard(), SwXTextDocument::setGraphicSelection(), SwWrtShell::SetReadonlyOption(), SwTransferable::SetSelInShell(), SwWrtShell::SetShowHeaderFooterSeparator(), SwXTextDocument::setTextSelection(), SetVisArea(), SetZoom(), SetZoom_(), SwInputWindow::ShowWin(), QuickHelpData::Start(), SwAnnotationShell::StateClpbrd(), SwBaseShell::StateClpbrd(), SwDocShell::StateStyleSheet(), QuickHelpData::Stop(), SwDrawBaseShell::SwDrawBaseShell(), SwInsertChart::SwInsertChart(), SwSyncChildWin::SwSyncChildWin(), SwTextFrame::UpdateOutlineContentVisibilityButton(), SwFlyFrame::UpdateUnfloatButton(), and SwHyphWrapper::~SwHyphWrapper().
|
inlineoverridevirtual |
Reimplemented from SfxViewShell.
Definition at line 578 of file view.hxx.
Referenced by SwTextShell::ExecMoveMisc(), SwTextShell::Execute(), SwBaseShell::Execute(), SwDocShell::Execute(), SwXTextView::GetControl(), SwXTextView::getFormController(), IMPL_LINK(), SwXTextView::isFormDesignMode(), Notify(), SwWebView::SelectShell(), and SwXTextView::setFormDesignMode().
|
inlineoverridevirtual |
Reimplemented from SfxViewShell.
SwGlossaryHdl * SwView::GetGlosHdl | ( | ) |
Definition at line 1666 of file view.cxx.
References SfxViewShell::GetViewFrame(), m_pGlosHdl, and m_pWrtShell.
Referenced by SwTextShell::ExecGlossary(), IMPL_STATIC_LINK(), lcl_InsertBCText(), and lcl_Save().
|
inline |
Definition at line 494 of file view.hxx.
Referenced by SwInputWindow::dispose(), ExecTabWin(), SwTextGridPage::FillItemSet(), SwXTextDocument::getRulerState(), SwTextGridPage::PutGridItem(), SwEditWin::RulerColumnDrag(), SwEditWin::RulerMarginDrag(), and SwInputWindow::ShowWin().
Definition at line 653 of file viewmdi.cxx.
References m_pHRuler.
Referenced by SwXViewSettings::_getSingleValue(), and SwModule::CreateItemSet().
|
inlineprotected |
Definition at line 366 of file view.hxx.
Referenced by SwWebView::SelectShell().
Reimplemented from SfxViewShell.
Definition at line 1940 of file view.cxx.
References SwWrtShell::getLOKPayload(), and GetWrtShellPtr().
|
overridevirtual |
Reimplemented from SfxViewShell.
Definition at line 1924 of file view.cxx.
References SwViewShell::getLOKVisibleArea(), and GetWrtShellPtr().
std::shared_ptr< SwMailMergeConfigItem > const & SwView::GetMailMergeConfigItem | ( | ) | const |
Definition at line 133 of file view0.cxx.
References m_pViewImpl.
Referenced by EnsureMailMergeConfigItem(), SwModule::ExecOther(), SwMMResultEmailDialog::FillInEmailSettings(), SwMMResultPrintDialog::FillInPrinterSettings(), IMPL_LINK(), IMPL_LINK_NOARG(), SwDBManager::PerformMailMerge(), SwDBManager::RevokeLastRegistrations(), SwModule::StateOther(), and SwMMResultSaveDialog::SwMMResultSaveDialog().
|
static |
Definition at line 703 of file viewmdi.cxx.
References s_nMoveType.
Referenced by ExecSearch(), lcl_GetScrollToolTip(), and NavElementBox_Base::UpdateBox().
const OUString & SwView::GetOldDrwCat | ( | ) |
Definition at line 2879 of file view2.cxx.
Referenced by SwCaptionDialog::SwCaptionDialog().
const OUString & SwView::GetOldFrameCat | ( | ) |
Definition at line 2869 of file view2.cxx.
Referenced by SwCaptionDialog::SwCaptionDialog().
const OUString & SwView::GetOldGrfCat | ( | ) |
Definition at line 2849 of file view2.cxx.
Referenced by SwCaptionDialog::SwCaptionDialog().
const OUString & SwView::GetOldTabCat | ( | ) |
Definition at line 2859 of file view2.cxx.
Referenced by SwCaptionDialog::SwCaptionDialog().
|
private |
Definition at line 547 of file viewport.cxx.
References tools::Rectangle::Bottom(), Bottom, tools::Rectangle::GetHeight(), GetWrtShell(), GetYScroll(), Size::Height(), comphelper::LibreOfficeKit::isActive(), m_aDocSz, m_aVisArea, m_nLOKPageUpDownOffset, and tools::Rectangle::Top().
Referenced by PageDownCursor().
|
private |
Scroll page by page.
Definition at line 525 of file viewport.cxx.
References tools::Rectangle::GetHeight(), GetWrtShell(), GetYScroll(), comphelper::LibreOfficeKit::isActive(), m_aVisArea, m_nLOKPageUpDownOffset, Top, and tools::Rectangle::Top().
Referenced by PageUpCursor().
OUString SwView::GetPageStr | ( | sal_uInt16 | nPhyNum, |
sal_uInt16 | nVirtNum, | ||
const OUString & | rPgStr | ||
) |
Create string for showing the page number in the statusbar.
nPhyNum | The physical page number |
nVirtNum | The logical page number (user-assigned) |
rPgStr | User-defined page name (will be shown if different from logical page number) |
Definition at line 205 of file view2.cxx.
References aStr, SwDoc::CalculateNonBlankPages(), and SwResId().
|
overridevirtual |
Reimplemented from SfxViewShell.
Definition at line 263 of file viewprt.cxx.
Referenced by SwXTextDocument::getPart().
|
inline |
Definition at line 639 of file view.hxx.
Referenced by SwEditWin::Command(), SwDocShell::ConvertTo(), SwContentTree::EditEntry(), SwAnnotationShell::Exec(), SwAnnotationShell::ExecClpbrd(), SwAnnotationShell::ExecLingu(), SwAnnotationShell::ExecRotateTransliteration(), SwAnnotationShell::ExecTransliteration(), SwAnnotationShell::ExecUndo(), SwContentTree::ExecuteContextMenuAction(), ExecViewOptions(), SwContentType::FillMemberList(), SwEditWin::GetFocus(), SwAnnotationShell::GetLinguState(), SwAnnotationShell::GetNoteState(), SwViewShell::GetPostItMgr(), SwXTextDocument::getPostIts(), SwXTextDocument::getSelection(), SwWrtShell::GetSelectionType(), SwAnnotationShell::GetState(), SwAnnotationShell::GetUndoManager(), SwContentTree::GotoContent(), SwWrtShell::InsertPostIt(), SwAnnotationShell::InsertSymbol(), lcl_SetUIPrefs(), SwAnnotationShell::NoteExec(), SwDocShell::SaveAs(), SwEditWin::SetCursorTwipPosition(), SwVisibleCursor::SetPosAndShow(), SetZoom_(), SwAnnotationShell::StateClpbrd(), SwAnnotationShell::StateInsert(), SwAnnotationShell::StateUndo(), and StateViewOptions().
|
inline |
|
overridevirtual |
Reimplemented from SfxViewShell.
Definition at line 62 of file viewprt.cxx.
References SwViewShell::getIDocumentDeviceAccess(), IDocumentDeviceAccess::getPrinter(), GetWrtShell(), and SetAppPrintOptions().
const OUString & SwView::GetRedlineAuthor | ( | ) | const |
Definition at line 282 of file viewprt.cxx.
References m_pViewImpl.
Referenced by SwDocShell::SetView().
|
static |
Definition at line 820 of file viewsrch.cxx.
References SfxViewFrame::Current(), SfxViewFrame::GetChildWindow(), SvxSearchDialogWrapper::getDialog(), and nId.
Referenced by SwShellCursor::MaxReplaceArived().
|
inlinestatic |
Definition at line 652 of file view.hxx.
Referenced by sw::FindTextImpl().
|
overridevirtual |
Reimplemented from SfxViewShell.
Definition at line 1649 of file view.cxx.
References GetSelectionTextParam().
Referenced by SwEditWinUIObject::get_state().
OUString SwView::GetSelectionTextParam | ( | bool | bCompleteWords, |
bool | bEraseTrail | ||
) |
Definition at line 1654 of file view.cxx.
References SwEditShell::GetSelectedText(), GetWrtShell(), HasSelection(), SwWrtShell::SelWrd(), and comphelper::string::stripEnd().
Referenced by GetSelectionText(), and SwIndexMarkPane::InitControls().
|
inlineprotected |
Definition at line 352 of file view.hxx.
Referenced by SwWebView::SelectShell(), and StateFormatPaintbrush().
ShellMode SwView::GetShellMode | ( | ) | const |
Definition at line 105 of file view0.cxx.
References m_pViewImpl.
Referenced by SwXDispatch::addStatusListener(), SwSpellDialogChildWindow::ApplyChangedSentence(), SwBaseShell::Execute(), SwSpellDialogChildWindow::GetFocus(), SwSpellDialogChildWindow::GetNextWrongSentence(), SwXTextView::getRubyList(), SwXTextView::getSelection(), SwXTextViewCursor::getString(), SwXTextViewCursor::gotoRange(), SwSpellDialogChildWindow::LoseFocus(), SwXDispatch::selectionChanged(), SwSpellDialogChildWindow::SetGrammarChecking(), SwXTextView::setRubyList(), SwXTextViewCursor::setString(), SwBaseShell::StateStyle(), and SwPasteContext::~SwPasteContext().
void SwView::GetState | ( | SfxItemSet & | rSet | ) |
Definition at line 63 of file viewstat.cxx.
References SfxObjectShell::AppendInfoBarWhenReady(), o3tl::sorted_vector< Value, Compare, Find, class >::back(), tools::Rectangle::Bottom(), SfxPoolItem::CloneSetWhich(), Content, LanguageTag::convertToLocale(), SvtModuleOptions::DATABASE, SfxItemSet::DisableItem(), DOCUMENTBORDER, DRAWOBJ, DrawObject, DrawObjectEditMode, SwPaM::End(), SwNode::EndOfSectionIndex(), SwRedlineTable::FindAtPosition(), SfxWhichIter::FirstWhich(), FLY_ANY, FN_CHANGE_PAGENUM, FN_EDIT_CURRENT_TOX, FN_EDIT_FOOTNOTE, FN_EDIT_LINK_DLG, FN_INSERT_CAPTION, FN_INSERT_FIELD_DATA_ONLY, FN_INSERT_OBJ_CTRL, FN_MAILMERGE_SENDMAIL_CHILDWINDOW, FN_NAV_ELEMENT, FN_PARAM_FTN_INFO, FN_REDLINE_ACCEPT, FN_REDLINE_ACCEPT_DIRECT, FN_REDLINE_ACCEPT_TONEXT, FN_REDLINE_NEXT_CHANGE, FN_REDLINE_PREV_CHANGE, FN_REDLINE_REJECT_DIRECT, FN_REDLINE_REJECT_TONEXT, FN_REDLINE_SHOW, FN_SCROLL_NEXT, FN_SCROLL_PREV, FN_TOGGLE_OUTLINE_CONTENT_VISIBILITY, FN_UPDATE_CUR_TOX, FN_UPDATE_TOX, FOOTER, FOOTNOTE, SwFormat::GetAttrSet(), SfxViewFrame::GetBindings(), SwEditShell::GetCurLang(), SwCursorShell::GetCursorCnt(), SwDoc::GetDfltFrameFormat(), SfxViewFrame::GetDispatcher(), SwFormat::GetDoc(), GetDocShell(), SwFormat::GetFormatAttr(), SwDoc::getIDocumentRedlineAccess(), SfxShell::GetInterface(), SwPageDesc::GetLandscape(), SwPageDesc::GetMaster(), SwNodeIndex::GetNode(), SwNode::GetNodes(), SfxItemSet::GetParent(), IDocumentRedlineAccess::GetRedline(), IDocumentRedlineAccess::GetRedlineTable(), SwTableLine::GetRedlineType(), SfxShell::GetSlotState(), SwTableBox::GetSttNd(), GetTabDist(), SwNode::GetTableBox(), GetThesaurus(), SwTableBox::GetUpper(), SfxViewShell::GetViewFrame(), GetVisArea(), GetWrtShell(), SfxViewFrame::HasChildWindow(), SwPaM::HasMark(), HEADER, index, SfxItemSet::InvalidateItem(), comphelper::LibreOfficeKit::isActive(), SvtCJKOptions::IsAnyEnabled(), SwDocShell::IsChangeRecording(), isQRCodeSelected(), SfxObjectShell::IsReadOnly(), isSignatureLineSelected(), isSignatureLineSigned(), SwTOXBase::IsTOXBaseInReadonly(), SwRangeRedline::IsVisible(), SfxViewFrame::KnowsChildWindow(), LANGUAGE_NONE, SfxViewShell::libreOfficeKitViewCallback(), m_bForceChangesToolbar, m_bInMailMerge, m_nSelectionType, m_pShell, m_pWrtShell, SwPosition::nContent, SfxWhichIter::NextWhich(), NID_RECENCY, nLang, SwPosition::nNode, NONE, nPos, SwOutlineNodes::npos, nType, NumberList, PageDescToItemSet(), Parent, SfxItemSet::Put(), SfxDispatcher::QueryState(), RES_BACKGROUND(), RES_CHRATR_CJK_LANGUAGE(), RES_CHRATR_CTL_LANGUAGE(), RES_CHRATR_LANGUAGE(), RES_PAPER_BIN(), RES_PARATR_TABSTOP(), s_nMoveType, SelectShell(), SfxImageItem::SetMirrored(), SfxItemSet::SetParent(), SfxImageItem::SetRotation(), SfxBindings::SetVisibleState(), SwRedlineTable::size(), SwPaM::Start(), SW_MOD, SwResId(), table, Table, and Text.
Referenced by SwSpellPopup::checkRedline().
OUString SwView::GetThesaurusLookUpText | ( | bool | bSelection | ) | const |
Definition at line 479 of file viewling.cxx.
Referenced by SwTextShell::Execute().
view::XSelectionSupplier * SwView::GetUNOObject | ( | ) |
Definition at line 110 of file view0.cxx.
References m_pViewImpl.
Referenced by SwXDispatch::addStatusListener(), SwXTextDocument::getCurrentSelection(), SwXDispatch::removeStatusListener(), SwMailMergeConfigItem::SetSourceView(), SwMailMergeConfigItem::stopDBChangeListening(), and SwXDispatch::~SwXDispatch().
|
inlineprotected |
Definition at line 348 of file view.hxx.
Referenced by AddTransferable(), CreateTmpSelectionDoc(), NotifyDBChanged(), ReadUserDataSequence(), SwWebView::SelectShell(), and SelectShell().
|
inline |
Definition at line 426 of file view.hxx.
Referenced by SwTextShell::Execute(), GetState(), lcl_GetPos(), SwEditWin::Paint(), ReadUserDataSequence(), SetZoom_(), WriteUserData(), and WriteUserDataSequence().
|
inline |
Definition at line 495 of file view.hxx.
Referenced by SwInputWindow::dispose(), SwTextGridPage::FillItemSet(), SwTextGridPage::PutGridItem(), SwEditWin::RulerColumnDrag(), SwEditWin::RulerMarginDrag(), and SwInputWindow::ShowWin().
Definition at line 648 of file viewmdi.cxx.
References m_pVRuler.
Referenced by SwXViewSettings::_getSingleValue(), and SwModule::CreateItemSet().
|
inline |
Definition at line 413 of file view.hxx.
Referenced by SwXViewSettings::_getSingleValue(), SwXViewSettings::_preGetValues(), SwXViewSettings::_preSetValues(), SwXViewSettings::_setSingleValue(), SwEditWin::AcceptDrop(), SwFieldDlg::Activate(), SwXDispatch::addStatusListener(), SwModule::ApplyItemSet(), SwModule::ApplyUsrPref(), AreOnlyFormsSelected(), BeginTextEdit(), SwXTextView::BuildTmpSelectionDoc(), CalcVisArea(), SwNumFormatBase::CallSelectHdl(), SwClipboardChangeListener::changedContents(), SwXTextViewCursor::collapseToEnd(), SwXTextViewCursor::collapseToStart(), SwEditWin::Command(), SwHHCWrapper::ConvContinue_impl(), SwHHCWrapper::Convert(), SdrHHCWrapper::ConvertNextDocument(), SwModule::CreateItemSet(), SwTbxAutoTextCtrl::CreatePopupWindow(), SwXTextView::createTextRangeByPixelPosition(), SwInsertDBColAutoPilot::DataToDoc(), SwEditWin::DeleteSurroundingText(), SwXDispatch::dispatch(), SwEditWin::dispose(), DoVerb(), SwCaptionDialog::DrawSample(), SwEditWin::DropCleanup(), SwNavigationPI::EditAction(), SwFieldDlg::EnableInsert(), EnsureMailMergeConfigItem(), SwEditWin::EnterDrawMode(), EnterDrawTextMode(), EnterShapeDrawTextMode(), SwAnnotationShell::Exec(), ExecColl(), ExecFormatFootnote(), ExecFormatPaintbrush(), SwAnnotationShell::ExecLingu(), SwTextShell::ExecMoveMisc(), ExecNumberingOutline(), SwModule::ExecOther(), ExecTabWin(), SwAnnotationShell::ExecUndo(), SwPageBreakWin::execute(), SwReadOnlyPopup::Execute(), SwDocShell::Execute(), SwHeaderFooterWin::ExecuteCommand(), SwContentTree::ExecuteContextMenuAction(), SwEditWin::ExecuteDrop(), ExecutePrint(), ExecViewOptions(), SwMMResultPrintDialog::FillInPrinterSettings(), SwOleClient::FormatChanged(), GetActiveWrtShell(), SwAnnotationShell::GetAnnotationPool(), SwXTextView::GetControl(), SwXTextViewCursor::GetDoc(), GetDrawView(), SwEditWin::GetDropDestination(), SwXTextViewCursor::getEnd(), SwEditWin::GetFocus(), SwXTextView::getFormController(), GetLeftMargin(), SwAnnotationShell::GetLinguState(), SwVisibleCursor::getLOKPayload(), SwXTextViewCursor::getPage(), SwGotoPageDlg::GetPageInfo(), GetPageScrollDownOffset(), GetPageScrollUpOffset(), SwXTextViewCursor::GetPaM(), SwXTextViewCursor::getPosition(), GetPrinter(), SwXTextViewCursor::getPropertyDefault(), SwXTextViewCursor::getPropertyState(), SwXTextViewCursor::getPropertyStates(), SwXTextView::getPropertyValue(), SwXTextViewCursor::getPropertyValue(), SwXTextView::getRubyList(), SwXTextView::getSelection(), GetSelectionTextParam(), SwDrawTextShell::GetShell(), SwBaseShell::GetShell(), SwXTextViewCursor::getStart(), GetState(), SwXTextViewCursor::getString(), SwEditWin::GetSurroundingText(), SwEditWin::GetSurroundingTextSelection(), SwXTextViewCursor::getText(), SwXTextDocument::getTrackedChanges(), SwXTextView::getTransferable(), SwXTextView::getTransferableForTextRange(), SwXTextViewCursor::goDown(), SwXTextViewCursor::goLeft(), SwXTextViewCursor::goRight(), GotFocus(), SwXTextViewCursor::gotoEnd(), SwXTextViewCursor::gotoEndOfLine(), SwXTextViewCursor::gotoRange(), SwXTextViewCursor::gotoStart(), SwXTextViewCursor::gotoStartOfLine(), SwXTextViewCursor::goUp(), HasSelection(), IMPL_LINK(), IMPL_LINK_NOARG(), IMPL_STATIC_LINK(), SwInsertDBColAutoPilot::ImplCommit(), ImpSetVerb(), SwNumFormatBase::Init(), SwMailMergeLayoutPage::InsertAddressAndGreeting(), SwDrawTextShell::InsertSymbol(), SwAnnotationShell::InsertSymbol(), SwXTextView::insertTransferable(), SwXTextViewCursor::isAtEndOfLine(), SwXTextViewCursor::isAtStartOfLine(), IsBezierEditMode(), SwXTextViewCursor::isCollapsed(), SwFieldMgr::IsDBNumeric(), SwNavigationPI::IsGlobalDoc(), SwEditWin::IsInHeaderFooter(), SwEditWin::IsOverHeaderFooterFly(), SwXTextViewCursor::IsTextSelection(), IsTextTool(), SwXTextViewCursor::jumpToEndOfPage(), SwXTextViewCursor::jumpToFirstPage(), SwXTextViewCursor::jumpToLastPage(), SwXTextViewCursor::jumpToNextPage(), SwXTextViewCursor::jumpToPage(), SwXTextViewCursor::jumpToPreviousPage(), SwXTextViewCursor::jumpToStartOfPage(), lcl_GetPos(), lcl_isNonDefaultLanguage(), SwInsertDBColAutoPilot::Load(), SwRedlineTable::LOKRedlineNotification(), SwEditWin::LoseFocus(), MarginChanged(), SwDBManager::MergeMailFiles(), SwCaptionDialog::ModifyHdl(), sw::sidebarwindows::SidebarTextControl::MouseButtonDown(), Move(), SwNavigationPI::MoveOutline(), Notify(), SwNavigationPI::NotifyItemUpdate(), SwParaDlg::PageCreated(), SwDBManager::PerformMailMerge(), SwLinguServiceEventListener::processLinguServiceEvent(), RecheckBrowseMode(), SwFieldDlg::ReInitDlg(), SwDocShell::ReloadFromHtml(), sw::sidebarwindows::SidebarTextControl::RequestHelp(), SwEditWin::RequestHelp(), Scroll(), SdrHHCWrapper::SdrHHCWrapper(), SwXTextView::select(), SwWebView::SelectShell(), SelectShell(), SwCursorShell::sendLOKCursorUpdates(), SwOutlineContentVisibilityWin::Set(), SwEditWin::SetCursorTwipPosition(), SwNumFormatBase::SetDefFormat(), SwNumFormatBase::SetFormatType(), SwFrameControlsManager::SetHeaderFooterControl(), SwFrameControlsManager::SetPageBreakControl(), SetPrinter(), SwXTextViewCursor::setPropertyToDefault(), SwXTextView::setPropertyValue(), SwXTextViewCursor::setPropertyValue(), SwXTextView::setRubyList(), SwMailMergeConfigItem::SetSourceView(), SwXTextViewCursor::setString(), SwInsertDBColAutoPilot::SetTabSet(), SwFrameControlsManager::SetUnfloatTableButton(), SwDocShell::SetView(), SetVisArea(), SwEditWin::ShowAutoCorrectQuickHelp(), SwEditWin::ShowAutoText(), SwInsertDBColAutoPilot::SplitTextToColArr(), SwEditWin::StartDrag(), SwEditWin::StartExecuteDrag(), StateFormatPaintbrush(), SwModule::StateOther(), StateTabWin(), SwAnnotationShell::StateUndo(), StateViewOptions(), SwEditWin::StopQuickHelp(), SwapPageMargin(), SwBaseShell::SwBaseShell(), SwCaptionDialog::SwCaptionDialog(), SwFrameShell::SwFrameShell(), SwGetChartDialogPos(), SwInsertChart::SwInsertChart(), SwInsertDBColAutoPilot::SwInsertDBColAutoPilot(), SwPostItMgr::SwPostItMgr(), SwReadOnlyPopup::SwReadOnlyPopup(), SwDocShell::ToggleLayoutMode(), SwEditWin::ToggleOutlineContentVisibility(), SwWordCountFloatDlg::UpdateCounts(), SwMailMergeConfigItem::updateCurrentDBDataFromDocument(), sw::SwDocIdle::UpdateMinPeriod(), SwPageBreakWin::UpdatePosition(), SwNavigationPI::UsePage(), SdrHHCWrapper::~SdrHHCWrapper(), SwAnnotationShell::~SwAnnotationShell(), SwBaseShell::~SwBaseShell(), SwHHCWrapper::~SwHHCWrapper(), SwNavigationPI::~SwNavigationPI(), and ~SwView().
|
inline |
Definition at line 414 of file view.hxx.
Referenced by SwRedlineAcceptDlg::Activate(), SwModelessRedlineAcceptDlg::Activate(), SwXTextView::BuildTmpSelectionDoc(), SwRedlineAcceptDlg::CalcDiff(), SwRedlineAcceptDlg::CallAcceptReject(), SwTemplateControl::Command(), SwEditWin::CreateAccessible(), SwModule::CreateTabPage(), SwEditWin::DataChanged(), sw::annotation::SwAnnotationWin::Delete(), SwEditWin::dispose(), ExecColl(), SwNavigationPI::FillBox(), flushPendingLOKInvalidateTiles(), SwVisibleCursor::getLOKPayload(), getLOKPayload(), getLOKVisibleArea(), SwRedlineAcceptDlg::GetRedlinePos(), SwXTextDocument::getRenderer(), SwXTextDocument::getRendererCount(), SwBaseShell::GetShellPtr(), SwSpellDialogChildWindow::GetWrtShell_Impl(), GotFocus(), IMPL_LINK(), IMPL_LINK_NOARG(), SwRedlineAcceptDlg::InitAuthors(), SwModule::InsertEnv(), SwFieldPage::InsertField(), SwModule::InsertLab(), SwRedlineAcceptDlg::InsertParents(), lcl_CreateWorkingDocument(), lcl_GetShell(), SwEditWin::LoseFocus(), SwDBManager::MergeMailFiles(), SwNavigationPI::Notify(), SwNavigationPI::NotifyItemUpdate(), SwEditWin::Paint(), SwEditWin::PrePaint(), SwLinguServiceEventListener::processLinguServiceEvent(), SwRedlineAcceptDlg::RemoveParents(), SwXTextDocument::render(), SwCursorShell::sendLOKCursorUpdates(), SwLangHelper::SetLanguageStatus(), sw::annotation::SwAnnotationWin::SetResolved(), SwInputWindow::SwInputWindow(), SwNavigationPI::SwNavigationPI(), SwGlobalTree::Update(), and SwDrawBase::~SwDrawBase().
|
inlineprivate |
Definition at line 699 of file view.hxx.
References tools::Rectangle::GetWidth(), m_aVisArea, and nScrollX.
|
inlineprivate |
Definition at line 704 of file view.hxx.
References tools::Rectangle::GetHeight(), m_aVisArea, and nScrollY.
Referenced by CalcPt(), GetPageScrollDownOffset(), GetPageScrollUpOffset(), PageDown(), PageUp(), and Scroll().
void SwView::GotFocus | ( | ) | const |
Definition at line 166 of file view.cxx.
References BROWSE_MODE, FmFormShell::ForgetActiveControl(), SwViewOption::getBrowseMode(), GetDispatcher(), SwViewShell::GetDoc(), SwDoc::getIDocumentLayoutAccess(), SwDoc::getIDocumentSettingAccess(), SfxDispatcher::GetShell(), SwViewShell::GetViewOptions(), GetWrtShell(), GetWrtShellPtr(), m_pPostItMgr, IDocumentSettingAccess::set(), and IDocumentLayoutAccess::SetCurrentViewShell().
Referenced by SwEditWin::GetFocus().
bool SwView::HandleWheelCommands | ( | const CommandEvent & | rCEvt | ) |
Definition at line 1200 of file viewport.cxx.
References COMMAND_WHEEL_PAGESCROLL, CommandWheelData::GetDelta(), CommandWheelData::GetMode(), CommandWheelData::GetScrollLines(), CommandEvent::GetWheelData(), vcl::Window::HandleScrollCommand(), m_bWheelScrollInProgress, m_pEditWin, m_pHScrollbar, m_pVScrollbar, m_pWrtShell, min(), PhyPageDown(), PhyPageUp(), SetZoom(), basegfx::zoomtools::zoomIn(), and basegfx::zoomtools::zoomOut().
Referenced by sw::sidebarwindows::SidebarTextControl::Command(), and SwEditWin::Command().
bool SwView::HasOnlyObj | ( | SdrObject const * | pSdrObj, |
SdrInventor | eObjInventor | ||
) | const |
Definition at line 686 of file viewdraw.cxx.
References SdrObjList::GetObj(), SdrObjList::GetObjCount(), SdrObject::GetObjInventor(), SdrObject::GetSubList(), i, and SdrObject::IsGroupObject().
Referenced by AreOnlyFormsSelected().
|
overridevirtual |
Reimplemented from SfxViewShell.
Definition at line 133 of file viewprt.cxx.
|
overridevirtual |
Reimplemented from SfxViewShell.
Definition at line 1643 of file view.cxx.
References GetWrtShell(), and SwWrtShell::HasSelection().
Referenced by GetSelectionTextParam(), and lcl_GetPrintUIOptions().
|
overridevirtual |
|
private |
Definition at line 397 of file viewling.cxx.
References BODY, Application::CreateMessageDialog(), DrawObject, DrawObjectEditMode, ERRCODE_SVX_LINGU_LINGUNOTEXISTS, ERRCTX_SVX_LINGU_HYPHENATION, SwCursorShell::GetCursor(), GetFrameWeld(), GetHyphenator(), GetLinguPropertySet(), SwCursor::GetNext(), ErrorHandler::HandleError(), SwEditShell::HasHyphIter(), INSATTR, SwViewOption::IsIdle(), RET_YES, RID_SVXERRCTX, SwViewOption::SetIdle(), SvxSpellWrapper::SpellDocument(), SvxResLocale(), and SwResId().
|
private |
Definition at line 746 of file viewdraw.cxx.
References EE_PARA_HYPHENATE(), FN_HYPHENATE_OPT_DLG, SfxViewFrame::GetBindings(), SfxShell::GetPool(), SfxViewShell::GetViewFrame(), SfxBindings::Invalidate(), IsDrawTextHyphenate(), m_pWrtShell, SfxItemSet::Put(), and SdrView::SetAttributes().
|
private |
Definition at line 374 of file viewling.cxx.
References Curr, End, OtherEnd, OtherStart, and Start.
Referenced by SwHyphWrapper::SpellStart().
|
protected |
Definition at line 140 of file view.cxx.
References Content, SfxShell::GetFrame(), SfxViewShell::GetViewFrame(), GetWrtShell(), Graphic, m_bVerbsActive, m_pWrtShell, NONE, Ole, and SfxShell::SetVerbs().
Referenced by SwWebView::SelectShell(), and SelectShell().
|
staticprivate |
SfxInterface initializer.
Definition at line 81 of file view0.cxx.
References FN_INSERT_FIELD_DATA_ONLY, FN_REDLINE_ACCEPT, FN_SYNC_LABELS, FN_WORDCOUNT_DIALOG, and SFX_OBJECTBAR_TOOLS.
|
overrideprotectedvirtual |
Reimplemented from SfxViewShell.
Definition at line 948 of file viewport.cxx.
References Size::AdjustHeight(), Size::AdjustWidth(), SvBorder::Bottom(), bProtectDocShellVisArea, CalcAndSetBorderPixel(), CalcVisArea(), SfxViewShell::GetBorderPixel(), GetEditWin(), SfxShell::GetFrame(), vcl::Window::GetMapMode(), SfxViewShell::GetObjectShell(), MapMode::GetScaleX(), tools::Rectangle::GetSize(), SfxViewShell::GetViewFrame(), SfxObjectShell::GetVisArea(), SfxViewShell::GetWindow(), Size::Height(), InvalidateRulerPos(), Size::IsEmpty(), Fraction::IsValid(), SwScrollbar::IsVisible(), SvBorder::Left(), vcl::Window::LogicToPixel(), m_bInInnerResizePixel, m_bShowAtResize, m_pHRuler, m_pHScrollbar, m_pScrollFill, m_pVRuler, m_pVScrollbar, m_pWrtShell, Point, SvBorder::Right(), vcl::Window::SetPosSizePixel(), SfxViewShell::SetZoomFactor(), ShowAtResize(), SvBorder::Top(), ViewResizePixel(), and Size::Width().
void SwView::InsertCaption | ( | const InsCaptionOpt * | pOpt | ) |
Definition at line 193 of file viewdlg2.cxx.
References InsCaptionOpt::CopyAttributes(), Draw, DrawObject, SwEditShell::EndAllAction(), SwWrtShell::EnterSelFrameMode(), eType, Fly, Frame, InsCaptionOpt::GetCaption(), InsCaptionOpt::GetCategory(), InsCaptionOpt::GetCharacterStyle(), SwViewShell::GetDoc(), SwFieldMgr::GetFieldType(), SwFieldMgr::GetFieldTypeCount(), InsCaptionOpt::GetLevel(), SwFieldType::GetName(), InsCaptionOpt::GetNumSeparator(), InsCaptionOpt::GetNumType(), SwWrtShell::GetParaStyle(), SwStyleNameMapper::GetPoolIdFromUIName(), InsCaptionOpt::GetPos(), SwWrtShell::GetSelectionType(), InsCaptionOpt::GetSeparator(), SwEditShell::GetTextCollFromPool(), Graphic, nsSwGetSetExpType::GSE_SEQ, i, InsCaptionOpt::IgnoreSeqOpts(), SwFieldMgr::InsertFieldType(), SwFEShell::IsFrameSelected(), SwEditShell::MakeTextFormatColl(), nCount, Object, Ole, RES_POOLCOLL_LABEL, SwSetExpFieldType::SetDelimiter(), SetExp, SwSetExpFieldType::SetOutlineLvl(), SwEditShell::StartAllAction(), Table, Text, TxtColl, Unknown, SwEditShell::UpdateExpFields(), and SwFieldType::Which().
Referenced by SwCaptionDialog::Apply().
tools::Long SwView::InsertDoc | ( | sal_uInt16 | nSlotId, |
const OUString & | rFileName, | ||
const OUString & | rFilterName, | ||
sal_Int16 | nVersion = 0 |
||
) |
Definition at line 2454 of file view2.cxx.
References SfxObjectShell::GetFactory(), SfxFilterContainer::GetFilter4FilterName(), SfxObjectFactory::GetFilterContainer(), SfxFilterContainer::GetName(), and LINK.
ErrCode SwView::InsertGraphic | ( | const OUString & | rPath, |
const OUString & | rFilter, | ||
bool | bLink, | ||
GraphicFilter * | pFlt | ||
) |
Definition at line 236 of file view2.cxx.
References SwCursorShell::EndAction(), ERRCODE_NONE, Frame, GraphicFilter::GetGraphicFilter(), INetURLObject::GetMainURL(), URIHelper::GetMaybeFileHdl(), SfxObjectShell::GetMedium(), GraphicNativeMetadata::getRotation(), SwWrtShell::GetSelectionType(), SfxMedium::GetURLObject(), GRF, SfxObjectShell::HasName(), SwWrtShell::HasSelection(), SwWrtShell::InsertGraphic(), GraphicFilter::LoadGraphic(), INetURLObject::NONE, GraphicNativeMetadata::read(), SwEditShell::ReRead(), GraphicNativeTransform::rotate(), Graphic::setOriginURL(), URIHelper::SmartRel2Abs(), and SwCursorShell::StartAction().
bool SwView::InsertGraphicDlg | ( | SfxRequest & | rReq | ) |
Definition at line 304 of file view2.cxx.
References SwRewriter::AddRule(), Any, SfxRequest::AppendItem(), Application::CreateMessageDialog(), SfxRequest::Done(), SwCursorShell::EndAction(), SwEditShell::EndUndo(), ERRCODE_GRFILTER_FILTERERROR, ERRCODE_GRFILTER_FORMATERROR, ERRCODE_GRFILTER_IOERROR, ERRCODE_GRFILTER_OPENERROR, ERRCODE_GRFILTER_TOOBIG, ERRCODE_GRFILTER_VERSIONERROR, ERRCODE_NONE, Exception, SwDoc::FindFrameFormatByName(), Frame, sw::proofreadingiterator::get(), SfxRequest::GetArg(), SfxRequest::GetArgs(), SwDoc::GetDfltFrameFormat(), SwDocShell::GetDoc(), SwDoc::GetFrameFormats(), SwStyleNameMapper::GetFrameFormatUINameArray(), GetFrameWeld(), GraphicFilter::GetGraphicFilter(), GetHtmlMode(), SwFormat::GetName(), SwWrtShell::GetSelectionType(), CntUnencodedStringItem::GetValue(), SfxBoolItem::GetValue(), GRAPHIC_CAP, SwWrtShell::HasSelection(), HTMLMODE_ON, i, SfxRequest::Ignore(), INSERT, SwFormat::IsAuto(), SwFormat::IsDefault(), SwFEShell::IsFrameSelected(), Application::IsHeadlessModeEnabled(), SwViewShell::LockPaint(), SwDoc::MakeFrameFormat(), RET_OK, SwFEShell::SetFrameFormat(), SwFrameFormats::size(), SwCursorShell::StartAction(), SwEditShell::StartUndo(), SwResId(), UndoArg1, SwViewShell::UnlockPaint(), and sfx2::FileDialogHelper::WriterInsertImage.
Referenced by SwGrfShell::Execute().
tools::Long SwView::InsertMedium | ( | sal_uInt16 | nSlotId, |
std::unique_ptr< SfxMedium > | pMedium, | ||
sal_Int16 | nVersion | ||
) |
Definition at line 2494 of file view2.cxx.
References SfxRequest::AppendItem(), Application::CreateMessageDialog(), SwXTextRange::CreateXTextRange(), IDocumentUndoRedo::DelAllUndoObj(), SfxObjectShell::DoClose(), SfxRequest::Done(), ERR_SWG_READ_ERROR, ERRCODE_NONE, Execute(), FN_UPDATE_TOX, tools::SvRef< T >::get(), SwDocShell::GetDoc(), GetFrameWeld(), SwDoc::GetIDocumentUndoRedo(), SfxShell::GetName(), ErrorHandler::HandleError(), SfxObjectShell::HandleFilter(), SfxObjectShell::ImportFrom(), tools::SvRef< T >::is(), ErrCode::IsError(), lcl_PageDescWithHeader(), SwDocShell::StartConvertFrom(), SwFindDocShell(), and SwResId().
void SwView::InsertThesaurusSynonym | ( | const OUString & | rSynonmText, |
const OUString & | rLookUpText, | ||
bool | bValidSelection | ||
) |
Definition at line 484 of file viewling.cxx.
References CH_TXTATR_INWORD, CRSR_SKIP_CELLS, DELETE, SwPaM::GetMark(), SwPaM::GetPoint(), SwPosition::nContent, and pChar.
Referenced by SwTextShell::Execute().
void SwView::InsFrameMode | ( | sal_uInt16 | nCols | ) |
Definition at line 2135 of file view2.cxx.
References SwFormatCol::GetGutterWidth(), SvxLRSpaceItem::GetLeft(), SwFormat::GetPageDesc(), SvxLRSpaceItem::GetRight(), SwFormatCol::GetWishWidth(), SwFormatCol::Init(), and TEXT.
Referenced by SwTextShell::ExecInsert().
void SwView::InvalidateRulerPos | ( | ) |
Definition at line 107 of file viewport.cxx.
References FN_STAT_PAGE, SvxRuler::ForceUpdate(), SfxViewFrame::GetBindings(), SfxViewShell::GetViewFrame(), SfxBindings::Invalidate(), m_pHRuler, and m_pVRuler.
Referenced by SwDocShell::Edit(), SwBaseShell::ExecDlg(), IMPL_LINK_NOARG(), InnerResizePixel(), OuterResizePixel(), SetPrinter(), SetVisArea(), and SwTitlePageDlg::SwTitlePageDlg().
bool SwView::IsBezierEditMode | ( | ) | const |
Definition at line 626 of file viewdraw.cxx.
References GetDrawView(), GetWrtShell(), and IsDrawSelMode().
Referenced by SwWrtShell::GetSelectionType().
|
overridevirtual |
Reimplemented from SfxShell.
Definition at line 1520 of file view2.cxx.
References FN_REDLINE_ACCEPT_DIRECT, FN_REDLINE_REJECT_DIRECT, SfxRequest::GetSlot(), comphelper::LibreOfficeKit::isActive(), SfxShell::IsConditionalFastCall(), and nId.
|
static |
Definition at line 1958 of file view.cxx.
References comphelper::getProcessComponentContext().
Referenced by SwMailMergeWizard::enterState(), and IMPL_LINK_NOARG().
|
private |
Definition at line 54 of file viewport.cxx.
References GetDocShell(), and m_pWrtShell.
Referenced by CalcPt(), CalcVisArea(), CheckVisArea(), DocSzChgd(), ReadUserDataSequence(), Scroll(), SetHScrollMax(), SetVisArea(), SetVScrollMax(), and UpdateScrollbars().
|
inline |
Definition at line 539 of file view.hxx.
Referenced by SwNavigationShell::Execute(), SwBezierShell::Execute(), SwWrtShell::GetSelectionType(), and SwSpellDialogChildWindow::MakeTextSelection_Impl().
|
inline |
Definition at line 529 of file view.hxx.
Referenced by SwDrawShell::Execute(), SwGrfShell::Execute(), SwDrawBaseShell::Execute(), SwDrawShell::GetState(), and NoRotate().
|
inline |
Definition at line 531 of file view.hxx.
Referenced by IsBezierEditMode(), and ConstRectangle::MouseButtonDown().
|
private |
Definition at line 733 of file viewdraw.cxx.
References EE_PARA_HYPHENATE(), SdrView::GetAttributes(), SdrModel::GetItemPool(), SdrPaintView::GetModel(), and m_pWrtShell.
Referenced by HyphenateDrawText().
bool SwView::IsFormMode | ( | ) | const |
Definition at line 631 of file viewdraw.cxx.
References AreOnlyFormsSelected(), GetDrawFuncPtr(), and SwDrawBase::IsInsertForm().
bool SwView::IsHScrollbarVisible | ( | ) | const |
Definition at line 724 of file viewmdi.cxx.
References SwScrollbar::IsAuto(), SwScrollbar::IsVisible(), and m_pHScrollbar.
Referenced by StateViewOptions().
bool SwView::IsPasteAllowed | ( | ) |
Definition at line 1842 of file view.cxx.
References TransferableDataHelper::CreateFromSystemClipboard(), GetEditWin(), SwTransferable::GetSotDestination(), TransferableDataHelper::GetXTransferable(), SwTransferable::IsPaste(), SwTransferable::IsPasteSpecial(), m_bPasteSpecialState, m_bPasteState, m_nLastPasteDestination, m_pViewImpl, and m_pWrtShell.
bool SwView::IsPasteSpecialAllowed | ( | ) |
Definition at line 1866 of file view.cxx.
References TransferableDataHelper::CreateFromSystemClipboard(), GetEditWin(), SwTransferable::GetSotDestination(), TransferableDataHelper::GetXTransferable(), FmFormShell::IsActiveControl(), SwTransferable::IsPaste(), SwTransferable::IsPasteSpecial(), m_bPasteSpecialState, m_bPasteState, m_nLastPasteDestination, m_pFormShell, m_pViewImpl, and m_pWrtShell.
Referenced by SwBaseShell::StateClpbrd().
bool SwView::IsPasteSpreadsheet | ( | bool | bHasOwnTableCopied | ) |
Definition at line 1892 of file view.cxx.
References TransferableDataHelper::CreateFromSystemClipboard(), GetEditWin(), TransferableDataHelper::GetXTransferable(), TransferableDataHelper::HasFormat(), and SwTransferable::IsPasteOwnFormat().
Referenced by SwBaseShell::StateClpbrd().
bool SwView::isQRCodeSelected | ( | ) | const |
Definition at line 159 of file viewdlg2.cxx.
References SwViewShell::GetDrawView(), SdrMarkView::GetMarkedObjectByIndex(), SdrMarkView::GetMarkedObjectCount(), and SdrGrafObj::getQrCode().
Referenced by GetState().
bool SwView::IsScroll | ( | const tools::Rectangle & | rRect | ) | const |
Definition at line 388 of file viewport.cxx.
References tools::Rectangle::Contains(), m_aVisArea, m_bCenterCursor, and m_bTopCursor.
bool SwView::isSignatureLineSelected | ( | ) | const |
Definition at line 117 of file viewdlg2.cxx.
References SwViewShell::GetDrawView(), SdrMarkView::GetMarkedObjectByIndex(), SdrMarkView::GetMarkedObjectCount(), and SdrGrafObj::isSignatureLine().
Referenced by GetState().
bool SwView::isSignatureLineSigned | ( | ) | const |
Definition at line 138 of file viewdlg2.cxx.
References SwViewShell::GetDrawView(), SdrMarkView::GetMarkedObjectByIndex(), SdrMarkView::GetMarkedObjectCount(), and SdrGrafObj::isSignatureLineSigned().
Referenced by GetState().
|
inline |
Definition at line 445 of file view.hxx.
Referenced by ExecTabWin(), and StateTabWin().
|
inline |
Definition at line 447 of file view.hxx.
Referenced by StateTabWin().
|
private |
Definition at line 607 of file viewdraw.cxx.
References SwViewShell::GetDrawView(), GetWrtShell(), SdrMarkView::IsCreateMode(), nId, SdrCreateView::SetCreateMode(), and SdrCreateView::TakeCurrentObj().
Referenced by EnterDrawTextMode().
bool SwView::IsValidSelectionForThesaurus | ( | ) | const |
Definition at line 469 of file viewling.cxx.
bool SwView::IsVScrollbarVisible | ( | ) | const |
Definition at line 736 of file viewmdi.cxx.
References SwScrollbar::IsVisible(), and m_pVScrollbar.
Referenced by StateViewOptions().
bool SwView::JumpToSwMark | ( | std::u16string_view | rMark | ) |
Definition at line 2261 of file view2.cxx.
References cMarkSeparator, cSequenceMarkSeparator, INetURLObject::decode(), End, IDocumentMarkAccess::findMark(), FLYCNTTYPE_ALL, FLYCNTTYPE_FRM, FLYCNTTYPE_GRF, FLYCNTTYPE_OLE, IDocumentMarkAccess::getAllMarksEnd(), getLocale(), SwFormatINetFormat::GetTextINetFormat(), JumpToTOXMark(), nPos, REF_SEQUENCEFLD, sName, Start, o3tl::toInt32(), and INetURLObject::WithCharset.
void SwView::KillTab | ( | ) |
Definition at line 624 of file viewmdi.cxx.
References SfxViewShell::InvalidateBorder(), and m_pHRuler.
Referenced by lcl_SetUIPrefs(), and Notify().
void SwView::KillVRuler | ( | ) |
Definition at line 667 of file viewmdi.cxx.
References SfxViewShell::InvalidateBorder(), m_pHRuler, and m_pVRuler.
Referenced by lcl_SetUIPrefs(), and Notify().
|
inline |
Definition at line 538 of file view.hxx.
Referenced by SwPostItMgr::AssureStdModeAtShell(), SwWrtShell::DelRight(), SwEditWin::EnterDrawTextMode(), SwDrawBase::EnterSelectMode(), ExecDraw(), SwNavigationShell::Execute(), SwBezierShell::Execute(), SwDrawBaseShell::Execute(), ExitDraw(), SwWrtShell::GetSelectionType(), lcl_AssureStdModeAtShell(), SwWrtShell::MakeAllFoldedOutlineContentVisible(), SwSpellDialogChildWindow::MakeTextSelection_Impl(), ConstRectangle::MouseButtonUp(), SwDrawBase::MouseButtonUp(), Notify(), SwWrtShell::PushCursor(), SwEditWin::SelectMenuPosition(), and SwEditWin::ToggleOutlineContentVisibility().
|
overridevirtual |
Reimplemented from SfxViewShell.
Definition at line 151 of file view1.cxx.
References SfxViewShell::GetMargin(), GetWrtShell(), and SwViewShell::SetBrowseBorder().
|
overrideprivatevirtual |
Reimplemented from SfxViewShell.
Definition at line 1193 of file viewport.cxx.
References SwWrtShell::EndSelect(), GetWrtShell(), and SfxViewShell::Move().
void SwView::NoRotate | ( | ) |
Definition at line 439 of file viewdraw.cxx.
References FlipDrawRotate(), SfxViewFrame::GetBindings(), SfxViewShell::GetViewFrame(), IsDrawRotate(), m_pWrtShell, and SfxBindings::SetState().
Referenced by SwEditWin::EnterDrawTextMode(), SwDrawBase::EnterSelectMode(), ExecDraw(), ExitDraw(), ConstRectangle::MouseButtonDown(), SwDrawBase::MouseButtonUp(), SwEditWin::SelectMenuPosition(), and SwTransferable::SetSelInShell().
|
overrideprivatevirtual |
Reimplemented from SfxViewShell.
Definition at line 1673 of file view.cxx.
References CreateTab(), CreateVRuler(), SwDrawBase::Deactivate(), SfxDispatcher::ExecuteList(), FN_REDLINE_ACCEPT_ALL, FN_REDLINE_ACCEPT_DIRECT, FN_REDLINE_NEXT_CHANGE, FN_REDLINE_PREV_CHANGE, FN_REDLINE_REJECT_ALL, FN_REDLINE_REJECT_DIRECT, SfxViewFrame::GetBindings(), GetDispatcher(), SwDocShell::GetDoc(), GetDocShell(), GetDrawFuncPtr(), IDocumentDrawModelAccess::GetDrawModel(), GetDrawView(), GetFormShell(), SfxHint::GetId(), SwDoc::getIDocumentDrawModelAccess(), FmFormModel::GetOpenInDesignMode(), SfxViewShell::GetViewFrame(), SwViewShell::GetViewOptions(), GetWrtShell(), SfxBindings::Invalidate(), SfxObjectShell::IsInModalMode(), SfxObjectShell::IsReadOnly(), IsReadOnly(), SwViewOption::IsViewHRuler(), SwViewOption::IsViewVRuler(), KillTab(), KillVRuler(), LeaveDrawCreate(), m_pHRuler, m_pVRuler, nId, SfxViewShell::Notify(), ResetSubShell(), SvxRuler::SetActive(), SetDrawFuncPtr(), SwWrtShell::SetReadonlyOption(), and FmFormShell::SetView().
|
overridevirtual |
See SfxViewShell::NotifyCursor().
Reimplemented from SfxViewShell.
Definition at line 287 of file viewprt.cxx.
References m_pWrtShell.
void SwView::NotifyDBChanged | ( | ) |
Definition at line 1906 of file view.cxx.
References SwView_Impl::GetUNOObject_Impl(), GetViewImpl(), and SwXTextView::NotifyDBChanged().
Referenced by SwWrtShell::ChgDBData().
Reimplemented from SfxViewShell.
Definition at line 1027 of file viewport.cxx.
References CalcAndSetBorderPixel(), CalcVisArea(), GetDocShell(), GetEditWin(), Size::Height(), InvalidateRulerPos(), Size::IsEmpty(), tools::Rectangle::IsEmpty(), SfxObjectShell::IsPreview(), SwViewOption::IsReadonly(), SwViewOption::IsStarOneSetting(), SwViewOption::IsViewHScrollBar(), SwViewOption::IsViewVScrollBar(), SwScrollbar::IsVisible(), m_aVisArea, m_bHScrollbarEnabled, m_bInOuterResizePixel, m_bShowAtResize, m_bVScrollbarEnabled, m_pHRuler, m_pHScrollbar, m_pPostItMgr, m_pScrollFill, m_pVRuler, m_pVScrollbar, m_pWrtShell, SwScrollbar::SetAuto(), SetZoom_(), ShowAtResize(), ShowHScrollbar(), ShowVScrollbar(), ViewResizePixel(), and Size::Width().
Referenced by DocSzChgd(), and SetVisArea().
|
private |
Definition at line 584 of file viewport.cxx.
References tools::Rectangle::GetHeight(), GetYScroll(), m_aVisArea, Point, SetVisArea(), SetVScrollMax(), and tools::Rectangle::TopLeft().
Referenced by PageDownCursor().
|
private |
Definition at line 657 of file viewport.cxx.
References GetPageScrollDownOffset(), m_pWrtShell, and PageDown().
|
private |
Definition at line 572 of file viewport.cxx.
References tools::Rectangle::GetHeight(), GetYScroll(), m_aVisArea, Point, SetVisArea(), and tools::Rectangle::TopLeft().
Referenced by PageUpCursor().
|
private |
Definition at line 631 of file viewport.cxx.
References CRSR_SKIP_CHARS, eType, FOOTNOTE, GetPageScrollUpOffset(), m_pWrtShell, and PageUp().
|
private |
Definition at line 613 of file viewport.cxx.
References AlignToPixel(), GetEditWin(), Height, tools::Rectangle::Left(), m_aVisArea, m_pWrtShell, Point, and SetVisArea().
Referenced by HandleWheelCommands().
|
private |
Definition at line 595 of file viewport.cxx.
References AlignToPixel(), GetEditWin(), Height, tools::Rectangle::Left(), m_aVisArea, m_pWrtShell, Point, and SetVisArea().
Referenced by HandleWheelCommands().
|
overridevirtual |
Reimplemented from SfxViewShell.
Definition at line 1826 of file view.cxx.
References SfxViewFrame::GetDispatcher(), SfxViewShell::GetViewFrame(), SfxDispatcher::IsLocked(), SfxDispatcher::Lock(), m_pFormShell, SfxViewShell::PrepareClose(), FmFormShell::PrepareClose(), and SfxViewFrame::SetChildWindow().
Reimplemented from SfxViewShell.
Definition at line 1184 of file view.cxx.
References DOCUMENTBORDER, o3tl::getToken(), SwViewOption::GetZoom(), SwViewOption::GetZoomType(), lcl_IsOwnDocument(), m_bOldShellWasPagePreview, m_nNewPage, m_pViewImpl, m_pWrtShell, m_sNewCursorPos, nPos, Point, SelectShell(), SetVisArea(), SetZoom(), o3tl::toInt32(), and tools::Rectangle::TopLeft().
Referenced by Activate().
|
overridevirtual |
Reimplemented from SfxViewShell.
Definition at line 1303 of file view.cxx.
References DOCUMENTBORDER, Footer, SwDocShell::GetDoc(), GetDocShell(), IDocumentDrawModelAccess::GetDrawModel(), GetEditWin(), SwDoc::getIDocumentDrawModelAccess(), vcl::Window::GetOutDev(), OutputDevice::GetOutputSize(), ScrollBar::GetRangeMax(), SwView_Impl::GetUNOObject_Impl(), GetViewImpl(), SwViewOption::GetViewLayoutColumns(), SwXTextView::getViewSettings(), GetVisArea(), ScrollBar::GetVisibleSize(), SwViewOption::GetZoom(), SwViewOption::GetZoomType(), Header, IsDocumentBorder(), SwViewOption::IsHideWhitespaceMode(), SwViewOption::IsKeepRatio(), SwViewOption::IsViewLayoutBookMode(), lcl_IsOwnDocument(), tools::Rectangle::Left(), m_aDocSz, m_bIsPreviewDoubleClick, m_bOldShellWasPagePreview, m_pHScrollbar, m_pViewImpl, m_pWrtShell, o3tl::mm100, NONE, Point, SdrModel::ReadUserDataSequenceValue(), SelectShell(), SwViewOption::SetHideWhitespaceMode(), SwViewOption::SetKeepRatio(), SetViewLayout(), SetVisArea(), SetZoom(), SW_MOD, tools::Rectangle::Top(), tools::Rectangle::TopLeft(), o3tl::toTwips(), and Size::Width().
void SwView::RecheckBrowseMode | ( | ) |
Definition at line 171 of file view0.cxx.
References CheckVisArea(), eType, FN_HSCROLLBAR, FN_PRINT_LAYOUT, FN_QRY_MERGE, FN_RULER, FN_SHADOWCURSOR, FN_VIEW_BOUNDS, FN_VIEW_FIELDS, FN_VIEW_GRAPHIC, FN_VIEW_MARKS, FN_VIEW_META_CHARS, FN_VIEW_TABLEGRID, FN_VLINEAL, FN_VSCROLLBAR, SfxViewFrame::GetBindings(), SfxViewShell::GetViewFrame(), GetWrtShell(), SfxBindings::Invalidate(), SfxViewShell::InvalidateBorder(), and SetZoom().
Referenced by SwXTextDocument::getRendererCount(), and SwDocShell::ToggleLayoutMode().
|
private |
Definition at line 622 of file viewsrch.cxx.
References SwRewriter::AddRule(), aTextFormatCollSetRange, SwWrtShell::GETSTYLE_CREATESOME, SfxToSwPageDescAttr(), SwResId(), UI_REPLACE_STYLE, UndoArg1, UndoArg2, and UndoArg3.
|
inline |
Definition at line 582 of file view.hxx.
Referenced by Notify(), SwBaseShell::~SwBaseShell(), and SwDrawTextShell::~SwDrawTextShell().
void SwView::ScannerEventHdl | ( | ) |
Definition at line 1781 of file view.cxx.
References SfxViewFrame::GetBindings(), VCLUnoHelper::GetBitmap(), SfxViewShell::GetViewFrame(), SfxBindings::Invalidate(), BitmapEx::IsEmpty(), m_pWrtShell, and SW_MOD.
Referenced by SwScannerEventListener::disposing().
void SwView::Scroll | ( | const tools::Rectangle & | rRect, |
sal_uInt16 | nRangeX = USHRT_MAX , |
||
sal_uInt16 | nRangeY = USHRT_MAX |
||
) |
Definition at line 393 of file viewport.cxx.
References vcl::Window::AbsoluteScreenToOutputPixel(), tools::Rectangle::AdjustTop(), tools::Rectangle::Bottom(), CalcPt(), tools::Rectangle::Contains(), DOCUMENTBORDER, weld::Widget::get_extents_relative_to(), SwViewShell::GetCareDialog(), GetEditWin(), SfxViewShell::GetFrameWeld(), tools::Rectangle::GetHeight(), GetLeftMargin(), tools::Rectangle::GetSize(), GetWrtShell(), GetXScroll(), GetYScroll(), Size::Height(), IsDocumentBorder(), tools::Rectangle::IsEmpty(), tools::Rectangle::Left(), m_aDocSz, m_aVisArea, m_bCenterCursor, m_bTopCursor, min(), nBorder, nLeftOfst, vcl::Window::PixelToLogic(), Point, tools::Rectangle::Right(), tools::Rectangle::SetBottom(), SetHScrollMax(), SetVisArea(), SetVScrollMax(), tools::Rectangle::Top(), tools::Rectangle::TopLeft(), x, and y.
|
private |
Definition at line 597 of file viewsrch.cxx.
References Start.
|
private |
Definition at line 455 of file viewsrch.cxx.
References SwCursorShell::DeleteCurrent, End, Point, SwCursorShell::SetCursor(), SvxSearchDialogWrapper::SetSearchLabel(), and Start.
|
protectedvirtual |
Reimplemented in SwWebView.
Definition at line 252 of file view.cxx.
References Bezier, DbForm, Draw, DrawForm, DrawObject, DrawObjectEditMode, DrawText, ExtrudedCustomShape, SfxDispatcher::Flush(), FontWork, FormControl, Frame, SfxViewFrame::GetBindings(), GetDispatcher(), SwDocShell::GetDoc(), GetDocShell(), SwViewShell::GetDrawView(), GetEditWin(), SfxDispatcher::GetObjectBarId(), InputContext::GetOptions(), SfxDispatcher::GetShell(), SwView_Impl::GetUNOObject_Impl(), SfxViewShell::GetViewFrame(), GetViewImpl(), GetWrtShell(), Graphic, i, ImpSetVerb(), SfxBindings::InvalidateAll(), FmFormShell::IsActiveControl(), IsReadOnly(), LINK, ListText, m_bInDtor, m_bInitOnceCompleted, m_nSelectionType, m_pFormShell, m_pLastTableFormat, m_pShell, m_pViewImpl, m_pWrtShell, Media, SwXTextView::NotifySelChanged(), NumberList, Object, Ole, Ornament, vcl::Window::OutputToScreenPixel(), vcl::Window::PixelToLogic(), Point, SfxDispatcher::Pop(), PostIt, SwDoc::PrtOLENotify(), SfxDispatcher::Push(), FmFormShell::SetControlActivationHandler(), vcl::Window::SetInputContext(), InputContext::SetOptions(), SwToolbarConfigItem::SetTopToolbar(), FmFormShell::SetView(), SFX_OBJECTBAR_OBJECT, ShowUIElement(), StartListening, SW_MOD, Table, TableListText, TableText, Text, and SwEditWin::UpdatePointer().
Referenced by GetState(), ReadUserData(), ReadUserDataSequence(), SelectShellForDrop(), and StopShellTimer().
void SwView::SelectShellForDrop | ( | ) |
Definition at line 186 of file edtdd.cxx.
References GetCurShell(), and SelectShell().
Referenced by SwEditWin::ExecuteDrop().
|
static |
Definition at line 713 of file viewmdi.cxx.
References s_nActMark.
Referenced by SwTextShell::Execute().
|
inline |
Definition at line 680 of file view.hxx.
Referenced by SetOldDrwCat().
void SwView::SetDrawFuncPtr | ( | std::unique_ptr< SwDrawBase > | pFuncPtr | ) |
Definition at line 641 of file viewdraw.cxx.
References m_pDrawActual.
Referenced by SwWrtShell::DelRight(), SwEditWin::dispose(), SwEditWin::EnterDrawTextMode(), ExecDraw(), SwDrawBaseShell::Execute(), ExitDraw(), Notify(), SwWrtShell::PushCursor(), and SwEditWin::SelectMenuPosition().
|
inlineprotected |
Definition at line 357 of file view.hxx.
Referenced by SwWebView::SelectShell().
tools::Long SwView::SetHScrollMax | ( | tools::Long | lMax | ) |
Definition at line 130 of file viewport.cxx.
References DOCUMENTBORDER, GetDocSz(), tools::Rectangle::GetWidth(), IsDocumentBorder(), m_aVisArea, and Size::Width().
Referenced by CalcPt(), SwWrtShell::Right(), and Scroll().
|
inlineprotected |
Definition at line 367 of file view.hxx.
Referenced by SwWebView::SelectShell().
void SwView::SetMailMergeConfigItem | ( | std::shared_ptr< SwMailMergeConfigItem > const & | rConfigItem | ) |
Definition at line 127 of file view0.cxx.
References m_pViewImpl, and SfxShell::UIFeatureChanged().
Referenced by EnsureMailMergeConfigItem(), and IMPL_LINK_NOARG().
|
static |
Definition at line 708 of file viewmdi.cxx.
References s_nMoveType.
Referenced by ExecSearch(), and Execute().
|
inline |
Definition at line 449 of file view.hxx.
Referenced by ExecTabWin().
void SwView::SetOldDrwCat | ( | const OUString & | sStr | ) |
Definition at line 2884 of file view2.cxx.
References SetCachedString().
|
overridevirtual |
Reimplemented from SfxViewShell.
Definition at line 97 of file viewprt.cxx.
References SwViewShell::ChgAllPageOrientation(), SwViewShell::ChgAllPageSize(), SwEditShell::EndAllAction(), SwViewShell::getIDocumentDeviceAccess(), SvxPaperInfo::GetPaperSize(), IDocumentDeviceAccess::getPrinter(), GetWrtShell(), InvalidateRulerPos(), SwEditShell::SetModified(), IDocumentDeviceAccess::setPrinter(), SFX_PRINTERROR_BUSY, and SwEditShell::StartAllAction().
Referenced by IMPL_LINK_NOARG(), and SwDocShell::ToggleLayoutMode().
void SwView::SetRedlineAuthor | ( | const OUString & | rAuthor | ) |
Definition at line 277 of file viewprt.cxx.
References m_pViewImpl.
Referenced by SwXTextDocument::initializeForTiledRendering().
void SwView::SetSelDrawSlot | ( | ) |
Definition at line 646 of file viewdraw.cxx.
References m_nDrawSfxId, and m_sDrawCustom.
|
inlineprotected |
Definition at line 353 of file view.hxx.
Referenced by SwWebView::SelectShell().
Definition at line 356 of file view.hxx.
Referenced by SwWebView::SelectShell().
Definition at line 223 of file viewmdi.cxx.
References SvxRuler::ForceUpdate(), SfxViewFrame::GetBindings(), SfxViewFrame::GetFrame(), SfxViewShell::GetViewFrame(), SwViewOption::GetViewLayoutColumns(), SfxBindings::Invalidate(), SfxFrame::IsInPlace(), SwViewOption::IsViewLayoutBookMode(), m_pHRuler, m_pVRuler, m_pWrtShell, SwMasterUsrPref::SetModified(), SwViewOption::SetViewLayoutBookMode(), SwViewOption::SetViewLayoutColumns(), and SW_MOD.
Referenced by SwXTextDocument::initializeForTiledRendering(), and ReadUserDataSequence().
void SwView::SetVisArea | ( | const tools::Rectangle & | rRect, |
bool | bUpdateScrollbar = true |
||
) |
Definition at line 198 of file viewport.cxx.
References abs(), tools::Rectangle::AdjustBottom(), tools::Rectangle::AdjustRight(), ASPECT_CONTENT, tools::Rectangle::Bottom(), bProtectDocShellVisArea, DOCUMENTBORDER, GetDocShell(), tools::Rectangle::GetSize(), SfxViewShell::GetViewFrame(), SfxObjectShell::GetVisArea(), SfxViewShell::GetWindow(), InvalidateRulerPos(), comphelper::LibreOfficeKit::isActive(), IsDocumentBorder(), tools::Rectangle::Left(), m_aVisArea, m_bInInnerResizePixel, m_bInOuterResizePixel, m_pWrtShell, OuterResizePixel(), Point, tools::Rectangle::Right(), tools::Rectangle::SetBottom(), tools::Rectangle::SetLeft(), tools::Rectangle::SetRight(), tools::Rectangle::SetSize(), tools::Rectangle::SetTop(), tools::Rectangle::Top(), UpdateScrollbars(), and SfxViewShell::VisAreaChanged().
Referenced by CalcVisArea(), CheckVisArea(), DocSzChgd(), SwWrtShell::Down(), SwContentTree::GotoContent(), SwWrtShell::Left(), SwWrtShell::LeftMargin(), PageDown(), PageUp(), PhyPageDown(), PhyPageUp(), ReadUserData(), ReadUserDataSequence(), SwWrtShell::Right(), SwWrtShell::RightMargin(), Scroll(), SwDocShell::SetVisArea(), SetVisArea(), SetZoom_(), SwView(), and SwWrtShell::Up().
Definition at line 287 of file viewport.cxx.
References tools::Rectangle::Bottom(), GetEditWin(), SwEditWin::GetFrameControlsManager(), GetWrtShell(), SwFrameControlsManager::HideControls(), SwViewShell::IsFrameView(), tools::Rectangle::Left(), vcl::Window::LogicToPixel(), m_aVisArea, m_pWrtShell, Outline, vcl::Window::PixelToLogic(), Point, tools::Rectangle::Right(), SetVisArea(), tools::Rectangle::Top(), and tools::Rectangle::TopLeft().
tools::Long SwView::SetVScrollMax | ( | tools::Long | lMax | ) |
Definition at line 140 of file viewport.cxx.
References DOCUMENTBORDER, GetDocSz(), tools::Rectangle::GetHeight(), Size::Height(), IsDocumentBorder(), and m_aVisArea.
Referenced by CalcPt(), SwWrtShell::Down(), PageDown(), and Scroll().
void SwView::SetZoom | ( | SvxZoomType | eZoomType, |
short | nFactor = 100 , |
||
bool | bViewOnly = false |
||
) |
Definition at line 72 of file viewmdi.cxx.
References GetEditWin(), SfxShell::Invalidate(), m_pWrtShell, and SetZoom_().
Referenced by SwXViewSettings::_postSetValues(), SwEditWinUIObject::execute(), HandleWheelCommands(), ReadUserData(), ReadUserDataSequence(), RecheckBrowseMode(), and SetZoomFactor().
|
private |
Definition at line 86 of file viewmdi.cxx.
References abs(), tools::Rectangle::Bottom(), SwRect::Bottom(), CalcVisArea(), DOCUMENTBORDER, SvxRuler::ForceUpdate(), GetEditWin(), SfxShell::GetFrame(), SvxLRSpaceItem::GetLeft(), SwPageDesc::GetLeft(), SwFormat::GetLRSpace(), SwPageDesc::GetMaster(), GetPostItMgr(), SvxLRSpaceItem::GetRight(), SwPageDesc::GetUseOn(), SfxViewShell::GetViewFrame(), SwViewOption::GetViewLayoutColumns(), GetVisArea(), SwViewOption::GetZoom(), SwViewOption::GetZoomType(), Size::Height(), SwRect::Height(), SwViewOption::IsReadonly(), m_pHRuler, m_pVRuler, m_pWrtShell, min(), MINZOOM, Mirror, nLeftOfst, Page, PageCalc, PagesArea, Point, SwMasterUsrPref::SetModified(), SetVisArea(), SwViewOption::SetZoom(), SwViewOption::SetZoomType(), SW_MOD, Top, SwRect::Top(), and Size::Width().
Referenced by OuterResizePixel(), and SetZoom().
Reimplemented from SfxViewShell.
Definition at line 1146 of file viewport.cxx.
References SetZoom(), and SfxViewShell::SetZoomFactor().
SwView::SFX_DECL_VIEWFACTORY | ( | SwView | ) |
|
private |
Definition at line 941 of file viewport.cxx.
References m_bShowAtResize, m_pHRuler, and m_pWrtShell.
Referenced by InnerResizePixel(), and OuterResizePixel().
|
overridevirtual |
Reimplemented from SfxViewShell.
Definition at line 1614 of file view.cxx.
References m_pWrtShell.
Referenced by SwAnnotationShell::~SwAnnotationShell().
void SwView::ShowHScrollbar | ( | bool | bShow | ) |
Definition at line 718 of file viewmdi.cxx.
References SwScrollbar::ExtendedShow(), and m_pHScrollbar.
Referenced by OuterResizePixel(), and SwView().
void SwView::ShowUIElement | ( | const OUString & | sElementURL | ) | const |
Definition at line 240 of file view.cxx.
References SfxViewShell::GetViewFrame().
Referenced by SwModule::InsertLab(), and SelectShell().
void SwView::ShowVScrollbar | ( | bool | bShow | ) |
Definition at line 730 of file viewmdi.cxx.
References SwScrollbar::ExtendedShow(), and m_pVScrollbar.
Referenced by OuterResizePixel(), and SwView().
|
inlineprivate |
|
private |
Definition at line 367 of file viewling.cxx.
Referenced by SwHHCWrapper::ConvEnd_impl().
void SwView::SpellError | ( | LanguageType | eLang | ) |
Definition at line 322 of file viewling.cxx.
References vcl::Window::EnterWait(), ERRCODE_SVX_LINGU_LANGUAGENOTEXISTS, ERRCODE_SVX_LINGU_NOLANGUAGE, SvtLanguageTable::GetLanguageString(), ErrorHandler::HandleError(), vcl::Window::IsWait(), LANGUAGE_NONE, and vcl::Window::LeaveWait().
|
private |
Definition at line 261 of file viewling.cxx.
References Curr, End, GetLinguPropertySet(), OtherEnd, OtherStart, and Start.
Referenced by SwHHCWrapper::ConvStart_impl().
|
private |
Definition at line 217 of file viewling.cxx.
References BODY, SwHHCWrapper::Convert(), SwCursorShell::GetCursor(), SwCursor::GetNext(), comphelper::getProcessComponentContext(), SwEditShell::HasConvIter(), SwViewOption::IsIdle(), and SwViewOption::SetIdle().
|
private |
Definition at line 528 of file viewling.cxx.
References LanguageTag::convertToLocale(), SvxAbstractDialogFactory::Create(), ERRCTX_SVX_LINGU_THESAURUS, GetAppLanguage(), GetFrameWeld(), GetThesaurus(), AbstractThesaurusDialog::GetWord(), SwViewOption::IsIdle(), LANGUAGE_DONTKNOW, LANGUAGE_NONE, LANGUAGE_SYSTEM, VclPtr< reference_type >::reset(), RET_OK, RID_SVXERRCTX, SwViewOption::SetIdle(), and SvxResLocale().
void SwView::StateFormatPaintbrush | ( | SfxItemSet & | rSet | ) |
Definition at line 186 of file view1.cxx.
References SwFormatClipboard::CanCopyThisType(), SfxItemSet::DisableItem(), GetSelectionType(), GetWrtShell(), m_pFormatClipboard, and SfxItemSet::Put().
void SwView::StateSearch | ( | SfxItemSet & | rSet | ) |
Definition at line 832 of file viewsrch.cxx.
References SfxWhichIter::FirstWhich(), GetDocShell(), IsReadOnly(), m_pWrtShell, SfxWhichIter::NextWhich(), SfxItemSet::Put(), s_bJustOpened, s_pSrchItem, SvxSearchItem::SetFamily(), SvxSearchItem::SetSearchString(), and SvxSearchItem::SetSelection().
Referenced by SwAnnotationShell::StateSearch().
void SwView::StateStatusLine | ( | SfxItemSet & | rSet | ) |
get status of the status line
Definition at line 1549 of file view2.cxx.
References SvxZoomSliderItem::AddSnappingPoint(), Size::AdjustWidth(), aStringList, SwCursorShell::bColumnChange(), BROWSE_MODE, SwEditShell::CountWords(), SfxItemSet::DisableItem(), SwCursorShell::FireColumnChangeEvent(), SwCursorShell::FirePageChangeEvent(), SwCursorShell::FireSectionChangeEvent(), SfxWhichIter::FirstWhich(), FLY_DRAG, FLY_DRAG_END, FLY_DRAG_START, FN_STAT_PAGE, FN_STAT_SELMODE, FN_STAT_TEMPLATE, FN_STAT_WORDCOUNT, SfxItemSet::Get(), SwFEShell::GetAnchorObjDiff(), SwCursorShell::GetBoxNms(), SwViewOption::getBrowseMode(), SwEditShell::GetCurAttr(), SwWrtShell::GetCurPageStyle(), SwEditShell::GetCurrentParaOutlineLevel(), SwEditShell::GetCurrSection(), SwViewShell::GetDoc(), SwViewOption::GetDocumentBorder(), SwDocShell::GetEventName(), SwBaseShell::GetFrameMode(), SwViewOption::GetGapBetweenPages(), SwDoc::getIDocumentStatistics(), SfxItemSet::GetItemState(), SwFormat::GetName(), LocaleDataWrapper::getNum(), SwEditShell::GetNumLevel(), SwEditShell::GetNumRuleAtCurrCursorPos(), SwFEShell::GetObjSize(), SwFEShell::GetPageNumber(), SwSection::GetSectionName(), Application::GetSettings(), SwPostItMgr::GetSidebarBorderWidth(), SwPostItMgr::GetSidebarWidth(), SwEditShell::GetTableFormat(), SwTOXBase::GetTOXName(), SwSection::GetType(), AllSettings::GetUILocaleDataWrapper(), IDocumentStatistics::GetUpdatedDocStat(), SwViewOption::GetViewLayoutColumns(), SwViewShell::GetViewOptions(), SwViewOption::GetZoom(), SwViewOption::GetZoomType(), SwPostItMgr::HasNotes(), SwCursorShell::HasReadonlySel(), Size::Height(), SwWrtShell::IsAddMode(), SwNumRule::IsAutoRule(), SwWrtShell::IsBlockMode(), SwCursorShell::IsCursorInTable(), SwCursorShell::IsCursorVisible(), SwFEShell::IsFrameSelected(), SwWrtShell::IsInsMode(), SwFEShell::IsObjSelected(), SwNumRule::IsOutlineRule(), SwEditShell::IsRedlineOn(), SwWrtShell::IsStdMode(), SwViewOption::IsViewLayoutBookMode(), MAXLEVEL, MAXZOOM, min(), MINZOOM, SwDocStat::nChar, SfxWhichIter::NextWhich(), SfxApplication::NotifyEvent(), SwDocStat::nWord, PageCalc, PagesArea, SfxItemSet::Put(), RES_PARATR_NUMRULE(), sDisplay, SwWordCountWrapper::SetCounts(), SwBaseShell::SetFrameMode_(), SvxZoomItem::SetValueSet(), SfxGetpApp(), SwPostItMgr::ShowNotes(), sStatusDelim, STR_SW_EVENT_PAGE_COUNT, SwResId(), ToxContent, ToxHeader, and Size::Width().
void SwView::StateTabWin | ( | SfxItemSet & | rSet | ) |
Definition at line 1349 of file viewtab.cxx.
References abs(), tools::Rectangle::AdjustLeft(), tools::Rectangle::AdjustRight(), aEntries, SvxColumnItem::Append(), SwRect::Bottom(), SwFormatCol::CalcColWidth(), SvxColumnItem::CalcOrtho(), COLSECT, COLSECTOUTTAB, COLUMN, Content, convertTwipToMm100(), SwTabCols::Count(), SfxItemSet::DisableItem(), DRAWOBJ, false, SfxWhichIter::FirstWhich(), FLY_ANY, FlyEmbedded, FlyEmbeddedPrt, FOOTER, Frame, SfxItemSet::Get(), IDocumentSettingAccess::get(), SvxTabStop::GetAdjustment(), SwFEShell::GetAnyCurRect(), SwEditShell::GetAnySection(), SwFormat::GetAttrSet(), SwFormat::GetBox(), SwViewOption::getBrowseMode(), SwFormat::GetCol(), SwFormatCol::GetColumns(), SwEditShell::GetCurAttr(), SwFEShell::GetCurColNum(), SwFEShell::GetCurMouseColNum(), SwFEShell::GetCurMouseTabColNum(), SwFEShell::GetCurOutColNum(), SwFEShell::GetCurPageDesc(), SwFEShell::GetCurTabColNum(), SvxTabStop::GetDecimal(), SwEditShell::GetDefault(), SvxBoxItem::GetDistance(), SwTabCols::GetEntry(), SvxTabStop::GetFill(), SwTextNode::GetFirstLineOfsWithNum(), SwFEShell::GetFlyFrameAttr(), SwFEShell::GetFlyFrameFormat(), SwFormat::GetFooter(), SwFormatFooter::GetFooterFormat(), SwSection::GetFormat(), SwFormat::GetFormatAttr(), SwFormat::GetFrameDir(), SwFEShell::GetFrameType(), XFillBitmapItem::GetGraphicObject(), XFillHatchItem::GetHatchValue(), SwFormat::GetHeader(), SwFormatHeader::GetHeaderFormat(), SwViewShell::getIDocumentSettingAccess(), SfxItemSet::GetItem(), SvxLRSpaceItem::GetLeft(), SwColumn::GetLeft(), SwTabCols::GetLeft(), SwTextNode::GetLeftMarginWithNum(), SwTabCols::GetLeftMin(), SvxULSpaceItem::GetLower(), SwFormat::GetLRSpace(), SwPageDesc::GetMaster(), SwFEShell::GetMousePageDesc(), SwFEShell::GetMouseTabCols(), SwFEShell::GetMouseTabRows(), NameOrIndex::GetName(), SwFormatCol::GetNumCols(), SwFEShell::GetObjRect(), SwFEShell::GetPageDesc(), SfxShell::GetPool(), SvxLRSpaceItem::GetRight(), SwColumn::GetRight(), SwTabCols::GetRight(), SwWrtShell::GetSelectionType(), SwViewShell::GetSfxViewShell(), SvxBoxItem::GetSmallestDistance(), SwFEShell::GetTabBorders(), SwFEShell::GetTabCols(), GetTabDist(), SwEditShell::GetTableFormat(), SvxTabStop::GetTabPos(), SwFEShell::GetTabRows(), SwFormat::GetULSpace(), SvxULSpaceItem::GetUpper(), SwViewShell::GetViewOptions(), GetWrtShell(), Graphic, HEADER, HeaderFooter, SwRect::Height(), i, SfxItemSet::InvalidateItem(), comphelper::LibreOfficeKit::isActive(), SwFormatHeader::IsActive(), SwFormatFooter::IsActive(), SwFEShell::IsColRightToLeft(), SwFEShell::IsDirectlyInSection(), SwPageDesc::IsFirstShared(), SwPageDesc::IsFooterShared(), SwFEShell::IsFrameSelected(), SwFEShell::IsFrameVertical(), SwPageDesc::IsHeaderShared(), SwTabCols::IsHidden(), SwCursorShell::IsInRightToLeftText(), SwCursorShell::IsInVerticalText(), SwFEShell::IsMouseTableRightToLeft(), SwFEShell::IsObjSelected(), IsTabColFromDoc(), SwFEShell::IsTableRightToLeft(), SwFEShell::IsTableVertical(), IsTabRowFromDoc(), lcl_EraseDefTabs(), lcl_FillSvxColumn(), tools::Rectangle::Left(), SwRect::Left(), SfxViewShell::libreOfficeKitViewCallback(), m_aTabColFromDocPos, m_bSetTabColFromDoc, m_bSetTabRowFromDoc, m_bTabRowFromDoc, m_nLeftBorderDistance, m_nRightBorderDistance, m_pHRuler, m_pNumRuleNodeFromDoc, m_pVRuler, m_pWrtShell, min(), MINLAY, nBorder, nCount, SfxWhichIter::NextWhich(), SwTabColsEntry::nMax, SwTabColsEntry::nMin, SwTabColsEntry::nPos, Ole, Page, PagePrt, Point, SwRect::Pos(), Pos, SfxItemSet::Put(), RES_BOX(), RES_LR_SPACE(), RES_PARATR_TABSTOP(), RES_UL_SPACE(), SwRect::Right(), Section, SectionOutsideTable, SectionPrt, SvxProtectItem::SetContentProtect(), SvxRuler::SetDefTabDist(), SvxBoxInfoItem::SetDist(), SvxLongLRSpaceItem::SetLeft(), SvxColumnItem::SetLeft(), tools::Rectangle::SetLeft(), SvxLRSpaceItem::SetLeft(), SvxColumnItem::SetOrtho(), SvxProtectItem::SetPosProtect(), tools::Rectangle::SetRight(), SvxLRSpaceItem::SetRight(), SvxColumnItem::SetRight(), SvxProtectItem::SetSizeProtect(), SvxBoxInfoItem::SetTable(), SvxRuler::SetTabsRelativeToIndent(), SID_ATTR_PAGE_COLUMN, SID_ATTR_PAGE_FOOTER, SID_ATTR_PAGE_FOOTER_LAYOUT, SID_ATTR_PAGE_FOOTER_LRMARGIN, SID_ATTR_PAGE_FOOTER_SPACING, SID_ATTR_PAGE_HEADER, SID_ATTR_PAGE_HEADER_LAYOUT, SID_ATTR_PAGE_HEADER_LRMARGIN, SID_ATTR_PAGE_HEADER_SPACING, Size, SwapPageMargin(), TABLE, TABS_RELATIVE_TO_INDENT, SwRect::Top(), WB_EXTRAFIELD, SwRect::Width(), XATTR_FILLBITMAP(), XATTR_FILLCOLOR(), XATTR_FILLGRADIENT(), XATTR_FILLHATCH(), and XATTR_FILLSTYLE().
void SwView::StateViewOptions | ( | SfxItemSet & | rSet | ) |
Definition at line 214 of file view0.cxx.
References SwViewOption::CanHideWhitespace(), SfxItemSet::DisableItem(), SfxWhichIter::FirstWhich(), FN_HSCROLLBAR, FN_PRINT_LAYOUT, FN_RULER, FN_SHADOWCURSOR, FN_SHOW_CHANGES_IN_MARGIN, FN_SHOW_INLINETOOLTIPS, FN_SHOW_OUTLINECONTENTVISIBILITYBUTTON, FN_USE_HEADERFOOTERMENU, FN_VIEW_BOUNDS, FN_VIEW_FIELDNAME, FN_VIEW_FIELDS, FN_VIEW_GRAPHIC, FN_VIEW_HIDDEN_PARA, FN_VIEW_HIDE_WHITESPACE, FN_VIEW_MARKS, FN_VIEW_META_CHARS, FN_VIEW_SHOW_WHITESPACE, FN_VIEW_SMOOTH_SCROLL, FN_VIEW_TABLEGRID, FN_VLINEAL, FN_VSCROLLBAR, SwViewOption::getBrowseMode(), GetDocShell(), GetPostItMgr(), SwViewShell::GetViewOptions(), GetWrtShell(), SwPostItMgr::HasNotes(), SwViewOption::IsCrossHair(), SwViewOption::IsDocBoundaries(), SwViewOption::IsFieldName(), SwViewOption::IsFieldShadings(), SwViewOption::IsGraphic(), SwViewOption::IsGridVisible(), SwViewOption::IsHideWhitespaceMode(), IsHScrollbarVisible(), SwViewOption::IsOnlineSpell(), SwViewOption::IsPostIts(), SfxObjectShell::IsReadOnly(), SwViewOption::IsResolvedPostIts(), SwViewOption::IsShadowCursor(), SwViewOption::IsShowChangesInMargin(), SwViewOption::IsShowHiddenPara(), SwViewOption::IsShowInlineTooltips(), SwViewOption::IsShowOutlineContentVisibilityButton(), SwViewOption::IsSmoothScroll(), SwViewOption::IsSnap(), SwViewOption::IsTableBoundaries(), SwViewOption::IsUseHeaderFooterMenu(), SwViewOption::IsViewAnyRuler(), SwViewOption::IsViewHRuler(), SwViewOption::IsViewMetaChars(), SwViewOption::IsViewVRuler(), IsVScrollbarVisible(), lcl_IsViewMarks(), SfxWhichIter::NextWhich(), SfxItemSet::Put(), SfxBoolItem::SetValue(), SfxPoolItem::SetWhich(), and StatVRuler().
|
inline |
Definition at line 490 of file view.hxx.
Referenced by StateViewOptions().
void SwView::StopShellTimer | ( | ) |
Definition at line 1811 of file view.cxx.
References SfxViewFrame::GetBindings(), SfxViewShell::GetViewFrame(), Task::IsActive(), m_aTimer, m_bAttrChgNotified, m_bAttrChgNotifiedWithRegistrations, SelectShell(), and Task::Stop().
Referenced by SwPostItMgr::AssureStdModeAtShell(), SwWrtShell::ClickToField(), SwEditWin::Command(), SwDrawFormShell::Execute(), SwXTextView::getSelection(), SwXTextView::getTransferable(), SwXTextView::getTransferableForTextRange(), SwContentTree::GotoContent(), SwWrtShell::GotoContentControl(), SwXTextView::insertTransferable(), lcl_AssureStdModeAtShell(), SwWrtShell::MakeAllFoldedOutlineContentVisible(), SwTransferable::PasteData(), and SwTransferable::PasteDBData().
|
private |
Definition at line 167 of file viewtab.cxx.
References SvxLRSpaceItem::GetLeft(), SwCursorShell::GetPageNum(), SvxLRSpaceItem::GetRight(), SwPageDesc::GetUseOn(), GetWrtShell(), Mirror, SvxLRSpaceItem::SetLeft(), and SvxLRSpaceItem::SetRight().
Referenced by ExecTabWin(), and StateTabWin().
void SwView::UpdateDocStats | ( | ) |
Definition at line 1541 of file view2.cxx.
References FN_STAT_WORDCOUNT, SfxBindings::Invalidate(), and SfxBindings::Update().
Referenced by sw::IMPL_LINK().
void SwView::UpdatePageNums | ( | ) |
invalidate page numbering field
Definition at line 1535 of file view2.cxx.
References FN_STAT_PAGE, and SfxBindings::Invalidate().
|
private |
Definition at line 1156 of file viewport.cxx.
References Size::AdjustHeight(), Size::AdjustWidth(), AlignToPixel(), SwScrollbar::DocSzChgd(), DOCUMENTBORDER, IsDocumentBorder(), tools::Rectangle::IsEmpty(), SwScrollbar::IsVisible(), m_aDocSz, m_aVisArea, m_pHScrollbar, m_pScrollFill, m_pVScrollbar, tools::Rectangle::Move(), Point, vcl::Window::Show(), and SwScrollbar::ViewPortChgd().
Referenced by CreateScrollbar(), DocSzChgd(), and SetVisArea().
Definition at line 202 of file view1.cxx.
References FN_WORDCOUNT_DIALOG, SfxViewFrame::GetChildWindow(), SfxViewShell::GetViewFrame(), SfxShell::Invalidate(), SfxViewFrame::ToggleChildWindow(), and SwWordCountWrapper::UpdateCounts().
Referenced by SwAnnotationShell::Exec(), SwFrameShell::Execute(), SwDrawShell::Execute(), and SwDrawTextShell::Execute().
|