Sha256: ae416ea4b65be439e22c588c11f9baf3fe638efcfad9bf4901b3a44df1bc12f8

Contents?: true

Size: 1.28 KB

Versions: 8

Compression:

Stored size: 1.28 KB

Contents

{
  "title": "TextFlowBlock",
  "name": "textflow_block",
  "description":"Multi line text block, inheriting all properties from Block and TextBlock.",
  "type":"object",
  "extends": "text_block",
  "properties":{
    "alignment":{
      "description": "Alignment for lines in a paragraph.",
      "type": "string",
      "enum": ["left","center","right","justify"],
      "default": "left"
    },
    "verticalalign":{
      "description": "Vertical alignment for the text.",
      "type": "string",
      "enum": ["top","center","bottom","justify"],
      "default": "top"
    },
    "leading":{
      "description": "Line height(distance between text baselines). In points or as percentage of the font size.",
      "type": ["number","string"],
      "default": "100%"
    },
    "shrinklimit":{
      "description": "Max. percentage for text shrinking, if it does not fit the box.",
      "type": "string",
      "default": "85%"
    },
    "fitmethod ":{
      "description": "If the text does not fit: auto => fontsize and leading will be decreased until the text fits. nofit => Text will run beyond the bottom margin of the block. clip => Text will be clipped at the block margin.",
      "type": "string",
      "enum": ["auto","nofit","clip"],
      "default": "auto",
      "required": true
    }
  }
}

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
happypdf_json_schema-0.1.5 schema/v1.0/textflow_block.json
happypdf_json_schema-0.1.4 schema/v1.0/textflow_block.json
happypdf_json_schema-0.1.3 schema/v1.0/textflow_block.json
happypdf_json_schema-0.1.2 schema/v1.0/textflow_block.json
happypdf_json_schema-0.1.1 schema/v1.0/textflow_block.json
happypdf_json_schema-0.1.0 schema/v1.0/textflow_block.json
happypdf_json_schema-0.0.3 schema/v1.0/textflow_block.json
happypdf_json_schema-0.0.2 schema/v1.0/textflow_block.json