Hello,
Can you please tell me why I get this error?
I have created a new document from scratch. Whenever I try and apply a default built-in style to a praragraph, I get the error “Style ‘Heading 1’ cannot be found in the stylesheet” (except for “Normal” which works ok). I have also tried using the built in enum:
r_WordDocBuilder.ParagraphFormat.StyleName = Aspose.Word.StyleIdentifier.Heading1
Do I need to add these styles to the document? If so, is it possible to do this dynamically, and how do I do it?
Thanks,
Mark