Convert Document with TabStops

Hi,

I have a document I am trying to convert which uses tab stops. I am trying to figure out how to determine the positioning of runs/text with respect to the tab stops.

For example, I have the following single run in a paragraph (with \T being the tab char):

para text = Single\T$1 to $9,525\T10%

para format = StyleIdentifier=User;LeftIndent=82.8;

have 5 tab stops
align=Left isClear=False leader=None position=198
align=Left isClear=False leader=None position=320.4
align=Decimal isClear=False leader=Dots position=342
align=Decimal isClear=False leader=Dots position=396
align=Decimal isClear=False leader=Dots position=417.6

In the run there are three texts (Single, $1 to $9, and 10%) that need to be displayed. I am uncertain which tab stop should be used for each text.

I am assuming the first text (Single) should be at the left indent (since there is no preceding tab char)

It seems that I must be able to either make a function call to determine what table stop is used for the second text ($1 to $9) or I must be able to measure the width (in points) of the first text (Single) to determine where the rendering is (i.e. x position) within the tab stops.

Any help would be appreciated.

Mike

@mike-2

To ensure a timely and accurate response, please attach the following resources here for testing:

  • Your input Word document.
  • Please attach the output document that shows the undesired behavior.
  • Please attach the expected output document that shows the desired behavior.
  • Please create a standalone console application ( source code without compilation errors ) that helps us to reproduce your problem on our end and attach it here for testing.

As soon as you get these pieces of information ready, we will start investigation into your issue and provide you more information. Thanks for your cooperation.

PS: To attach these resources, please zip and upload them.