LibreOffice Module sw (master) 1
|
#include <wrtasc.hxx>
Public Member Functions | |
SwASCWriter (std::u16string_view rFilterName) | |
virtual | ~SwASCWriter () override |
void | SetupFilterOptions (SfxMedium &rMedium) override |
const OUString & | GetLineEnd () const |
Public Member Functions inherited from Writer | |
Writer () | |
virtual | ~Writer () override |
virtual ErrCode | Write (SwPaM &, SfxMedium &, const OUString *) |
ErrCode | Write (SwPaM &, SvStream &, const OUString *) |
virtual ErrCode | Write (SwPaM &, const css::uno::Reference< css::embed::XStorage > &, const OUString *, SfxMedium *=nullptr) |
virtual ErrCode | Write (SwPaM &, SotStorage &, const OUString *) |
virtual void | SetupFilterOptions (SfxMedium &rMedium) |
virtual bool | IsStgWriter () const |
void | SetShowProgress (bool bFlag) |
const OUString * | GetOrigFileName () const |
const SwAsciiOptions & | GetAsciiOptions () const |
void | SetAsciiOptions (const SwAsciiOptions &rOpt) |
const OUString & | GetBaseURL () const |
sal_Int32 | FindPos_Bkmk (const SwPosition &rPos) const |
void | CreateBookmarkTable () |
bool | GetBookmarks (const SwContentNode &rNd, sal_Int32 nStt, sal_Int32 nEnd, std::vector< const ::sw::mark::IMark * > &rArr) |
bool | CopyLocalFileToINet (OUString &rFileNm) |
void | SetStream (SvStream *const pStream) |
SvStream & | Strm () |
void | SetOrganizerMode (bool bSet) |
Public Member Functions inherited from SvRefBase | |
SvRefBase () | |
SvRefBase (const SvRefBase &) | |
SvRefBase & | operator= (const SvRefBase &) |
void | RestoreNoDelete () |
void | AddNextRef () |
void | AddFirstRef () |
void | ReleaseRef () |
unsigned int | GetRefCount () const |
Private Member Functions | |
virtual ErrCode | WriteStream () override |
Private Attributes | |
OUString | m_sLineEnd |
Definition at line 29 of file wrtasc.hxx.
SwASCWriter::SwASCWriter | ( | std::u16string_view | rFilterName | ) |
Definition at line 36 of file wrtasc.cxx.
References Writer::GetAsciiOptions(), LINEEND_CR, LINEEND_CRLF, LINEEND_LF, Writer::SetAsciiOptions(), SwAsciiOptions::SetCharSet(), SwAsciiOptions::SetParaFlags(), o3tl::toInt32(), and u.
|
overridevirtual |
Definition at line 89 of file wrtasc.cxx.
|
inline |
Definition at line 40 of file wrtasc.hxx.
References m_sLineEnd.
|
overridevirtual |
Reimplemented from Writer.
Definition at line 212 of file wrtasc.cxx.
References SfxItemSet::GetItemIfSet(), SfxMedium::GetItemSet(), SwAsciiOptions::ReadUserData(), and Writer::SetAsciiOptions().
|
overrideprivatevirtual |
Implements Writer.
Definition at line 91 of file wrtasc.cxx.
References aASCNodeFnTab, Writer::CopyNextPam(), SwNodes::Count(), SwNode::EndOfSectionIndex(), EndProgress(), ERRCODE_NONE, fnMoveForward, Writer::GetAsciiOptions(), SwAsciiOptions::GetCharSet(), SwFormat::GetContent(), SwFormatContent::GetContentIdx(), SwDoc::GetDocShell(), SwNodes::GetEndOfContent(), SwNodes::GetEndOfExtras(), SwAsciiOptions::GetIncludeBOM(), SwAsciiOptions::GetIncludeHidden(), SwNodeIndex::GetIndex(), SwNode::GetIndex(), SwNodeIndex::GetNode(), SwDoc::GetNodes(), SwDoc::GetSpzFrameFormats(), SvStream::GetStreamCharSet(), SwTextNode::GetText(), GoInNode(), SwTextNode::IsHidden(), LINEEND_CR, LINEEND_CRLF, LINEEND_LF, Writer::m_bASCII_ParaAsBlank, Writer::m_bASCII_ParaAsCR, Writer::m_bShowProgress, Writer::m_bUCS2_WithStartChar, Writer::m_bWriteAll, Writer::m_pCurrentPam, Writer::m_pDoc, Writer::m_pOrigPam, m_sLineEnd, Writer::NewUnoCursor(), Out(), SvStream::SetEndian(), SetProgressState(), SvStream::SetStreamCharSet(), StartProgress(), SvStream::StartWritingUnicodeText(), Writer::Strm(), u, and SvStream::WriteUChar().
|
private |
Definition at line 31 of file wrtasc.hxx.
Referenced by GetLineEnd(), and WriteStream().