adhocracy_core.sheets.document module

Sheets to store a document.

interface IDocument[source]

Extends: adhocracy_core.sheets.subresources.ISubResources

Marker interface for the document sheet.

interface ISection[source]

Extends: adhocracy_core.interfaces.ISheet, adhocracy_core.interfaces.ISheetReferenceAutoUpdateMarker

Marker interface for the section sheet.

interface IParagraph[source]

Extends: adhocracy_core.sheets.document.ISection

Marker interface for the paragraph sheet.

interface DocumentElementsReference[source]

Extends: adhocracy_core.interfaces.SheetToSheet

Document elements reference.

class DocumentSchema(*arg, **kw)[source]

Bases: adhocracy_core.schema.MappingSchema

Document sheet data structure.

elements: structural subelements like sections

class ParagraphSchema(*arg, **kw)[source]

Bases: adhocracy_core.schema.MappingSchema

Paragraph Section sheet data structure.

content: Text documents: Documents referencing this paragraph

includeme(config)[source]

Register sheets.