Versions Compared

Key

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

...

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

...

  • 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).

How to unwrap provisions

To unwrap provisions do one of the following:

  • Right-click on the grouping level provision you want to remove in the Structure view and select Unwrap element.

  • Right-click on the provisions in the Editor and select Unwrap element.

  • Use the keyboard shortcut Alt+e.

This will remove the grouping level provision but not the content within it, e.g. if you unwrap a Part then the Part will be deleted, but not any sections within the Part.

When you unwrap a provision, Lawmaker will move the existing contents of that provision into another sibling provision if it exists so as to maintain a valid document structure:

  • If the unwrapped provision was the first of its kind, its contents will be moved to the next provision of the same kind, e.g. if you unwrap the first Part in a document, then the contents of that Part will be moved to the beginning of what was the second Part.

  • if the unwrapped provision was the second or later one of its kind, its contents will be moved into the previous provision of the same kind, e.g. if you unwrap the last Chapter within a Part then the contents of that Chapter will be moved to the end of the previous Chapter.

Note

It is possible sometimes by unwrapping a specific provision to create an invalid document structure, e.g. in some cases by unwrapping a Part that contains Chapters. You will see a warning about this in the Document Checks panel. To fix the issue, you may need to unwrap further provisions.

Wrap options

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

...

Bills and 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

...

SIs and SSIs

Selected provisions(s)

Wrap option (depending on context)

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

You can unwrap provisions by:

  • Right-clicking on the grouping level provision you want to remove in the Structure view and selecting Unwrap element

  • Right-clicking on the provisions in the Editor and selecting Unwrap element

  • Using the keyboard shortcut Alt+e

...

Provisions that can be unwrapped

You can unwrap the following provisions:

  • Group of Parts

  • Part

  • Chapter

  • Section (SI/SSIs only)

  • Sub-section (SI/SSIs only)

  • Cross-heading

...

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

...