We are able to push Word styles into tables made with Corporate Tables. To do this, it is necessary to have a document that contains the referenced styles from the template located in one of the folders here:
...\ProgramData\OfficeExtensions\Content\SkabelonDesign.CorporateTables
How to do it
1) Create the aforementioned document and save it in a folder in the path above. The document must be located next to the json (table, row or column). This document must be named after the template. As an example, if the file name of the template is named TableTemplate.json, the name of the document must be TableTemplate.json.docx.
2) When a table template is created in the builder, there is a property in the Design sheet called WordStyle. This property takes a string as value, and the string must be the name of the certain style that is saved in the document. For instance, this could be "Table - Header Right".
3) Open a new document in Word and create a table with Corporate Tables. The user will be prompt with a dialog box that asks to save the document (if is has never been saved), in order to copy the styles from the styles document.
4) Press CTRL+ALT+SHIFT+S
to open Styles, where the implemented styles can be seen and modified.
Styles will be pushed before the entire formatting with help from Corporate Tables. For instance, if a style where the font is Arial and size is 8 is pushed, but it is dictated to be Calibria size 10 in Corporate Tables, the style will be pushed anyway even though it will be Calibria size 10.
Comments
0 comments
Article is closed for comments.