P
Prashant
Hi all,
I am doing some word automation with C#. Here is my problem
1) I have word template file (.dot) file
2) I have couple of predefine bookmark in this template (.dot) file
3) From c# I am opening this template and searching for the
particular
bookmark and run time assigning value for the bookmark.
For example following is my bookmark in three lines.
A_B_C_D P_Q_R
C_Y_T_Z R_V_N
R_M_W_Q J_E_K
now based on condition i am putting different value for these
bookmark. Also I am checking if the
value for "P_Q_R" tocken if its null I am checking value of "R_V_N"
tocken it its found the replacing 'A_B_C_D" value with "C_Y_T_Z" value
& "P_Q_R" value with "R_V_N" value.
everthing working fine BUT BASED ON RUN TIME TEXT ON LEFT
TOCKEN(bookmark) RIGHT SIDE value is not align.
for example
Hello h r u 100.55
fine 54.12
C# programming 102.85
Highly appreciate your help & any suggestion; I am really stuck with
this problem, as I am working very first time with WORD automation
with C#
thanks a lot
pbrathod
I am doing some word automation with C#. Here is my problem
1) I have word template file (.dot) file
2) I have couple of predefine bookmark in this template (.dot) file
3) From c# I am opening this template and searching for the
particular
bookmark and run time assigning value for the bookmark.
For example following is my bookmark in three lines.
A_B_C_D P_Q_R
C_Y_T_Z R_V_N
R_M_W_Q J_E_K
now based on condition i am putting different value for these
bookmark. Also I am checking if the
value for "P_Q_R" tocken if its null I am checking value of "R_V_N"
tocken it its found the replacing 'A_B_C_D" value with "C_Y_T_Z" value
& "P_Q_R" value with "R_V_N" value.
everthing working fine BUT BASED ON RUN TIME TEXT ON LEFT
TOCKEN(bookmark) RIGHT SIDE value is not align.
for example
Hello h r u 100.55
fine 54.12
C# programming 102.85
Highly appreciate your help & any suggestion; I am really stuck with
this problem, as I am working very first time with WORD automation
with C#
thanks a lot
pbrathod