https://bugs.documentfoundation.org/show_bug.cgi?id=147258
Bug ID: 147258
Summary: The style for placeholders is applied to the display
text, when opening a docx file with libreoffice
Product: LibreOffice
Version: 7.2.5.2 release
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Writer
Assignee: [email protected]
Reporter: [email protected]
Description:
When opening the attached docx document with libreoffice, the text "ABC" will
de displayed in red, when i opening the same document with microsoft word, the
text will be displayed in black.
"ABC" is the text, contained in a content control and should appear in black.
This content control has a placeholder text. The defined style for placeholder
texts in this document is set to red.
The style for the text is thus taken from the Placeholder style and not from
the actual color.
The Word document is prepared in Microsoft Word and the content of the content
control is added via a databinding.
<?xml version="1.0" encoding="UTF-8" standalone="true"?><w:document
mc:Ignorable="w14 w15 w16se w16cid wp14"
xmlns:wps="http://schemas.microsoft.com/office/word/2010/wordprocessingShape"
xmlns:wne="http://schemas.microsoft.com/office/word/2006/wordml"
xmlns:wpi="http://schemas.microsoft.com/office/word/2010/wordprocessingInk"
xmlns:wpg="http://schemas.microsoft.com/office/word/2010/wordprocessingGroup"
xmlns:w16se="http://schemas.microsoft.com/office/word/2015/wordml/symex"
xmlns:w16cid="http://schemas.microsoft.com/office/word/2016/wordml/cid"
xmlns:w15="http://schemas.microsoft.com/office/word/2012/wordml"
xmlns:w14="http://schemas.microsoft.com/office/word/2010/wordml"
xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main"
xmlns:w10="urn:schemas-microsoft-com:office:word"
xmlns:wp="http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing"
xmlns:wp14="http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing"
xmlns:v="urn:schemas-microsoft-com:vml"
xmlns:m="http://schemas.openxmlformats.org/officeDocument/2006/math"
xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships"
xmlns:o="urn:schemas-microsoft-com:office:office"
xmlns:am3d="http://schemas.microsoft.com/office/drawing/2017/model3d"
xmlns:aink="http://schemas.microsoft.com/office/drawing/2016/ink"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:cx8="http://schemas.microsoft.com/office/drawing/2016/5/14/chartex"
xmlns:cx7="http://schemas.microsoft.com/office/drawing/2016/5/13/chartex"
xmlns:cx6="http://schemas.microsoft.com/office/drawing/2016/5/12/chartex"
xmlns:cx5="http://schemas.microsoft.com/office/drawing/2016/5/11/chartex"
xmlns:cx4="http://schemas.microsoft.com/office/drawing/2016/5/10/chartex"
xmlns:cx3="http://schemas.microsoft.com/office/drawing/2016/5/9/chartex"
xmlns:cx2="http://schemas.microsoft.com/office/drawing/2015/10/21/chartex"
xmlns:cx1="http://schemas.microsoft.com/office/drawing/2015/9/8/chartex"
xmlns:cx="http://schemas.microsoft.com/office/drawing/2014/chartex"
xmlns:wpc="http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas"><w:body><w:p
w:rsidRDefault="00E25B35" w:rsidR="00A85448" w14:textId="54C8B3B6"
w14:paraId="3E8C3F23"><w:r><w:t xml:space="preserve">Placeholder ->
</w:t></w:r><w:sdt><w:sdtPr><w:alias w:val="Betreff"/><w:tag
w:val="objsubject"/><w:id w:val="84812256"/><w:placeholder><w:docPart
w:val="5D2DAE3567864F2E92FC60F0A15E929B"/></w:placeholder><w:showingPlcHdr/><w:dataBinding
w:storeItemID="{4E8A9591-F074-446B-902F-511FF79C122F}"
w:xpath="/*[name()='f:fields']/*[name()='f:record']/*[name()='f:field' and
@ref='objsubject']/@text"
w:prefixMappings="xmlns:f='http://schemas.fabasoft.com/folio/2007/fields'"/><w:text/></w:sdtPr><w:sdtEndPr/><w:sdtContent><w:r
w:rsidRPr="000843E2"><w:rPr><w:t>ABC</w:t></w:r></w:sdtContent></w:sdt><w:bookmarkStart
w:name="_GoBack" w:id="0"/><w:bookmarkEnd w:id="0"/></w:p><w:sectPr
w:rsidR="00A85448"><w:pgSz w:w="11906" w:h="16838"/><w:pgMar w:gutter="0"
w:footer="708" w:header="708" w:left="1417" w:bottom="1134" w:right="1417"
w:top="1417"/><w:cols w:space="708"/><w:docGrid
w:linePitch="360"/></w:sectPr></w:body></w:document>
Steps to Reproduce:
1. Opening the attached Word Document
Actual Results:
2. "ABC" is displayed in red
Expected Results:
2. "ABC" should displayed in black, like in Microsoft Word
Reproducible: Always
User Profile Reset: Yes
Additional Info:
Version: 7.2.5.2 (x64) / LibreOffice Community
Build ID: 499f9727c189e6ef3471021d6132d4c694f357e5
CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: de-AT (de_AT); UI: en-US
Calc: threaded
--
You are receiving this mail because:
You are the assignee for the bug.