How to replace/remove/change font color of a character at in output

Hi all,
I am using rtf template to get the output of a report, however i have a condition for field "Narratives" where if field A contains 'X', I need to either get rid of the 'X', replace with '' or change the font of X to white.
Meaning if the output is : My Name is BavaniX
I need it to look like : My Name is Bavani
I use the BI Publisher desktop tool to create the placeholders. Highly appreciate if someone could advise me on how to replace with '' or change X to white font or remove the X using the BI desktop tool.
The placeholder right now looks like this <?(NARRATIVES)?>.
Thank you.

if you want to replace also look at
How to remove underscore in xml tag
Re: How to remove underscore in xml tag
Edited by: AlexAnd on Aug 2, 2012 5:55 AM

Similar Messages

  • TS4000 How to show and change Fonts, color, etc, on iCloud NOTES ?

    How can I apply the same features as in this toolbar make text
    modifications in my iCloud "NOTES" ??

    Notes on icloud is very limited.
    Tell Apple...
    http://www.apple.com/feedback/

  • How do you set the font color for a specific entire row inside a JTable?

    How do you set the font color for a specific entire row inside a JTable?
    I want to change the font color for only a couple of rows inside a JTable.
    I've seen some ways to possibly do this with an individual cell.
    Clarification on changing the font color in an individual cell would be helpful too if
    there is no easy way to do this for a row.

    hai,
    Try out with this piece of code.Create your table and assign the renderer to each column in the table.
    CellColorRenderer m_CellColorRenderer = new CellColorRenderer();
    for(int i=0;i<your_JTable.getColumnCount();i++)
    your_JTable.getColumnModel().getColumn(i).setCellRenderer(m_CellColorRenderer);
    class CellColorRenderer extends JLabel implements TableCellRenderer
    CellColorRenderer()     
    setOpaque(true);     
    setHorizontalAlignment(LEFT);
    setVerticalAlignment(CENTER);
    setBackground(Color.white);
    setForeground(Color.black);
    protected void setValue(Object value)
         setText((value == null) ? "" : value.toString());
    public Component getTableCellRendererComponent(JTable table,Object value,boolean isSelected, boolean hasFocus, int row,int column)
         if(isSelected == true)
              setForeground(Color.red);
         else
              setForeground(Color.black);
         setValue(value);
         return this;
    regards,
    bala

  • JSP - Changing font color

    Hi,
    Does anyone know if it is possible to change the font color on a jsp page with a condition.
    example: if qty1 > qty2
    change font color to red
    else
    font color black
    end if;
    Is there anywhere I can put a condition like this?
    Thanks,
    Mary

    Hi Mary,
    You have to create a format trigger for your condition. Then you can reference the format trigger inside your JSP report in the <rw:field> tag. From the Reports Builder Help, the syntax is:
    <rw:field id="field_id" src="object_name" [breakLevel="level"]
    [breakValue="break_value"] [nullValue="null_value"] [containsHtml="HTML_value"]
    [formatMask="format_mask"] [formatTrigger="format_trigger"] [urlEncode="encode_value"] >
    [tag body]
    </rw:field>
    You need to populate the formatTrigger attribute. Pl see Reports Builder Help for more information.
    Navneet.

  • How do I change font colors in the navigation bar

    I'm designing a new website for my son's high school lacrosse team. It looks great, and I hope to upload it in the next week. The one thing that I haven't been able to do is change the font colors and font type in the page navigation links a the top of the pages. Can anyone help me with this?

    I outlined methods to change iweb navbar in this thread:
    http://discussions.apple.com/thread.jspa?messageID=11004066&#11004066
    and cited inefficient of building text base/box navbar:
    http://discussions.apple.com/thread.jspa?messageID=8136472&#8136472

  • How can I change font color on mail?

    How can I make it so all emails start with an altered font color? Thanks!

    i just trialed it out, and under the prefs you have to select what font you want, and above it theres are little icons with the different font colours, theres like the colour spectrum circle thing, you should be able to take a selection, apply it and its all done.
    sorry i cant help more

  • Change font color in Report Code causes font size to change.

    I am trying to dynamically change the font color in a report, red for negative, green for positive and blue for 0. I have created a report region and here is my code:
    select city_name,
    py_re_taxable,cy_re_taxable,
    decode(sign(re_chg),-1,'<font color="red">'||re_chg||'</font>',
    0,'<font color="blue">'||re_chg||'</font>',
    1,'<font color="green">'||re_chg||'</font>','') RE_CHG
    from rc_dashboard_recap a, lk_city_code b
    where b.tax_year = :CURRENT_TAX_YEAR
    and a.city_code = b.city_code
    and userid = :GLOBAL_USER
    order by 1
    This code works great except it overrides my css text size and shows up as a page default size. I can't seem to figure out why this happens. This also happens when I try to sum a column. I've set my font size to 11 in my css and it is calling it correctly, however with the above code, my font size shows up at 12 or so.
    I am looking at the code (view source from my page and it shows the correct class
    <td class="t3dataalta" align="right" ><font color="red">-13.98</font>
    in my css:
    td.t3dataalta{font-size:11px;padding:2px;padding-left:5px;padding-right:5px;}
    If I remove the decode statements with the font color then my font size is correct, but I need to figure out how to make the colors work.
    Does anyone have any ideas?
    Thank You

    select city_name,
    py_re_taxable,cy_re_taxable,
    decode(sign(re_chg),-1,'font color="red"'||re_chg||'/font',
    0,'font color="blue"'||re_chg||'/font',
    1,'font color="green"'||re_chg||'/font','') RE_CHG
    from rc_dashboard_recap a, lk_city_code b
    where b.tax_year = :CURRENT_TAX_YEAR
    and a.city_code = b.city_code
    and userid = :GLOBAL_USER
    order by 1
    Here is my query, I removed the < and > signs in the code so that you could see what I have done.

  • My Excel with PowerPivots acts weird, it hangs when i try to change font color

    Hi 
    I am facing a weird issue using PowerPivot in my workbook, there is a worksheet named Charts in my workbook and all the charts i am using resides in that worksheet. Whenever i try to change the font color in that sheet, my excel's color palette goes blur
    and then everything just freezes and turns black. This problem is happening only with Charts worksheet, when i try to change the color in other sheets, it works just, the problem is only with Charts sheet. File
    size is 16 MB, there are just 10 pivot tables with some calculations and some calculated fields. There are no add-ins other than PowerPivot. 
    Thanks,
    Shanker

    Hi,
    In regarding of the issue, please provide us more information to assist you better.
    Do you receive any error message?
    Which Excel version are you using?  Excel 2013 or other?
    Which workbook format are you using? XLS or XLSX?
    Are you performing any specific task?
    According to your description, this issue seems only occur with the special worksheet "Charts".
    Firstly, I recommend we copy all of the content to a new/blank Excel file to test.
    If it works fine, this issue might be caused by the "Charts" workbook itself. We'd better check the "Charts" workbook. Or re-build the file with a new workbook.
    If it still makes Excel hang with a new file, this issue might due to the content. Please check the content first.
    Secondly, we could follow below KB to troubleshoot this issue:
    https://support2.microsoft.com/kb/2758592/en-us?wa=wsignin1.0
    Thirdly, if the issue still exists, we may try to collect the Event log and App crash dump file to do advanced troubleshooting.
    Event log:
    http://windows.microsoft.com/en-US/windows7/Open-Event-Viewer
    App crash dump file:
    First enable app crash dump collection by copying following words into notepad, saving it as dump.reg and importing
    it:
    Windows Registry Editor Version 5.00
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Error Reporting\localdumps\EXCEL.EXE]
    "DumpFolder"=hex(2):63,00,3a,00,5c,00,63,00,72,00,61,00,73,00,68,00,64,00,75,\
      00,6d,00,70,00,73,00,00,00
    "DumpCount"=dword:00000010
    "DumpType"=dword:00000001
    "CustomDumpFlags"=dword:00000000
    Then, open Excel
    to repro the issue. If crash issue appeared, please find the crashdump file under c:\.
    To further help you, please upload this file into Skydrive and shared the link here.
    Also, you can try to analyze dump by yourself if you would like to:
    How to analyze app crash dump file:
    http://blogs.technet.com/b/askperf/archive/2007/05/29/basic-debugging-of-an-application-crash.aspx
    Hope it's helpful.
    Regards,
    George Zhao
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • Change font color in reports depending on condition

    I have an application that generates a number of new records at
    the click of a button, which the user can then modify through
    several report-form links. My users have requested that the data
    appear in one color in the reports if they have not yet updated
    the records, and that they change color, permanently, when
    updated. I'm not sure how to accomplish this. I do well with
    PLSQL, but I think this is probably a Javascript issue(?) - or
    is it possible to specify font color of a report when you call a
    URL?
    Any ideas anyone?

    Thank you, both Michaels. I was excited. I was sure this would
    work, so I added the updated_by fields to all my reports (they
    should be useful anyway). I worked on a couple of other issues
    related to this, and returnred this morning to add the HTML font
    tags to my report queries. I CAN'T MAKE IT WORK! I've attached
    my code, and error message. Any thoughts on what I'm doing
    wrong? Thanks.
    (Note: The query works fine without the HTML tags.)
    My code:
    select '<font color=red>'||activity.act_text||'</font>' act_text,
    from Activity, survey, temp
    where activity.survey_id = survey.survey_id and
    survey.survey_id = temp.survey
    Error message:
    Unable to describe SQL statement. Please correct it (WWV-13010)
    Invalid SQL statement: SELECT '<FONT
    COLOR=RED>'||ACTIVITY.ACT_TEXT||'</FONT>' ACT_TEXT, FROM
    ACTIVITY, SURVEY, TEMP WHERE ACTIVITY.SURVEY_ID =
    SURVEY.SURVEY_ID AND SURVEY.SURVEY_ID = TEMP.SURVEY (WWV-13005)
    ORA-01001: invalid cursor (WWV-11230)
    ORA-00936: missing expression (WWV-11230)
    Failed to parse as MCHBGA - SELECT '<FONT
    COLOR=RED>'||ACTIVITY.ACT_TEXT||'</FONT>' ACT_TEXT, FROM
    ACTIVITY, SURVEY, TEMP WHERE ACTIVITY.SURVEY_ID =
    SURVEY.SURVEY_ID AND SURVEY.SURVEY_ID = TEMP.SURVEY (WWV-08300)
    I appreciate your help. I'm tearing my hair out.
    Karli

  • Change font color in the Text Field of a Popup Key LOV

    Hello,
    I have a question concerning Popup Key LOV.
    I want to change the font color in the Text Field of the Popup Key LOV Item.
    I searched the forum but I cannot find an answer about this! Although I searched the CSS and the Popup Key LOV Template, but I do not know where to modify the font color.
    Has anyone an idea how to solve that problem?
    Regards,
    Tim

    Hey,
    thank for your reply!
    I use style="color:#000000;" and it work in Firefox, but not in Internet Explorer 7.0!
    And that is not the first time, that there are differences in displaying those tags in the HTML Form Element Attributes and in css files, etc.
    Does anybody know I to solve that?
    Thank you,
    Tim

  • In Earthlink WebMail when inserting an email address or weblink, the text no longer turns blue and underlines, and I can't change font colors. IE Works.

    Whenever I try to insert an email address or a link to a website, I no longer get the automatic hyperlink (turning blue and underlining). Also if I try to change the font color on some text it either doesn't change from black or it changes to a different color. (If I try to change to red, I get dark green; change to a bright green, I get dark red; change to blue or yellow, I get black).
    I tried removing and reinstalling Firefox to no avail. Earthlink is clueless.
    This all works properly using Internet Explorer.

    When you have a problem with one particular site, a good "first thing to try" is clearing your Firefox cache and deleting your saved cookies for the site.
    (1) Bypass Firefox's Cache
    Use Ctrl+Shift+r to reload the page fresh from the server.
    (You also can clear Firefox's cache completely using:
    orange Firefox button ''or'' Tools menu > Options > Advanced
    On the Network mini-tab > Cached Web Content : "Clear Now")
    (2) Remove the site's cookies (save any pending work first) using either of these. While viewing a page on the site:
    * right-click and choose View Page Info > Security > "View Cookies"
    * Alt+t (open the classic Tools menu) > Page Info > Security > "View Cookies"
    Then try reloading the page. Does that help?
    These features rely on JavaScript, and it sounds as though you have scripting enabled if you get (the wrong) color changes. Some add-ons might alter the way scripts operate, so a standard diagnostic to bypass interference by extensions (and some custom settings) is to try Firefox's Safe Mode.
    First, I recommend backing up your Firefox settings in case something goes wrong. See [[Backing up your information]]. (You can copy your entire Firefox profile folder somewhere outside of the Mozilla folder.)
    Next, restart Firefox in Firefox's Safe Mode ([[Safe Mode]]) using
    Help > Restart with Add-ons Disabled
    In the dialog, click "Start in Safe Mode."
    If those features work correctly, this points to one of your extensions or custom settings as the problem.
    To also disable plugins, you can use this page:
    orange Firefox button ''or'' classic Tools menu > Add-ons > Plugins category
    Any change?

  • Changing Font color

    Simple question: How do I change the color of lifetype font to anything but black/white??? This isn't animation color, just simple text. I see the ability to change the color for everything like shadow and outline, but not the text itself. where is this??? Thanks

    Highlight the track that has your font on it.
    Go to the Inspector and click the Attributes tab. Click the color swatch in the lower 1/3 of the window.
    Choose your color.

  • Changing font color in a report using SQL query for APEX 5.0

    Hello,
    I am testing APEX 5.0 in my testing environment to see if I can migrate my internal apps from 4.2 to 5.0.
    How can I change the font color in a field based in the SQL query? I know how to do it in 4.2 but I can't find the same in 5.0.
    Thanks,

    Well, I used to put the html tags in the select as text getting the color value depending a CASE , then I had to change the Display attribute for the column in the report as "Display as text (espace special characters...)".
    I found an old post here: https://tylermuth.wordpress.com/2007/12/01/conditional-column-formatting-in-apex/ and  this method still worked for me in APEX 5.0
    Thanks anyways

  • How to replace missing Keynote Font

    I just switched from MS powerpoint to Keynote. I could not be happier, well I could but I am happy
    The problem I have is that I ahve a good number of older presentations that I am working on that having missing fonts. I know how to add fonts to font book but I just want to replace hte missing fonts in keynote.
    So I select each text box and set font to arial, close reopen same missing font. I try applying master to slide close reopen same missing font. I cannot seem to find where hte missing font is actually used. Anyone have any ideas?

    I am also having the same problem, but with Keynote presentations made on a G4 Lap Top which now have "missing" fonts (Arial is the most bothersome) when I open them on a MacBook Pro (same version of Keynote on both).
    If I attempt to replace the font Keynote has substituted for Arial with Arial (yes, Arial still appears in the list of fonts) and save the presentation, when I reopen it, the Arial is missing again!
    Looking around on the internet I saw some indications that the problem may stem from the font name having been changed from ArialMS to ArialMT, but there was no solution suggested.
    MacBook Pro   Mac OS X (10.4.9)  

  • Changing Font Colors on Master Slides

    I really like Keynote compared to Powerpoint, but I am having a problem making one change to the master theme slides. I am able to change the look, font, etc. on the master slides of a theme, but I cannot figure out how to change the font color in the master slides. Which means that when I am using Portfolio, for instance, which I like, I have to change each slide's font color from gray to black, which is easier to read. I would rather do that on the master slides, but have been unsuccessful thus far.
    Any help would be appreciated. it doesn't make sense that you could revise the masters in just about any way EXCEPT font color. So I must be missing something.

    You change the font color on the master slide, the same way you change it on any other slide. Click view, then Show Master Slides, then select the slide and change it the way you do a regular slide.

Maybe you are looking for

  • HT1430 iPhone 4s keypad the "o" and return button are not working - solutions?

    iPhone 4s keypad, the "o" and the return button are not working. Upgraded the software, now the "o" works in the verticle position only, and the return works in the horizontal position only. Help!

  • Yamaha rxv 2700 using ethernet cable- is it possible

    i have a yam rxv 2700 amp that has network capability ive connected from the old type express using the ethernet port on both but the amp doesn't find any thing and itunes says no speakers connected. is there a way around the problem. or do i have to

  • About ASM and SAN...

    Hello Guys, I have to implement 3 nodes RAC 10gR2 ob centOS4 operating system. I have study so many documents about rac instaltion and configurations. I have learn how to set the network requirements with private, public and virtual IPs and all other

  • Failing to update the apps

    required to sign in to itunes and when i submitted the password the update button just keep loading and then it just stop there. it doesnt update the apps

  • In AS Java, what is the list of URL entries?

    In AS ABAP we have transaction SICF that lists each and every URL combination that the AS ABAP processes.  Is there anything comparable on the java side?  Pouring through documentation for the few entry URLs for each application doesn't seem sufficie