Fri Mar 08, 2019 10:16 pm
Hi Nina,
Thank you for your reply.
Can i check if is possible to get the Cloned Text to convert into HTML raw data(which gives my styles/fonts/line breaks etc):
For example:
1.Text in Word document --
(1) Earnings as an employee, in relation to any person and any tax year, does not include any amount paid to the person (person A) for services he or she per-forms for his or her spouse or partner (person B), as person B’s employee or otherwise.
(2) However, subsection (1) does not apply if person B, in order to calculate his or her income for the purposes of the Income Tax Act 2007, has made a written application for, and obtained, the Commissioner’s consent to a deduction being made for any amounts paid by person B to person A for the services person A performs.
Expected Out Put As:
<ul>
<li style="text-align: justify; text-justify: inter-ideograph; text-indent: -29.8pt; line-height: 109%; tab-stops: 57.0pt; margin: 0cm 27.3pt .0001pt 57.0pt;"><strong><span style="font-size: 11.5pt; line-height: 109%;">Earnings as an employee</span></strong><span style="font-size: 11.5pt; line-height: 109%;">, in relation to any person <a href="http://www.google.co.nz">and any tax year</a>, does not include any amount paid to the person (<strong>person A</strong>) for services he or she per-forms for his or her spouse or partner (<strong>person B</strong>), as person B’s employee or otherwise.</span></li>
</ul>
<p style="line-height: 1.65pt;"><span style="font-size: 11.5pt;"> </span></p>
<ul>
<li style="text-align: justify; text-justify: inter-ideograph; text-indent: -29.8pt; line-height: 107%; tab-stops: 57.0pt; margin: 0cm 27.3pt .0001pt 57.0pt;"><span style="font-size: 11.5pt; line-height: 107%;">However, subsection (1) does not apply if person B, in order to calculate his or her income for the purposes of the <a href="http://prd-lgnz-nlb.prd.pco.net.nz/pdflink.aspx?id=DLM1512300"><span style="color: windowtext; text-decoration: none; text-underline: none;">Income Tax Act 2007, </span></a>has made a written application for, and obtained, the Commissioner’s consent to a deduction being made for any amounts paid by person B to person A for the services person A performs.</span></li>
</ul>