Bug 18801 - [PATCH] "visibility" property is not implemented
[PATCH] "visibility" property is not implemented
Status: NEW
Product: Fop - Now in Jira
Classification: Unclassified
Component: general
Other other
: P2 normal
: ---
Assigned To: fop-dev
Depends on:
  Show dependency tree
Reported: 2003-04-08 07:56 UTC by Martin Aubele
Modified: 2012-10-31 13:27 UTC (History)
2 users (show)

Implement visibility for fo:block (7.50 KB, patch)
2011-04-29 17:24 UTC, Jerome Robert
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Aubele 2003-04-08 07:56:27 UTC
The property visibility is not implemented.
I would need especially the visibility="hidden" behavior for block elements.

Proposal for the fix for Block:

1. Change the definition of the visiblity property in foproperties.xml
    original code:
    changed my martin.aubele@gmx.de
      <value const="VISIBLE">visible</value>
      <value const="HIDDEN">hidden</value>
      <value const="COLLAPSE">collapse</value>
      <value const="INHERIT">inherit</value>

2. Put the following line at the beginning of Block#layout:

Property visibility = this.properties.get("visibility");
if (visibility != null && visibility.getEnum() == Visibility.HIDDEN)
  return new Status(OK);
Comment 1 Jerome Robert 2011-04-29 17:24:40 UTC
Created attachment 26943 [details]
Implement visibility for fo:block

This patch for the current trunk implement the visibility property for fo:block only. I would be glad to hear how to improve it or to see it applied on the trunk.
Comment 2 Glenn Adams 2012-04-11 03:22:05 UTC
increase priority for bugs with a patch
Comment 3 carsten.pfeiffer 2012-10-31 13:26:43 UTC
Ping. Any update on this?