SWS Questionnaires
  • Introduction
  • Data and Layout
    • Data
    • Layout
  • Processes
    • Specification Lifecycle Management
    • Campaign Lifecycle Management
    • Questionnaire Lifecycle Management
    • User and Rights Management
    • At a Glance
  • Software
    • Architecture
      • From Module to Application
      • sws-questionnaires
      • sws-forms
    • Design
      • Model
        • Common Objects
        • Questionnaires
        • Parameters
        • Selections
        • Layout
          • Theme
          • Common Properties
          • Components
        • Collections
        • Campaigns
      • Processes
        • Generation
        • Loading
        • Rendering
        • Export
Powered by GitBook
On this page
  • Page
  • Title
  1. Software
  2. Design
  3. Model
  4. Layout

Components

What follow are the components of the layout language, along with their custom properties.

Note that:

  • when unspecified, property names coincide with types.

  • when unspecifed, default are missing.

  • unless otherwise specifed, property values are optional.

  • complex properties ma_y give names and _may override defaults of the properties they aggregate.

Page

A page of the questionnaire and a root container of the layout. It does not predefine any child component.

  • type: page

  • property:

    • name: name

    • type: content

    • mandatory: true

  • property:

    • name: password (Excel)

    • type: text

    • default: 123

  • property:

    • name: columns (Excel)

    • type: number

Title

A top-level heading.

  • type: title

  • property:

  • type: content

  • property:

  • type: style

By default:

  • style.size.standard-size=large.

  • style.h-aligment=center.

  • style.v-aligment=center.

  • style.color=${theme.background}.

  • style.font.size.size-standard=xlarge

  • style.font.color={theme.font.background}

PreviousCommon PropertiesNextCollections

Last updated 6 years ago