wpcubed.com Forum Index wpcubed.com
WPCubed GmbH Support Forum
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

AssignHeaderTo missing in v5.

 
Post new topic   Reply to topic    wpcubed.com Forum Index -> FAQ WPTools Upgrade to 5 and 6
View previous topic :: View next topic  
Author Message
gsaunders



Joined: 01 Jun 2007
Posts: 70

PostPosted: Fri Jun 01, 2007 8:22 pm    Post subject: AssignHeaderTo missing in v5. Reply with quote

My coworker had the following code:


Code:
DBWPRTAppendix.AssignHeaderTo(WPRtfStorageHeader.RTFText);


How would this now be achieved since AssignHeaderTo no longer exist?


Last edited by gsaunders on Tue Jun 05, 2007 12:51 pm; edited 1 time in total
Back to top
View user's profile Send private message
gsaunders



Joined: 01 Jun 2007
Posts: 70

PostPosted: Mon Jun 04, 2007 7:42 pm    Post subject: Reply with quote

Anyone?
Back to top
View user's profile Send private message
wpsupport
Site Admin


Joined: 24 Oct 2003
Posts: 5658

PostPosted: Wed Jun 20, 2007 10:56 am    Post subject: Reply with quote

Hi,

this is the FAQ - this is why the question was overlooked.

Usually the RTFStoreage has to be replaced by a simple string. That can be loaded using the AsString property which existis in both, the TWPRichText and the TWPRTFDatabLock.RTFText property.

DBWPRTAppendix.AssignHeaderTo(WPRtfStorageHeader.RTFText);

would be converted to

var WPRtfStorageHeader : string;

WPRtfStorageHeader :=
DBWPRTAppendix.Geat(wpIsHeader, wpraAllPages).RTFtext.AsString.

Julian
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    wpcubed.com Forum Index -> FAQ WPTools Upgrade to 5 and 6 All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group