https://bugs.documentfoundation.org/show_bug.cgi?id=136536
--- Comment #12 from Justin L <[email protected]> --- >From what I can see in xmloff/source/text/txtimp.cxx: XMLTextImportHelper::SetStyleAndAttrs, import does NOT try to reproduce the same internal styles at all. It just uses that information and sets the properties on the appropriate nodes. So the style name is set to "Standard" (aka Default Paragraph Style) and not P1. What happens from there is just simple SW internals to convert into dynamic autostyles. The same is true for character styles. sw/source/core/unocore/unoobj.cxx SetPropertyValue("CharAutoStyleName", "T1") sw/source/core/txtnode/thints.cxx SwTextNode::SetAttr // entire paragraph // If there are any character attributes in rSet, // we want to set them at the paragraph: if ( const SwFormatAutoFormat* pItem = aTextSet.GetItemIfSet( RES_TXTATR_AUTOFMT, false ) ) const bool bRet = SetAttr( *pItem->GetStyleHandle() ); // puts the whole attrset of the charAutoStyle into the paragraph style, and calls GetNewAutoStyle So then, this "bug" is all caused by the "normal" process of consolidating whole-paragraph-character-attributes into the paraAutoStyle during a SetPropertyValue(). Really sounds like a WONTFIX to me. -- You are receiving this mail because: You are the assignee for the bug.
