Writer Line Numbering Import \ Export

Adam Fyne Adam.Fyne at cloudon.com
Tue Jul 2 04:32:41 PDT 2013


There is a bug I am trying to fix regarding line numbering.

In Word, a line numbering node typically looks like this:

It seems like the DOCX importer does not make use of the imported 'w:start'
attribute (it is imported

What I saw was that in the function
there is a check if "m_nLnnMod" is set.

The function also looks at "m_nLnnMin" when setting the

However, this "m_nLnnMin" is set in only when the parser reads the

In addition, the "m_nLnnMod" is set only when the parser reads the

Am I correct to assume that these values are read only in the DOC importer,
and not in the DOCX importer?

Is it true to say that DOCX attributes are always 'NS_ooxml::….' ?

If I am correct – when I parse the 'start value' in the relevant '
node, should I simply mimick the behavior of the 'NS_sprm::LN_SLnnMin'


*Adam Fyne*

*Office:* +972-77-517-5008

Twitter <http://www.twitter.com/cloudoninc> |
 | Facebook <http://www.facebook.com/cloudoninc> | Blog<http://www.cloudon.com/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20130702/83f19002/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.jpg
Type: image/jpeg
Size: 14761 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20130702/83f19002/attachment.jpg>

More information about the LibreOffice mailing list