Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tags applied to Alternative Text #1

Open
hafedh-trimeche opened this issue Jan 26, 2019 · 0 comments
Open

Tags applied to Alternative Text #1

hafedh-trimeche opened this issue Jan 26, 2019 · 0 comments

Comments

@hafedh-trimeche
Copy link

hafedh-trimeche commented Jan 26, 2019

Would Tags be parsed when located in Alternative Text as normal text ?

When the parser detects a Tag inside the Alternative Text, it will replace the original Text content.

By this way, the template will be kept more Representative.

rtf

Please also note that the OnGetCustomTagValue is fired twice when setting custom Tag = {Tag0} !
`
function TMainForm.CustomTagValue(const Tag: AnsiString;var Value: string):Boolean;
begin
Result := True;
if SameText(Tag,'Tag0') then Value := 'xxxx';
end;

`

Best Regards.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant