What is wrong with this RTF code?
Microsoft Word loads the defined styles, places the section break in the correct position, but does not assign the styles to the text. Why?
{\rtf1\ansi\uc1\deff0
{\fonttbl
{\f0 \fnil\fcharset0 Times New Roman;}
{\f1 \fnil\fcharset0 Arial;}
}
{\colortbl;
\red255\green0\blue0;
\red0\green0\blue255;
\red255\green0\blue255;}
{\stylesheet
{\li720 Xojo Paragraph Style;}
{\s1 \f1 Xojo Paragraph;}
{\*\cs1 \b\f1\fs28\cf1 If Not Nil Style;}
{\*\cs2 \fs32\cf2 Xojo Style;}
}
\paperw11900\paperh16840
\margl1417\margr1417\margt1417\margb1134
\deftab708
{Section 1}
{\par }
{{\cs1 Paragraph 2} \sect }
\sectd
{{\cs1 Section 2}
\par }
{Paragraph 2
\par }
}