Use the json below as a default row, column or cell template when you are starting a new Corporate Tables configuration.
The template should be located in one of the following paths within the client's SDUP, depending on whether it is a row, column or cell template:
...files\ProgramData\OfficeExtensions\Content\SkabelonDesign.CorporateTables\rows
...files\ProgramData\OfficeExtensions\Content\SkabelonDesign.CorporateTables\columns
...files\ProgramData\OfficeExtensions\Content\SkabelonDesign.CorporateTables\cells
The template below works with the attached color template that can be found in the bottom of this present article. This file should be located in the following path:
...files\ProgramData\OfficeExtensions\Content\SkabelonDesign.CorporateTables\colors
Copy the json below and paste it into a new .json file in Visual Studio Code. Afterwards, you can replace the value for each property with the value needed. All of these are described in this article, while Visual Studio Code eases the configuration by showing all available values for each property when you press CTRL+SPACE.
Notice that you have to add the URL for the json schema in the $schema
property (line 2 in below json). Use one of the following depending on whether it is a row, column or cell template:
https://releases.blob.core.windows.net/corporatetables/schemas/CellTemplateSchema
https://releases.blob.core.windows.net/corporatetables/schemas/ColumnTemplateSchema
https://releases.blob.core.windows.net/corporatetables/schemas/RowTemplateSchema
It is always a good idea to only include those parameters that are actually needed and thus omit null properties. In this way, we can keep the configurations clean and simple, but also prevent the program from crashing since not all parameters can be set to null.
{
"$schema": "URL HERE",
"Design": {
"BackgroundColor": {
"Key": "BackgroundColor"
},
"Font": {
"Name": null,
"Size": null,
"SizeOverridePp": null,
"Bold": true,
"Italic": null,
"Underline": null,
"Color": {
"Key": "FontColor"
}
},
"WordStyle": null,
"ExcelCellFormatting": null,
"LineSpacing": {
"Spacing": null,
"Rule": null
},
"Alignment": {
"Horizontal": null,
"Vertical": null
},
"Margin": {
"Left": null,
"Top": null,
"Right": null,
"Bottom": null
},
"Borders": {
"Vertical": {
"Color": null,
"BorderWeight": null,
"BorderWeightOverridePp": null,
"Type": null,
"Visible": false
},
"Horizontal": {
"Color": null,
"BorderWeight": null,
"BorderWeightOverridePp": null,
"Type": null,
"Visible": false
},
"Left": {
"Color": null,
"BorderWeight": null,
"BorderWeightOverridePp": null,
"Type": null,
"Visible": false
},
"Top": {
"Color": {
"Key": "BorderColor"
},
"BorderWeight": "Pt1",
"BorderWeightOverridePp": null,
"Type": "Solid",
"Visible": true
},
"Right": {
"Color": null,
"BorderWeight": null,
"BorderWeightOverridePp": null,
"Type": null,
"Visible": false
},
"Bottom": {
"Color": {
"Key": "BorderColor"
},
"BorderWeight": "Pt1",
"BorderWeightOverridePp": null,
"Type": "Solid",
"Visible": true
}
}
},
"OverrideColorTheme": null,
"DefaultColorTheme": "default.json",
"TemplateName": null
}
Comments
0 comments
Article is closed for comments.