Making text in SM30 record bold

Hi,
I have a table in SM30 that contains the text of an email thats sent via and ABAP program and function module SO_NEW_DOCUMENT_SEND_API1 .
Seems to just get the text and send as raw text so using <b> Text </b> isnt working.
Any ideas? or is there anyway way to send it via html or some other command to make the line bold in SM30
Thanks

Sure, here is now you can use HTML in your mail body,  just put the tags into the text and pass HTM as the doctype.
report zrich_0002.
data: maildata   like sodocchgi1.
data: mailtxt    like solisti1 occurs 10 with header line.
data: mailrec    like somlrec90 occurs 0  with header line.
start-of-selection.
  clear:    maildata, mailtxt,  mailrec.
  refresh:  mailtxt, mailrec.
  maildata-obj_name = 'TEST'.
  maildata-obj_descr = 'Test Subject'.
  mailtxt  = '<html>'.
  append mailtxt.
  mailtxt  = '<body>'.
  append mailtxt.
  mailtxt  = '<b>This is SAP</b>'.
  append mailtxt.
  mailtxt
   = '<a href="http:\\www.sap.com" target="_blank">SAP Hyperlink</a> '.
  append mailtxt.
  mailtxt  = '</body>'.
  append mailtxt.
  mailtxt  = '</html>'.
  append mailtxt.
  mailrec-receiver = '[email protected]'.
  mailrec-rec_type  = 'U'.
  append mailrec.
  call function 'SO_NEW_DOCUMENT_SEND_API1'
       exporting
            document_data              = maildata
            document_type              = 'HTM'
            put_in_outbox              = 'X'
       tables
            object_header              = mailtxt
            object_content             = mailtxt
            receivers                  = mailrec
       exceptions
            too_many_receivers         = 1
            document_not_sent          = 2
            document_type_not_exist    = 3
            operation_no_authorization = 4
            parameter_error            = 5
            x_error                    = 6
            enqueue_error              = 7
            others                     = 8.
endform.
REgards,
RIch Heilman

