LibreOffice Module sw (master) 1
|
#include <sdrhhcwrap.hxx>
Public Member Functions | |
SdrHHCWrapper (SwView *pVw, LanguageType nSourceLanguage, LanguageType nTargetLanguage, const vcl::Font *pTargetFnt, sal_Int32 nConvOptions, bool bInteractive) | |
virtual | ~SdrHHCWrapper () override |
virtual bool | ConvertNextDocument () override |
void | StartTextConversion () |
Public Member Functions inherited from SdrOutliner | |
SdrOutliner (SfxItemPool *pItemPool, OutlinerMode nMode) | |
virtual | ~SdrOutliner () override |
void | SetTextObj (const SdrTextObj *pObj) |
void | SetTextObjNoInit (const SdrTextObj *pObj) |
const SdrTextObj * | GetTextObj () const |
void | setVisualizedPage (const SdrPage *pPage) |
const SdrPage * | getVisualizedPage () const |
virtual OUString | CalcFieldValue (const SvxFieldItem &rField, sal_Int32 nPara, sal_Int32 nPos, std::optional< Color > &rpTxtColor, std::optional< Color > &rpFldColor, std::optional< FontLineStyle > &rpFldLineStyle) override |
bool | hasEditViewCallbacks () const |
virtual std::optional< bool > | GetCompatFlag (SdrCompatibilityFlag eFlag) const override |
Private Attributes | |
SwView * | m_pView |
SdrTextObj * | m_pTextObj |
std::unique_ptr< OutlinerView > | m_pOutlView |
sal_Int32 | m_nOptions |
sal_uInt16 | m_nDocIndex |
LanguageType | m_nSourceLang |
LanguageType | m_nTargetLang |
const vcl::Font * | m_pTargetFont |
bool | m_bIsInteractive |
Definition at line 27 of file sdrhhcwrap.hxx.
SdrHHCWrapper::SdrHHCWrapper | ( | SwView * | pVw, |
LanguageType | nSourceLanguage, | ||
LanguageType | nTargetLanguage, | ||
const vcl::Font * | pTargetFnt, | ||
sal_Int32 | nConvOptions, | ||
bool | bInteractive | ||
) |
Definition at line 38 of file sdrhhcwrap.cxx.
References COL_WHITE(), SwDocShell::GetDoc(), SwView::GetDocShell(), SwView::GetEditWin(), SwDoc::getIDocumentDeviceAccess(), SwViewShell::getIDocumentDeviceAccess(), IDocumentDeviceAccess::getPrinter(), SwView::GetWrtShell(), m_pOutlView, m_pView, SetPaperSize, and TextObject.
|
overridevirtual |
Definition at line 77 of file sdrhhcwrap.cxx.
References SwViewShell::GetDrawView(), SwView::GetWrtShell(), m_pOutlView, m_pTextObj, m_pView, and SdrObjEditView::SdrEndTextEdit().
|
overridevirtual |
! update mode needs to be set to true otherwise ! the call to 'HasConvertibleTextPortion' will not always ! work correctly because the document may not be properly ! formatted when some information is accessed, and thus ! incorrect results get returned.
Definition at line 96 of file sdrhhcwrap.cxx.
References Clear, SwDocShell::GetDoc(), SwView::GetDocShell(), SwViewShell::GetDrawView(), SwView::GetEditWin(), SdrTextObj::GetLogicRect(), SdrPaintView::GetSdrPageView(), tools::Rectangle::GetSize(), SwDrawContact::GetTextObjectsFromFormat(), SwView::GetWrtShell(), m_nDocIndex, m_nSourceLang, m_pOutlView, m_pTextObj, m_pView, SwViewShell::MakeVisible(), n, SdrObjEditView::SdrBeginTextEdit(), SdrObjEditView::SdrEndTextEdit(), SetPaperSize, and SetText().
void SdrHHCWrapper::StartTextConversion | ( | ) |
Definition at line 91 of file sdrhhcwrap.cxx.
References SfxViewShell::GetFrameWeld(), m_bIsInteractive, m_nOptions, m_nSourceLang, m_nTargetLang, m_pOutlView, m_pTargetFont, and m_pView.
Referenced by SwHHCWrapper::~SwHHCWrapper().
|
private |
Definition at line 39 of file sdrhhcwrap.hxx.
Referenced by StartTextConversion().
|
private |
Definition at line 35 of file sdrhhcwrap.hxx.
Referenced by ConvertNextDocument().
|
private |
Definition at line 34 of file sdrhhcwrap.hxx.
Referenced by StartTextConversion().
|
private |
Definition at line 36 of file sdrhhcwrap.hxx.
Referenced by ConvertNextDocument(), and StartTextConversion().
|
private |
Definition at line 37 of file sdrhhcwrap.hxx.
Referenced by StartTextConversion().
|
private |
Definition at line 33 of file sdrhhcwrap.hxx.
Referenced by ConvertNextDocument(), SdrHHCWrapper(), StartTextConversion(), and ~SdrHHCWrapper().
|
private |
Definition at line 38 of file sdrhhcwrap.hxx.
Referenced by StartTextConversion().
|
private |
Definition at line 32 of file sdrhhcwrap.hxx.
Referenced by ConvertNextDocument(), and ~SdrHHCWrapper().
|
private |
Definition at line 31 of file sdrhhcwrap.hxx.
Referenced by ConvertNextDocument(), SdrHHCWrapper(), StartTextConversion(), and ~SdrHHCWrapper().