Jump to content

using both tagged text and a formatted resource in same rule


jshobar

Recommended Posts

I am looking to create a rule (that returns tagged text) that uses both tagged text and formatted text resources. I can accomplish the above by having a separate rule return the formatted text resource and then using that rule in the tagged text.

 

return "<f name=\"Helvetica\"><z newsize=\"18.0\">TEXT TEXT TEXT "+"<variable name=\"return_TextResource\">";

 

where "return_TextResource" is a rule that contains:

 

return Resource("TextResource");

 

I was wondering if there is a way to access the formatted text resource directly and not have to create a separate rule that only returns the formatted tagged text.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...