19#ifndef INCLUDED_SW_INC_HHCWRP_HXX
20#define INCLUDED_SW_INC_HHCWRP_HXX
56 void FindConvText_impl();
62 void SelectNewUnit_impl(
const sal_Int32 nUnitStart,
63 const sal_Int32 nUnitEnd );
64 void ChangeText(
const OUString &rNewText,
65 std::u16string_view aOrigText,
66 const css::uno::Sequence< sal_Int32 > *pOffsets,
68 void ChangeText_impl(
const OUString &rNewText,
bool bKeepAttributes );
72 bool bAllowImplicitChangesForNotConvertibleText )
override;
74 const sal_Int32 nUnitEnd )
override;
76 const sal_Int32 nUnitStart,
const sal_Int32 nUnitEnd,
77 const OUString& rOrigText,
78 const OUString& rReplaceWith,
79 const css::uno::Sequence< sal_Int32 > &rOffsets,
88 const css::uno::Reference< css::uno::XComponentContext >& rxContext,
91 sal_Int32 nConvOptions,
bool bIsInteractive,
92 bool bStart,
bool bOther,
bool bSelection );
sal_uInt16 m_nPageCount
page count for progress bar
bool m_bIsSelection
true if only the selected text should be converted
sal_Int32 m_nLastPos
starting position of the last found text part (needs to be sth that gets not moved like SwPaM or SwPo...
std::unique_ptr< SwConversionArgs > m_pConvArgs
object for arguments (and results) needed to find of next convertible text portion
sal_uInt16 m_nPageStart
first checked page
PaM is Point and Mark: a selection of the document model.
Used by the UI to modify the document model.
virtual void GetNextPortion(OUString &_rNextPortion, LanguageType &_rLangOfPortion, bool _bAllowImplicitChangesForNotConvertibleText)=0
virtual void ReplaceUnit(const sal_Int32 _nUnitStart, const sal_Int32 _nUnitEnd, const OUString &_rOrigText, const OUString &_rReplaceWith, const css::uno::Sequence< sal_Int32 > &_rOffsets, ReplacementAction _eAction, LanguageType *pNewUnitLanguage)=0
virtual void HandleNewUnit(const sal_Int32 _nUnitStart, const sal_Int32 _nUnitEnd)=0
virtual bool HasRubySupport() const=0