Quantcast
Channel: Reports & Macros
Viewing all articles
Browse latest Browse all 1118

Escape Sequences (\t) has a problem with OutputDOCX format

$
0
0

Hi,

I'm just copying the necessary snippets.

Files = Context.createOutputObject(Constants.OUTWORD, "example.doc", Constants.MEDIASIZE_A4);
Files.OutputLnF("DOCUMENT NUMBER:\t\tRELEASE/REVISION:\t\t\tRELEASE/REVISION DATE:", "C_Arial8");
The output file .doc generated with the above code is separated by tabs, where as the below code doesn't.
Files = Context.createOutputObject(Constants.OutputDOCX, "example.docx", Constants.MEDIASIZE_A4);
Files.OutputLnF("DOCUMENT NUMBER:\t\tRELEASE/REVISION:\t\t\tRELEASE/REVISION DATE:", "C_Arial8");
The below flag doesn't have any effect on the output whether it is true \ false.
Context.setProperty("use-new-output", true);

Just to make sure this is not a problem with MS office, I wrote VBScript to generate word documents in .doc and .docx formats with text having (vbtab - escape character that works as \t) tab. The output has tab between the strings.

Can you reproduce the problem? How can we resolve this problem.

Thank you very much in advance for your help and support.

Version: 7.2.4.843889(SR2013_05)

 

 

 


Viewing all articles
Browse latest Browse all 1118

Trending Articles