Hello Eike,<br><br><div class="gmail_quote">2011/8/24 Eike Rathke <span dir="ltr">&lt;<a href="mailto:ooo@erack.de" target="_blank">ooo@erack.de</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Hi Markus,<br>
<div><br>
On Wednesday, 2011-08-17 14:14:18 +0200, Eike Rathke wrote:<br>
<br>
&gt; &gt; &gt; Apparently the FormulaToken used is not a FormulaIndexToken.<br>
&gt; &gt;<br>
&gt; &gt; Oh. I should not only override SetByte but also SetIndex. In calc all<br>
&gt; &gt; formula tokens are derived from ScToken which is derived from FormulaToken<br>
&gt; &gt; and not from FormulaIndexToken. I should no longer finish patchs after<br>
&gt; &gt; learning.c<br>
</div>&gt; [...]<br>
<div>&gt; Actually the new ScNameToken implemented would belong to formula/*<br>
&gt; instead, but there is already FormulaIndexToken, which also now has<br>
&gt; changes for local/global names, so ScNameToken is superfluous and can be<br>
&gt; removed. ScRawToken::CreateToken() needs to be changed back to return<br>
&gt; a FormulaIndexToken.<br>
<br>
</div>I did the necessary changes in<br>
<a href="http://cgit.freedesktop.org/libreoffice/core/commit/?id=fcac4e3eb4df6dcd4d6f6955a5d369262bcd1ea4" target="_blank">http://cgit.freedesktop.org/libreoffice/core/commit/?id=fcac4e3eb4df6dcd4d6f6955a5d369262bcd1ea4</a><br>


<div><div></div><br>
</div></blockquote></div>Thanks. I&#39;ll hope I can push my changes at the end of the week.<br><br>But do you know if there is a reason except oox that the FormulaCompiler and the FormulaTokens are not in calc?<br><br>Regards,<br>
Markus<br>