understanding (and parsing) the xml file structure of *.sla

Previous topic - Next topic

dragonfly

I know that parsing *.sla is not recommended since the structure might change.
Scripter is the preferred route.
But I'm still exploring (as an exercise) the option of parsing *.sla as explained in various articles I've read.

...

Inspecting any *.sla file as an xml file (with Geany in Ubuntu) I can see the XML file structure.

I can see the more obvious attributes (object width, height etc.)

but what is POCOOR and COCOOR

are these draw vectors?


http://wiki.scribus.net/canvas/File_Format_Specification_for_Scribus_1.4

POCOOR
coordinates of the object shape


POCOOR="0 0 0 0 528 0 528 0 528 0 528 0 528 42.5197 528 42.5197 528 42.5197 528 42.5197 0 42.5197 0 42.5197 0 42.5197 0 42.5197 0 0 0 0 "


COCOOR="0 0 0 0 528 0 528 0 528 0 528 0 528 42.5197 528 42.5197 528 42.5197 528 42.5197 0 42.5197 0 42.5197 0 42.5197 0 42.5197 0 0 0 0 "

...

And what is the indexing protocol for

BACKITEM
BACKPAGE
NEXTITEM
NEXTPAGE

the default value seems to be -1.

but when there is a numeric index what object addressing scheme does it refer to?