Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bold in the middle of a string? #100

Open
jgregory78 opened this issue Mar 23, 2023 · 1 comment
Open

Bold in the middle of a string? #100

jgregory78 opened this issue Mar 23, 2023 · 1 comment

Comments

@jgregory78
Copy link

jgregory78 commented Mar 23, 2023

Is there a way to get bold text in the middle of a string?

Cell Contents = "hello <b>my name</b> is Mr. Magoo";
Output in cell shows as hello my name is Mr. Magoo . Is there a way to have it printed as
helloo my name is Mr. Magoo

@shuchkin
Copy link
Owner

1.3.10 No

direction of thoughts

http://officeopenxml.com/SSstyles.php

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<sst xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" count="1" uniqueCount="1">
    <si>
        <r>
            <t xml:space="preserve">This is formatted shared string </t>
        </r>
        <r>
            <rPr>
                <b/>
                <sz val="11"/>
                <color theme="1"/>
                <rFont val="Calibri"/>
                <family val="2"/>
                <charset val="204"/>
                <scheme val="minor"/>
            </rPr>
            <t>bold</t>
        </r>
        <r>
            <rPr>
                <sz val="11"/>
                <color theme="1"/>
                <rFont val="Calibri"/>
                <family val="2"/>
                <charset val="204"/>
                <scheme val="minor"/>
            </rPr>
            <t xml:space="preserve"> font, and </t>
        </r>
        <r>
            <rPr>
                <i/>
                <sz val="11"/>
                <color theme="1"/>
                <rFont val="Calibri"/>
                <family val="2"/>
                <charset val="204"/>
                <scheme val="minor"/>
            </rPr>
            <t>italic</t>
        </r>
        <r>
            <rPr>
                <sz val="11"/>
                <color theme="1"/>
                <rFont val="Calibri"/>
                <family val="2"/>
                <charset val="204"/>
                <scheme val="minor"/>
            </rPr>
            <t xml:space="preserve">, and </t>
        </r>
        <r>
            <rPr>
                <b/>
                <sz val="11"/>
                <color rgb="FFFF0000"/>
                <rFont val="Calibri"/>
                <family val="2"/>
                <charset val="204"/>
                <scheme val="minor"/>
            </rPr>
            <t>red bold</t>
        </r>
        <r>
            <rPr>
                <sz val="11"/>
                <color theme="1"/>
                <rFont val="Calibri"/>
                <family val="2"/>
                <charset val="204"/>
                <scheme val="minor"/>
            </rPr>
            <t>.</t>
        </r>
    </si>
</sst>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants