Smartforms: Display text in a style not set globally

Hi,
I have this problem. I wish to display a text in a fixed box/window in my smartform. This text is dinamically handled in this box by an abap code. I can have two types of text of different number of words. For the short text I don't have problems but when I try to include a longer text, this text is truncated.
More exacly I have as smartform style ZMM defined in output option tag. I set a global variable with the name of the text modules that I want to include. I tried to define a text module with a new style i.e. ZMM1 but when I show the test it is the same as the style is ZMM.
How can I handle texts with different size of charactes or reduce the space between two linee but only for this text in this specific window?
Any help well be well appreciated.
Thanks in advance.
    Luigi

well you can create additional paragraph formats for this purpose in your golbal style and use those in your text.

Similar Messages

  • Displaying Text in Multiple Styles

    I've been having problem with the class StyleContants. I thought the code "Diplaying Text in Multiple Styles" from Tech Tips August 21, 2002 would be helpful, but I get error when I tried to compile it.
    Can not resolve Symbol
    Symbol PINK
    Location class java.awt.Color
    Can not resolve Symbol
    Symbol GREEN
    Location class java.awt.Color
    Can anyone please help me.
    Thankyou
    import java.awt.*;
    import javax.swing.*;
    import javax.swing.text.*;
    public class Multi {
    public static void main(String args[]) {
    JFrame frame = new JFrame(
    "Multiattributed text");
    frame.setDefaultCloseOperation(
    JFrame.EXIT_ON_CLOSE);
    Container content = frame.getContentPane();
    JTextPane pane = new JTextPane();
    SimpleAttributeSet set =
    new SimpleAttributeSet();
    set.addAttribute(
    StyleConstants.CharacterConstants.Bold,
    Boolean.TRUE);
    // Initialize attributes before adding text
    pane.setCharacterAttributes(set, true);
    pane.setText("Three");
    set = new SimpleAttributeSet();
    StyleConstants.setItalic(set, true);
    StyleConstants.setForeground(set, Color.PINK);
    StyleConstants.setBackground(set, Color.GREEN);
    Document doc = pane.getStyledDocument();
    try {
    doc.insertString(
    doc.getLength(), "Blind", set);
    } catch (BadLocationException e) {
    System.err.println("Bad location");
    return;
    set = new SimpleAttributeSet();
    StyleConstants.setFontSize(set, 48);
    try {
    doc.insertString(
    doc.getLength(), "Mice", set);
    } catch (BadLocationException e) {
    System.err.println("Bad location");
    return;
    JScrollPane scrollPane = new JScrollPane(pane);
    content.add(scrollPane, BorderLayout.CENTER);
    frame.setSize(300, 200);
    frame.show();

    Thats interesting... since Color.PINK and Color.GREEN
    should both be defined.
    The lowercase versions should be defined, too. Try
    Color.pink and Color.green instead. Lemme know if you
    figure something out, I'll post any info I find.
    Jasonwith RGB color space works.

  • Arabic Smartform - Display text right to left?

    I have been asked to investigate how to create some smartforms which will display the Arabic language reading right to left.
    I know how to create a smartform for different languages but I'm stuck on the right to left formatting.  It's not a case of just right justifying all the text, the words have to be displayed reading right to left.
    Any ideas?

    Thanks but I've just found out this is not the requirement.

  • What is the best way to display text?

    Hi,
    I am developing a full screen presentation. I like to know which is the best way to display text with different styles and fonts.
    When i use JLabel, i have to use HTML. But the presentation is not good as it does not have anti-alias property. Also i want the background to be seen behind the text. Note that all the text in a paragraph is not of same style. I want some words to be in different color and style.
    Thanks,
    Mathan

    It works alos with JTextPane:
    Try this :
    import java.awt.*;
    import javax.swing.*;
    public class MyTextPane extends JTextPane  {
         public void paintComponent(Graphics g) {
              Graphics2D g2d = (Graphics2D)g;          
              g2d.setRenderingHint(RenderingHints.KEY_TEXT_ANTIALIASING, RenderingHints.VALUE_TEXT_ANTIALIAS_ON);          
              super.paintComponent(g2d);
         public static void main(String[] args) {
              JFrame f = new JFrame("test");
              f.getContentPane().add(new JScrollPane(new MyTextPane()));
              f.setBounds(200,200,300,400);
              f.setVisible(true);
    }Denis

  • Text is not displayed / Text wird nicht angezeigt

    Working with FM 11 I've got a longer text written with an older FM-version with some headings and paragraphes that are not displayed. It's just free space or lines and in some cases it's underlined like misspelled words but the characters are not visible. Paragraph- and character-formats look normal (that is black text on white background) and the text is not conditional. BUT the text is displayed in the Markers-Pod, when I mark a passage and it's even possible to find words in these paragraphs searching for them. I would appreciate any hint, how to deal with this problem.
    Georg

    Hi Georg,
    Sometimes I encounter a bug (FrameMaker 11.0.2.348) which also hides some text. I have a two-column layout with columns balanced. Usually some text is hidden at the end of the second column. When I add some empty paragraphs after the hidden text, the text appears again.
    MIF washing does not help.
    Luckily pages with hidden text have the Overflow property set. The bottom line of the text frame is solid. I wrote a FrameScript which checks for such pages.
    I do not know, if your problem has the same cause.
    Best regards
    Winfried

  • Normal Style not displaying

    RH 11.0.4.
    I have been using RH since 4.0 and am currently I have a RoboHelp HTML project where I am using two different style sheets. Each style sheet is associated with its own Master Page. I've done this because my client wants to eventually migrate to a new look. The 'Normal' style in both instances is mapped to a different font. I have ensured that the style sheet is attached and that all content is in the appropriate style. There is no issue with the first style sheet (and Master Page) I created. The 'new look' Master Page and Style Sheet have had random display issues with the Normal style; occasions where part of the topic displays or all content is not displaying.This is the case if I select View Selected Item from within the project and view the topic after compiling WebHelp.
    I have created new Master Pages and re-assigned styles. One symptom that may help shed insight on to what is going on . . . is that when I edit a topic with the 'new look' stylesheet / Master Page and click Save All, the Headers and Footers message appears . . . This topic was created from a Master Page and the Header and Footer has been modified . . . The Master Pages have the same structure; just different font and heading styles. I have tried all I know to fix this issue. Any insight would be great. I can provide screen shots, if necessary. Thank you.
    ------------------------found issue-----------------------------------
    Project has 2 different stylesheets (because customer wants to move to a standard template). Each stylesheet is associated with a different Master Page.
    Style 'Normal' in Stylesheet #1 = Verdana; Style 'Normal' in Stylesheet #2 = Calibri.
    When WebHelp is generated, any content using Stylesheet #2 and styled with 'Normal' does not appear. This issue is only in the body region of the document. I created a separate style for 'Normal' called "Normaltest.' No success.
    To make the content appear, here is what I did:
    1. Open the topic with issue.
    2. Highlight a paragraph
    3. Select Style: none
    4. Change font to Calibri (font size was default to 12; which is what I needed so I didn't change)
    It made no difference if I defined 'none,' in the Master Page file and changed the font to Calibri. I have confirmed that the issue does not affect Header/Footer or Number Lists (only numbers appear). Contact me if you need the subject files.
    Message was edited by: Anet Gambina
    Found Workaround for Issue; but it appears 2 Stylesheets using 'Normal' is a problem

    I assume you see something like this? (Ugly font to make it obvious )
    This sounds like you have in-line styles applied to paragraphs. Certainly your steps 1-4 define a single paragraph to have the Calibri font, which will prevent the style from your stylesheet being applied to that paragraph.
    A quick way to check is to temporarily (please take a backup, just in case) set Normal in your working stylesheet to a crazy font. If I'm right, you will see the same behaviour as you get when you change to your second stylesheet. If this is the case, you will need to look at the html for a problem paragraph and do a find and replace across your whole project.
    Take a backup of your project before you start, just in case something goes wrong!!
    You will probably have to replace something like the following with nothing:
    font-family: Verdana, sans-serif;
    In my example, this is the code. I've highlighted the section that must be removed so that the stylesheet is correctly applied:
    <p><span style="font-family: Arial, sans-serif;">MyCompany documentation
    generally uses the gerund form (the &quot;ing&quot; form) of words for
    titles and index keywords. Following is a list of the best gerunds to
    use among many alternatives (e.g., use &quot;removing&quot; instead of
    &quot;deleting&quot;).</span> </p>
    If the font size is also a problem, you may also have to remove that code, for example: font-size: 10pt;
    Hope that helps.

  • BPS Variable-Cost Element is not displaying Text

    Dear Team,
    We have a peculiar issue one of the BPS Variable defined for Cost Element is not displaying text in one of the Planning Layouts.
    Another variable is displaying text in another layout.
    Surprisingly...when I reused the old variable in the new layout it is also not displaying the text.
    Am I missing something....appreciated your quick support.
    Thanks & Best Regards
    Srinivas

    Have you check the layout Lead-Column setting? Is it set to 'Key/Description'?

  • Indesign nested style not displaying correctly

    Hello, having a little bug here. when i style something that has a nested style, the styling doesn't continue after multiple lines unless i open and close the document... here is a visual example.
    the first paragraph is displaying correctly, the second is displaying improperly.
    the body colored text (bold cyan) style stops at an "end nested style" character, and the normal paragraph copy style (black) continues after that to the next bullet. but as you can see it won't visually show the new styling until i reopen the document. very weird, correct?
    am i making sense? any ideas?
    mac 10.5.6
    2x3.2quad eight core
    id cs4

    Mike,
    I would edit the first nested style to apply through one bullet (copy n paste a bullet here); or better: set up the paragraph style to make bullets and you could instead charcter style the bullet from the Bullets and Numbering part of the dialog box, and leave it out of the nested style section.
    Question: Do you want the blue to cover a set number of lines? Then define a line style, just south of the nested styles part of the dialog box.
    If the trick relies on a End Nested Style character embedded, then you are probably doing that because you want random word count lengths for the blue character style to be applied in different paragraphs. Sounds like work, tho, to me, and I would look for a simpler rhythm, if there is one.
    Mike Witherell in Maryland

  • Index style not displaying the chosen option after publishing

    Hi Folks,
    I have been adding new albums to one of my web pages and had chosen the Black ringbinder Index style for the albums. After a recent publishing upgrade and visiting my site I noticed that all the albums had framework boxes with ? marks all around and did not display the chosen index style.
    I went back to iWeb and chose a Brown sort of "Wedding Album" style and re-published. Everything was OK so once again back to iWeb and set them all to the Black ringbinder Index style and re-publushed.
    Same problem with ? marks all around each album.
    Any ideas for fixing?
    Thanks
    Douglas

    Hi there
    The simplest way to specify a relative path is to avoid any browsing you may do to find whatever file you are linking to and quite simply type the file name into the dialog. Once you have done this, you simply ensure that the file is present alongside the Captivate movie so that during playback it can find the file.
    I think where most folks make a mistake is when they use the dialog to browse to and choose the file they are linking to. When you do that, Captivate dutifully inserts the path leading to the file on your own hard drive. This means that the file would need to be stored the the exact location using the same drive letter on the end user's PC for things to work in the end.
    Cheers... Rick
    Helpful and Handy Links
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcerStone Blog
    Captivate eBooks

  • Using a Variable in SSIS - Error - "Command text was not set for the command object.".

    Hi All,
    I am using a OLE DB Source in my dataflow component and want to select SQL Query from the master table  I have created variables v_Archivequery
    String packageLevel (to store the query).
    <Variable Name="V_Archivequery" DataType="String">
         SELECT a.*, b.BBxKey as Archive_BBxKey, b.RowChecksum as Archive_RowChecksum
         FROM dbo.ImportBBxFbcci a LEFT OUTER JOIN Archive.dbo.ArchiveBBxFbcci b
         ON (SUBSTRING(a.Col001,1,4) + SUBSTRING(a.Col002,1,10)) = b.BBxKey
         Where (b.LatestVersion = 1 OR b.LatestVersion IS NULL)
        </Variable>
    I am assigning this query to the v_Archivequery variable, "SELECT a.*, b.BBxKey as Archive_BBxKey, b.RowChecksum as Archive_RowChecksum
    FROM dbo.ImportBBxFbcci a LEFT OUTER JOIN Archive.dbo.ArchiveBBxFbcci b
     ON (SUBSTRING(a.Col001,1,4) + SUBSTRING(a.Col002,1,10)) = b.BBxKey
    Where (b.LatestVersion = 1 OR b.LatestVersion IS NULL)"
    Now in the OLE Db source, I have selected as Sql Command from Variable, and I am getting the variable, v_Archivequery .
    But when I am generating the package and when running I am getting bewlo errror
     Error at Data Flow Task [OLE DB Source [1]]: An OLE DB error has occurred. Error code: 0x80040E0C.
    An OLE DB record is available.  Source: "Microsoft SQL Native Client"  Hresult: 0x80040E0C  Description: "Command text was not set for the command object.".
    Can Someone guide me whr am going wrong?
    Please let me know where am going wrong?
    Thanks in advance.
    Thankx & regards, Vipin jha MCP

    What happens if you hit Preview button in OLE DB Source Editor? Also you can use the same query by selecting SQL Command option and test.
    Could you try set the Delay Validation = True at Package and re-run ?
    If set the query in variable expression (not in value), then Set Evaluate As Expression = True.
    -Vaibhav Chaudhari

  • SMS text message header does not display sender information

    When I receive a text message the only header information that displays is the date and time.  The senders information does not display.  The lines are not even there.  There is no way to reply to a text message or tell who the sender is.  This problem is only with SMS messages.  Regular email headers display just fine.  I have done a wipe, reset, reload, everything possible with no luck.  I am the only one in my office with this problem.  I have not been able to find any information or postings from anyone having the same problem.  I can read the text message, but there is no header (except for the date and time).  Any thoughts?
    Blackberry Curve 8350i

    I was able to resolve the problem by uninstalling the Blackberry desktop manager software and reinstalling it selecting Internet Email vs. Blackberry Enterprise Server.  If you get to the screen that asks you to choose which type of email service you use and you accidentally choose the wrong one your phone will work but will do strange things, including sending all sorts of redirect emails.  For me, this seemed to do the trick.

  • Property List error: Unexpected character b at line 1 / JSON error: JSON text did not start with array or object and option to allow fragments not set.

    Hi,
    I have a MBP 13' Late 2011 and Yosemite 10.10.2 (14C1514).
    Until yesterday, I was using Garmin ConnectIQ SDK and all was working fine.
    Yesterday, I've updated my system with latest security updates and Xcode updates too (Version 6.2 (6C131e)).
    Since, I can't launch the ConnectIQ simulator app, I have this message in console :
    8/04/2015 15:19:04,103 mds[38]: There was an error parsing the Info.plist for the bundle at URL Info.plist -- file:///Volumes/Leto/connectiq-sdk-mac-1.1.0_2/ios/ConnectIQ.bundle/
    The data couldn’t be read because it isn’t in the correct format.
    <CFBasicHash 0x7fa64f44e9a0 [0x7fff7dfc7cf0]>{type = immutable dict, count = 2,
    entries =>
      0 : <CFString 0x7fff7df92580 [0x7fff7dfc7cf0]>{contents = "NSDebugDescription"} = <CFString 0x7fa64f44f0a0 [0x7fff7dfc7cf0]>{contents = "Unexpected character b at line 1"}
      1 : <CFString 0x7fff7df9f5e0 [0x7fff7dfc7cf0]>{contents = "kCFPropertyListOldStyleParsingError"} = Error Domain=NSCocoaErrorDomain Code=3840 "The data couldn’t be read because it isn’t in the correct format." (Conversion of string failed.) UserInfo=0x7fa64f44eda0 {NSDebugDescription=Conversion of string failed.}
    I have looked at this file and it looks like a binary plist
    bplist00ß^P^V^A^B^C^D^E^F^G^H
    ^K^L^M^N^O^P^Q^R^S^T^U^V^W^X^Y^Z^[^\^]^^^_ !"$%&'()'+,^[\CFBundleNameWDTXcodeYDTSDKName_^P^XNSHumanReadableCopyrightZDTSDKBuild_^P^YCFBundleDevelopmentRegion_^P^OCFBundleVersi    on_^P^SBuildMachineOSBuild^DTPlatformName_^P^SCFBundlePackageType_^P^ZCFBundleShortVersionString_^P^ZCFBundleSupportedPlatforms_^P^]CFBundleInfoDictionaryVersion_^P^RCFBundleE    xecutableZDTCompiler_^P^PMinimumOSVersion_^P^RCFBundleIdentifier^UIDeviceFamily_^P^QDTPlatformVersion\DTXcodeBuild_^P^QCFBundleSignature_^P^ODTPlatformBuildYConnectIQT0611[iph    oneos8.1o^P-^@C^@o^@p^@y^@r^@i^@g^@h^@t^@ ^@©^@ ^@2^@0^@1^@5^@ ^@G^@a^@r^@m^@i^@n^@.^@ ^@A^@l^@l^@ ^@r^@i^@g^@h^@t^@s^@ ^@r^@e^@s^@e^@r^@v^@e^@d^@.V12B411RenQ1V14C109Xiphoneos    TBNDLS1.0¡#XiPhoneOSS6.0YConnectIQ_^P"com.apple.compilers.llvm.clang.1_0S8.1_^P^Tcom.garmin.ConnectIQ¡*^P^AW6A2008aT????^@^H^@7^@D^@L^@V^@q^@|^@<98>^@ª^@À^@Ï^@å^A^B^A^_^A?^AT^    A_^Ar^A<87>^A<96>^Aª^A·^AË^AÝ^Aç^Aì^Aø^BU^B\^B_^Ba^Bh^Bq^Bv^Bz^B|^B<85>^B<89>^B<93>^B¸^B¼^BÓ^BÕ^B×^Bß^@^@^@^@^@^@^B^A^@^@^@^@^@^@^@-^@^@^@^@^@^@^@^@^@^@^@^@^@^@^Bä
    I guess it is a normal format but my system seems to be unable to read binary plist ?
    I tried some stuff with plutil
    plutil -lint Info.plist
    Info.plist: Unexpected character b at line 1
    Same for convert
    plutil -convert xml1 Info.plist
    Info.plist: Property List error: Unexpected character b at line 1 / JSON error: JSON text did not start with array or object and option to allow fragments not set.
    I also try to download a fresh version of the connectIQ SDK and no changes.
    Any idea ?
    Thanks

    Step by step, how did you arrive at seeing this agreement?

  • Text Link Styles not working in Footer Section

    I have a master page with a footer that has three columns of navigation text links inside.
    In order to match my design I have created a customer text link style for these links.
    However when I preview my site (in muse and browsers) the roll over effect (should show an underline) doesn't work.
    I've searched the forums and found that someone else had a similar problem and it was down to them having a paragraph and character style stacked on top of one another. However I have checked this on my links and this is not the case.
    NOTE: I have already successfully managed to create a similar style that resides in a side bar navigation panel in some of the sites internal pages and these link styles are working fine.
    So, I'm not sure if the file has become corrupt or if I'm missing something that I've done wrong?
    One question I have is at which point to you apply the text link style?
    1. By clicking on the line of text to select it?
        OR
    2. By clicking further into the text box; as if you were editing it, then selecting all of the characters in the word you want to make a link. With the word selected, click on the style name in the Character Panel to apply it?
        OR
    3. as with the above example, once you have selected all of the characters in the word you want to make a link. Click on the Hyperlink drop down arrow (from the main toolbar) and choose the style name you wish to apply, from the drop down box 'Text Link Style'
    NOTE:
    I'm running version v2.3, Build 50, CL 771675
    AIR Runtime: 3.5.0.600
    UPDATE:
    I couldn't wait any longer, so I just deleted the text boxes and styles and re-created them both and they seem to work now. Lot of additional work though that I'd rather have not had to do.

    Sorry, I forgot to say, to see how the email link at the
    bottom of the page should look please see www.bethhockley.com
    Thanks,
    Beth

  • Safari does not display text on some sites.

    I am running OSX 10.10.2 and Safari 8.03
    Some sites I visit do not display text at all.
    For example: This site (http://neflin.org/) looks fine in Chrome, Firefox, whatever. But in Safari, it has no text at all. See below.
    Mail is having difficult with some text in html email too.
    I have rebooted, reset the PRAM, deleted preferences and turned off extensions. I checked the Guest account and created a new account and in all cases the problem persists.
    I have validated fonts in Font Book, restored standard fonts and looked for duplicates. Nothing.
    Flash and Java are up to date.
    Any thoughts?

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It won’t solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of this test is to determine whether the problem is localized to your user account. Enable guest logins* and log in as Guest. Don't use the Safari-only “Guest User” login created by “Find My Mac.”
    While logged in as Guest, you won’t have access to any of your documents or settings. Applications will behave as if you were running them for the first time. Don’t be alarmed by this behavior; it’s normal. If you need any passwords or other personal data in order to complete the test, memorize, print, or write them down before you begin.
    Test while logged in as Guest. Same problem?
    After testing, log out of the guest account and, in your own account, disable it if you wish. Any files you created in the guest account will be deleted automatically when you log out of it.
    *Note: If you’ve activated “Find My Mac” or FileVault in OS X 10.7 or later, then you can’t enable the Guest account. The "Guest User" login created by "Find My Mac" is not the same. Create a new account in which to test, and delete it, including its home folder, after testing.

  • Set DISPLAY environment variable -- in DBCA not working at AIX OS

    Hi,
    I want to create new database in AIX OS and database is oracle 10g:-
    When i say DBCA it is giving below error, what should i do?
    $ dbca
    DISPLAY not set.
    Set DISPLAY environment variable, then re-run.
    Please help...

    Pravin wrote:
    How to set the DISPLAY environment variable in AIX?Usual format is:
    +<host>:<display-number>+
    E.g.
    export DISPLAY=192.168.0.235:1
    Where the host is the hostname or IP address of the client platform running a X-Server. If the X-Server is running locally, then this entry can be omitted.
    The display-number is the display number of the X-Server to use. A single X-Server can have multiple displays. E.g. Unix server running a X-Server can have 10 users connected via X-Terminals and will this have 10 displays.
    Judging from X-Windows questions asked on OTN, it seems to be a tad complex to grasp for some - especially those from a MS Windows background as X-Windows is very different and also reverses the client-server concept, requiring the X-Server component to be running on the client platform (where the server platform runs the program that is the X-client).
    So it is a lot easier to rather use something like VNC instead - supported on most Unix platforms, Linux, Windows and Apple's OS/X.
    Simply run the VNC server on the server platform to create a virtual container for running the X-server display. Connect from a client using a VNC client.
    As it uses the RFB (Remote Frame Buffer) protocol, it is a lot faster than running the slower and larger X11 protocol required for X-Windows connectivity over TCP/IP.

Maybe you are looking for

  • K9N Neo-F, just over a week old and now won't boot.

    Having trouble with a new build using a MSI K9N Neo-F motherboard.  I suspect my Motherboard is faulty :( and plan on sending it back to Newegg for replacement unless someone has something else for me to try.  Here’s the original configuration: MSI K

  • Bookmarks document (and possibly others) does not update in profile folder

    ''duplicate of https://support.mozilla.com/en-US/questions/906182'' In the course of locating my Firefox profile so that I could back it up to Mozy, I discovered that the Firefox document that contains my bookmarks, located in C:\Documents and Settin

  • Inconsistant actions with the update script

    Ok so I'm working on a script to send a email after X number of days (I asked this before and hit problems with it even after I had help), and I've been trying to chip away at it and I notice something that made no sense (Unless I'm missing something

  • HT4539 I can't download previous purchase

    I can't download the musics that I got, cause I formated the Ipad.

  • Is there such a thing as a Volume Structure Test for my Imac?

    When I purchased my Imac-Intel in 2009, a program came with it called "Techtool Deluxe-ver. 3.1.3" by Micromat,Inc. It tests all the hardware features on my harddrive with other diagnostics. One test is the "Volume Structure Test" which is the only t