15. September 2005 um 09:04 #1 Hi,I would like to load a template from file.I use the following code to load the template into wprichedit Code WPToolsEdit.WPRichEdit1.ParStyles.loadfromFile( filename, true ) WPToolsEdit.WPRichEdit1.ReformatAll( true, true ); But I can't see the styles.redardsfrank[/code]
23. September 2005 um 13:42 Offizieller Beitrag #2 ParStyles.loadfromFile can be used only with a style sheet saved with ParStyles.saveToFile.To load a document template use WPRichText.LoadFromFile.