2 independent text blocks in 1 line

Hi!
how can i put 2 text blocks beside each other in 1 "line" with 2 independent formats(similiar like in a newspaper) on a StyledDocument?
| block 1| block 2 |
|1111111|2222222|
|1111111|2222222|
|1111111|2222222|
|_______|_______|
Both blocks shall have different number of lines(different font sizes) BUT they shall also have the same size in y-axis!
Hope you understand my German English! :-)
thanks a lot for any help!!!

I have never tried it, but JTextPane supports an insertComponent() method. So may try creating leftTextPane, rightTextPane with separated Documents to insert into your mainTextPane.

Similar Messages

  • Displaying a multi-line text block in an ALV grid cell

    Can I display a multi-line text block (i.e. a paragraph of text) in an ALV grid cell?
    If yes, what properties do I set in the Field Catalaog (I tried the style and that didnt seem to work)
    Thanks

    By default ALV Grid merges fields with same values vertically.
    Isn't that only when the column is part of the sort key? You also have to consider the user changing the sort sequence, which can make the text jumbled up. In one of my reports I have made the cell a hotspot and displayed the text in a popup. Of course you cannot print it.
    Cheers,
    Ramki.

  • How do I add multiple text block records from text file?

    The data manager documentation (page 151) for MDM 5.5 SP3 indicates that one or more new text blocks can be added to the Text Blocks object table from files. It is noted that the files must be plain text files.
    I use notepad and create a text file with two lines as follows:
    Test 1
    Test 2
    When I try to add the text blocks following documentation mentioned above, it only adds one record for the Data Group I have chosen and the record contains the entry "Test 1" from the first line in the text file.
    How can I add multiple records to the data group from a file?

    From my testing it appears that you need to have one text file per text block record in Data Manager.
    I wrote VBA macro to so that I could input my text blocks into an Excel spreadsheet and then the macro will take the contents of each cell in a highlighted column and create one text file per cell.
    Then using Data manager, I can select all of the text files at once and it will import them, creating one record per text file.

  • Control of text blocks in parameter form

    How does one control the placement of text blocks in a parameter form? I'm creating paper view reports to be run via a report service on the application server. The report's parameter form, when run through a web browser, looks nothing like its presentation when run directly with the report builder.

    Anyone?
    I would like for the cr/lf characters to transfer from the report builder's parameter development screen onto the page rendered by the browser when the report is run from a report server.
    As shown in the report builder, the parameter screen looks like:
    Enter prefix: __
    Enter ticket: ______
    Prefix example (AA, BB, etc.)
    Ticket number should be all numeric.
    But when rendered from within the browser, it looks like this:
    Enter prefix: __
    Enter ticket: ______
    Prefix example (AA, BB, etc.)Ticket number should be all numeric.
    (Note the last line - it is now one screen line instead of two.)

  • How can I have a standard text block appear on the last page of my documents?

    How can I have a standard text block appear on the last page of my documents without having to type it in all the time? I have a terms statement with a line for a customer’s signature which I want on the last page of my invoices and right now I have to type it in each time or cut and paste it from a previous invoice. I already have a Master Page that includes the customer information and my company information at the top of each page and I am using data merge to fill each page with the items ordered and their pictures etc. I would just like to have this standard terms block automatically show up on the last page after the last item in the data merge.
    Thank you all in advance for your help.

    Thank you Peter. This works. I have the text block now at the bottom of a second master page which I apply to the last page. For aesthetics I can modify the position of the text block in the new master page to bring it up from the bottom under the last item ordered when there is less than 4 items on the page. (my data merge fits up to 4 items with their images on a page).  If the last page is full I’ll insert a final page using the second master and also bring it up to the top of the page.

  • Text block as image -- should I care?

    It was pointed out to me that most of the text on my site is an image, rather than lines of text. All of the text on my site was typed onto the site into text blocks, and none of it was cut and pasted. I did use Garamond for the font.
    A few threads have covered this topic, which I have read.
    Two of those blocks of text-as-image are on my home page and the text in those blocks appears in Google (on the listing of the site on the first "search result" -- or whatever it is called -- page).
    Doesn't this mean that the text in those "text-as-image blocks" (sorry for all the quote marks, but I don't know the real names of these things) are indeed searchable by google, even if they are images rather than lines of text?
    I have tried cutting and pasting the text into TextEdit and then repasting the text back but that didn't solve the problem.
    So:
    1. Does any of this really matter to the search engines and the ability of people to find text on my pages? Or for some weird reason does the home page act differently than the other pages?
    2. Does anyone have a consistent solution to this problem?
    3. Is this something that Apple may think significant enough to have already fixed for the next version -- which I hope is out in a couple of months?
    But mainly, should I even care?
    Thanks!
    Mark

    1. Does any of this really matter to the search
    engines and the ability of people to find text on my
    pages? Or for some weird reason does the home page
    act differently than the other pages?
    No and no. It sounds like your page is already coming up in the search results...graphic or text? It doesn't matter.
    2. Does anyone have a consistent solution to this
    problem?
    Not sure that it is a problem that needs fixing.
    3. Is this something that Apple may think
    significant enough to have already fixed for the next
    version -- which I hope is out in a couple of
    months?
    Again, I doubt that Apple sees it as a problem. iWeb converts text into an image for a reason.... your happiness. Most people would probably want to have a webpage that looks the way it is supposed to look (the way they want it to look). Most people probably don't care about text converted to image as long as it looks the way they expect it to look. This is why iWeb does the text to graphic conversion....to ensure uniform and consistent rendering of the text on the page. I think many, many more people would be upset if iWeb allowed them to put different fonts and text effects on a page and then left it up to a browser to determine how those fonts and effects were to be rendered.
    But mainly, should I even care?
    I think in the grand scheme of things, you shouldn't care. But that's just my humble opinion.

  • Multiple text blocks in PDF

    The PDF I created from InDesign is making 3 text blocks per line! My client needs to edit his menu. Almost every word is a text block. It's only one text block in the InDesign file. I'm using CS6.

    Agreed that they seem to be overselling the editing. It has never been easy to edit, but also depends on how the PDF was created. It may be that the creation process you are using from InDesign is the issue, not Acrobat itself. However, I would not look to Acrobat for a lot of editing, other than for minor corrections. Just how are you creating the PDF from InDesign? Are you setting up the parts for the user to change as form fields rather than basic text blocks?
    It is typically recommended that all changes be done in the original software and the PDF recreated. Often that might be WORD or LIBREOFFICE for many folks. There are issues that have to be watched even there, but it is really the preferred approach and not to edit the PDF, no matter what the claims that are stated.

  • PDF file displays different number of text blocks in Acrobat Pro CC 2014 and CS6 versions

    Hi,
    I've inherited a file at work that displays different numbers of text blocks, depending on the version of Acrobat Pro used to view the file. Here's the specific issue:
    As viewed in CC 2014:
    "Chapter 1 - Chapter One Title": Appears as two text blocks -- one for "Chapter 1 - " and one for "Chapter One Title"
    As viewed in CS 6:
    "Chapter 1 - Chapter One Title": Appears as a single text block -- "Chapter 1 - Chapter One Title"
    This occurs only with regard to single-digit chapter numbers that are whole numbers. So:
    Chapter 1, Chapter 5, and Chapter 7 entries appear as two blocks in CC 2014, one block in CS6.
    Chapter 2.0, Chapter 6.1, Chapter 10, entries appear in single blocks in both CC 2014 and CS6.
    The PDF file was created -- I believe -- through the save-to-PDF feature in Word 2010.
    Any idea what's happening here?
    Thanks.
    David

    First of all, there is no such thing as Acrobat CS6 or Acrobat CC 2014. We assume you are referring to Acrobat X and Acrobat XI respectively.
    Secondly, how are you determining how many text blocks are in the PDF file? By use of the text touchup/edit function in Acrobat? If so, how this edit function displays text doesn't necessarily correspond to the actually underlying text fragments in the PDF file. In fact, sometimes it combines fragments based on heuristics. Those heuristics have varied with different version of Acrobat.
    PDF as a file format doesn't know the context of the graphical objects such as text. There is no concept of a line, a sentence, a paragraph, a column, etc. in terms of text. Runs of text are context-insensitive. You will get “breaks” when switching between regular and italics or when unusual paragraph justification is involved.
    Is the actual problem in trying to edit the text or something else?
    If you post a file, and indicate what text we should look at, we can confirm what is actually going on in your file.
              - Dov

  • Remove String From Text Block

    I need to remove the following string "Price: $5.80-" from
    text block listed below... I have a bunch of text blocks similar to
    this one listed below, but they all have this sort of string in
    them ("Price: $5.80-")... Each text block has a "Price" and end an
    "-" mark... Is there anyway to strip this line out of everyone of
    my listings...
    M635
    Small Smooth Ring Pull w/backplate in Patine Black
    Height: 1 3/16"
    Width: 1 3/16"
    Projection: 1 3/16"3/4"
    Base Material: Steel
    Screws: Screw Pack
    Price: $5.80-
    Thank for the help!!!

    In the code below, I assume the "Price" will be on a separate
    line.

  • Why is my text in one of my text blocks in my accordion widget going vertical?

    I need a break!  Now, in my accordion widget one of the text blocks are vertical.  Or what I should say is the text looks correct but the T tool is showing that it is vertical and the menu at the top of my screen shows it's vertical.  I was trying to get rid of extra space after my wording and noticed that the vertical tool shows.  I have tried everything to get it to go back to normal text.  As soon as I click back into the text frame it reverts back to vertical.  I have wasted so much time with problems with widgets today I'm ready to give up.  Anyone know the answer?

    I was so frustrated I decided to try to delete the text box for that accordion section and start over.  It seemed to be ok now.  Now I'm having problems with anchors.  It's always something when I am working with deadlines.  Could you look at my site?  I still have a lot to do but the business catalyst site is opitsourcebook01.businesscatalyst.com.  If you go to the accordion widget on the left under "Associations and Organizations and click "Click this link" at the beginning of the paragraph it will take you to the page.  Again, very frustrated but in the menu bar with "Physicians - Pharmacists - Nurses - General" I removed all but one anchor because they would not line up.  If you click on "General" it doesn't go to where the anchor is farther down the page just right above "General Listings".  I have spent all day reviewing tutorials and I can't seem to see what I have done wrong.  Going for a run to rethink.  Thanks for your help.

  • Can I Animate Individual Characters in a Text Block Using the Wiggle Expression?

    I'm new to After Express and just diving in to expressions. I was trying to figure out if there was a simple way to use the wiggle expression in a way that it would wiggle individual characters in a text block independently of each other.
    Definitely appreciate any help.

    Did you try the Wiggly Selector? Alternatively, you could add an Expression Selector and add and Amount expression like this:
    seedRandom(textIndex,true);
    wiggle(1,100)
    Dan

  • Mail saving text attachments with DOS line endings

    dear all,
    i just noticed that Mail saves text attachments with DOS line endings (CR+LF), even if the original contains UNIX line endings (LF). how can i disable this behaviour?

    Using Automator, one can make a Desktop application that simulates dos2unix.
    The Automator application shown here, will prompt the user to choose one or multiple (using command key) text files, and will then use Perl to process each file in-place, replacing the carriage return-line feed pairs with just a line feed. I tested this on a folder of text files where each file had more than 1 CRLF pair. Afterwards, there were only LF. The last thing this application does is slide out an OS X notification with processing status and number of files affected. I borrowed, and adapted the Perl block from Stack Overflow.

  • AS3: organized text blocks

    Hey,
    I have a problem regarding text appearence on screen.
    I have few TFL dynamic text fields in CS5.5 that update each time according to users choises (a dictionary, in hebrew if it matters).
    As a text field I can't break lines or organize the text in paragraphs or any other way, the corrent situation is a text block that is not pleasent to read, it's need to be organized (it's for children so it has to be as clear as possible).
    I used + '\n' + and it worked with a test file but it didn't on my real project. When testing it throws "can not assign a non refernec value : Erroe 1050".
    I am desperet! is there a way to orgenize my text as a dynamic text field? or is there another way?
    Any help will be really apprecieted.

    I don't have a new enough version to test that with TLF textfields, but using a normal textfield the code tests fine.
    If you are adding that text all at once using code, then you should keep it on one line just to be safe, though it should work separated.  And you can use doublequotes around all portions of it, no need for single quotes around \n's.
    If you are adding it in stages, you should use the appendText() method.
    Since the error is indicating something cannot be assigned to the textfield, it would seem that there is something amiss with the textfield, so you might try placing:  trace(elderText);  one line before to see if it indicates it is recognized as a TLFTextField.

  • Call, FaceTime & Text Blocking

    I have a question about the blocking feature.
    I would like to know what the blocked person sees or hears when they attempt to contact you.
    Do they get a message informing them they've been blocked?
    Do they think they are getting through but there is no response?
    What happens on their end?

    scatrbrain wrote:
    I just got off the phone with a Verizon customer care rep that told me she just got an email saying that you can not use the number / text blocking service (on the VZW website) on the same line that has the Mobile hotspot activated. This is either a glitch or these 2 services are conflicting for some strange reason. Either way I have removed the hotspot from my line so i can use the blocking service I.E. i have stopped paying Verizon $20/mo for the hotspot until this issue is sorted.
    Verizon Wireless has currently identified an issue with the Call & Message Blocking feature and Mobile Broadband Connect/Hotspot feature. These features conflict when both features are combined on the same line. Our team is reviewing the issue at this time. I apologize for the inconvenience. We will post updates as they become available.

  • Call/text  blocking

    does anyone know what Verizon message is seen by the owner of a number who has attempted calling and /or texting but have been placed on call/text block.  And is there a way find out if these blocked numbers have attempted to contact you

        Hi aboutyou,
    Unwanted calls can be very frustating! There is not a way to see if a blocked number has tried to call or message you. If the blocked number is a VZW customer, they will see a red X in the sent folder with status failed notification. Followed by "Delivery failed. Invalid destination or service blocked at destination". They will also receives a text message alert - "You cannot send messages to destinations that are blocked by the account owner."   If a block non VZW customers attempts to send you a message, they will see  a green check mark with a "Message Sent" notification but message not delivered to your line.
    Addtionally if a block VZW or non VZW number attempts to call you:  Call does not go through. The blocked line hears an audio alert " The number that you have dialed has calling restrictions that have prevented the completion of this call. I am confident this information is helpful. Please let me know if you have any additional questions or concerns.
    Thanks,
    AyaniB_VZW
    Follow us on Twitter @VZWSupport

Maybe you are looking for

  • Fields not getting rendered based on fire partial action

    Dear Friends I have req like based on the selected value in message choice input (UOM), the other values(BOX,EACH,VOLUME) in page sholud render . These are my codes in AM and CO. ******************************AM***********************     public void

  • When making a PDF in Indesign CS5 crashes?

    Is there any way to reset the PDFs Presets in Indesign. The High Quality PDF (that is a preset already in Indesign) started to crash ages ago. I just made up new PDF Presets. Now it seems that when making PDFS whether Press Quality or the ones I have

  • How to change the response of human task if we are using the skip rule

    Hi, We have developed the request workflow in OIM11g for this we are using the Beneficiary Manager approval composite to approve the request by his manager. We are using the skip rule in the human task component to skip the user if the requester is b

  • Solaris 10 Problem with Intel board network interface

    I've just installed Solaris 10 on my Intel board with integrated fast ethernet interface. Installation went smoothly, except for the networking. I've already followed the guide on this link http://solaris-x86.org/documents/tutorials/network.mhtml. Th

  • Fields of the data base tables

    Hi ABAP Gurus,                  i am developing an sd module report and in that my input fields are   fkdat,                 vbeln,                 kunag,                 fkart. and output fields are :                    1)   vbeln