20 #ifndef INCLUDED_SW_SOURCE_FILTER_INC_MSFILTER_HXX
21 #define INCLUDED_SW_SOURCE_FILTER_INC_MSFILTER_HXX
31 #include <rtl/textenc.h>
76 OUString
const& rAltName, rtl_TextEncoding eTextEncoding);
92 bool IsNextPM(OUString
const & rParams, sal_Int32 nPos);
97 bool IsNotAM(OUString
const & rParams, sal_Int32 nPos);
149 std::unique_ptr<::myImplHelpers::StyleMapperImpl<SwTextFormatColl> >
mpImpl;
206 std::unique_ptr<::myImplHelpers::StyleMapperImpl<SwCharFormat>>
mpImpl;
295 std::vector<std::unique_ptr<SwFltStackEntry>>
maStack;
318 void operator()(std::unique_ptr<SwFltStackEntry> & pEntry);
329 void operator()(
const std::unique_ptr<SwFltStackEntry> & pEntry)
const
332 pEntry->SetEndPos(mrPos);
341 bool operator()(
const std::unique_ptr<SwFltStackEntry> & pOneE,
const std::unique_ptr<SwFltStackEntry> & pTwoE)
358 sal_uInt16
AddName(
const OUString& rNm );
369 rtl_TextEncoding eCharSet,
bool bRTL)
370 : mnEndPos(nEndPos), mnScript(nScript), meCharSet(eCharSet),
WrtRedlineAuthor & operator=(WrtRedlineAuthor const &)=delete
std::map< std::unique_ptr< InsertedTableListener >, SwNodeIndex * > maTables
InsertedTablesManager(const SwDoc &rDoc)
Represents the style of a paragraph.
Marks a position in the document model.
SwTableNode * m_pTableNode
SwTableNode * GetTableNode()
void closeall(const SwPosition &rPos)
RedlineStack(RedlineStack const &)=delete
void MoveAttrFieldmarkInserted(SwFltPosition &rMkPos, SwFltPosition &rPtPos, const SwPosition &rPos)
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.
bool operator()(const std::unique_ptr< SwFltStackEntry > &pOneE, const std::unique_ptr< SwFltStackEntry > &pTwoE) const
bool close(const SwPosition &rPos, RedlineType eType)
std::map< sal_uInt16, std::size_t > AuthorInfos
Redlining Authors, map word author key to writer author value.
bool IsNotAM(OUString const &rParams, sal_Int32 nPos)
Used by MSDateTimeFormatToSwFormat to identify AM time fields.
sal_uInt16 AddName(const OUString &rNm)
void MoveAttrsFieldmarkInserted(const SwPosition &rPos)
Dialog to specify the properties of date form field.
std::vector< OUString > maAuthors
std::unique_ptr<::myImplHelpers::StyleMapperImpl< SwTextFormatColl > > mpImpl
SetEndIfOpen & operator=(const SetEndIfOpen &)=delete
ParaStyleMapper(SwDoc &rDoc)
StyleResult GetStyle(const OUString &rName, ww::sti eSti)
Get the writer style which the word style should map to.
virtual ~WrtRedlineAuthor()
Knows which writer style a given word style should be imported as.
void open(const SwPosition &rPos, const SfxPoolItem &rAttr)
void InsertTable(SwTableNode &rTableNode, SwPaM &rPaM)
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 ...
RedlineStack & operator=(RedlineStack const &)=delete
PaM is Point and Mark: a selection of the document model.
rtl_TextEncoding meCharSet
bool IsPreviousAM(OUString const &rParams, sal_Int32 nPos)
SetEndIfOpen(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...
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.
bool IsNextPM(OUString const &rParams, sal_Int32 nPos)
std::vector< std::unique_ptr< SwFltStackEntry > > maStack
Handle requirements for table formatting in insert->file mode.
Marks a node in the document model.
RedlineStack(SwDoc &rDoc)
InsertedTableListener(SwTableNode &rNode)
Find suitable names for exporting this font.
Knows which writer style a given word style should be imported as.
WrtRedlineAuthor()=default
SetInDocAndDelete(SwDoc &rDoc)
CharRuns GetPseudoCharRuns(const SwTextNode &rTextNd)
Collect the ranges of Text which share.
void operator()(const std::unique_ptr< SwFltStackEntry > &pEntry) const
SwTextNode is a paragraph in the document model.
CharStyleMapper(SwDoc &rDoc)
CharRunEntry(sal_Int32 nEndPos, sal_uInt16 nScript, rtl_TextEncoding eCharSet, bool bRTL)
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 DelAndMakeTableFrames()
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 ...
FontMapExport(const OUString &rFontDescription)
StyleResult GetStyle(const OUString &rName, ww::sti eSti)
Get the writer style which the word style should map to.
SetInDocAndDelete & operator=(const SetInDocAndDelete &)=delete
virtual void Notify(const SfxHint &) override
void operator()(std::unique_ptr< SwFltStackEntry > &pEntry)
std::vector< CharRunEntry > CharRuns
void SwapQuotesInField(OUString &rFormat)
Another function used by MSDateTimeFormatToSwFormat.
virtual void Write(Writer &rWrt)=0
std::unique_ptr<::myImplHelpers::StyleMapperImpl< SwCharFormat > > mpImpl