Hi Arved

 

Thanks!

 

I’ll might look into adding some kind of sorting to the fo-tree. Actually, what i did in the project i’m working on was exactly the same J Before converting my HTML-layers into fo:block-container, i performed a merge sort on the array holding the layers to be written. Writing the fo:block-containers in “z-index order” then produces the desired result. Anyway, i think i might look into adding the z-index feature to FOP, as i don’t like my own workaround ..

Also, why is it that the z-index property isn’t also a property on the fo:block-container, but only on fo:block?

 

Regards

Jesper

 

-----Original Message-----
From: Arved Sandstrom [mailto:[EMAIL PROTECTED]
Sent: 12. april 2002 01:52
To: [EMAIL PROTECTED]
Subject: RE: z-index status

 

Well, here are some thoughts. As no doubt you have already gathered from Section 4.9.6 of the spec and also 5.4.5 most of the work is in the renderer. Take into account that areas presented to the renderer are in a hierarchical structure, _and_ also that areas can be relatively positioned or might be fixed. It sure looks to me at first glance like z-index may require two passes, with actual rendering occurring on the second pass, and the first pass being used to create a different area hierarchy, ordered by stacking layer, with positional calculations already carried out.

 

This is the hard part and I don't think it will be exactly trivial but it should be fun.

 

Inspection of the code should inform you readily as to how the property is made known to FOP and how you would ensure that

 

1) inheritance according to 5.4.5 happens properly; and

 

2) a z-index property on FO x is placed on generated areas as a trait of the same name, so that it is available to the renderer.

 

Any further questions and we'll be happy to help.

 

Regards,

Arved Sandstrom

-----Original Message-----
From: Jesper Thorhauge (JTH) [mailto:[EMAIL PROTECTED]
Sent: April 10, 2002 10:44 AM
To: [EMAIL PROTECTED]
Subject: z-index status

Hi

 

I can see that z-index haven’t been implemented yet...i’ve read other posts where people had the same problem as me, namely converting HTML stuff (layers etc.) with z-index into PDF. Also, if anyone can guide me into the task of implementing z-index, i would be glad to help ..! I would hate to do some nasty workarounds in my application, re-arranging block-container’s etc. etc........

 

Med venlig hilsen / Best regards,

 

Zenaria as

 

Jesper Thorhauge

Programmer

 

Aalborg

Niels Jernes Vej 14

DK-9220 Aalborg E

Denmark

 

P:  +45 70 133 900

D: +45 49 148 775

F:  +45 70 133 901

E: [EMAIL PROTECTED]

 

 

*****************Internet Email Confidentiality Footer******************

Privileged/Confidential Information may be contained in this message.  If you are

not the addressee indicated in this message (or responsible for delivery of the

message to such person), you may not copy or deliver this message to anyone. In

such case, you should destroy this message and kindly notify the sender by reply

email. Please advise immediately if you or your employer does not consent to

Internet email for messages of this kind.  Opinions, conclusions and other

information in this message that do not relate to the official business of my firm

shall be understood as neither given nor endorsed by it.

 

Reply via email to