[Libreoffice-bugs] [Bug 136740] pasting RTF content to LO writer resets tab stops setting in options
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Mon Apr 5 14:16:25 UTC 2021
https://bugs.documentfoundation.org/show_bug.cgi?id=136740
Mike Kaganski <mikekaganski at hotmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever confirmed|0 |1
--- Comment #4 from Mike Kaganski <mikekaganski at hotmail.com> ---
Repro using Version: 7.1.2.2 (x64) / LibreOffice Community
Build ID: 8a45595d069ef5570103caea1b71cc9d82b2aae4
CPU threads: 12; OS: Windows 10.0 Build 19042; UI render: Skia/Raster; VCL: win
Locale: ru-RU (ru_RU); UI: en-US
Calc: CL
The reset of the document default tab stop happens in
DomainMapper_Impl::ApplySettingsTable [1], in this call stack:
> writerfilterlo.dll!writerfilter::dmapper::DomainMapper_Impl::ApplySettingsTable() Line 7298 C++
> writerfilterlo.dll!writerfilter::dmapper::DomainMapper::lcl_table(unsigned long name, tools::SvRef<writerfilter::Reference<writerfilter::Table>> ref) Line 3707 C++
> writerfilterlo.dll!writerfilter::LoggedStream::table(unsigned long name, tools::SvRef<writerfilter::Reference<writerfilter::Table>> ref) Line 256 C++
> writerfilterlo.dll!writerfilter::rtftok::RTFDocumentImpl::outputSettingsTable() Line 379 C++
> writerfilterlo.dll!writerfilter::rtftok::RTFDocumentImpl::checkFirstRun() Line 389 C++
> writerfilterlo.dll!writerfilter::rtftok::RTFDocumentImpl::text(rtl::OUString & rString) Line 1491 C++
> writerfilterlo.dll!writerfilter::rtftok::RTFDocumentImpl::checkUnicode(bool bUnicode, bool bHex) Line 3633 C++
> writerfilterlo.dll!writerfilter::rtftok::RTFDocumentImpl::resolveChars(char ch) Line 1287 C++
> writerfilterlo.dll!writerfilter::rtftok::RTFTokenizer::resolveParse() Line 140 C++
> writerfilterlo.dll!writerfilter::rtftok::RTFDocumentImpl::resolve(writerfilter::Stream & rMapper) Line 806 C++
> writerfilterlo.dll!`anonymous namespace'::RtfFilter::filter(const com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> & rDescriptor) Line 164 C++
> mswordlo.dll!`anonymous namespace'::SwRTFReader::Read(SwDoc & rDoc, const rtl::OUString & __formal, SwPaM & rPam, const rtl::OUString & __formal) Line 104 C++
> swlo.dll!SwReader::Read(const Reader & rOptions) Line 192 C++
> swlo.dll!SwTransferable::PasteFileContent(TransferableDataHelper & rData, SwWrtShell & rSh, SotClipboardFormatId nFormat, bool bMsg, bool bIgnoreComments) Line 2171 C++
> swlo.dll!SwTransferable::PasteData(TransferableDataHelper & rData, SwWrtShell & rSh, unsigned char nAction, SotExchangeActionFlags nActionFlags, SotClipboardFormatId nFormat, SotExchangeDest nDestination, bool bIsPasteFormat, bool bIsDefault, const Point * pPt, char nDropAction, bool bPasteSelection, RndStdIds nAnchorType, bool bIgnoreComments, SwPasteContext * pContext, PasteTableType ePasteTable) Line 1814 C++
> swlo.dll!SwTransferable::PasteFormat(SwWrtShell & rSh, TransferableDataHelper & rData, SotClipboardFormatId nFormat) Line 3375 C++
> swlo.dll!SwBaseShell::ExecClpbrd(SfxRequest & rReq) Line 334 C++
> swlo.dll!SfxStubSwBaseShellExecClpbrd(SfxShell * pShell, SfxRequest & rReq) Line 2201 C++
This needs a way to disambiguate creating a new document vs pasting into an
existing document.
[1]
https://opengrok.libreoffice.org/xref/core/writerfilter/source/dmapper/DomainMapper_Impl.cxx?r=b802ab69#7293
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210405/67e6800f/attachment.htm>
More information about the Libreoffice-bugs
mailing list