from reportlab.lib.pagesizes import letter import string from cStringIO import StringIO from zope.component import getMultiAdapter ##code-section module-header #fill in your manual code here ##/code-section module-header ##code-section after-local-schema #fill in your manual code here ##/code-section after-local-schema Wordy_schema = BaseSchema.copy() + \ ScriptishSchema.copy() + \ WordySchema.copy() + \ BlockishSchema.copy() ##code-section after-schema #fill in your manual code here ##/code-section after-schema class Wordy(BaseContent, BrowserDefaultMixin): """ """ security = ClassSecurityInfo() implements(interfaces.IWordage,interfaces.IContainer) meta_type = 'Wordy' _at_rename_after_creation = True
from Products.CMFCore.utils import getToolByName from interfaces import IContainer, IBlock import interfaces from BlockishSchema import BlockishSchema from ScriptishSchema import ScriptishSchema from Products.Five.browser import BrowserView from Acquisition import aq_inner, aq_parent ##code-section module-header #fill in your manual code here ##/code-section module-header ##code-section after-local-schema #fill in your manual code here ##/code-section after-local-schema Container_schema = OrderedBaseFolderSchema.copy() + BlockishSchema.copy() + ScriptishSchema.copy() ##code-section after-schema #fill in your manual code here ##/code-section after-schema class ContainerView(BrowserView): """ """ def __init__(self, context, request): """ """ self.context = context self.request = request