-
Type: New Feature
-
Status: Resolved
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: arender-2.0.0
-
Component/s: None
-
Tags:
User story
As a user, I want to select/unselect the layer(s) available on the PDF file I'm viewing, so that I can decide which one(s) are displayed/hidden in the rendering.
Description
The goal is to add a section on the Arender view which contain:
- the list of all the layers available on the PDF file,
- a checkbox to check/uncheck all layers (meaning display or hide all layers)
- a checkbox per layer to display/hide each of them
Acceptance criteria
- Given I'm a user with read permissions, And I have opened a PDF with layers, When I go to the Arender view (Annotations tab), Then I can see a layer section.**
- Given I'm a user with read permissions, And I have opened a PDF without layers, When I go to the Arender view (Annotations tab), Then there is no layer section.
- Given I'm a user with read permissions, And I have opened a PDF with layers, When I go to the Arender view (Annotations tab), And I click on uncheck all layers, Then the PDF is displayed without any layer.
- Given I'm a user with read permissions, And I have opened a PDF with layers, When I go to the Arender view (Annotations tab), And I click on check all layers, Then the PDF is displayed with all the layers.
- Given I'm a user with read permissions, And I have opened a PDF with layers, When I go to the Arender view (Annotations tab), And I click on uncheck a given layer, Then the PDF is displayed without the unchecked layer.
- Given I'm a user with read permissions, And I have opened a PDF with a layer defined as displayed by default, When I go to the Arender view (Annotations tab), Then the layer is checked by default and the PDF is displayed with the layer.
- Given I'm a user with read permissions, And I have opened a PDF with a layer defined as NOT displayed by default, When I go to the Arender view (Annotations tab), Then the layer is unchecked by default and the PDF is displayed without the layer.