I checked the poi.hslf.model.shape's reference, found nothing indicates a
"z-index" property of a Shape model.
I did some experiments, tried to modify the "z-index" of a paricular shape
in my PowerPoint, then serialized the EscherRecord.
Finally found that the EscherSpRecord of that Shape at offset 0x08 seems
describe the object's "z-index".

I'm not sure if it is just the right place but it works for me, maybe I just
need to check the PPT format to ensure that.


P.S. The list below is the serialized bytes of EscherSpRecords under
different "z-index" situations.

Sp
------
 2 4 10 -16 8 0 0 0 2 16 0 0 0 10 0 0

Sp
------
 2 4 10 -16 8 0 0 0 4 16 0 0 0 10 0 0

Sp
------
 2 4 10 -16 8 0 0 0 3 16 0 0 0 10 0 0


(when a shape is set to be at the bottom, the z-index reads "2")


-- 
-________________________-

Sincerely,
killkeeper

School of Life Science and Technology
University of Electronic Science and Technology of China

Reply via email to