27#include <com/sun/star/uno/Any.hxx>
52 std::unique_ptr<ScDocument, o3tl::default_delete<ScDocument>>
pUndoDoc;
80 void EndPaste(
bool bAutoRowHeight =
true);
85 bool Doc2HTML(
SvStream&,
const OUString& );
90 bool RTF2Doc(
SvStream&,
const OUString& rBaseURL );
91 bool HTML2Doc(
SvStream&,
const OUString& rBaseURL );
101 void SetFilterOptions( const OUString& rFilterOptions );
102 bool IsRef()
const {
return !bAll; }
106 static void EmbeddedNullTreatment( OUString & rStr );
111 bool bMergeSeps,
bool& rbIsQuoted,
bool& rbOverflowCell,
bool bRemoveSpace );
112 static void WriteUnicodeOrByteString(
SvStream& rStrm, std::u16string_view rString,
bool bZero =
false );
113 static void WriteUnicodeOrByteEndl(
SvStream& rStrm );
123 static sal_Int32 CountVisualWidth(
const OUString& rStr, sal_Int32& nIdx, sal_Int32 nMaxWidth);
128 static sal_Int32 CountVisualWidth(
const OUString& rStr);
131 static void SetNoEndianSwap(
SvStream& rStrm );
147 bool ExportData( std::u16string_view rMimeType,
148 css::uno::Any & rValue );
154 bool IsOverflow()
const {
return bOverflowRow || bOverflowCol || bOverflowCell; }
158 void SetApi(
bool bApi ) { mbApi = bApi; }
242 sal_uInt32 nMaxSourceLines = 0 );
void SetIncludeFiltered(bool b)
bool IsOverflowCol() const
void SetStreamPath(const OUString &rPath)
ScExportTextOptions mExportTextOptions
ScImportExport(ScDocument &, const ScAddress &)
const ScRange & GetRange() const
void SetExportTextOptions(const ScExportTextOptions &options)
std::unique_ptr< ScAsciiOptions > pExtOptions
void SetSeparator(sal_Unicode c)
bool IsOverflowRow() const
ScImportExport(ScDocument &, const OUString &)
void SetImportBroadcast(bool b)
void SetOverwriting(const bool bOverwriting)
bool IsOverflowCell() const
OUString aNonConvertibleChars
const OUString & GetNonConvertibleChars() const
bool GetIncludeBOM() const
void SetDelimiter(sal_Unicode c)
std::unique_ptr< ScDocument, o3tl::default_delete< ScDocument > > pUndoDoc
ScImportStringStream(const OUString &rStr)
SOT_DLLPUBLIC bool IsFormatSupported(const DataFlavorExVector &rDataFlavorExVector, SotClipboardFormatId nId)
SC_DLLPUBLIC OUString ReadCsvLine(SvStream &rStream, bool bEmbeddedLineBreak, OUString &rFieldSeparators, sal_Unicode cFieldQuote, sal_Unicode &rcDetectSep, sal_uInt32 nMaxSourceLines=0)
Read a CSV (comma separated values) data line using ReadUniOrByteStringLine().
These options control how multi-line cells are converted during export in certain lossy formats (such...
ScExportTextOptions(NewlineConversion eNewlineConversion=ToSystem, sal_Unicode cSeparatorConvertTo=0, bool bAddQuotes=false)
sal_Unicode mcSeparatorConvertTo
NewlineConversion meNewlineConversion