Brian Dunning's FileMaker Custom Functions

SVG_HTML_to_Text ( _svg_text ; _orig_text ;

Converts FMs svg to FM formatted Text

  Average rating: 5.0 (2 votes) Log in to vote

Ralph   Ralph
C8 Development
http://C8D.de

Share on Facebook Share on Twitter

  Sample input:

\"font-family: 'Times New Roman Bold';font-size: 20px;color: #000000;font-weight: bold;text-align: center;\", begin: 1, end: 5
\"font-family: 'Times New Roman Bold';font-size: 36px;color: #000000;font-weight: bold;text-align: center;\", begin: 6, end: 26


für


#Vorname# #Nachname#


  Sample output:
für¶¶#Vorname# #Nachname#

  Function definition: (Copy & paste into FileMaker's Edit Custom Function window)

This function converts SVG-Text from FileMakers function GetAsSVG back into FileMaker formatted Text.
My purpose was to transfer FileMaker formatted Text via JBDC/XML with MirrorSync. Usually Text formatting is disregarded when syncing with Mirrorsync.

I used the following CFs, so they are prerequisites:

ParseData CF -> http://www.briandunning.com/cf/559

color_convert_hex CF -> http://www.briandunning.com/cf/2036

HTMLencoded2Text -> http://www.fmfunctions.com/functions_display_record.php?functionId=178

 

Comments

Log in to post comments.

 

Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.

Under construction. Email me your wish list for improvements.