Document toolboxDocument toolbox

LMS-137 Add ability to insert Small Caps

Feature summary request

Add ability to insert Small Caps. It needs to work in the Editor for Bills and for Amendment lists, and it needs to generate PDFs for Bills and Amendment lists.

Original description

Background

In the Lords, a Member tabled an amendment to change all instances of the word “Tradition” to “Traditions”. This included an amendment to a word in the schedule heading.

The Lords wanted to the word to be in small caps in the amendment. I tested using <inline name="smallCaps"> around the text. It worked when I tested it in a bill. The Editor (CSS) showed the mark up and the PDF also showed the mark up. However, it did not work in the PDF generated for the amendment - the CSS was good though.

To test:

  1. Create an amendment

  2. Insert some text

  3. Open up the XML view

  4. Add the <inline name="smallCaps"> tags around a word in the instruction

  5. Check the Editor displays the text in small caps

  6. Check the PDF displays the text in small caps

Expected result: the marked up text should be in small caps

Actual result: the marked up text was in normal font.

There is a workaround to use latin small case symbols instead. There is a ticket to handle this as a formatting option in the Editor: LDAPP-350. Can this ticket be updated to include in the context of amendments and ensure that the PDF is correct for amendment instruction also.


Status

Feature logged

Lawmaker components affected

Editor

Raised by organisation(s)

HoL

Planned version to be included in (if any)

 

Related development ticket(s)

LDAPP-350