Smartforms-Dynamic Change of Font Size in main window

Hi Friends,
   How shall I be able to change dynamically the font size in main window of smartform. If the records are more in main window then the layout comes in 2 pages but if less in 1 page. So I want to decrease the font if the records are more to assign it in 1 page.
Eg : I can print only 10 lines in 1 page of main window, but if the records exceed 10 lines it is going to next page, so I want to shrink the font size to maintain the layout in 1 page.
Thanks & Regards,
Somen
Edited by: Das_SAP on Jun 23, 2009 7:59 AM

Hi,
SmartForms does not offer the option to set some characteristics at runtime. You must work with conditions in your form.
First find out how many records you have in your table
DESCRIBE TABLE mytable RECORDS sy-tfill.
You create 2 texts nodes with the text to be output and assign the font and font size to them. Obviouly, one node will have a big font size and the other one a normal font size but both contain the same information and same variables.
You can now work with an alternative. If the condition (there are many records for a secondpage) is true, assign text node with normal font size to option TRUE and the other text node to FALSE.
Optionally, every text node has folder CONDITIONS, where you can say
SY-TFILL >   10 lines  <-- for text node with normal font size
SY-TFILL <= 10 lines  <-- for text node with big font size

Similar Messages

  • How to change the font size of text and case in smartforms

    hi,
       could any one explain how to change the font size of text in smartforms. ex. previously i had taken P4 left aligned and C6 but now i want to decrease the font without making it bold. pl......... guide me
       secondly the value which are coming from tables are upper case but i need lower case. pl. guide
    thanking u

    check out the smart styles...create a font of ur size n use.
    Define the paragraphs & character formats using SMARTSTYLES & use them in your smartform.
    You have to give the smartstyle name in the Form attributes-->Output options for the formats to be used in your smartform.
    You can define font size in Smartform Style.
    Smartform Styles > Charcterformat> Font --> size.
    to load the font to SAP server chk this
    Re: Adding a new font for SAPscript/SMARTFORM output
    Regards
    Vasu

  • How to change the font size of text element in smartform

    Hi
    i want to know how to change the font size of text element in smartform
    regards
    Gincy

    Hi
    You can create Smartstyles, in which you can define paragraph formats for texts and character formats for character level changes.
    Paragraph format ---> alignment, font size etc
    character format for ---> superscript, subscript.
    After creating, in your smartform, there will be a option in the text element to enter a style.
    You give the created style and you can use the paragraph and character formats i that style.
    Hope this is clear..
    Regards
    Sekar

  • Can not change the font size in a new text into the smartforms

    Hi!!
    I have a Footer window into my smartform and I've created a new text into this one
    text type: Text element
    nothing extrange.
    I copied and paste a text from a word document and after that I want to change the font size to 8 and font style to Arial, but after saving the font size and styles goes back the 10 and Currier New.
    Any idea?
    I also tried typing the hole parragraph and I get the same issue!...
    Thanks.

    Hi
    First Reset paragraph and Character and then set the new fontfor the same.
    dont copy the same into word and back form
    also goto change editotr and check the style used for the same.
    Regards
    Shiva

  • How to change IR font size (only) dynamically

    Hi,
    On blog http://www.danielmcghan.us/2009/01/that-font-is-too-small.html, there was a nice example how to change IR font size on the fly.
    Some how seems that this is not working new Responsive 25 theme, which is not having "td" . So could anyone help me.
    I'd like to add some saving ability to some table (user preferences table) ... sou please expand that example if possible.
    For that I made it on Apex cloud demo: FONT_SIZE_ADJ_APP
    http://apex.oracle.com/pls/apex/f?p=2354
    Login data:
    UN : guest_admin
    PWD: Qwertz123!
    THX in advance for your help.
    Brg,
    Damir

    Th actual code from the working example looks different from the blogpost
    May be worth trying this code (in your page template)
    <td style="white-space:nowrap"><span id="decreaseFont">(-) </span><span id="saveFont">Save</span><span> / </span><span id="resetFont">Reset</span><span id="increaseFont"> (+)</span></td><u>For saving this into a custom user preferences table:</u>
    - you can amend the application process RETURN_NOTHING to insert/update using the item FONT_SIZE_ADJ
    And add computation to set the value into FONT_SIZE_ADJ from the user preferences table for the first time when users login

  • Can't Change Standard Font Size in Preferences

    I just got a new 24-inch iMac, which is great, but the screen is so big that web pages at the standard size are impossible to read at a comfortable distance. I went into Preferences and clicked on the "Appearance" tab, and set the standard and fixed-width font sizes to what I wanted--and nothing changed. I quit and restarted Safari, quit and restarted the iMac--no change (even though the sizes in the Preferences remained as I had set them). What the... ?
    I am using the latest Safari (2.0.4) and OS version (10.4.7). I am running Pith Helmet, but things did not change when I disabled it.
    I tried setting the "Never use font sizes smaller than..." to the size I wanted, but there are two problems with that: (1) the font size changes but the line spacing does not, making text seemed crammed together; and (2) it prevents me from sizing down the text if it appears too big on some pages. So that's not an acceptable solution, neither is Command-+'ing every single web page I come to.
    I searched the forums for the past year, and found no answers to this. Anyone have any ideas?
    Thanks!
    24-inch iMac, 15 PowerBook G4 1.67 GHz   Mac OS X (10.4.7)  

    Okay, strange thing here... it seems that Firefox and Mozilla are acting the exact same way, and the universal effect is taking on a strange form.
    I made a blog post recently where I had photos, and under each photo I set a caption, which is sized with the HTML command "font size=-1". THOSE lines respond to the font resizing, but the rest of the text does NOT; this has the strange effect of making the main page text small, and the photo captions large--instead of being smaller as intended. I checked a variety of pages and found the same thing: on some pages, all the text followed the new standard font size; on some pages, none of the text changed size; and on many pages, there was a mix of affected and unaffected text.
    I am guessing that all of these browsers only change the font size of non-CSS-formatted text or something like that. If so, it seems a bizarre thing to do. Or perhaps there is some setting on my Mac which controls this?
    Help!
    blog page with captions: http://www.blogd.com/archives/002062.html
    24-inch iMac, 15 PowerBook G4 1.67 GHz   Mac OS X (10.4.7)  

  • How to change the font size in sap scripts?

    hi friends,
        i had a query regarding to SAPSCRIPT.
      how to change the font size of a text in sap script form in which it should change it  dynamically.
    is it possible to change the font size dynamically in scripts.
    one more query regarding to this only.
    i need to get the hard copy of a script .
    what is the transaction code to get the hard copy?

    Hi venkata,
    You can specify the font size either in the Character format or pharagraph format.
    You better decide it according to your requirement.  If you want to apply the same font size for the entire form create the Paragraph format and give the paragraph format in the default paragraph format.
    If you want to apply that to limited text, then create character format.
    The process of creating it is just after going inside paragraph format click EDIT-> Create Element and give the font size.
    This applies for character format also.
    Reward points if useful.
    Thanks,
    karthik

  • How does one change the font size for folders and/or file lists in the Bookmarks Library?

    How does one change the font size for folders and/or file lists in the '''Bookmarks''' Library?
    Since the upgrade to version 9.0.1 of Firefox, the Bookmarks feature changes are confusing me. They seem to be confusing themselves as well. The list of bookmarks has changed. The font size is so small that my aging eyes cannot read it without fogging the screen with my breath. Some folders are out of alphabetical order (where I know they were previously good), and some are missing altogether (folders to which I frequently add references).
    As for missing or deranged files or folders, was there something that I should have done or now need to do to recover those after the upgrade (or before)?
    With regard to font size,
    1. there is no “Edit Bookmarks” or like option to edit the list in this version
    2. the “zoom” option in the “view” list of functions is greyed out when in “Show All Bookmarks” window
    3. expanding the browser window has no effect on font size
    4. “Preferences” settings for font size has no effect in that window either, including advanced settings
    5. “Help” offers none that I can find.
    Can any of you Help?!?

    Maybe this extension helps:
    *Theme Font & Size Changer: https://addons.mozilla.org/firefox/addon/theme-font-size-changer/

  • How can I change the font size on the post of WordPress?

    I have found three websites which address WordPress style sheets:
    Playing With Fonts: http://codex.wordpress.org/Playing_With_…
    Font Size and Color: http://en.support.wordpress.com/editors/…
    How to Change Font Size In Wordpress: http://www.ehow.com/how_5469172_change-f…
    Here are the instructions from the third website above:
    Things You'll Need:
    Site designed in Wordpress
    Administrator access
    Step 1
    First, to change the font size on a Wordpress site you need to log into the site as administrator. If you do not know how to reach the login page, simply add "/wp-login.php" after the "www.url.com" address. Then login using the admin sign in.
    Step 2
    Next, get to the Wordpress file editor by going to Appearance->Editor.
    Step 3
    Once in Editor, identify the Stylesheet file (style.css) and click to edit. This is usually located on the right hand side under the "Styles" heading.
    Step 4
    Once in the style.css file, you want to conduct a search for "fontsize". This parameter is used throughout the style.css file and is the parameter used to control font size. Next to "fontsize" you will see something like "16px". Simply increase or decrease the "16" to change font size. The tricky part is to figure out which "fontsize" you want to edit.
    The way to do this is to first look at the heading it is under. If it is under "comment-template", it is obviously related to either the font size of the comments themselves or perhaps the comment form or the date/time stamp of the comment.
    It may take a little trial and error to find the right "fontsize" to modify. Simply modify the one you think is correct and in a separate window, reload the page with the font you are looking to modify. If it did not change, undo the previous edit and try a different "fontsize".
    I went to the Dashboard and clicked on the “Appearance” icon on the left-hand side, and then clicked on editor. I clicked on Stylesheet (style.css), but I have not been able to find the “fontsize” that would change my post font size. As the author writes: "The tricky part is to figure out which "fontsize" you want to edit." Some of the font sizes are given as a percentage, and I don’t know if these come into question, i.e., if I should try changing one of these to see what happens.
    The end result is that I still have not been able to change my post font size, other than by using the Heading-1-through-6 option, which, I understand, is not the best way to do it.

    From John Waller: “If you're using IE8, hit F12 to launch Developer Tools which give you a point and click method of locating the relevant CSS rule on screen.”
    I have Internet Explorer 8 (IE8) so tried this method.
    This sounded like another promising possibility; however, I have not been able to change the font size in my post using this method.
    I have gone to Dashboard > Posts > Edit > then moused-over my post > clicked on "edit" and then hit F12. An enormous amount (20 pages or more) of CSS appears. I tried picking out the font size that I thought pertains to the post (under Text Area), and I have changed the font size from 13px to 24px; however, I have not been able to “save” the new setting. When I go back to it, it is back to 13px.
    As a result, I have not been able to use a trial-and-error method to establish which font size I must change in order to change the font size of my post.

  • Is there a way to change the font size and color of text in the calendar app?

    Does anyone know a way of changing the font size and color of text in the calendar app that comes with the iPad 2?  It is very hard to see the small gray numbers on the calendar.  Thanks

    Looks like you didn't get a reply on your post, but it is still a problem.  Font size is supposedly changeable via "Accessibility" in Settings, but it doesn't work.  You can turn on "Zoom".

  • How do I change the font size of a data point label on a cfchart?

    I know I can control the x axis and y axis font with the font="" attribute of the cfchart tag.  But I want to change the font size of the data label in the chart series.  Is that possible?

    To specifically and fully answer your question, no, you absolutely cannot change the “font size” as a function of print.
    First of all, there isn't a single “font size” associated with a PDF file (and we assume you are referring to a PDF file since this is an Acrobat forum).
    Secondly, PDF is a final form file format meaning that the content is static in terms of location, size, etc. on the page. To change the point size of any particular text, you really need to go back to the source document and make the changes there.
              - Dov

  • How do I change the font size of a document when I PRINT?

    How to I change the font size of a document when I print it?

    To specifically and fully answer your question, no, you absolutely cannot change the “font size” as a function of print.
    First of all, there isn't a single “font size” associated with a PDF file (and we assume you are referring to a PDF file since this is an Acrobat forum).
    Secondly, PDF is a final form file format meaning that the content is static in terms of location, size, etc. on the page. To change the point size of any particular text, you really need to go back to the source document and make the changes there.
              - Dov

  • How to Change the Font Size in Module Pool Selection Screen?

    Hi,
    There is a module pool, and I need to change the font size mentioned in the selection screen. Could you plaese tell me, how will I be able to do that?

    Hi ,
    If you are asking for text field , then check the options avaliable in Display tab of Attributes.
    Hope this helps you.

  • How do I change the font size on Adobe Reader 8.1.2

    I recently purchased an HP  laptop running Vista. It came with Adobe Reader 8.1.2.  I can't change the font size in a form that I am filling out.  I can cut& paste a different font size into the form but not change the font size.  Someone said that it is a free download so I won't be able to change the font size. Does anyone know a fix?

    To change the font size in PDF forms, one needs to have Adobe Acrobat rather than Adobe Reader.

  • How do I change the font size on the menu bar in Quicktime?

    I have to squint and put my nose to the monitor to read it.It looks like it's about a 3 point font size.  I don't see anything in the preferences for changing it, and I'd rather not change the resolution on my monitor.
    Thanks!

    To change the font size in PDF forms, one needs to have Adobe Acrobat rather than Adobe Reader.

Maybe you are looking for