On Fri, 27 Apr 2012 23:07:09 +0200, Christina Roßmanith
wrote:
That hint helped :-) Now text without any attributes is rendered as
well.
Great! :)
-- Marco
--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
___
LibreO
That hint helped :-) Now text without any attributes is rendered as well.
Christina
Am 25.04.2012 13:23, schrieb Marco Cecchetti:
After giving a better look, I could have found where the problem is:
look at the begin of visitElements routine (line 101):
if( xElem->hasAttributes() )
On 25/04/12 11:48, Noel Grandin wrote:
> Looks like the code in
> unoxml/source/dom/saxbuilder.cxx
> converts the SAX event stream into a DOM tree.
true, but irrelevant here because this is not used when calling
Reference< XDocument > SAL_CALL CDocumentBuilder::parse(const Reference<
XInputStr
After giving a better look, I could have found where the problem is:
look at the begin of visitElements routine (line 101):
if( xElem->hasAttributes() )
rFunc(xElem,xElem->getAttributes());
else
rFunc(xElem);
The function called in case the element has at least one
attri
That's odd, saxbuilder should be completely agnostic
from a element name point of view.
Did you try to print element names xElem->getNodeName() (line 1227)
for the broken example ?
-- Marco
On Wed, 25 Apr 2012 11:48:10 +0200, Noel Grandin
wrote:
Looks like the code in
unoxml/source/
Looks like the code in
unoxml/source/dom/saxbuilder.cxx
converts the SAX event stream into a DOM tree.
On 2012-04-25 08:34, Christina Rossmanith wrote:
for the example without "x" and "y" attribute the "case XML_TEXT" block is
never reached. That's why I'd like to understand where and how th
+0200
> Von: Noel Grandin
> An: "Christina Roßmanith"
> CC: libreoffice@lists.freedesktop.org
> Betreff: Re: Need help: SVG import
> Most of the code looks to be in svgreader.cxx.
> It walks the DOM tree, starting with the writeShapes method, and it
> looks like it proce
Most of the code looks to be in svgreader.cxx.
It walks the DOM tree, starting with the writeShapes method, and it
looks like it processes text nodes at around line 1471.
On Tue, Apr 24, 2012 at 22:15, Christina Roßmanith wrote:
> Hi,
>
> I'm still trying to understand how SVG import works. What
Hi,
I'm still trying to understand how SVG import works. What I've found out
so far is:
svgreader.cxx: SVGReader::parseAndConvert() calls
uno::Reference xDomBuilder()->parse()
The latter can be found in documentbuilder.cxx:
Reference< XDocument > SAL_CALL CDocumentBuilder::parse(const Refe