Changeset 7389 for main


Ignore:
Timestamp:
19 Dec 2011, 12:24:13 (13 years ago)
Author:
uli
Message:

Add interface for PDFs.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/interfaces.py

    r7358 r7389  
    890890        kind of validation or similar fails.
    891891        """
     892
     893class IPDF(Interface):
     894    """A PDF representation of some context.
     895    """
     896
     897    def __call__(view=None):
     898        """Create a bytestream representing a PDF from context.
     899
     900        If `view` is passed in additional infos might be rendered into
     901        the document.
     902        """
Note: See TracChangeset for help on using the changeset viewer.