24 #include <drawdoc.hxx>
40 sal_Int32 nConvOptions,
42 SdrOutliner(pVw->GetDocShell()->GetDoc()->getIDocumentDrawModelAccess().GetDrawModel()->
43 GetDrawOutliner().GetEmptyItemSet().GetPool(),
47 nOptions( nConvOptions ),
49 nSourceLang( nSourceLanguage ),
50 nTargetLang( nTargetLanguage ),
51 pTargetFont( pTargetFnt ),
52 bIsInteractive( bInteractive )
56 MapMode aMapMode (MapUnit::MapTwip);
57 SetRefMapMode(aMapMode);
81 OSL_ENSURE( pSdrView,
"SdrHHCWrapper without DrawView?" );
97 bool bNextDoc =
false;
102 OSL_ENSURE( pSdrView,
"SdrHHCWrapper without DrawView?" );
104 SetUpdateMode(
false);
113 std::list<SdrTextObj*> aTextObjs;
115 for (
auto const& textObj : aTextObjs)
124 SetText( *pParaObj );
137 OSL_ENSURE( pSdrView,
"SdrHHCWrapper without DrawView?" );
149 SetUpdateMode(
false);
virtual SdrEndTextEditKind SdrEndTextEdit(bool bDontDeleteReally=false)
IDocumentDeviceAccess const & getIDocumentDeviceAccess() const
const vcl::Font * pTargetFont
SwWrtShell & GetWrtShell() const
std::unique_ptr< OutlinerView > pOutlView
void MakeVisible(const SwRect &)
SwDoc * GetDoc()
returns Doc. But be careful!
const IDocumentDeviceAccess & getIDocumentDeviceAccess() const
Provides access to the document device interface.
virtual bool SdrBeginTextEdit(SdrObject *pObj, SdrPageView *pPV=nullptr, vcl::Window *pWin=nullptr, bool bIsNewObj=false, SdrOutliner *pGivenOutliner=nullptr, OutlinerView *pGivenOutlinerView=nullptr, bool bDontDeleteOutliner=false, bool bOnlyOneView=false, bool bGrabFocus=true)
virtual SfxPrinter * getPrinter(bool bCreate) const =0
Return the printer set at the document.
SdrHHCWrapper(SwView *pVw, LanguageType nSourceLanguage, LanguageType nTargetLanguage, const vcl::Font *pTargetFnt, sal_Int32 nConvOptions, bool bInteractive)
SwDocShell * GetDocShell()
void StartTextConversion()
const ::std::vector< Color > ImpSvNumberformatScan::StandardColor COL_WHITE
SdrPageView * GetSdrPageView() const
virtual ~SdrHHCWrapper() override
virtual bool ConvertNextDocument() override
virtual const tools::Rectangle & GetLogicRect() const override