We can insert a tab stop in the selected paragraph using this command. It will apply the tab stop only to the first of the selected paragraphs. We can define the position, leader, and alignment of the tab stop, and optionally adjust the paragraph's indentation. This command does very little on its own and is intended to be used in conjunction with other commands.
CMD
This command is called: BaseExtensions:Insert-tabstop
<Cmd case="BaseExtensions:Insert-tabstop" Position="LeftIndent" AdjustIndentation="true" />
<Cmd case="BaseExtensions:Insert-tabstop" Position="12" Alignment="wdRight" Leader="wdTabLeaderDashes" AdjustIndentation="true" />
Parameters
Position
Positioning of the tabstop in the paragraph. This can either be "LeftIndent" to place it on the left margin of the document, or it could be a custom input in centimeters.
Default value is "LeftIndent" which will place it on the left margin.
Alignment
Defines which alignment the tabstop should have from this list WdAlignmentTabAlignment. It defines which direction the text at the tabstop runs. Default is wdLeft.
Leader
Specifies which tableader we should use, this is the line between start to end of the tabstop and it can be selected from this wdtableader. Default is wdTabLeaderSpaces which is just a blank space.
AdjustIndentation
True/false if the paragraph should adjust its indentation with the tabstop. If true we use what is the default tabstop-indent set in the activedocument. This can be found, and changed, by right clicking any paragraph in the document and selection "Paragrapgh" -> "Tabs...". This can be useful if we are building on a list for example. Default value is false.
Comments
0 comments
Please sign in to leave a comment.