OpenXML Filter: expose the caps property as a special code type

Issue #784 resolved
Denis Konovalyenko created an issue

There are cases when a run is formatted with the w:caps property, which instructs to show all lowercase letters as their capital letter equivalents. The property does not change the Unicode characters for lowercase text and may confuse translators through. For instance, the following paragraph:

        <w:p w:rsidR="00C20B13" w:rsidRPr="000A0224" w:rsidRDefault="00222715">
            <w:pPr>
                <w:rPr>
                    <w:lang w:val="en-US"/>
                </w:rPr>
            </w:pPr>
            <w:r>
                <w:rPr>
                    <w:caps/>
                    <w:lang w:val="en-US"/>
                </w:rPr>
                <w:t>CAPS</w:t>
            </w:r>
            <w:r w:rsidR="005C468E">
                <w:rPr>
                    <w:caps/>
                    <w:lang w:val="en-US"/>
                </w:rPr>
                <w:t xml:space="preserve"> property</w:t>
            </w:r>
            <w:r w:rsidR="000A0224">
                <w:rPr>
                    <w:lang w:val="en-US"/>
                </w:rPr>
                <w:t xml:space="preserve"> and UPPERCASE CHARACTERS.</w:t>
            </w:r>
        </w:p>

is shown as CAPS PROPERTY and UPPERCASE CHARACTERS. For more details please refer to the attached file.

So, in order to have more visibility into what is going on we are going to expose the property as a special code type.

Comments (2)

  1. Log in to comment