<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body><span class="vcard"><a class="email" href="mailto:ilmari.lauhakangas@libreoffice.org" title="Buovjaga <ilmari.lauhakangas@libreoffice.org>"> <span class="fn">Buovjaga</span></a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED INVALID - Unexpected content inserted into XML element in ScDocShell when adding Default style to sc/res/xml/styles.xml"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=139281">bug 139281</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>UNCONFIRMED
</td>
<td>RESOLVED
</td>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>---
</td>
<td>INVALID
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED INVALID - Unexpected content inserted into XML element in ScDocShell when adding Default style to sc/res/xml/styles.xml"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=139281#c3">Comment # 3</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED INVALID - Unexpected content inserted into XML element in ScDocShell when adding Default style to sc/res/xml/styles.xml"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=139281">bug 139281</a>
from <span class="vcard"><a class="email" href="mailto:ilmari.lauhakangas@libreoffice.org" title="Buovjaga <ilmari.lauhakangas@libreoffice.org>"> <span class="fn">Buovjaga</span></a>
</span></b>
<pre>(In reply to Eike Rathke from <a href="show_bug.cgi?id=139281#c2">comment #2</a>)
<span class="quote">> First, the Default cell style is NOT SUPPOSED to be present in styles.xml as
> it is internally generated and all other cell styles inherit from that as
> parent and I guess that redefining it in styles.xml probably will not work
> as intended and wreak havoc sooner or later (I'd say it's completely
> untested at least).</span >
Thanks, I was hoping to hear a confirmation.
<span class="quote">> I also think that setting the Default style's font to a fixed 10pt size is
> not the proper approach. If the problem is that font size is not written to
> file then the export should check for it and add it to the document's
> default style instead. I'm not sure at the moment where this internally used
> 10pt actually originates and why export omits it, but the Default standard
> style never defined a hard 10pt font size.</span >
Cool, I will mention this in <a class="bz_bug_link
bz_status_NEW "
title="NEW - FILESAVE: ODS - Default cell style font size not set"
href="show_bug.cgi?id=112559">bug 112559</a>
<span class="quote">> For your debug problem, I don't quite get what the "cell contents" should be
> at the ScDocShell::m_aDocument. The mpCellStringPool is the pool of all
> shared strings in the document, yes, and then? What are you looking for?
> Really cell content, i.e. a string contained or displayed in a specific
> cell? You'd have to obtain that from the document via
> ScDocument::GetString(), so you could call m_aDocument.GetString(0,0,0) to
> obtain the OUString for the top left cell on the first sheet.</span >
Apprently after 1 month I forgot what I was doing and that there is no content
in the cells, but it was about headers and footers. Sorry for the noise, but
thanks for the lessons.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>