Skip to content

Commit

Permalink
textTransform is only used at the beginning of the paragraph, sadly.
Browse files Browse the repository at this point in the history
  • Loading branch information
strichter committed Apr 10, 2018
1 parent 00d22a5 commit eee8d7b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/z3c/rml/stylesheet.py
Expand Up @@ -75,12 +75,6 @@ class ISpanStyle(interfaces.IRMLDirectiveSignature):
description=u'The background color of the span.',
required=False)

textTransforms = attr.Choice(
title=u'Text Transforms',
description=u'Text transformations.',
choices=interfaces.TEXT_TRANSFORM_CHOICES,
required=False)


class SpanStyle(directive.RMLDirective):
signature = ISpanStyle
Expand Down Expand Up @@ -188,6 +182,12 @@ class IBaseParagraphStyle(ISpanStyle):
description=(u'Allow orphans.'),
required=False)

textTransforms = attr.Choice(
title=u'Text Transforms',
description=u'Text transformations.',
choices=interfaces.TEXT_TRANSFORM_CHOICES,
required=False)

endDots = attr.String(
title=u'End Dots',
description=u'Characters/Dots at the end of a paragraph.',
Expand Down

0 comments on commit eee8d7b

Please sign in to comment.