xmlgraphics-fop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 18801] New: - "visibility" property is not implemented
Date Tue, 08 Apr 2003 07:56:28 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18801>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18801

"visibility" property is not implemented

           Summary: "visibility" property is not implemented
           Product: Fop
           Version: 0.20.4
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: general
        AssignedTo: fop-dev@xml.apache.org
        ReportedBy: martin.aubele@gmx.de


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
to:
  <property>
    <name>visibility</name>
    <inherited>false</inherited>
   <!-- 
    original code:
    <datatype>ToBeImplemented</datatype>
    <default>visible</default>
    changed my martin.aubele@gmx.de
    -->
    <datatype>Enum</datatype>
    <enumeration>
      <value const="VISIBLE">visible</value>
      <value const="HIDDEN">hidden</value>
      <value const="COLLAPSE">collapse</value>
      <value const="INHERIT">inherit</value>
    </enumeration>
  </property>

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);

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org


Mime
View raw message