Similar Messages

  • Need Help : Urgent : Making one of the record Bold in a Table

    Hi Frds,
    I am new to OAF.......
    I am  facing the issue that i have to make one of the record bold in a table...........
    By using the query, i m trying to display the payslip
    It contains the list of Earnings ,Deductions and NetPay amount..........
    this is the part of the query........
    select payment_date,element_name,arabic_name,val,balance from
      select '0' flag,assignment_id,null payment_date,'Payslip for the Month'  element_name,to_char(payment_date,'Month-YYYY')arabic_name,
       null val, null balance from xx_payroll_info
    where 1 =1
    and payment_date = last_day(:2) 
    and assignment_id = (select assignment_id from xx_people_reporting_info
        where person_id = :1)
    union all
    select '1'flag,assignment_id,payment_date,element_name,arabic_name,
       value val,null,balance
      from xx_payslip_details_mv
    where 1 = 1
    and payment_date = last_day(:2)
    and earn_deduct = ('E')
    and assignment_id in (select assignment_id from xx_people_reporting_info)
    union all
    select '2' flag,assignment_id,payment_date,'Earnings-Total',null,sum(value) val,null
      from xx_payslip_detail_mv
    where 1 =1
    and payment_date = last_day(:2)
    and earn_deduct = 'E'
    and assignment_id in (select assignment_id from xx_people_reporting_info
           where 1 =1
                and person_id = :1 )
    group by assignment_id,payment_date
    My Requirement is : I have to make the Payslip For the month of , Date, Earnings-Total  into Bold.....  How can i do this.... plz... help me out in this......
    Thanks &Regards,
    Jaya

    Hi Jaya,
    Set CSS Class property as  OraDataText for respectiveb column.
    OR
    /In Controller PR
                    import oracle.cabo.style.CSSStyle;
                    CSSStyle customCss = new CSSStyle();
                     customUnCss.setProperty("text-transform","uppercase");
                     customUnCss.setProperty("font","bold 16px \"Trebuchet MS\", Verdana, sans-serif");//# -red
                     OAMessageStyledTextBean styledTextBean =(OAMessageStyledTextBean)webBean.findIndexedChildRecursive("POCommentsItem");
                     if(styledTextBean!=null)
                      styledTextBean.setInlineStyle(customUnCss);
           Thanks,
            Dilip

  • [ALV] Text in color and bold

    Hello,
    I have an ALV Grid and I would like one cell, with text color in red and in bold.
    I'm in OOP's with CL_GUI_ALV_GRID.
    I've tried like that :
    CONSTANTS :
                c_bold(4)           TYPE x       VALUE '00000020',
                c_red(4)            TYPE x       VALUE '00000017'.
    *-LAYOUT
      fe_layout-cwidth_opt = c_x.
      fe_layout-no_rowmark = c_x.
      fe_layout-info_fname = 'ROW_COLOR'.
      fe_layout-stylefname = 'CELLS_STYLES'.
    *-OUTTAB
      clear we_style.
      we_style-fieldname = 'XXXXX'.
      we_style-style = c_bold.
      we_style-style = c_red.
      insert we_style into table we_outtab-cells_styles.
    It doesne't work. The bold put the text color in black.
    There is a solution ?
    Thank you.

    Hello Bernard
    I checked my sample report and it shows that '00000037' yields the text in bold and red.
    '00000037' = '00000020' + '00000017'   !!!
    Below you find a modified version of the sample report:
      BREAK-POINT.
      CONSTANTS :
          c_bold(4)           TYPE x       VALUE '00000020',
          c_red(4)            TYPE x       VALUE '00000017'.
      CLEAR: ls_outtab2.
      REFRESH: lt_celltab.
      ls_outtab2-maxlen = 0.
      ls_outtab2-style  = c_bold.
      ls_outtab2-style2 = c_red.
      ls_style-style = c_bold + c_red.
      INSERT ls_style INTO TABLE lt_celltab.
      ls_outtab2-celltab = lt_celltab.
      INSERT ls_outtab2 INTO gt_outtab2 INDEX 1.
    ENDFORM.                    " FILL_OUTTAB2
    Entire report:
    *& Report  ZUS_SDN_ALV_STYLE_LIST
    *& Thread: [ALV] Text in color and bold
    *& <a class="jive_macro jive_macro_thread" href="" __jive_macro_name="thread" modifiedtitle="true" __default_attr="1191290"></a>
    *& Thread: color alv list display
    *& <a class="jive_macro jive_macro_thread" href="" __jive_macro_name="thread" modifiedtitle="true" __default_attr="1072435"></a>
    *& Thread: Hiliting the Specific rows in ALV grid
    *& <a class="jive_macro jive_macro_thread" href="" __jive_macro_name="thread" modifiedtitle="true" __default_attr="1062831"></a>
    *& Thread: Reg... coloring of rows
    *& <a class="jive_macro jive_macro_thread" href="" __jive_macro_name="thread" modifiedtitle="true" __default_attr="1041516"></a>
    *& Thread: Painting cell in alv with objects
    *& <a class="jive_macro jive_macro_thread" href="" __jive_macro_name="thread" modifiedtitle="true" __default_attr="1029759"></a>
    *& Thread: styles
    *& <a class="jive_macro jive_macro_thread" href="" __jive_macro_name="thread" modifiedtitle="true" __default_attr="830498"></a>
    *& Thread: Is it possible to assign color to manually modified record in tabcontrol?
    *& <a class="jive_macro jive_macro_thread" href="" __jive_macro_name="thread" modifiedtitle="true" __default_attr="878289"></a>
    *& The report generates style values and shows their effect in ALV grid.
    REPORT  zus_sdn_alv_cell_style_2.
    TYPE-POOLS: abap.
    TYPES: BEGIN OF ty_s_outtab.
    INCLUDE TYPE knb1.
    TYPES: celltab TYPE lvc_t_styl. " cell style
    TYPES: END OF ty_s_outtab.
    TYPES: ty_t_outtab TYPE STANDARD TABLE OF ty_s_outtab
    WITH DEFAULT KEY.
    TYPES: BEGIN OF ty_s_outtab2.
    INCLUDE TYPE lvc_s_styl.
    TYPES: celltab TYPE lvc_t_styl. " cell style
    TYPES: END OF ty_s_outtab2.
    TYPES: ty_t_outtab2 TYPE STANDARD TABLE OF ty_s_outtab2
    WITH DEFAULT KEY.
    DATA:
    gs_layout TYPE lvc_s_layo,
    gs_variant TYPE disvariant,
    gt_fcat TYPE lvc_t_fcat.
    DATA:
    gt_outtab TYPE ty_t_outtab,
    gt_outtab2  TYPE ty_t_outtab2.
    PARAMETERS:
      p_rows    TYPE i DEFAULT 200.
    START-OF-SELECTION.
      SELECT * FROM knb1 UP TO 100 ROWS
      INTO CORRESPONDING FIELDS OF TABLE gt_outtab
      WHERE bukrs = '1000'.
    **  data: gr_kunnr    type RANGE OF kunnr.
    **  SELECT kunnr as low from knb1 into CORRESPONDING FIELDS OF TABLE gr_kunnr
    **    WHERE bukrs = '1000'.
      PERFORM set_layout_and_variant.
      PERFORM set_cell_style.
    **  CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY_LVC'
    **    EXPORTING
    **      i_structure_name = 'KNB1'
    **      i_grid_title     = 'Cell Styles'
    **      is_layout_lvc    = gs_layout
    **      i_save           = 'A'
    **      is_variant       = gs_variant
    **    TABLES
    **      t_outtab         = gt_outtab
    **    EXCEPTIONS
    **      program_error    = 1
    **      OTHERS           = 2.
    **  IF sy-subrc = 0.
    **  ENDIF.
      PERFORM fill_outtab2.
    **  PERFORM fill_fieldcatalog_2.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY_LVC'
        EXPORTING
          i_structure_name = 'LVC_S_STYL'
          i_grid_title     = 'Cell Styles'
          is_layout_lvc    = gs_layout
          i_save           = 'A'
          is_variant       = gs_variant
    *      IT_FIELDCAT_LVC  = gt_fcat
        TABLES
          t_outtab         = gt_outtab2
        EXCEPTIONS
          program_error    = 1
          OTHERS           = 2.
      IF sy-subrc = 0.
      ENDIF.
    END-OF-SELECTION.
    *& Form SET_LAYOUT_AND_VARIANT
    FORM set_layout_and_variant .
      CLEAR: gs_layout,
      gs_variant.
      gs_layout-cwidth_opt = abap_true.
      gs_layout-stylefname = 'CELLTAB'.
      gs_variant-report = syst-repid.
      gs_variant-handle = 'STYL'.
    ENDFORM. " SET_LAYOUT_AND_VARIANT
    *&      Form  set_cell_style
    *       text
    FORM set_cell_style .
    * define local data
      CONSTANTS:
      lc_style_bold TYPE int4 VALUE '00000121',
      lc_style_red TYPE int4 VALUE '00000087',
      lc_style_cursive TYPE int4 VALUE '00008700',
      lc_style_underline_faint TYPE int4 VALUE '00008787',
      lc_style_underline TYPE int4 VALUE '00008707',
      lc_style_underline_red TYPE int4 VALUE '00008007'.
      DATA:
      ls_outtab TYPE ty_s_outtab,
      ls_style TYPE lvc_s_styl,
      lt_celltab TYPE lvc_t_styl.
      CLEAR: ls_style.
      ls_style-fieldname = 'BUKRS'.
      ls_style-style = '00000011'.    " make contents invisible
      INSERT ls_style INTO TABLE lt_celltab.
    **  CLEAR: ls_style.
    **  ls_style-fieldname = 'BUKRS'.
    **  ls_style-style = lc_style_bold.
    **  INSERT ls_style INTO TABLE lt_celltab.
    **  CLEAR: ls_style.
    **  ls_style-fieldname = 'KUNNR'.
    **  ls_style-style = lc_style_red.
    **  INSERT ls_style INTO TABLE lt_celltab.
    **  CLEAR: ls_style.
    **  ls_style-fieldname = 'ERDAT'.
    **  ls_style-style = lc_style_cursive.
    **  INSERT ls_style INTO TABLE lt_celltab.
    **  CLEAR: ls_style.
    **  ls_style-fieldname = 'ERNAM'.
    **  ls_style-style = lc_style_underline.
    **  INSERT ls_style INTO TABLE lt_celltab.
      ls_outtab-celltab = lt_celltab.
      MODIFY gt_outtab FROM ls_outtab
      TRANSPORTING celltab
      WHERE ( bukrs = '1000' ).
    ENDFORM. " SET_CELL_STYLE
    *&      Form  FILL_OUTTAB2
    *       text
    *  -->  p1        text
    *  <--  p2        text
    FORM fill_outtab2 .
    * define local data
      DATA: ls_outtab2  TYPE ty_s_outtab2,
            ld_num8(8)  TYPE n,
            ld_idx      TYPE i,
            ld_fname    TYPE fieldname,
            ld_perc     TYPE i,
            ld_text(50) TYPE c.
      DATA:
      ls_style TYPE lvc_s_styl,
      lt_celltab TYPE lvc_t_styl.
      FIELD-SYMBOLS: <ld_style>  TYPE lvc_style.
      ld_num8 = 0.
      DO p_rows TIMES.
        WRITE syst-index TO ld_text NO-ZERO.
        CONDENSE ld_text NO-GAPS.
        ld_perc = ( syst-index * 100 ) / p_rows.
        CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
          EXPORTING
            percentage = ld_perc
            text       = ld_text.
        CLEAR: ls_style,
           ls_outtab2.
        REFRESH: lt_celltab.
        ls_outtab2-maxlen = syst-index.
        MOVE ld_num8 TO ls_outtab2-style.
        ls_style-style = ls_outtab2-style.
        INSERT ls_style INTO TABLE lt_celltab.
        ls_outtab2-celltab = lt_celltab.
        APPEND ls_outtab2 TO gt_outtab2.
        ADD 1 TO ld_num8.
      ENDDO.
      BREAK-POINT.
      CONSTANTS :
          c_bold(4)           TYPE x       VALUE '00000020',
          c_red(4)            TYPE x       VALUE '00000017'.
      CLEAR: ls_outtab2.
      REFRESH: lt_celltab.
      ls_outtab2-maxlen = 0.
      ls_outtab2-style  = c_bold.
      ls_outtab2-style2 = c_red.
      ls_style-style = c_bold + c_red.
      INSERT ls_style INTO TABLE lt_celltab.
      ls_outtab2-celltab = lt_celltab.
      INSERT ls_outtab2 INTO gt_outtab2 INDEX 1.
    ENDFORM.                    " FILL_OUTTAB2
    *&      Form  FILL_FIELDCATALOG_2
    *       text
    *  -->  p1        text
    *  <--  p2        text
    FORM fill_fieldcatalog_2 .
    * define local data
      DATA: ls_fcat TYPE lvc_s_fcat,
            lt_fcat TYPE lvc_t_fcat.
      DATA: ld_fname  TYPE fieldname.
      CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'
        EXPORTING
    *     I_BUFFER_ACTIVE              =
          i_structure_name             = 'LVC_S_STYL'
    *     I_CLIENT_NEVER_DISPLAY       = 'X'
    *     I_BYPASSING_BUFFER           =
    *     I_INTERNAL_TABNAME           =
        CHANGING
          ct_fieldcat                  = lt_fcat
        EXCEPTIONS
          inconsistent_interface       = 1
          program_error                = 2
          OTHERS                       = 3.
      IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      DELETE lt_fcat WHERE ( fieldname NE 'STYLE' ).
      READ TABLE lt_fcat INTO ls_fcat INDEX 1.
      DO 16 TIMES.
        ls_fcat-fieldname = 'STYLE'.
        ls_fcat-col_pos = syst-index.
        WRITE syst-index TO ld_fname NO-ZERO.
        CONDENSE ld_fname NO-GAPS.
        CONCATENATE ls_fcat-fieldname ld_fname INTO ls_fcat-fieldname.
        APPEND ls_fcat TO gt_fcat.
      ENDDO.
    ENDFORM.                    " FILL_FIELDCATALOG_2
    Regards
      Uwe

  • Reading long text for more records at a time

    Hi all,
    We have a requirement for which that data like textid textname textobject  and language  must  be taken in to an internal table and for each record in the internal table i  have to read the long text inorder to compare the long text for the given search text.
    If i use Read_text inside the loop and endloop it works but it may not be appropriate in performance point of view.
    Is there any function module which can read long texts for more records at a time.
    The long text data in STXL will be in raw data format right? is there any way to convert raw data to normal so that by hitting the STXL i can read the long text data for more than one record at a time.
    Thanks in advance
    sanju.

    HI Sanju,
    Below is a code snippet which describes reading a long text frm the screen and appending it into the internal table.This code is actually to read the text from the screen and inserting a record into STXl and STXH.
    From your query what i understood is that you are storing the long text from the screen into a internal table and so you not want to use the read_text FM due to performance issue.
    Since tdline(tline table) is 132 char long format i use this small logic to read the screen data and append it to my internal table.
    *Data Declarations
      DATA: lv_strlen TYPE i,
            lv_create TYPE boolean,
            lv_desc TYPE string.
      DATA: ls_text TYPE tline,
            ls_basic_text TYPE stxh.
      DATA: lt_text TYPE ztty_tline_tab.
      CONSTANTS:
       lc_tdid TYPE  thead-tdid VALUE 'Z001',
       lc_tdobject TYPE thead-tdobject VALUE 'Z_ALERTS'.
    *Appending the text to the internal table.
      lv_strlen = STRLEN( iv_alert_text-alert_text ).
      lv_desc = iv_alert_text-alert_text.
      IF lv_strlen < 132.
        ls_text-tdformat = '*'.
        ls_text-tdline = lv_desc.
        APPEND ls_text TO lt_text.
      ELSE.
    *logic to wrap text
        DO.
          ls_text-tdformat = '*'.
          IF STRLEN( lv_desc ) < 132.
            ls_text-tdformat = '*'.
            ls_text-tdline = lv_desc.
            APPEND ls_text TO lt_text.
            EXIT.
          ENDIF.
          IF lv_desc+132(1) <> ' '.
            CONCATENATE lv_desc(131) '-' INTO ls_text-tdline.
            lv_desc = lv_desc+131.
          ELSE.
            ls_text-tdformat = '*'.
            ls_text-tdline = lv_desc(132).
            lv_desc = lv_desc+132.
          ENDIF.
          APPEND ls_text TO lt_text.
        ENDDO.
      ENDIF.
    Please award graciously if found helpful.Please do ask me if i have not answered you properly.
    Thank you.
    Message was edited by:
            P M Harish

  • HT201401 4s with latest software update will not power off, text will only vibrate, iPod only works with earphones. When I sync it with iTunes it works until power save mode starts, then back to not powering down, making text sounds, or playing iPod out l

    4s with latest software update will not power off, text will only vibrate, iPod only works with earphones. When I sync it with iTunes it works until power save mode starts, then back to not powering down, making text sounds, or playing iPod out loud.

    The Basic Troubleshooting Steps are:
    Restart... Reset... Restore from Backup...  Restore as New...
    Restart / Reset
    http://support.apple.com/kb/ht1430
    Backing up, Updating and Restoring
    http://support.apple.com/kb/HT1414
    If you try all these steps and you still have issues... Then a Visit to an Apple Store or AASP (Authorized Apple Service Provider) is the Next Step...
    Be sure to make an appointment first...

  • How to print out the text for Info record in ME23?

    Dear all,
    I need to print out a report of PO data. need to print out the text from Info record note (like the picture shown below) in ME23, how should I pull that field and display out?
    I need the solution urgently. Hope experts can help.
    Thank you very much.
    [http://img293.imageshack.us/img293/238/inforecordnd1.png]

    Please check below sample code:
    PARAMETERS: p_ebeln TYPE ebeln OBLIGATORY.
    TYPES: BEGIN OF ty_ekpo,
             ebeln TYPE ebeln,
             ebelp TYPE ebelp,
           END OF ty_ekpo.
    DATA: i_ekpo TYPE TABLE OF ty_ekpo,
          wa_ekpo TYPE ty_ekpo.
    DATA: l_name TYPE tdobname,
          i_tline TYPE TABLE OF tline,
          wa_tline TYPE tline.
    CONSTANTS: c_id   TYPE tdid VALUE 'F02',
               c_object TYPE tdobject VALUE 'EKPO'.
    AT SELECTION-SCREEN.
      SELECT SINGLE ebeln INTO p_ebeln
             FROM ekko
             WHERE ebeln = p_ebeln.
      IF sy-subrc NE 0.
        MESSAGE e001(00) WITH 'Enter valid PO Number'.
      ENDIF.
    START-OF-SELECTION.
      SELECT ebeln ebelp INTO TABLE i_ekpo
             FROM ekpo
             WHERE ebeln = p_ebeln.
      LOOP AT i_ekpo INTO wa_ekpo.
        CONCATENATE wa_ekpo-ebeln wa_ekpo-ebelp
           INTO l_name.
        CALL FUNCTION 'READ_TEXT'
          EXPORTING
            id                      = c_id
            language                = sy-langu
            name                    = l_name
            object                  = c_object
          TABLES
            lines                   = i_tline
          EXCEPTIONS
            id                      = 1
            language                = 2
            name                    = 3
            not_found               = 4
            object                  = 5
            reference_check         = 6
            wrong_access_to_archive = 7
            OTHERS                  = 8.
        IF sy-subrc EQ 0.
          LOOP AT i_tline INTO wa_tline.
            WRITE:/ wa_tline-tdline.
            " Format wa_tline-tdline in the way you need to print out
          ENDLOOP.
        ENDIF.
      ENDLOOP.
    Regards
    Eswar

  • Problem with making text 3D

    Making text a 3d repousse object is easy enough, but if I add filters to the text, select it and then try to make a repousse object FROM the selection, the text gets rendered in 3d, but
    there is no hole between letters like O and P and A. Is there anyway I can cut holes into these letters? If not then how else can I make 3d text with filters on them?
    Any help would be greatly appreciated, Thanks

    See if this helps:
    http://forums.adobe.com/message/4238532#4238532

  • How do make the text on a label Bold?

    Simple question: How do make the text on a label Bold?

    use html : label.setText("<html><body><b>TestText</b></body>/html>");
    regards,
    Tim

  • Disable Full Text Search in Records Management

    Hi Everyone,
    This is Shiva, we implemented SAP Records management & i am came in middle of this project. Right now client want to do some customizations in Records.
    Actually i need to disable Full Text Search under Records. Under Cross Query i disabled the Full text by the following process
    (Two sample element types are delivered with the service provider
    SRM_SP_QUERY:
    SRM_SPS_QUERY
    Search for records, documents, cases, record models and file plans
    SRM_SPS_QUERY_REC_DOC)
    Under(SPRO) Cross SP search based on Property Unification; you can able to disable the FullText search field(this will be effects only for Cross Query), but under Records, when you right click there will be one option called FIND in which i am unable to disable the FULL TEXT search.
    I used DMWB T-code under LOIO, i  search for Standard/free/instance attributes, but i didn't find any Full Text Search Field in that one.
    Can anyone please help me in this. I really appreciate your inputs & help.
    Thanks,
    Shiva.
    Edited by: Shivasap on Aug 2, 2010 6:01 PM
    Edited by: Shivasap on Aug 3, 2010 4:01 PM

    Dear Shiva,
    Full text search needs to be deactivated at content model level for attributes. You will find a document class in the element type of the record. In transaction DMWB, you will find LOIO & PHIO classes for the document class. For each attribute, you will find a checkbox "index-relevant" which needs to be unticked if you dont want to use TREX. For deactivating full-text search for which a field is given in the FIND popup, TREX needs to be deactivated. There is no option to deactivate just for a record element type in RM. Unfortunately, the field itself cannot be hidden. This is programmed in the logic.
    Best Regards,
    Pragya

  • Maintaining / Displaying Text for Infotype record

    Hi,
    How do we maintain infotype text for the record. Or how to display the text maintained for infotype record (I used PA20/PA30 for IT0001 record but could not locate infotype text).
    Regards,
    Avinash Josalkar.

    Hi,
    If you want to know the text of a infotype then goto the table
    V_T582A.
    eg:0000  actions
    0001 organisation assignment.
    But if you want to change the standard text of a infotype then you need to have access key to change.
    But if you are asking the text table for the fields in 0001.
    then goto se11
    enter Pa0001--dislay
    click the tab entry help/check then you can see the table names in the column check table for each field.

  • Help Making Text Picture Frames

    I came across this neat design feature, and I am not too sure how to go about creating this element because I am new to Illustrator. Still, I figure this is either a PS or an Illustrator feature. Whatever the case, how can I go about making text that incorporates picture frames as seen in the words "Road Trip" (and if there are any videos out there that would be great). 

    I think what you are asking is how to make images appear through type.
    If you want to make a single image appear through a word, all you need to do is to position the (live) type on top of the image, select type and image and hit Cmd/Ctrl+7. This makes the type into a clipping mask.
    Alternatively, if you want each letter to contain a separate image, outline the type, ungroup (preferably) and make each letter into a clipping mask over its own image.
    There are other ways but this is the easiest.
    Here are two examples:
    The top one is live type masking a single image.
    The bottom one is outlined type masking two images. In this case you will need to make compound paths, one for each set of letters, WES and TMAN ISLANDS. Each compound path masks its own image.

  • Making Text Bold on TextPane

    Hi,
    Here i write text on textPane Then i press on bold font button then no action appear on the text..
    here is my code:
    import java.awt.BorderLayout;
    import java.awt.Dimension;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import javax.swing.JButton;
    import javax.swing.JFrame;
    import javax.swing.JPanel;
    import javax.swing.JTextPane;
    import javax.swing.text.Style;
    import javax.swing.text.StyleConstants;
    import javax.swing.text.StyledDocument;
    public class TextPaneAction extends JFrame implements ActionListener {
        private JPanel mainPanel, buttonPanel;
        private JButton boldButton;
        private JTextPane textPane;
        private StyledDocument doc;
        private Style style;
        public TextPaneAction() {
            mainPanel = new JPanel(new BorderLayout());
            buttonPanel = new JPanel();
            boldButton = new JButton("Bold");
            buttonPanel.add(boldButton);
            textPane = new JTextPane();
            mainPanel.add(buttonPanel, BorderLayout.NORTH);
            mainPanel.add(textPane, BorderLayout.CENTER);
            getContentPane().add(mainPanel);
        public static void main(String[] args) {
            TextPaneAction text = new TextPaneAction();
            text.setDefaultCloseOperation(TextPaneAction.EXIT_ON_CLOSE);
            text.setSize(new Dimension(600, 300));
            text.setLocationRelativeTo(null);
            text.setVisible(true);
        public void actionPerformed(ActionEvent e) {
            doc = textPane.getStyledDocument();
            if (e.getSource() == boldButton) {
                style = textPane.addStyle(textPane.getText(), null);
                StyleConstants.setBold(style, true);
                try {
                    doc.insertString(WIDTH,textPane.getText(), style);
                } catch (Exception exception) {
                    exception.printStackTrace();
    }thanks in advance

    Thanks alot for to all
    But i face problem :
    To make effect on text to be Bold-italic...etc you must use HtmlEditorKit so you must use JEditorPane ....
    But when you want to make effect on text when you use TextPane you can not use HtmlEditorKit ..... I discover this from my try
    This is the way to affect the text on when you write in TextPane :
    StyledDocument doc = textPane.getStyledDocument();
                 style = textPane.addStyle(textPane.getText(), null);
               StyleConstants.setBold(style, true);
               try {
                   doc.insertString(doc.getLength(), textPane.getText(), style);
               } catch (Exception exception) {
                   exception.printStackTrace();       }But the diffrence between useing TextPane and JeditorPane is: in EditorPane when you specified part from text to be bold this only part will change but
    in contrast in TextPane the all text change ............. so usding EditorPane is beeter than TextPane
    But the problem which i really face i try to appear table on editorPane but i can not so i tried to appear it on TextPane and i could do this:
    The caode like this:
                    int row = (Integer) rowSpinner.getValue();
                    int col = (Integer) colSpinner.getValue();
                    if (row > 0 && col > 0) {
                        table = new JTable(row, col);
                        int heigh = table.getRowHeight() * (row);
                        table.setSize(new Dimension(300, heigh));
                        scrollPane = new JScrollPane(table);
                        scrollPane.setPreferredSize(new Dimension(300, heigh));
                        StyledDocument styledDocument = (StyledDocument) textPane.getDocument();
                        Style style = styledDocument.addStyle("Table", null);
                        StyleConstants.setComponent(style, scrollPane);
                        try {
                            textPane.setText(" ");
                            styledDocument.insertString(styledDocument.getLength(), " ", style);
                        } catch (Exception exception) {
                            exception.printStackTrace();
            });So when we use TextPane we can appear table but we can not affect on part of textto be : bold....etc as i discuss above
    and when we use EditorPane we can affect perfectly on any part of text but we can not appear table on it with the way of appearing it o textPane as above .
    I use Html to appear table on editorPane but i want table as in word office
    so any one have way to make table- like in word office- on editorPane ???
    Thanks
    Beshoy

  • * character automatically making text bold

    Hello,
    I was among the "chosen" to test that latest horrendous version of Skype (the one with the new iPhone GUI), and since then, whenever I put any text between stars (*), the text would turn bold.
    The thing is, I often use stars when talking to other people for many purposes. Smileys, programming, commands, etc. Which means I'm sending them bold text or code lines that are partly bold, which makes no sense.
    The thing is, I searched everywhere like crazy in order to find an option to de-activate this abominable functionality, but to no avail. I even tried downgrading Skype (I re-installed a previous version)... But once I got back to the previous version (the one with a proper interface), the issue persisted. Any text put between stars (*) will be bolded, even though I *never* asked for anything. 
    Is there a way to de-activate this abominable functionality?
    Thanks!
    Solved!
    Go to Solution.

    With the previous 6.21.0.104 version you can deactivate this option by editing the shared.xml file.
    http://community.skype.com/t5/Windows-desktop-client/Switch-off-Bold-and-striked-text/m-p/3693369#M3...

  • Displaying operation long text in results recording screen

    Hi, all!
    I am trying to understand why I cannot display the operation long text when in results recording screen (either QE51N or QE01 transaction will not support displaying of operation long text).
    I have checked all areas that I could think of in config to see if there is a display setting that will require to be activated and I could not find anything under Results recording, Inspection planning or General settings. I also tried to see if user settings may be making a difference and it did not. The SAP Help portal when talking of long texts available in results recording lists the following: Long texts for inspection lot, inspection method and inspection charcateristic. Nothing about operation long text.
    However, the text is printed on the inspection instruction standard form.
    SAP Notes has nothing on the subject that I could find.
    So, as a last resort, I would like to ask if any other Quality Management specialist came across this and spent any time in determining if this can be done and why the information would not be displayed standard in the transactions. My client would prefer not to have to print the instructions in order to see the entire text. However, I do not see any standard way to have it displayed.
    Any help would be greatly appreciated.
    Thank you in advance!

    Hi Senthil,
    Don't know it will help or not. But if your MIC is qualitative then you can use the long text of catalog code in QS42.
    Please refer below screen,
    Click on the which help to maintain the long text.
    Regards,
    Sandip

  • Suggest a text layout that feels bold, formal, luxurious and different

    Hello. I am trying to format a report and trying to make it look:
    * formal
    * emphasized and being important
    * formal but not stiff (in fact, the report is about not to be stiff).
    I am thinking I could do so by:
    Using emphasized and very big font size for titles, like in the foreword
    http://www.zhangweiwu.name/till0906/200806-foreword.pdf (see last 2 pages)
    Using large page margin at the bottom and outside, like in "summary"
    http://www.zhangweiwu.name/till0906/200806-summary.pdf (see last 2 pages)
    Using a single red line to add variants to the text layout and use a border
    to include list of actions suggested:
    http://www.zhangweiwu.name/till0906/200806-goals-and-tasks.pdf (see last 2 pages)
    I am pretty new to design layouts. My question:
    a. how do you feel about these layouts and do they present what I want to present?
    b. how can I improve these layouts to better reach the goal (feels bold, formal, luxurious and different, which is exactly the feel of the report text itself)? Especially the single red line I added wishing to add variants, looks not good to me because it looks as if the final publication was not properly cut;
    Note that I can only use 2 colors (red and black) and only one typeface, for other technical reasons.
    Thanks in advance!

    My only advice is to lower the bottom margins and add some text leading to loosen it up a bit. You might consider a thicker red line with a screen of 30 - 40%, depending on audience ( i.e., if mostly male, leave it 100% red ). A bolder rule line will make the entire document feel stronger ( you could also leave the fine rule of 100% red and add a thicker screened rule attached to the bottom of the thin rule, thus creating a bolder overall rule while maintaining the existing thin rule ). I'd experiment with different thicknesses. But, overall I like your use of white space. You just need to balance it. Add some air to your drop caps. I cannot comment on your font because I am not familiar with your language. I think if you are making a statement of flexible strength, the bold font will suffice. I'd take a look at F.L., R.R. instead of justified format just to see if that loosens it up further.

Maybe you are looking for

  • Ipad will not connect to WiFi

    I know my WiFi connection is working fine but I can't get the Ipad to connect to it. It was fine until I tried connecting an Airport Express using the Ipad, went through the whole tutorial and at the end I got the "unexpected error ocurred" message,

  • Getting the class name from within the compiled class file

    hey! I was wondering (i know its possible) how to read a .class and get the name of the class. ok that made not much sense^^ so, You have a file: c:\f.class but it wont run because the file name has to be the same as the classes name, right? so how c

  • Latest Update has major ISSUES!!!!

    Is it just me or does the latest update of Skype comes with lots of major issues??? 1. It is ridiculously SLOW compared to all previous versions! 2. Sending "pasted" (CTRL+V) screenshots simply DOESN'T work! 3. Sending attached files simply DOESN'T w

  • To 24p or 60i that is the question...

    If I'm doing some high speed auto race type filming would it be better to use 60i -- if I plan to ultimately publish on HD Blue-Ray is it better to stay 60i? Rob.

  • How can i download 07 1415_jmw05.wma onto my macbook pro?

    I have a MacBook Pro 10.9.5. I want to listen to an audio, but I get a dropdown that says "QuickTime Player can't open "07 1415_JMW05.wma"." Is there any way I can download something that will enable me to play it? Thanks, tottieirene