LibreOffice Module sw (master) 1
|
#include <srcview.hxx>
Public Member Functions | |
SFX_DECL_VIEWFACTORY (SwSrcView) | |
SwSrcView (SfxViewFrame &rFrame, SfxViewShell *) | |
virtual | ~SwSrcView () override |
SwDocShell * | GetDocShell () |
void | SaveContent (const OUString &rTmpFile) |
void | SaveContentTo (SfxMedium &rMed) |
bool | IsModified () const |
void | Execute (SfxRequest &) |
void | GetState (SfxItemSet &) |
SvxSearchItem * | GetSearchItem () |
void | SetSearchItem (const SvxSearchItem &rItem) |
void | Load (SwDocShell *pDocShell) |
virtual sal_uInt16 | SetPrinter (SfxPrinter *pNew, SfxPrinterChangeFlags nDiff=SFX_PRINTER_ALL) override |
virtual SfxPrinter * | GetPrinter (bool bCreate=false) override |
sal_Int32 | PrintSource (OutputDevice *pOutDev, sal_Int32 nPage, bool bCalcNumPagesOnly) |
bool | HasSourceSaved () const |
Public Member Functions inherited from SfxViewShell | |
SfxViewShell (SfxViewFrame &rFrame, SfxViewShellFlags nFlags) | |
virtual | ~SfxViewShell () override |
SfxInPlaceClient * | GetIPClient () const |
SfxInPlaceClient * | GetUIActiveClient () const |
SfxInPlaceClient * | FindIPClient (const css::uno::Reference< css::embed::XEmbeddedObject > &xObj, vcl::Window *pObjParentWin) const |
virtual ErrCode | DoVerb (sal_Int32 nVerb) |
void | OutplaceActivated (bool bActive) |
virtual void | UIActivating (SfxInPlaceClient *pClient) |
virtual void | UIDeactivated (SfxInPlaceClient *pClient) |
void | JumpToMark (const OUString &rMark) |
void | VisAreaChanged () |
virtual bool | PrepareClose (bool bUI=true) |
virtual OUString | GetSelectionText (bool bCompleteWords=false, bool bOnlyASample=false) |
virtual bool | HasSelection (bool bText=true) const |
virtual SdrView * | GetDrawView () const |
void | AddSubShell (SfxShell &rShell) |
void | RemoveSubShell (SfxShell *pShell=nullptr) |
SfxShell * | GetSubShell (sal_uInt16) |
virtual SfxShell * | GetFormShell () |
virtual const SfxShell * | GetFormShell () const |
virtual void | notifyWindow (vcl::LOKWindowId nLOKWindowId, const OUString &rAction, const std::vector< vcl::LOKPayloadItem > &rPayload=std::vector< vcl::LOKPayloadItem >()) const override |
virtual void | ShowCursor (bool bOn=true) |
virtual bool | KeyInput (const KeyEvent &rKeyEvent) |
bool | Escape () |
vcl::Window * | GetWindow () const |
weld::Window * | GetFrameWeld () const |
void | SetWindow (vcl::Window *pViewPort) |
const SvBorder & | GetBorderPixel () const |
void | SetBorderPixel (const SvBorder &rBorder) |
void | InvalidateBorder () |
SfxViewFrame & | GetViewFrame () const |
virtual SfxPrinter * | GetPrinter (bool bCreate=false) |
virtual sal_uInt16 | SetPrinter (SfxPrinter *pNewPrinter, SfxPrinterChangeFlags nDiffFlags=SFX_PRINTER_ALL) |
virtual bool | HasPrintOptionsPage () const |
virtual std::unique_ptr< SfxTabPage > | CreatePrintOptionsPage (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rOptions) |
Printer * | GetActivePrinter () const |
virtual void | WriteUserData (OUString &, bool bBrowse=false) |
virtual void | ReadUserData (const OUString &, bool bBrowse=false) |
virtual void | WriteUserDataSequence (css::uno::Sequence< css::beans::PropertyValue > &) |
virtual void | ReadUserDataSequence (const css::uno::Sequence< css::beans::PropertyValue > &) |
virtual void | QueryObjAreaPixel (tools::Rectangle &rRect) const |
virtual SfxObjectShell * | GetObjectShell () override |
virtual css::uno::Reference< css::frame::XModel > | GetCurrentDocument () const |
void | SetCurrentDocument () const |
virtual css::uno::Reference< css::view::XRenderable > | GetRenderable () |
virtual void | MarginChanged () |
const Size & | GetMargin () const |
void | SetMargin (const Size &) |
void | DisconnectAllClients () |
bool | NewWindowAllowed () const |
void | SetNewWindowAllowed (bool bSet) |
void | SetController (SfxBaseController *pController) |
css::uno::Reference< css::frame::XController > | GetController () const |
bool | TryContextMenuInterception (const rtl::Reference< VCLXPopupMenu > &rIn, const OUString &rMenuIdentifier, rtl::Reference< VCLXPopupMenu > &rOut, css::ui::ContextMenuExecuteEvent aEvent) |
bool | TryContextMenuInterception (const rtl::Reference< VCLXPopupMenu > &, const OUString &rMenuIdentifier, css::ui::ContextMenuExecuteEvent aEvent) |
void | ExecPrint (const css::uno::Sequence< css::beans::PropertyValue > &, bool, bool) |
void | StartPrint (const css::uno::Sequence< css::beans::PropertyValue > &, bool, bool) |
const std::shared_ptr< vcl::PrinterController > & | GetPrinterController () const |
void | AddRemoveClipboardListener (const css::uno::Reference< css::datatransfer::clipboard::XClipboardListener > &, bool) |
css::uno::Reference< css::datatransfer::clipboard::XClipboardNotifier > | GetClipboardNotifier () const |
SAL_DLLPRIVATE SfxInPlaceClient * | GetUIActiveIPClient_Impl () const |
SAL_DLLPRIVATE void | AddContextMenuInterceptor_Impl (const css::uno::Reference< css::ui::XContextMenuInterceptor > &xInterceptor) |
SAL_DLLPRIVATE void | RemoveContextMenuInterceptor_Impl (const css::uno::Reference< css::ui::XContextMenuInterceptor > &xInterceptor) |
SAL_DLLPRIVATE bool | GlobalKeyInput_Impl (const KeyEvent &rKeyEvent) |
SAL_DLLPRIVATE void | NewIPClient_Impl (SfxInPlaceClient *pIPClient) |
SAL_DLLPRIVATE void | IPClientGone_Impl (SfxInPlaceClient const *pIPClient) |
SAL_DLLPRIVATE void | ResetAllClients_Impl (SfxInPlaceClient const *pIP) |
SAL_DLLPRIVATE void | SetPrinter_Impl (VclPtr< SfxPrinter > &pNewPrinter) |
SAL_DLLPRIVATE bool | HandleNotifyEvent_Impl (NotifyEvent const &rEvent) |
SAL_DLLPRIVATE bool | HasKeyListeners_Impl () const |
SAL_DLLPRIVATE bool | HasMouseClickListeners_Impl () const |
SAL_DLLPRIVATE SfxBaseController * | GetBaseController_Impl () const |
SAL_DLLPRIVATE void | ExecPrint_Impl (SfxRequest &) |
SAL_DLLPRIVATE void | ExecMisc_Impl (SfxRequest &) |
SAL_DLLPRIVATE void | GetState_Impl (SfxItemSet &) |
SAL_DLLPRIVATE void | CheckIPClient_Impl (SfxInPlaceClient const *, const tools::Rectangle &) |
SAL_DLLPRIVATE void | PushSubShells_Impl (bool bPush=true) |
SAL_DLLPRIVATE void | PopSubShells_Impl () |
SAL_DLLPRIVATE bool | ExecKey_Impl (const KeyEvent &aKey) |
void | setLibreOfficeKitViewCallback (SfxLokCallbackInterface *pCallback) |
SfxLokCallbackInterface * | getLibreOfficeKitViewCallback () const |
void | dumpLibreOfficeKitViewState (rtl::OStringBuffer &rState) |
virtual void | libreOfficeKitViewCallback (int nType, const OString &pPayload) const override |
virtual void | libreOfficeKitViewCallbackWithViewId (int nType, const OString &pPayload, int nViewId) const override |
virtual void | libreOfficeKitViewInvalidateTilesCallback (const tools::Rectangle *pRect, int nPart, int nMode) const override |
virtual void | libreOfficeKitViewUpdatedCallback (int nType) const override |
virtual void | libreOfficeKitViewUpdatedCallbackPerViewId (int nType, int nViewId, int nSourceViewId) const override |
virtual void | flushPendingLOKInvalidateTiles () |
virtual void | libreOfficeKitViewAddPendingInvalidateTiles () override |
virtual std::optional< OString > | getLOKPayload (int nType, int nViewId) const |
void | setTiledSearching (bool bTiledSearching) |
virtual int | getPart () const |
virtual int | getEditMode () const |
virtual void | dumpAsXml (xmlTextWriterPtr pWriter) const |
ViewShellId | GetViewShellId () const override |
ViewShellDocId | GetDocId () const override |
virtual void | notifyInvalidation (tools::Rectangle const *) const override |
void | NotifyOtherViews (int nType, const OString &rKey, const OString &rPayload) override |
void | NotifyOtherView (OutlinerViewShell *pOtherShell, int nType, const OString &rKey, const OString &rPayload) override |
virtual void | NotifyCursor (SfxViewShell *) const |
virtual void | afterCallbackRegistered () |
virtual vcl::Window * | GetEditWindowForActiveOLEObj () const override |
virtual ::Color | GetColorConfigColor (svtools::ColorConfigEntry nColorType) const |
virtual OUString | GetColorConfigName () const |
void | SetLOKLanguageTag (const OUString &rBcp47LanguageTag) |
const LanguageTag & | GetLOKLanguageTag () const |
void | SetLOKAccessibilityState (bool bEnabled) |
std::pair< bool, OUString > | GetLOKTimezone () const |
void | SetLOKTimezone (bool isSet, const OUString &rTimezone) |
void | SetLOKLocale (const OUString &rBcp47LanguageTag) |
const LanguageTag & | GetLOKLocale () const |
LOKDeviceFormFactor | GetLOKDeviceFormFactor () const |
bool | isLOKDesktop () const |
bool | isLOKTablet () const |
bool | isLOKMobilePhone () const |
virtual tools::Rectangle | getLOKVisibleArea () const |
void | setBlockedCommandList (const char *blockedCommandList) |
bool | isBlockedCommand (OUString command) |
void | SetStoringHelper (std::shared_ptr< SfxStoringHelper > xHelper) |
StylesHighlighterColorMap & | GetStylesHighlighterParaColorMap () |
StylesHighlighterColorMap & | GetStylesHighlighterCharColorMap () |
OUString | getA11yFocusedParagraph () const |
int | getA11yCaretPosition () const |
Public Member Functions inherited from SfxShell | |
virtual | ~SfxShell () override |
virtual SfxInterface * | GetInterface () const |
void | SetName (const OUString &rName) |
const OUString & | GetName () const |
SfxViewShell * | GetViewShell () const |
const SfxPoolItem * | GetSlotState (sal_uInt16 nSlotId, const SfxInterface *pIF=nullptr, SfxItemSet *pStateSet=nullptr) |
const SfxPoolItem * | ExecuteSlot (SfxRequest &rReq, const SfxInterface *pIF=nullptr) |
void | ExecuteSlot (SfxRequest &rReq, bool bAsync) |
SfxItemPool & | GetPool () const |
void | SetPool (SfxItemPool *pNewPool) |
virtual SfxUndoManager * | GetUndoManager () |
void | SetUndoManager (SfxUndoManager *pNewUndoMgr) |
SfxRepeatTarget * | GetRepeatTarget () const |
void | SetRepeatTarget (SfxRepeatTarget *pTarget) |
virtual void | Invalidate (sal_uInt16 nId=0) |
virtual bool | IsDesignMode () const |
bool | IsActive () const |
virtual void | Activate (bool bMDI) |
virtual void | Deactivate (bool bMDI) |
SfxDispatcher * | GetDispatcher () const |
SfxViewFrame * | GetFrame () const |
virtual bool | HasUIFeature (SfxShellFeature nFeature) const |
void | UIFeatureChanged () |
const SfxPoolItem * | GetItem (sal_uInt16 nSlotId) const |
const T * | GetItem (TypedWhichId< T > nWhich) const |
void | PutItem (const SfxPoolItem &rItem) |
void | SetVerbs (const css::uno::Sequence< css::embed::VerbDescriptor > &aVerbs) |
const css::uno::Sequence< css::embed::VerbDescriptor > & | GetVerbs () const |
void | VerbExec (SfxRequest &) |
SAL_DLLPRIVATE const SfxSlot * | GetVerbSlot_Impl (sal_uInt16 nId) const |
virtual SfxObjectShell * | GetObjectShell () |
void | SetDisableFlags (SfxDisableFlags nFlags) |
SfxDisableFlags | GetDisableFlags () const |
virtual std::optional< SfxItemSet > | CreateItemSet (sal_uInt16 nId) |
virtual void | ApplyItemSet (sal_uInt16 nId, const SfxItemSet &rSet) |
void | SetContextName (const OUString &rsContextName) |
void | BroadcastContextForActivation (const bool bIsActivated) |
bool | SetContextBroadcasterEnabled (const bool bIsEnabled) |
SAL_DLLPRIVATE bool | CanExecuteSlot_Impl (const SfxSlot &rSlot) |
virtual bool | IsConditionalFastCall (const SfxRequest &rReq) |
SAL_DLLPRIVATE void | DoActivate_Impl (SfxViewFrame *pFrame, bool bMDI) |
SAL_DLLPRIVATE void | DoDeactivate_Impl (SfxViewFrame const *pFrame, bool bMDI) |
Private Member Functions | |
void | Init () |
virtual void | Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override |
void | StartSearchAndReplace (const SvxSearchItem &rItem, bool bApi, bool bRecursive=false) |
Static Private Member Functions | |
static void | InitInterface_Impl () |
SfxInterface initializer. More... | |
Private Attributes | |
VclPtr< SwSrcEditWindow > | m_aEditWin |
std::unique_ptr< SvxSearchItem > | m_pSearchItem |
bool | m_bSourceSaved:1 |
rtl_TextEncoding | m_eLoadEncoding |
Additional Inherited Members | |
Static Public Member Functions inherited from SfxViewShell | |
static SAL_WARN_UNUSED_RESULT SfxViewShell * | GetFirst (bool bOnlyVisible=true, const std::function< bool(const SfxViewShell *)> &isViewShell=nullptr) |
static SAL_WARN_UNUSED_RESULT SfxViewShell * | GetNext (const SfxViewShell &rPrev, bool bOnlyVisible=true, const std::function< bool(const SfxViewShell *)> &isViewShell=nullptr) |
static SAL_WARN_UNUSED_RESULT SfxViewShell * | Current () |
static SAL_WARN_UNUSED_RESULT SfxViewShell * | Get (const css::uno::Reference< css::frame::XController > &i_rController) |
static void | SetCurrentDocId (ViewShellDocId nId) |
Static Public Member Functions inherited from SfxShell | |
static SfxInterface * | GetStaticInterface () |
static void | EmptyExecStub (SfxShell *pShell, SfxRequest &) |
static void | EmptyStateStub (SfxShell *pShell, SfxItemSet &) |
static void | VerbState (SfxItemSet &) |
Protected Member Functions inherited from SfxViewShell | |
virtual void | Activate (bool IsMDIActivate) override |
virtual void | Deactivate (bool IsMDIActivate) override |
virtual void | InnerResizePixel (const Point &rOfs, const Size &rSize, bool inplaceEditModeChange) |
virtual void | OuterResizePixel (const Point &rOfs, const Size &rSize) |
virtual void | SetZoomFactor (const Fraction &rZoomX, const Fraction &rZoomY) |
virtual void | Move () |
virtual void | Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override |
Protected Member Functions inherited from SfxShell | |
SfxShell () | |
SfxShell (SfxViewShell *pViewSh) | |
void | SetViewShell_Impl (SfxViewShell *pView) |
SAL_DLLPRIVATE void | Invalidate_Impl (SfxBindings &rBindings, sal_uInt16 nId) |
Static Protected Member Functions inherited from SfxShell | |
static void | HandleOpenXmlFilterSettings (SfxRequest &) |
Definition at line 33 of file srcview.hxx.
SwSrcView::SwSrcView | ( | SfxViewFrame & | rFrame, |
SfxViewShell * | |||
) |
Definition at line 190 of file srcview.cxx.
References Init().
|
overridevirtual |
Definition at line 199 of file srcview.cxx.
References VclPtr< class reference_type >::disposeAndClear(), GetDocShell(), SfxObjectShell::GetModel(), TextPaM::GetPara(), TextSelection::GetStart(), m_aEditWin, m_pSearchItem, and SfxObjectShell::SetAutoLoad().
void SwSrcView::Execute | ( | SfxRequest & | rReq | ) |
Definition at line 260 of file srcview.cxx.
References SfxMedium::CloseOutStream(), SfxMedium::Commit(), TextView::Copy(), TextView::Cut(), ERRCODE_NONE, SfxShell::ExecuteSlot(), FN_REPEAT_SEARCH, SfxItemSet::Get(), SfxRequest::GetArgs(), SfxViewFrame::GetBindings(), SwDocShell::GetDoc(), GetDocShell(), SfxObjectShell::GetFactory(), SfxFilterContainer::GetFilter4Extension(), SfxObjectFactory::GetFilterContainer(), WildCard::getGlob(), SwDoc::getIDocumentState(), SfxShell::GetInterface(), SfxObjectShell::GetMedium(), SfxViewShell::GetObjectShell(), SfxMedium::GetOutStream(), GetSearchItem(), SfxRequest::GetSlot(), SfxBoolItem::GetValue(), SfxViewShell::GetViewFrame(), SfxItemSet::GetWhichByPos(), SfxObjectShell::HasName(), TextView::HasSelection(), SfxBindings::InvalidateAll(), SfxRequest::IsAPI(), lcl_GetStreamCharSet(), m_aEditWin, m_bSourceSaved, m_eLoadEncoding, TextView::Paste(), TextView::Redo(), IDocumentState::ResetModified(), SvStream::Seek(), IDocumentState::SetModified(), SetSearchItem(), TextView::SetSelection(), SvStream::SetStreamCharSet(), SvStream::SetStreamSize(), StartSearchAndReplace(), TEXT_INDEX_ALL, TEXT_PARA_ALL, and TextView::Undo().
SwDocShell * SwSrcView::GetDocShell | ( | ) |
Definition at line 245 of file srcview.cxx.
References SfxViewFrame::GetObjectShell(), and SfxViewShell::GetViewFrame().
Referenced by Execute(), GetPrinter(), GetState(), Init(), TextViewOutWin::KeyInput(), Notify(), SwSrcEditWindow::SetFont(), SetPrinter(), and ~SwSrcView().
|
overridevirtual |
Reimplemented from SfxViewShell.
Definition at line 647 of file srcview.cxx.
References SwDocShell::GetDoc(), GetDocShell(), SwDoc::getIDocumentDeviceAccess(), and IDocumentDeviceAccess::getPrinter().
SvxSearchItem * SwSrcView::GetSearchItem | ( | ) |
Definition at line 529 of file srcview.cxx.
References m_pSearchItem.
Referenced by Execute(), and GetState().
void SwSrcView::GetState | ( | SfxItemSet & | rSet | ) |
Definition at line 395 of file srcview.cxx.
References aStr, TransferableDataHelper::CreateFromSystemClipboard(), SfxItemSet::DisableItem(), SfxWhichIter::FirstWhich(), FN_PRINT_LAYOUT, FN_REPEAT_SEARCH, VclPtr< class reference_type >::get(), GetDocShell(), TextSelection::GetEnd(), TransferableDataHelper::GetFormatCount(), TextPaM::GetIndex(), TextPaM::GetPara(), SfxUndoManager::GetRedoActionComment(), SfxUndoManager::GetRedoActionCount(), GetSearchItem(), TextView::GetSelected(), TextView::GetSelection(), TextSelection::GetStart(), TextView::GetTextEngine(), SfxUndoManager::GetUndoActionComment(), SfxUndoManager::GetUndoActionCount(), TextEngine::GetUndoManager(), TransferableDataHelper::GetXTransferable(), TextView::HasSelection(), SfxObjectShell::IsModified(), SfxObjectShell::IsReadOnly(), m_aEditWin, nCount, SfxWhichIter::NextWhich(), SfxItemSet::Put(), rSet, SvxSearchItem::SetSearchString(), SRC_SEARCHOPTIONS, SvtResId(), and SwResId().
|
inline |
Definition at line 82 of file srcview.hxx.
References m_bSourceSaved.
Referenced by SwDocShell::Execute().
|
private |
Definition at line 227 of file srcview.cxx.
References VclPtr< class reference_type >::get(), GetDocShell(), SfxObjectShell::IsLoading(), Load(), m_aEditWin, SfxShell::SetName(), SfxViewShell::SetNewWindowAllowed(), SfxViewShell::SetWindow(), and StartListening.
Referenced by SwSrcView().
|
staticprivate |
SfxInterface initializer.
Definition at line 97 of file srcview.cxx.
References SFX_OBJECTBAR_TOOLS.
|
inline |
Definition at line 67 of file srcview.hxx.
References m_aEditWin.
Referenced by SwDocShell::Execute().
void SwSrcView::Load | ( | SwDocShell * | pDocShell | ) |
Definition at line 749 of file srcview.cxx.
References SfxMedium::Commit(), Application::CreateMessageDialog(), utl::TempFileNamed::EnableKillingFile(), TextEngine::EnableUndo(), ERRCODE_NONE, SfxMedium::GetBaseURL(), SwDocShell::GetDoc(), SvStream::GetError(), SfxMedium::GetFilter(), SfxViewShell::GetFrameWeld(), SfxObjectShell::GetHeaderAttributes(), GetHTMLWriter(), SfxMedium::GetInStream(), SfxObjectShell::GetMedium(), SfxMedium::GetName(), utl::TempFileNamed::GetURL(), SfxViewShell::GetViewFrame(), ErrorHandler::HandleError(), SfxObjectShell::HasName(), SfxObjectShell::IsModified(), SfxObjectShell::IsReadOnly(), m_aEditWin, m_eLoadEncoding, SvStream::Seek(), SfxObjectShell::SetAutoLoad(), SwDocShell::SetModified(), SvStream::SetStreamCharSet(), SwResId(), and SwWriter::Write().
Referenced by Init().
|
overrideprivatevirtual |
Reimplemented from SfxViewShell.
Definition at line 732 of file srcview.cxx.
References GetDocShell(), SfxHint::GetId(), SfxObjectShell::IsReadOnly(), m_aEditWin, and SfxViewShell::Notify().
sal_Int32 SwSrcView::PrintSource | ( | OutputDevice * | pOutDev, |
sal_Int32 | nPage, | ||
bool | bCalcNumPagesOnly | ||
) |
This algorithm for printing the n-th page is very poor since it needs to go over the text of all previous pages to get to the correct one. But since HTML source code is expected to be just a small number of pages even this poor algorithm should be enough...
Definition at line 654 of file srcview.cxx.
References Size::AdjustHeight(), Size::AdjustWidth(), Point::AdjustY(), BMARGPRN, COL_BLACK(), OutputDevice::DrawText(), vcl::Font::GetFontSize(), OutputDevice::GetOutputSize(), TextEngine::GetParagraphCount(), TextEngine::GetText(), OutputDevice::GetTextHeight(), OutputDevice::GetTextWidth(), SfxViewShell::GetViewFrame(), SfxViewShell::GetWindow(), Size::Height(), lcl_ConvertTabsToSpaces(), lcl_PrintHeader(), LMARGPRN, m_aEditWin, min(), OutputDevice::Pop(), OutputDevice::Push(), RMARGPRN, vcl::Font::SetColor(), OutputDevice::SetFont(), vcl::Font::SetFontSize(), OutputDevice::SetMapMode(), TMARGPRN, Size::Width(), and Point::Y().
Referenced by SwXTextDocument::getRendererCount(), and SwXTextDocument::render().
void SwSrcView::SaveContent | ( | const OUString & | rTmpFile | ) |
Definition at line 251 of file srcview.cxx.
References SfxMedium::Commit(), SfxMedium::GetOutStream(), lcl_GetStreamCharSet(), m_aEditWin, m_eLoadEncoding, and SvStream::SetStreamCharSet().
Referenced by SwDocShell::Execute().
void SwSrcView::SaveContentTo | ( | SfxMedium & | rMed | ) |
Definition at line 220 of file srcview.cxx.
References SfxMedium::GetOutStream(), lcl_GetStreamCharSet(), m_aEditWin, m_eLoadEncoding, and SvStream::SetStreamCharSet().
Referenced by SwDocShell::ConvertTo().
|
overridevirtual |
Reimplemented from SfxViewShell.
Definition at line 625 of file srcview.cxx.
References SwDocShell::GetDoc(), GetDocShell(), SwDocShell::getIDocumentDeviceAccess(), SwDoc::getIDocumentDeviceAccess(), SwDocShell::SetModified(), SetPrinter(), and IDocumentDeviceAccess::setPrinter().
Referenced by SetPrinter().
void SwSrcView::SetSearchItem | ( | const SvxSearchItem & | rItem | ) |
Definition at line 538 of file srcview.cxx.
References SvxSearchItem::Clone(), and m_pSearchItem.
Referenced by Execute().
SwSrcView::SFX_DECL_VIEWFACTORY | ( | SwSrcView | ) |
References SFX_DECL_INTERFACE.
|
private |
Definition at line 543 of file srcview.cxx.
References Application::CreateBuilder(), GetAppLanguageTag(), SvxSearchItem::GetBackward(), SvxSearchItem::GetCommand(), LanguageTag::getLocale(), SvxSearchItem::GetSearchOptions(), TextView::GetSelection(), i18nutil::SearchOptions2::Locale, m_aEditWin, TextView::Replace(), RET_YES, TextView::Search(), TextView::SetSelection(), StartSearchAndReplace(), TEXT_INDEX_ALL, and TEXT_PARA_ALL.
Referenced by Execute(), and StartSearchAndReplace().
|
private |
Definition at line 35 of file srcview.hxx.
Referenced by Execute(), GetState(), Init(), IsModified(), Load(), Notify(), PrintSource(), SaveContent(), SaveContentTo(), StartSearchAndReplace(), and ~SwSrcView().
|
private |
Definition at line 39 of file srcview.hxx.
Referenced by Execute(), and HasSourceSaved().
|
private |
Definition at line 40 of file srcview.hxx.
Referenced by Execute(), Load(), SaveContent(), and SaveContentTo().
|
private |
Definition at line 37 of file srcview.hxx.
Referenced by GetSearchItem(), SetSearchItem(), and ~SwSrcView().