RandomAccessFile date position changed  while increasing font size of text

i have created RandomAccessFile and write data in a specific locations using seek() in it but problem is when i changed font size of that file data position is changed please anybody can guide me how can i solve it.

fonts have nothing to do with randomaccessfiles. Did you "open" the file in some rich text editor then save it again, and then try to read it using the program? If so, don't do that a random access file is not generally meant to be a human-readable format, and it definately is not meant to be a human writable format.

Similar Messages

  • Reset textarea height while increasing font size

    Hi all,
    I am using text area. While increasing font size it is not resizing.
    canvasText = new TextArea();
    _canvasText.height = _canvasText.textHeight + _canvasText.getLineMetrics(0).height;
    i am using this code to calculate height of text area.
    Its working while i input the text. but while increasing font size it maintains old value. Again when i input text it calculates new one.
    Please any one can suggest me solution.
    Thanks in advance,
    -CK

    textArea doesn't measure its content.  You can subclass and add code that does.
    Alex Harui
    Flex SDK Developer
    Adobe Systems Inc.
    Blog: http://blogs.adobe.com/aharui

  • Increasing font size for texts

    how do I increase the font size for text messages on my droid 2 global?

    Not possible in the stock sms message application. Perhaps one of the replacement sms apps in the Android Market does. Handcent SMS app or Go SMS app are available in the market.

  • Bold chars & increase font size in ALV Top of Page - OOPS

    Hi,
    I am using ALV OOPs to display my data.
    I am splitting the container and using top container to display headings in following way:
    data:   top TYPE REF TO cl_dd_document
      CREATE OBJECT top
        EXPORTING
          style = 'ALV_GRID'.
      lv_fontsize = cl_dd_document=>large.
    lv_text = 'HEADING'.
      CONDENSE lv_text.
      CALL METHOD top->add_text
        EXPORTING
          text         = lv_text
          fix_lines    = 'X'
          sap_fontsize = lv_fontsize         "cl_dd_document=>large
        CHANGING
          document     = cv_top.
    But the heaidng is not displayed with high font size and is similar to the text with cl_dd_document=>medium
    How can I increase font size of heading.
    Thanks!

    Hi Vasu,
    Use SAP_STYLE parameter in the method.
    Value will be HEADING or KEY.
    Regards,
    Amitava

  • How to increase font size in form that comes to me?

    Hi guys, how would I go about increasing the size of the form content that I receive when clients fill in this form: http://www.gvcheese.co.nz/nett_wholesale.html
    I've tried applying classes to the text fields but this has no effect on the form data.
    Thanks in advance for advice,
    Jo

    Your Form to email processing script sends data to your email address, right?  If you're having trouble reading your email,change your display font sizes.
    Win XP:
    Control Panel ->  Appearance and Themes -> Display -> Appearance -> Font Size.
    Win Vista:
    Control Panel -> Appearance and Personalization -> Personalization -> Adjust Font Size.
    Win 7:
    Control Panel-> All Control panel items-> Display.
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    www.alt-web.com/
    www.twitter.com/altweb
    www.alt-web.blogspot.com

  • Need to increase font size of header in ALV

    Hi,
        I have a requirement to increase the font-size of header in the output ALV report. Also, i need to remove some of the standard icons from the output ALV using IT_EXCLUDING ?...Could any of you help me with this ?

    Hi friend,
    first, to increase font size of ALV header you can build a header manually as below:
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    * EXPORTING
    *   I_INTERFACE_CHECK                 = ' '
    *   I_BYPASSING_BUFFER                = ' '
    *   I_BUFFER_ACTIVE                   = ' '
    *   I_CALLBACK_PROGRAM                = ' '
       I_CALLBACK_PF_STATUS_SET          = 'PF_STATUS_SET '
       I_CALLBACK_USER_COMMAND           = 'HTML_TOP_OF_PAGE'
    *   I_CALLBACK_TOP_OF_PAGE            = ' '
    *   I_CALLBACK_HTML_TOP_OF_PAGE       = ' '
    *   I_CALLBACK_HTML_END_OF_LIST       = ' '
    *   I_STRUCTURE_NAME                  =
    *   I_BACKGROUND_ID                   = ' '
    *   I_GRID_TITLE                      =
    *   I_GRID_SETTINGS                   =
    *   IS_LAYOUT                         =
    *   IT_FIELDCAT                       =
    *   IT_EXCLUDING                      =
    *   IT_SPECIAL_GROUPS                 =
    *   IT_SORT                           =
    *   IT_FILTER                         =
    *   IS_SEL_HIDE                       =
    *   I_DEFAULT                         = 'X'
    *   I_SAVE                            = ' '
    *   IS_VARIANT                        =
    *   IT_EVENTS                         =
    *   IT_EVENT_EXIT                     =
    *   IS_PRINT                          =
    *   IS_REPREP_ID                      =
    *   I_SCREEN_START_COLUMN             = 0
    *   I_SCREEN_START_LINE               = 0
    *   I_SCREEN_END_COLUMN               = 0
    *   I_SCREEN_END_LINE                 = 0
    *   I_HTML_HEIGHT_TOP                 = 0
    *   I_HTML_HEIGHT_END                 = 0
    *   IT_ALV_GRAPHICS                   =
    *   IT_HYPERLINK                      =
    *   IT_ADD_FIELDCAT                   =
    *   IT_EXCEPT_QINFO                   =
    *   IR_SALV_FULLSCREEN_ADAPTER        =
    * IMPORTING
    *   E_EXIT_CAUSED_BY_CALLER           =
    *   ES_EXIT_CAUSED_BY_USER            =
      TABLES
        t_outtab                          =
    * EXCEPTIONS
    *   PROGRAM_ERROR                     = 1
    *   OTHERS                            = 2
    IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    in your code, write 2 subroutines name: HTML_TOP_OF_PAGE and PF_STATUS_SET
    FORM html_top_of_page USING r_top TYPE REF TO cl_dd_document.
      DATA: text TYPE sdydo_text_element.
      DATA: s_table TYPE REF TO cl_dd_table_element.
      DATA: col_key TYPE REF TO cl_dd_area.
      DATA: col_info TYPE REF TO cl_dd_area.
    ** split TOP-Document
      CALL METHOD r_top->vertical_split
        EXPORTING
          split_area  = r_top
          split_width = '50%'.
    *    IMPORTING
    *      right_area  = a_logo.
    ** fill TOP-Document
      text = 'Example of a Heading'(201).
      CALL METHOD r_top->add_text
        EXPORTING
          text         = text
          sap_style    = 'HEADING'.
      CALL METHOD r_top->new_line.
      CALL METHOD r_top->new_line.
    CALL METHOD r_top->new_line.
      CALL METHOD r_top->new_line.
      CALL METHOD r_top->add_table
        EXPORTING
          no_of_columns = 2
          with_heading  = ' '
          border        = '0'
        IMPORTING
          table         = s_table.
      CALL METHOD s_table->add_column
        IMPORTING
          column = col_key.
      CALL METHOD s_table->add_column
        IMPORTING
          column = col_info.
      text = 'A key value marked'(202).
      CALL METHOD col_key->add_text
        EXPORTING
          text         = text
          sap_emphasis = 'Strong'.
      CALL METHOD col_info->add_gap
        EXPORTING
          width = 6.
      text = '600' .
      CALL METHOD col_info->add_text
        EXPORTING
          text      = text
          sap_style = 'Key'.
      CALL METHOD col_info->add_gap
        EXPORTING
          width = 3.
      text = 'Test'.
      CALL METHOD col_info->add_text
        EXPORTING
          sap_fontsize = cl_dd_area=>large "set font size
          text         = text.
    endform.
    *&      Form  pf_status_set
    *  Set pf status for alv list
    *      -->PT_EXTAB   tab for excluding fcode
    FORM pf_status_set USING pt_extab TYPE slis_t_extab.
      DATA:
            ls_extab TYPE slis_extab.
    *-sort up
      ls_extab-fcode = '&OUP'.
      APPEND ls_extab TO pt_extab.
    *-- sort down
      ls_extab-fcode = '&ODN'.
      APPEND ls_extab TO pt_extab.
      SET PF-STATUS 'STANDARD' EXCLUDING pt_extab. "change standard as your status
    ENDFORM.                    "pf_status_set
    You can refer the set font size in report DD_STYLE_TABLE.
    regards,

  • How Do I Change the Mailbox Font Size in the Sidebar?

    In an earlier preview build of Lion, I was able to change the size of the Mailbox font used in the left sidebar to view more content in the column, but I don't remember what I did to change it.  The Mail/Preferences/Fonts & Colors pane no longer has a Mailbox font option.
    Does anyone know how to change the Mail sidebar font size in Lion?

    I'm not sure what you're responding to.  Bob H. above pointed out a clear bug in changing the Mail list font when he went to Mail/Preferences/Fonts &amp; Colors and changed the font setting for the Mail list (second column), and it didn't work. 
    My issue was the font size in the first column (sidebar), which is not controlled in the Mail app, but by going to System Preferences/General and checking the box for changing the sidebar font size.  This checkbox also controls the font size for Finder (Desktop) windows sidebars (left column), where hard drives, other volumes, user Documents folders, and the like are listed.  This does work perfectly for me. 
    I have no other suggestions for you, except for perhaps trying removing the com.apple.finder.plist file located in the ~/Library/Preferences folder, which you can access by holding down the option key while selecting the Go menu at the top of the screen.  This controls the Finder window settings you have previously selected, and may be corrupted.  Simply move it to the Desktop for temporary safekeeping, then if it simply copied it, vice moving it out of the folder, right click on the file in the folder to move it to the Trash (you may have to authenticate).  This will force the Finder to recreate a default version of the file, which you can then remodify to your liking.  If that works, Trash the copy you moved to the Desktop.  If not, put it back in the folder to restore your prior settings.
    Good luck.

  • How to change the font size of Text Box  Properties Appearance tab into 2 decimal digit.

    How to change the font size of Text Box  Properties Appearance tab into 2 decimal digit. I am uanble to modify it to 5.38 pt for example. Its only allowing to 1 decimal place.

    Click on each field and the choose Properties from either File menu (or if on Mac hold dow mouse button until context menu appears choose properties)
    go to Font
    choose desired size and type font,you can choose to make this the default.
    Do this with each field.
    Or if you have a lot of fields:
    while one is selected select all of them
    then go to fonts in properties
    change Font and size and make default.

  • Increasing font size in Itunes 8

    OK, I know Itunes doesn't really allow you to increase font size over the "Large" setting. However, Robert Jacobson previously posted how to edit the ituneslocalized,qtr file in Itunes7 to change the default "large" font to 32pt.
    The font size for the "large" font in iTunes 7 is stored at offset 0x5358D, and for iTunes 6 at 0x446BE in the file
    \Program Files\iTunes\iTunes.Resources\en.lproj\iTunesLocalized.qtr
    By default the "large" size is 0xA (10 pt), but you can change it so say, 0x24 (36 pt) to make it very large.
    Anyone know how to do this in Itunes8?

    The offset for iTunes 8.0 is
    0x7D91C
    For iTunes 8.0.1 it is
    0x7DE38
    Hex editing isn't that hard! Trust me, you can do this without me writing a script for it.
    Download XVI32 (it's free):
    http://www.chmaas.handshake.de/delphi/freeware/xvi32/xvi32.htm
    Unzip the file to a folder and run xvi32.exe.
    First, quit iTunes if it is running.
    Then, *make a backup* of <pre>C:\Program Files\iTunes\iTunes.Resources\en.lproj\iTunesLocalized.qtr</pre>
    Open the above file in xvi.
    From the "Address" menu, select "Goto". Click the radio button "hexadecimal", then put $7D91C (or $7DE38 for iTunes 8.0.1) and click OK.
    The cursor should end up on "0A".
    From the "Tools" menu, select "Encode Number". In the "Number" box, type the font size you want (the default "large" size for iTunes for Windows is 10.). Select the "byte (1 byte)" radio button. On the right, select "Overwrite at current address". Then click OK.
    Save the file and close XVI32.
    Wasn't that easy?
    Now, if you open iTunes and select the "Large" font for the List Text, it should be the size you specified.

  • How to increase font size in menu bars

    Hi, have eyesight dissability, need to increase font size in all menu bars for my brand new G5
    have any ideas? thanks
    Pepe

    System Preferences>Universal Access. Or change the resolution to 1344 X 840. System Preferences>Displays.
    BTW if you have a MacBook Pro it is not a G5. It is an intel Mac. G5 Macs were discontinued years ago.

  • Need to Increase Font Size..

    Poor Eyesight. (Diabetes) I need a way to INCREASE the Font size and change Type of ALL DESKTOP Headers, dropdown menues and informational text WITHIN OSX.
    Just like the "APPEARENCE TAB" in "WINDOWS DISPLAY PROPERTIES"
    Is there any hope for ME? Third Party Add-on? Can't find anything in OSX that really helps. Even Fonts set to 16 don't do much.
    Can I change to "Areil Bold?" ANY Suggestions welcome. Thanks...:)

    This is a sad topic. Just this week I scoured the internet seeking an invention to change OSX toolbar font size (as well as Safari Bookmarks font size) and the news is not good. It turns out that those fonts especially are hardwired and cannot be changed. There is a discussion that goes all the way back to Panther about this, and every year people hope for a fix (Resolution Independence it's called).
    Right here in Apple discussions a gentleman put a hack in via Terminal. It is specifically for the 27" displays. I tried it on my 13" and yes the font changes to the larger - but then other display items disappear to make room. It is like folds or pleats appear to make up the difference, and some stuff got lost in the "wrinkles". The guy with the 27" machine was happy with his choice, and said he just "lives with" the accompanying flaws. I feel that on the high-res 27" machines there must be a lot less of the aforementioned "side effects" to deal with. See here -
    http://discussions.apple.com/thread.jspa?messageID=12127254&#12127254
    Try at your own risk, since Terminal operations are highly technical. I performed a clean install of OSX after I rejected the results of my own experiment. Bottom line is that more than a few people have sold or returned their Macs over this issue not because of sour grapes, but because they simply cannot read the toolbar, whereas on their PCs they always had a remedy. The issue is actually so fundamental that no one suspects a problem until they start using their new machine for the first time and cannot locate an adjusting app.

  • Increase Font-Size Using A Slider

    I am using Jdeveloper 11.1.1.6.
    I have all of the content in my tables set to 10pt using the following code in the .css file:
    af|table::data-row af|column::data-cell af|inputText::content {
      font-size: 10pt;
    }I would like to provide the user with a slider to be able to increase the font incrementally (2pts each up to 20pt).
    I assume I need to set a variable in a backing bean but I am not sure how to access the backing bean from the css file.
    Any help would be appreciated.
    Ray

    Hi,
    You can directly refer backing bean in the Font size property of component. I don't think we can access backing bean inside css but you can set the base font size using CSS then allow user to modify using backing bean.
    Zeeshan

  • How do you increase font size in Bridge using windows 7 and a 4k monitor?  It appears as though this issue has come up previously but there is no answer.

    How do you increase font size in Bridge using windows 7 and a 4k monitor?  It appears as though this issue has come up previously but there is no answer.

    Unfortunately this will require some new programming by Adobe and there's no way to know when that will happen. In the meantime, the only option I think you have available to you is to change your resolution so that your monitor is using fewer pixels per inch.
    Kinda blows the whole value of the newer monitor but I suppose you can switch back and forth from low res when you are working in Bridge to high res when you are working in PS.
    Sorry, but for the time being, that's about it.
    Best,
    Gary

  • Can someone please tell me how to increase font size of printing on my hpofficejet 6500A plus

    could someone please tell me how to increase the font size on my hpofficejet 6500A
    thank you

    Hi - I found this info on the Adobe site (http://kb2.adobe.com/cps/332/332720.html):
    How do I print the font in a bigger size?
    The Print dialog box does not provide an option to change only the font size. You can do any of the following to enlarge the font:
    Scale the entire PDF out to the page margins. See "Manually scale using percentages" in the article Print: scale or resize pages.
    Print a selected portion of the PDF and scale it using Fit to Printable Area. See Print a portion of the page.
    (Acrobat only) To change the font size for a specific page or the entire document, use the Edit Document Text tool (Acrobat X) or TouchUp Text tool (Acrobat 9). To learn more, for Acrobat X see Edit text; for Acrobat 9 see Edit text.
    If none of these options work, it doesn't look like you'll be able to change the font size.
    Hope that helps.
    Say Thanks by clicking the Kudos thumbs up. Please mark the post that solves your problem as an Accepted Solution so other forum users can utilize the solution.
    I am an HP employee.

  • After ios5 upgrade can no longer increase font size on iPad or iPhone, any suggestions apart from getting new glasses!! Also the backlight on the iPad isn't as bright as before. Any ideas?

    After ios5 upgrade can no longer increase font size on iPad or iPhone, any suggestions apart from getting a new pair of glasses! Also, the backlight on the iPad isn't as bright as before the upgrade, any ideas?

    Hi Zak, thanks for the reply.
    The filename is whatever is set to be the background fill of the site (I presume the desktop background fill, if mobile versions are set to be different). I've tried a number of different files, sizes and types/formats and the result is still the same, so as far as I can tell it's not the file itself causing the issue...
    It uploads all pages (desktop, tablet and phone versions), .css files and .html files, and even the favicon .ico file but then hangs on the first image file, which incidentally is the background fill image.
    The total number of files is said to be 154. It gets stuck on file number 24.
    Yes the "Resume" dialog appears and upon clicking it just attempts to continue from the hang at the first image file (apparently 66% of the way through).
    Re: the "BC site has changed" part - I thought as much but figured worth reporting.
    ... Incidentally, as I've written this reply, I left the "Resume" dialog open (ie neither clicking "resume" or "cancel" and just as I've finished typing it appears to have published the site successfully?!! (I must've left it for roughly 5 minutes)
    Bizarre behaviour... I'm not sure if this will repeat itself with other sites but I'm sure there's a bug here that needs looking at regardless...?!
    Any thoughts?

Maybe you are looking for