Bold formatting that shows on the AppSheet PDF document.

Hello,

I'm developing a document automation application and I need help. I want to simulate a bold formatting that will also be applied to the PDF document later. However, as everyone knows, there's no formatting control in AppSheet. Nevertheless, I'm trying to achieve this using Unicode characters ("a", "๐—ฎ", "b", "๐—ฏ", "c", etc.). I managed to create a SUBSTITUTE formula to replace values in the [Ressalvas] column of my table. However, I would like a mechanism that replaces values with Unicode characters only where the text is enclosed between "**" characters (for example, *CONSIDERING* the law n. *8.666/2023*, so it becomes ๐—–๐—ข๐—ก๐—ฆ๐—œ๐——๐—˜๐—ฅ๐—œ๐—ก๐—š the law n. ๐Ÿด.๐Ÿฒ๐Ÿฒ๐Ÿฒ/๐Ÿฎ๐Ÿฌ๐Ÿฎ๐Ÿฏ). Do you have any ideas for a formula that could accomplish this? I'm sure this would help a lot of us.

SUBSTITUTE formula i'm using:

 

 

SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE([Ressalvas], "a", "๐—ฎ"),
"b", "๐—ฏ"
),
"c", "๐—ฐ"
),
"d", "๐—ฑ"
),
"e", "๐—ฒ"
),
"f", "๐—ณ"
),
"g", "๐—ด"
),
"h", "๐—ต"
),
"i", "๐—ถ"
),
"j", "๐—ท"
),
"k", "๐—ธ"
),
"l", "๐—น"
),
"m", "๐—บ"
),
"n", "๐—ป"
),
"o", "๐—ผ"
),
"p", "๐—ฝ"
),
"q", "๐—พ"
),
"r", "๐—ฟ"
),
"s", "๐˜€"
),
"t", "๐˜"
),
"u", "๐˜‚"
),
"v", "๐˜ƒ"
),
"w", "๐˜„"
),
"x", "๐˜…"
),
"y", "๐˜†"
),
"z", "๐˜‡"
),
"A","๐—”"
),
"B","๐—•"
),
"C","๐—–"
),
"D","๐——"
),
"E","๐—˜"
),
"F","๐—™"
),
"G","๐—š"
),
"H","๐—›"
),
"I","๐—œ"
),
"J","๐—"
),
"K","๐—ž"
),
"L","๐—Ÿ"
),
"M","๐— "
),
"N","๐—ก"
),
"O","๐—ข"
),
"P","๐—ฃ"
),
"Q","๐—ค"
),
"R","๐—ฅ"
),
"S","๐—ฆ"
),
"T","๐—ง"
),
"U","๐—จ"
),
"V","๐—ฉ"
),
"W","๐—ช"
),
"X","๐—ซ"
),
"Y","๐—ฌ"
),
"Z","๐—ญ"
),
"0","๐Ÿฌ"
),
"1","๐Ÿญ"
),
"2","๐Ÿฎ"
),
"3","๐Ÿฏ"
),
"4","๐Ÿฐ"
),
"5","๐Ÿฑ"
),
"6","๐Ÿฒ"
),
"7","๐Ÿณ"
),
"8","๐Ÿด"
),
"9","๐Ÿต"
)

 

 

Thanks,

Daniel

0 1 209
1 REPLY 1

The way I've done it before is as follows, where you want text sometimes in bold and red and sometimes normal

<<IF([Check]=TRUE,"black text","")>><<IF([Check]=FALSE,"bold and red","")>>

 So that for each condition you have a complete formula. 

But you can't mix and match formating between the << >>.  So this wouldn't work

<<IF([Check]=TRUE,"black text","bold and red",)>>

Hope this helps ๐Ÿ™‚

Simon, 1minManager.com 

Top Labels in this Space