class ITemplate(interfaces.IRMLDirectiveSignature): """Define a page template.""" occurence.containing(occurence.OneOrMore('pageTemplate', IPageTemplate), ) pagesize = attr.PageSize(title=u'Page Size', description=u'The Page Size.', required=False) rotation = attr.Integer( title=u'Rotation', description=u'The rotation of the page in multiples of 90 degrees.', required=False) leftMargin = attr.Measurement( title=u'Left Margin', description=u'The left margin of the template.', default=0, required=False) rightMargin = attr.Measurement( title=u'Right Margin', description=u'The right margin of the template.', default=0, required=False) topMargin = attr.Measurement( title=u'Top Margin', description=u'The top margin of the template.', default=0, required=False) bottomMargin = attr.Measurement( title=u'Bottom Margin', description=u'The bottom margin of the template.', default=0, required=False) showBoundary = attr.Boolean( title=u'Show Boundary', description=u'A flag to show the boundary of the template.', required=False) allowSplitting = attr.Boolean( title=u'Allow Splitting', description=u'A flag to allow splitting over multiple templates.', required=False) title = attr.Text(title=u'Title', description=u'The title of the PDF document.', required=False) author = attr.Text(title=u'Author', description=u'The author of the PDF document.', required=False)
class IPageTemplate(interfaces.IRMLDirectiveSignature): """Define a page template.""" occurence.containing( occurence.OneOrMore('frame', IFrame), occurence.ZeroOrOne('pageGraphics', IPageGraphics), ) id = attr.Text(title=u'Id', description=u'The id of the template.', required=True) pagesize = attr.PageSize(title=u'Page Size', description=u'The Page Size.', required=False) rotation = attr.Integer( title=u'Rotation', description=u'The rotation of the page in multiples of 90 degrees.', required=False)
class IPageTemplate(interfaces.IRMLDirectiveSignature): """Define a page template.""" occurence.containing( occurence.OneOrMore('frame', IFrame), occurence.ZeroOrOne('pageGraphics', IPageGraphics), ) id = attr.Text(title=u'Id', description=u'The id of the template.', required=True) pagesize = attr.PageSize(title=u'Page Size', description=u'The Page Size.', required=False) autoNextTemplate = attr.String( title=u'Auto Next Page Template', description= u'The page template to use automatically for the next page.', required=False)
class ISimpleLabels(interfaces.IRMLDirectiveSignature): """A set of simple labels for a chart.""" occurence.containing(occurence.OneOrMore('label', ISimpleLabel), )
class ISlices3D(ISliceBase): """The collection of all 3-D slice descriptions.""" occurence.containing(occurence.OneOrMore('slice', ISlice3D), ) fillColorShaded = attr.Color(required=False)
class ISlices(ISliceBase): """The collection of all 2-D slice descriptions.""" occurence.containing(occurence.OneOrMore('slice', ISlice), )
class ILines(ILineBase): """The set of all line descriptions in the line plot.""" occurence.containing(occurence.OneOrMore('line', ILine), )
class ICategoryNames(interfaces.IRMLDirectiveSignature): """A list of category names.""" occurence.containing(occurence.OneOrMore('name', IName), )
class IData2D(interfaces.IRMLDirectiveSignature): """A 2-D data set.""" occurence.containing(occurence.OneOrMore('series', ISeries2D))
class ISpokeLabels(ISpokeLabelBase): """A set of spoke labels.""" occurence.containing(occurence.OneOrMore('label', ISpokeLabel))
class ISpokes(ISpoke): """A collection of spokes.""" occurence.containing(occurence.OneOrMore('spoke', ISpoke))
class IStrandLabels(IStrandLabelBase): """A set of strand labels.""" occurence.containing(occurence.OneOrMore('label', IStrandLabel))
class IStrands(IStrand): """A collection of strands.""" occurence.containing(occurence.OneOrMore('strand', IStrand))
class ITableRow(interfaces.IRMLDirectiveSignature): """A table row in the block table.""" occurence.containing(occurence.OneOrMore('td', ITableCell), )