Use the json below as a default table template when you are starting a new Corporate Tables configuration.
The table template should be located in the following path within the client's SDUP:
...files\ProgramData\OfficeExtensions\Content\SkabelonDesign.CorporateTables\tables
The table 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. Make sure to save it in the right location.
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.
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": "https://releases.blob.core.windows.net/corporatetables/schemas/TableTemplateSchema",
"Design": {
"BackgroundColor": {
"Key": "BackgroundColor"
},
"Font": {
"Name": null,
"Size": null,
"SizeOverridePp": null,
"Bold": null,
"Italic": null,
"Underline": null,
"Color": {
"Key": "FontColor"
},
"BulletColor": {
"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": {
"Key": "BorderColor"
},
"BorderWeight": "Pt0_5",
"BorderWeightOverridePp": null,
"Type": "Solid",
"Visible": true
},
"Horizontal": {
"Color": {
"Key": "BorderColor"
},
"BorderWeight": "Pt0_5",
"BorderWeightOverridePp": null,
"Type": "Solid",
"Visible": true
},
"Left": {
"Color": null,
"BorderWeight": null,
"BorderWeightOverridePp": null,
"Type": null,
"Visible": false
},
"Top": {
"Color": null,
"BorderWeight": null,
"BorderWeightOverridePp": null,
"Type": null,
"Visible": false
},
"Right": {
"Color": null,
"BorderWeight": null,
"BorderWeightOverridePp": null,
"Type": null,
"Visible": false
},
"Bottom": {
"Color": null,
"BorderWeight": null,
"BorderWeightOverridePp": null,
"Type": null,
"Visible": false
}
},
"FirstRow": {
},
"LastRow": {
}, "FirstColumn": {
},
"LastColumn": {
},
"BandedRow": {
"Item": {
},
"Type": "BandFirst",
"EndType": "EndBefore"
},
"BandedColumn": {
"Item": {
},
"Type": "BandFirst",
"EndType": "EndBefore"
}
},
"TemplateName": "Standard",
"DefaultVariant": {
"Name": "Standard",
"ColorThemePath": "default.json",
"TableWidth": null,
"TableWidthPercentage": null,
"FirstColumnWidth": null,
"DefaultRowHeight": null,
"Options": {
"FirstRow": false,
"LastRow": false,
"FirstColumn": false,
"LastColumn": false,
"BandedRows": false,
"BandedColumns": false
},
"ShowInWord": true,
"ShowInPowerPoint": true,
"ShowInExcel": true,
"AllowAutoFit": false
},
"Variants": null
}
Comments
0 comments
Article is closed for comments.