LibreOffice Module sw (master) 1
Public Member Functions | Private Attributes | List of all members
SdrHHCWrapper Class Reference

#include <sdrhhcwrap.hxx>

Inheritance diagram for SdrHHCWrapper:
Collaboration diagram for SdrHHCWrapper:

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 SdrTextObjGetTextObj () const
void setVisualizedPage (const SdrPage *pPage)
const SdrPagegetVisualizedPage () 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

std::unique_ptr< OutlinerViewm_pOutlView
sal_Int32 m_nOptions
sal_uInt16 m_nDocIndex
LanguageType m_nSourceLang
LanguageType m_nTargetLang
const vcl::Fontm_pTargetFont
bool m_bIsInteractive

Detailed Description

Definition at line 27 of file sdrhhcwrap.hxx.

Constructor & Destructor Documentation

◆ SdrHHCWrapper()

SdrHHCWrapper::SdrHHCWrapper ( SwView pVw,
LanguageType  nSourceLanguage,
LanguageType  nTargetLanguage,
const vcl::Font pTargetFnt,
sal_Int32  nConvOptions,
bool  bInteractive 

◆ ~SdrHHCWrapper()

SdrHHCWrapper::~SdrHHCWrapper ( )

Member Function Documentation

◆ ConvertNextDocument()

bool SdrHHCWrapper::ConvertNextDocument ( )

! 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().

◆ StartTextConversion()

void SdrHHCWrapper::StartTextConversion ( )

Member Data Documentation

◆ m_bIsInteractive

bool SdrHHCWrapper::m_bIsInteractive

Definition at line 39 of file sdrhhcwrap.hxx.

Referenced by StartTextConversion().

◆ m_nDocIndex

sal_uInt16 SdrHHCWrapper::m_nDocIndex

Definition at line 35 of file sdrhhcwrap.hxx.

Referenced by ConvertNextDocument().

◆ m_nOptions

sal_Int32 SdrHHCWrapper::m_nOptions

Definition at line 34 of file sdrhhcwrap.hxx.

Referenced by StartTextConversion().

◆ m_nSourceLang

LanguageType SdrHHCWrapper::m_nSourceLang

Definition at line 36 of file sdrhhcwrap.hxx.

Referenced by ConvertNextDocument(), and StartTextConversion().

◆ m_nTargetLang

LanguageType SdrHHCWrapper::m_nTargetLang

Definition at line 37 of file sdrhhcwrap.hxx.

Referenced by StartTextConversion().

◆ m_pOutlView

std::unique_ptr<OutlinerView> SdrHHCWrapper::m_pOutlView

◆ m_pTargetFont

const vcl::Font* SdrHHCWrapper::m_pTargetFont

Definition at line 38 of file sdrhhcwrap.hxx.

Referenced by StartTextConversion().

◆ m_pTextObj

SdrTextObj* SdrHHCWrapper::m_pTextObj

Definition at line 32 of file sdrhhcwrap.hxx.

Referenced by ConvertNextDocument(), and ~SdrHHCWrapper().

◆ m_pView

SwView* SdrHHCWrapper::m_pView

The documentation for this class was generated from the following files: