Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Introduction

To insert a Part, Chapter or other “grouping” level around existing provisions like sections, you need to use the wrap function.

To remove a Part, Chapter or other “grouping” level without removing the provisions witin the Part etc., you use the unwrap function.

How to wrap a provision

To wrap one or more provisions:

  1. Select the provisions you want to wrap

  2. Either:

    • right-click within the selected provisions in the structure view or the Editor and select Wrap element…,

    • from the toolbar select Tools>Wrap element… or

    • use the keyboard shortcut Alt+w.

  3. Select from the menu that appears the element (e.g. Part) that you want to wrap the provisions with.

Selecting provisions to wrap

To select the provisions you want you can either:

  • Select the provisions in the structure view - see Using the structure view.

  • Highlight the provisions in the Editor by dragging your cursor from the beginning to the end of them (or vice versa).

Info
  • Lawmaker will only show the elements that you can validly wrap the selection in. This will depend on the document type and the provisions you have selected but can also depend on the parent provisions, e.g. you can only wrap provisions in a Chapter if they are already within a Part. You can’t wrap provisions in an element they are already wrapped with, e.g. provisions already within a cross-heading cannot be wrapped in a cross-heading.

  • To wrap provisions, Lawmaker will take a lock on the parent of those provisions. If it can’t get a lock (because someone else is editing the parent) then you won’t be able to complete the wrap operation.

The following tables summarise the wrap options dependent on your selection.

In bills (including Acts)

Selected provision(s)

Wrap option (depending on context)

Part

Group of Parts

Chapter

Part

Cross heading

Part

Chapter

Section

Part

Chapter

Cross heading

Schedule paragraph

Part

Chapter

Cross heading

In SI/SSIs

Selected provisions being wrapped

Wrap option

Part

Group of parts

Chapter

Part

Section

Part

Chapter

Sub-section

Part

Chapter

Section

Cross heading

Part

Chapter

Section

Sub-section

Regulation (or article etc.)

Part

Chapter

Section

Sub-section

Cross-heading

Schedule paragraph

Part

Chapter

Section

Sub-section

Cross-heading

How to unwrap provisions

Place your cursor in the provision you wish to remove through an ‘unwrap’ function:

  • Right-clicking on the provision in the Structure view or Editor view, or

  • Using the keyboard short-cut Alt + e

  • Select ‘Unwrap element’

The system will attempt to acquire a lock on the appropriate document fragment if it hasn’t got one already before it will remove the provision from the document, leaving behind the child provisions

As well as ‘wrap’ it is possible to ‘unwrap’ provisions.  This is when you want to remove a higher-level grouping provision e.g. a part which contains a set of sections/regulations, without deleting the sections/regulations. 

An ‘unwrap’ operation can be performed on the following provisions:

  • Group of parts

  • Part

  • Chapter

  • Sections (for SIs only)

  • Sub-sections (for SIs only)

  • Cross heading

  • Sch Part

  • Sch Chapter

  • Sch Cross heading

  • Sch Sections (for SIs only)

  • Sch Sub-sections (for SIs only)

Info

Hints and tips

If you unwrap a part and there is already a part left in the document, the provisions that were in the removed part will move into the remaining part

If the grouping level being unwrapped has siblings:

  • If it was the first sibling – the child provisions will be automatically moved into the second sibling

  • if it was second or later sibling – the child provisions will be automatically moved into the previous grouping level sibling

If you are in the middle of unwrapping a sequence of higher-level grouping elements, you might trigger the validation rule (causing red underlining) e.g. removing a Part which contained Chapters.  If you continue unwrapping the Chapters, this will cancel the validation rule.