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) override
bool hasEditViewCallbacks () const

Private Attributes

std::unique_ptr< OutlinerViewpOutlView
sal_Int32 nOptions
sal_uInt16 nDocIndex
LanguageType nSourceLang
LanguageType nTargetLang
const vcl::FontpTargetFont
bool bIsInteractive

Detailed Description

Definition at line 27 of file sdrhhcwrap.hxx.

Constructor & Destructor Documentation

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

Member Function Documentation

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(), SwViewShell::MakeVisible(), n, nDocIndex, nSourceLang, Point, pOutlView, pTextObj, pView, SdrObjEditView::SdrBeginTextEdit(), SdrObjEditView::SdrEndTextEdit(), and SetPaperSize.

void SdrHHCWrapper::StartTextConversion ( )

Member Data Documentation

bool SdrHHCWrapper::bIsInteractive

Definition at line 39 of file sdrhhcwrap.hxx.

Referenced by StartTextConversion().

sal_uInt16 SdrHHCWrapper::nDocIndex

Definition at line 35 of file sdrhhcwrap.hxx.

Referenced by ConvertNextDocument().

sal_Int32 SdrHHCWrapper::nOptions

Definition at line 34 of file sdrhhcwrap.hxx.

Referenced by StartTextConversion().

LanguageType SdrHHCWrapper::nSourceLang

Definition at line 36 of file sdrhhcwrap.hxx.

Referenced by ConvertNextDocument(), and StartTextConversion().

LanguageType SdrHHCWrapper::nTargetLang

Definition at line 37 of file sdrhhcwrap.hxx.

Referenced by StartTextConversion().

std::unique_ptr<OutlinerView> SdrHHCWrapper::pOutlView
const vcl::Font* SdrHHCWrapper::pTargetFont

Definition at line 38 of file sdrhhcwrap.hxx.

Referenced by StartTextConversion().

SdrTextObj* SdrHHCWrapper::pTextObj

Definition at line 32 of file sdrhhcwrap.hxx.

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

SwView* SdrHHCWrapper::pView

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