<div dir="ltr"><b>Excuse me, I accidentally sent this before finishing writing it.</b><div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:13px">Hi All!</span></div>
<div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div><div style="font-family:arial,sans-serif;font-size:13px">I'm trying to load .soc palettes, they are in XML format, and it's hardcoded in LO to load "standard.soc" to get the default colors.</div>
<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">The loading process starts here:</div><div style="font-family:arial,sans-serif;font-size:13px"><font face="arial, sans-serif"><a href="http://opengrok.libreoffice.org/xref/core/svx/source/xoutdev/xtable.cxx#234" target="_blank">http://opengrok.libreoffice.org/xref/core/svx/source/xoutdev/xtable.cxx#234</a></font></div>
</div><div style><font face="arial, sans-serif">SvxXMLXTableImport::load returns it's result to an object created by createInstance().</font><br></div><div style><font face="arial, sans-serif">CreateInstance is here:</font></div>
<div style><font face="arial, sans-serif"><a href="http://opengrok.libreoffice.org/xref/core/svx/source/xoutdev/xtabcolr.cxx#58">http://opengrok.libreoffice.org/xref/core/svx/source/xoutdev/xtabcolr.cxx#58</a></font></div>
<div style><font face="arial, sans-serif">It calls this:</font></div><div style><font face="arial, sans-serif"><a href="http://opengrok.libreoffice.org/xref/core/svx/source/unodraw/XPropertyTable.cxx#269">http://opengrok.libreoffice.org/xref/core/svx/source/unodraw/XPropertyTable.cxx#269</a><br>
</font></div><div style><font face="arial, sans-serif"><br></font></div><div style><font face="arial, sans-serif">And this kind of keeps going but I'm not really closer to what I want to do, namely to have a function that is given a path to a .soc file, and returns a vector of colors.</font></div>
<div style><font face="arial, sans-serif"><br></font></div><div style><div style="font-family:arial,sans-serif;font-size:13px">If anyone has any insights, please share them! Thank you!<font face="arial, sans-serif"><br></font></div>
<div style="font-family:arial,sans-serif;font-size:13px"><font face="arial, sans-serif"><br></font></div><div style="font-family:arial,sans-serif;font-size:13px"><font face="arial, sans-serif">All the best,</font></div><div style="font-family:arial,sans-serif;font-size:13px">
<font face="arial, sans-serif">Krisztian</font></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 25 July 2014 03:59, Krisztian Pinter <span dir="ltr"><<a href="mailto:pin.terminator@gmail.com" target="_blank">pin.terminator@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><span style="font-family:arial,sans-serif;font-size:13px">Hi All!</span><div style="font-family:arial,sans-serif;font-size:13px">
<br></div><div style="font-family:arial,sans-serif;font-size:13px">I'm trying to load .soc palettes, they are in XML format, and it's hardcoded in LO to load "standard.soc" to get the default colors.</div>

<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">The loading process starts here:</div><div><font face="arial, sans-serif"><a href="http://opengrok.libreoffice.org/xref/core/svx/source/xoutdev/xtable.cxx#234" target="_blank">http://opengrok.libreoffice.org/xref/core/svx/source/xoutdev/xtable.cxx#234</a></font><br>

</div><div><font face="arial, sans-serif"><br></font></div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">If anyone has any insights, please share them! Thank you!<font face="arial, sans-serif"><br>

</font></div><div style="font-family:arial,sans-serif;font-size:13px"><font face="arial, sans-serif"><br></font></div><div style="font-family:arial,sans-serif;font-size:13px"><font face="arial, sans-serif">All the best,</font></div>

<div style="font-family:arial,sans-serif;font-size:13px"><font face="arial, sans-serif">Krisztian</font></div></div>
</blockquote></div><br></div>