20#ifndef INCLUDED_SW_SOURCE_FILTER_INC_MSFILTER_HXX
21#define INCLUDED_SW_SOURCE_FILTER_INC_MSFILTER_HXX
30#include <rtl/textenc.h>
74 OUString
const& rAltName, rtl_TextEncoding eTextEncoding);
90 bool IsNextPM(std::u16string_view rParams, sal_Int32
nPos);
95 bool IsNotAM(std::u16string_view rParams, sal_Int32
nPos);
144 std::unique_ptr<::myImplHelpers::StyleMapperImpl<SwTextFormatColl> >
mpImpl;
179 std::map<OUString, sal_Int32>& rCollisions);
206 std::unique_ptr<::myImplHelpers::StyleMapperImpl<SwCharFormat>>
mpImpl;
241 std::map<OUString, sal_Int32>& rCollisions);
256 explicit FontMapExport(std::u16string_view rFontDescription);
300 std::vector<std::unique_ptr<SwFltStackEntry>>
maStack;
324 void operator()(std::unique_ptr<SwFltStackEntry> & pEntry);
335 void operator()(
const std::unique_ptr<SwFltStackEntry> & pEntry)
const
338 pEntry->SetEndPos(
mrPos);
348 bool operator()(
const std::unique_ptr<SwFltStackEntry> & pOneE,
const std::unique_ptr<SwFltStackEntry> & pTwoE)
365 sal_uInt16
AddName(
const OUString& rNm );
376 rtl_TextEncoding eCharSet,
bool bRTL)
Layout frame for SwNoTextNode, i.e. graphics and OLE nodes (including charts).
Marks a node in the document model.
PaM is Point and Mark: a selection of the document model.
Represents the style of a paragraph.
SwTextNode is a paragraph in the document model.
Knows which writer style a given word style should be imported as.
StyleResult GetStyle(const OUString &rName, ww::sti eSti, std::map< OUString, sal_Int32 > &rCollisions)
Get the writer style which the word style should map to.
std::pair< SwCharFormat *, bool > StyleResult
StyleResult StyleResult is a std::pair of a pointer to a style and a flag which is true if the style ...
std::unique_ptr<::myImplHelpers::StyleMapperImpl< SwCharFormat > > mpImpl
CharStyleMapper(SwDoc &rDoc)
bool operator()(const std::unique_ptr< SwFltStackEntry > &pOneE, const std::unique_ptr< SwFltStackEntry > &pTwoE) const
Find suitable names for exporting this font.
FontMapExport(std::u16string_view rFontDescription)
InsertedTableListener(SwTableNode &rNode)
SwTableNode * m_pTableNode
SwTableNode * GetTableNode()
virtual void Notify(const SfxHint &) override
Handle requirements for table formatting in insert->file mode.
std::map< std::unique_ptr< InsertedTableListener >, SwPosition * > maTables
void DelAndMakeTableFrames()
void InsertTable(SwTableNode &rTableNode, SwPaM &rPaM)
InsertedTablesManager(const SwDoc &rDoc)
Knows which writer style a given word style should be imported as.
std::pair< SwTextFormatColl *, bool > StyleResult
StyleResult StyleResult is a std::pair of a pointer to a style and a flag which is true if the style ...
std::unique_ptr<::myImplHelpers::StyleMapperImpl< SwTextFormatColl > > mpImpl
ParaStyleMapper(SwDoc &rDoc)
StyleResult GetStyle(const OUString &rName, ww::sti eSti, std::map< OUString, sal_Int32 > &rCollisions)
Get the writer style which the word style should map to.
void closeall(const SwPosition &rPos)
RedlineStack(RedlineStack const &)=delete
void open(const SwPosition &rPos, const SfxPoolItem &rAttr)
void MoveAttrsFieldmarkInserted(const SwPosition &rPos)
RedlineStack & operator=(RedlineStack const &)=delete
std::vector< std::unique_ptr< SwFltStackEntry > > maStack
RedlineStack(SwDoc &rDoc)
bool close(const SwPosition &rPos, RedlineType eType)
SetEndIfOpen & operator=(const SetEndIfOpen &)=delete
SetEndIfOpen(SetEndIfOpen const &)=default
SetEndIfOpen(const SwPosition &rPos)
void operator()(const std::unique_ptr< SwFltStackEntry > &pEntry) const
SetInDocAndDelete & operator=(const SetInDocAndDelete &)=delete
SetInDocAndDelete(SwDoc &rDoc)
void operator()(std::unique_ptr< SwFltStackEntry > &pEntry)
SetInDocAndDelete(SetInDocAndDelete const &)=default
virtual void Write(Writer &rWrt)=0
WrtRedlineAuthor()=default
WrtRedlineAuthor & operator=(WrtRedlineAuthor const &)=delete
virtual ~WrtRedlineAuthor()
sal_uInt16 AddName(const OUString &rNm)
std::vector< OUString > maAuthors
WrtRedlineAuthor(WrtRedlineAuthor const &)=delete
sal_uLong MSDateTimeFormatToSwFormat(OUString &rParams, SvNumberFormatter *pFormatter, LanguageType &rLang, bool bHijri, LanguageType nDocLang)
Convert from Word Date/Time field str to Writer's Date Time str.
sal_uInt8 rtl_TextEncodingToWinCharsetRTF(OUString const &rFontName, OUString const &rAltName, rtl_TextEncoding eTextEncoding)
MSOffice appears to set the charset of unicode fonts to MS 932.
sal_uInt8 rtl_TextEncodingToWinCharset(rtl_TextEncoding eTextEncoding)
MSOffice appears to set the charset of unicode fonts to MS 932.
sal_uInt32 DateTime2DTTM(const DateTime &rDT)
Convert from DTTM to Writer's DateTime.
void SwapQuotesInField(OUString &rFormat)
Another function used by MSDateTimeFormatToSwFormat.
bool IsNotAM(std::u16string_view rParams, sal_Int32 nPos)
Used by MSDateTimeFormatToSwFormat to identify AM time fields.
bool IsPreviousAM(std::u16string_view rParams, sal_Int32 nPos)
bool IsNextPM(std::u16string_view rParams, sal_Int32 nPos)
CharRuns GetPseudoCharRuns(const SwTextNode &rTextNd)
Collect the ranges of Text which share.
std::vector< CharRunEntry > CharRuns
void MoveAttrFieldmarkInserted(SwFltPosition &rMkPos, SwFltPosition &rPtPos, const SwPosition &rPos)
SwTwips MakeSafePositioningValue(SwTwips nIn)
Clips a value to MAX/MIN 16bit value to make it safe for use as a position value to give to writer.
Dialog to specify the properties of date form field.
Marks a position in the document model.
rtl_TextEncoding meCharSet
CharRunEntry(sal_Int32 nEndPos, sal_uInt16 nScript, rtl_TextEncoding eCharSet, bool bRTL)