Using LineBreakMeasurer causes line to break badly

Hello all
I'm having a problem with some printing code. First I determine the min/maxs required to display some column data using <metrics>.stringWidth(). Once I figure out how much space can be in a column I go through and use LineBreakMeasurer to format each line to within the specified column space. Unfortunately in one instance the data is being broken when it shouldn't. Here are the routines...
    int breakLines(final String text, final float width, final Font font,
                      final ArrayList list)
        if (0 < text.length()) {
         final String[] tokens = text.split("\\\n");
         for (int i = 0; i < tokens.length; i++) {
          final AttributedString attText = new AttributedString(tokens);
     attText.addAttribute(TextAttribute.FONT, font);
     final LineBreakMeasurer lineBreaker =
new LineBreakMeasurer(attText.getIterator(),
                                   new FontRenderContext(null, true, true));
               TextLayout layout = lineBreaker.nextLayout(width);
               do {
                    list.add(layout);
                    layout = lineBreaker.nextLayout(width);
               } while (null != layout);
     return list.size();

Okay - the editor messed me up. Took my partial e-mail and posted it.
Here's the code (again).
    private void findMinMax(final int idx, final String text,
              final FontMetrics metrics)
        double width = metrics.stringWidth(text);
        mMax[idx] = Math.max(mMax[idx], (int)Math.ceil(X_PAD + width));
        final String[] tokens = text.split(" ");
        for (int i = 0; i < tokens.length; i++) {
         width = metrics.stringWidth(tokens);
     mMin[idx] = Math.max(mMin[idx], (int)Math.ceil(X_PAD + width));
int breakLines(final String text, final float width, final Font font,
               final ArrayList list)
if (0 < text.length()) {
     final String[] tokens = text.split("\\\n");
     for (int i = 0; i < tokens.length; i++) {
     final AttributedString attText = new AttributedString(tokens[i]);
     attText.addAttribute(TextAttribute.FONT, font);
     final LineBreakMeasurer lineBreaker =
          new LineBreakMeasurer(attText.getIterator(),
                    new FontRenderContext(null, true, true));
     TextLayout layout = lineBreaker.nextLayout(width);
do {
     list.add(layout);
     layout = lineBreaker.nextLayout(width);
     } while (null != layout);
return list.size();
The problem is when a single word is the only string in a column (like "Sticks"). The last character 's' is ending up on another line!
Why? The 'width' passed in is the value determined from 'findMinMax' minus the X_PAD. The metrics passed into 'findMinMax' are metrics retrieved using the font passed into 'breakLines'.
Any help appreciated.
Lori <*>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

Similar Messages

  • HT1461 Win 7 set up and running OK,but after go back from OSX the wireless net work stuck at identification cause the window working without Internet.Can we fix it or I must use Windows off line all the time? I already contact Microsoft 2 times for activa

    Win 7 set up and running OK,but after go back from OSX the wireless net work stuck at identification cause the window working without Internet.Can we fix it or I must use Windows off line all the time?
    I already contact Microsoft 2 times for activations.Hope I can fix from Apple instead.

    Ok....Got "Problem 2 and 4" solved....still trying to figure out this pop up everytime I click something...it's crazy how fast the pop up blinks...maybe once or 3 blinks then nothing till you close the window, then pop up then disappears...then click something
    else and pop up then gone....never seen this before...ive seen it when you tried to get online which turned out to be a virus on a customers cpu I worked on some years ago, I think it has something to do with the deleted files that I spoke of on last
    post...I notice it does it on start up as well.....think something is trying to install but not sure. Need to figure out where the appdata or start up folder and see whats in there....maybe it's in there.......so I might wait to see how it acts in the next
    couple days for "Problem 1"...but other than that it's running like a champ...so right now I just want to get the pop up windows to stop........thx again for everyone's help on this.
    John

  • HT4743 I accidentally downloaded the french version of breaking bad but I wanted English.  Is there anyway I can return it or do I need to buy the English version now?

    I accidentally downloaded the french version of breaking bad but I wanted English.  Is there anyway I can return it or do I need to buy the English version now?

    Welcome to the Apple Community.
    Apple's policy on sales of digital content is that all sales are final. If however you wish to appeal to Apple, select the content which is causing a problem and use the 'Report a problem' button in Your Purchase History on your computer.
    Currently, if your purchase happens to be your most recent purchase you will not be redirected to the report form, in this case use the report a problem option from the invoice that was emailed to you.

  • Breaking Bad season 5 episodes with no sound.

    I have bought season 5 of breaking bad and when I play episodes Madrigal and Hazard Pay there is video but no sound.  This happens on apple TV, iPad and iPhone

    Try deleting the problematic file (electing to remove original file if/when prompted) and then re-downloading the file from the iTunes store.
    You can re-download content purchased from the iTunes store (availability varies depending on location) using the purchased option from the Quick Links section in the top right corner of the iTunes homepage in your iTunes application on your computer.
    You can re-download content purchased from the iTunes store (availability varies depending on location) using the purchased option at the bottom of the screen of the iTunes app (or video app) on your iOS device.
    If the problem re-occurs, select the content which is causing a problem and use the 'Report a problem' button in Your Purchase History using your computer.

  • Use of SAVE_TEXT in customer exits / BADI for purchase order

    Hi All,
    I am trying to save some long text by using SAVE_TEXT function module in a badi implementation for purchase order header text. The same is working fine if i try to update the PO header text via a report. But if i try using badi (the code is written in a PAI event for the BADI), then though the text transfer and save is successful during the code excution, but for the first time when i add any text its not visible in ME22N tcode. Since its an online event. But when i double click on that editor and the sap script editor gets opened. then i press back button, the text is appearing on the same small screen edtor . after this any number of time i edit or delete text, the save_text function module works fine.
    My issue is why for the first time always i have to double click on the editor to open the sap script editor. I have also included commit_text in this case after save_text FM.
    the requirement here goes like this. in one tab for PO header the user will enter some number (This is a customizing screen implemented through badi.) and the corresponsing discription should appear when user clicks on text tab in po header screen (me21n / me22n).
    Kindly help.
    Thanks
    Mamata

    Hi  mamata rath
    I have solve the problem which similar to yours.  the code which is as the following
    DATA: textline TYPE tdline,
            name TYPE c LENGTH 70,
            glines TYPE TABLE OF tline,
            gline  LIKE LINE OF glines,
            ls_header TYPE thead.
         CONCATENATE ch_eban-banfn ch_eban-bnfpo INTO name.
             ls_header-tdobject = 'EBAN'.
             ls_header-tdname = name.
             ls_header-tdid = 'B01'.
             ls_header-tdspras = sy-langu.
             CALL FUNCTION 'SAVE_TEXT'
               EXPORTING
    *           CLIENT                = SY-MANDT
                 header                = ls_header
    *           INSERT                = ' '
    *           SAVEMODE_DIRECT       = ' '
    *           OWNER_SPECIFIED       = ' '
    *           LOCAL_CAT             = ' '
    *         IMPORTING
    *           FUNCTION              =
    *           NEWHEADER             =
               tables
                 lines                 = glines
               EXCEPTIONS
                 ID                    = 1
                 LANGUAGE              = 2
                 NAME                  = 3
                 OBJECT                = 4
                 OTHERS                = 5
              IF sy-subrc = 0.
                  CALL FUNCTION 'COMMIT_TEXT'
                    EXPORTING
                      OBJECT                = 'EBAN'
                      NAME                  = name
    *                ID                    = '*'
    *                LANGUAGE              = '*'
    *                SAVEMODE_DIRECT       = ' '
    *                KEEP                  = ' '
    *                LOCAL_CAT             = ' '
    *              IMPORTING
    *                COMMIT_COUNT          =
    *              TABLES
    *                T_OBJECT              =
    *                T_NAME                =
    *                T_ID                  =
    *                T_LANGUAGE            =
              ENDIF.

  • Issue while creating BPEL artifacts using BPEL command line tool

    All
    I am trying to create BPEL artificats for SQL server stored procedure for SQO Server 2005 using BPEL Command line tool.
    My demo.properties is
    ProductName=Microsoft SQL Server
    DriverClassName=com.microsoft.sqlserver.jdbc.SQLServerDriver
    ConnectionString=jdbc:sqlserver://10.10.20.2:1433;databaseName=dAP
    Username:apcdb
    Password:password1
    SchemaName:dev
    ProcedureName:spiSOATesting
    ServiceName:SQLServerSPService
    DatabaseConnection:MSSQLServer
    Destination:c:/temp/sqlprocedure
    and I have create a batch file called as generate.bat and it contains following information
    java -cp D:\jdevstudio10134\integration\lib\DBAdapter.jar;D:\jdevstudio10134\integration\lib\bpm-infra.jar;D:\jdevstudio10134\integration\lib\orabpel.jar;D:\jdevstudio10134\lib\xmlparserv2.jar;D:\jdevstudio10134\lib\xschema.jar;D:\jdevstudio10134\toplink\jlib\toplink.jar;D:\jdevstudio10134\integration\lib\connector15.jar;D:\temp\sqlprocedure\JDBC\sqljdbc.jar oracle.tip.adapter.db.sp.artifacts.GenerateArtifacts %1
    and when I try to run the command at BPEL PM Developer Prompt, I am getting Procedure not found, Can one please tell, what is the cause of this error. and how does this command line tool exactly work.
    Following is the output from command prompt.
    D:\product\10.1.3.1\OracleAS_1\bpel\samples>D:\temp\sqlprocedure\generate.bat D:\temp\sqlprocedure\demo.properties
    D:\product\10.1.3.1\OracleAS_1\bpel\samples>java -cp D:\jdevstudio10134\integration\lib\DBAdapter.jar;D:\jdevstudio10134\integration\lib\bpm-infra.jar
    ;D:\jdevstudio10134\integration\lib\orabpel.jar;D:\jdevstudio10134\lib\xmlparserv2.jar;D:\jdevstudio10134\lib\xschema.jar;D:\jdevstudio10134\toplink\j
    lib\toplink.jar;D:\jdevstudio10134\integration\lib\connector15.jar;D:\temp\sqlprocedure\JDBC\sqljdbc.jar oracle.tip.adapter.db.sp.artifacts.GenerateArtifacts D:\temp\sqlprocedure\demo.properties
    Procedure not found: dAP.spiSOATesting
    Thank you

    HI
      Pricing will be carried basing on the pricing
    procedure.
    Case1: Prices will be carried out automatically if
    necessary condition records are maintained for the
    condition type.
      For this you can go to Sales Order-> Item Conditions
    In the screen you can click on command button Analysis,
    which gives you the list of condition types associated
    to the pricing procedure. By clicking on the condition
    type you can know the action that has taken place.
    Case2: Manually forcing prices for Items.
      To do this, you have to populate ORDER_CONDITIONS_IN &
    ORDER_CONDITIONS_INX. Also note to identify the item
    numbers, you manually pass the item number for each item
    in the sales order, use the same item number for
    populating conditions.
      Parameters required:
    ORDER_CONDITIONS_IN:
      ITM_NUMBER, COND_TYPE, COND_VALUE, CURRENCY
    ORDER_CONDITIONS_INX:
      ITM_NUMBER, COND_TYPE, UPDATEFLAG, COND_VALUE,CURRENCY.
       Hope the above info helps you. Do revert back if you
    need more info.
    Kind Regards
    Eswar

  • 2nd week running, I received an e-mail saying a new episode of Breaking Bad is available.  When I go to download its the "Inside Breaking Bad" short (which gives away spoilers - thanks Apple!) but not the episode itself.  What gives?

    2nd week running, I received an e-mail saying a new episode of Breaking Bad is available.  When I go to download its the "Inside Breaking Bad" short (which gives away spoilers - thanks Apple!) but not the episode itself.  What gives?
    I've tried this on multiple products so I believe its specific to iTunes not a particular device.

    Same thing here- Get the email but nothing but the Inside featurette. It's really annoying. In fact I can't even download it normally using the check for available downloads feature! Every time I do that iTunes tries to download doubles of three Walking Dead episodes I've already downloaded. I don't want what I already have, I just want the new episode.

  • How can I 'search' for Line/Page Breaks in Pages 5.5.2?

    In the old version of Pages I was able to Find Line/Page Breaks by copying these symbols from the document and pasting them into the Find box. However, when I do this in Pages 5, all I see pasted is a blank space.
    How can I copy and paste symbols?

    Visit the View menu, and select Show Invisibles. The page breaks will be a blue line across the page with a document icon at the end of that line. The hard (paragraph) returns are the pilcrow ¶ character.
    Select the page or paragraph break symbol, and then press cmd+E. This is shorthand for use the selected character for the search. Next press cmd+F to open the Find panel, which will now be pre-populated with the character you want to find. In the gear icon, choose Whole Word. Then press the > key to advance to the next found character. There is no left panel display that shows the page number(s) that the found characters appear on.

  • AutoSize not working properly in TextField when using non-zero line spacing

    When using non-zero line spacing, the autoSize property is not functioning as expected, causing text fields to scroll that shouldn't.  Also, when using device fonts, the sizes of the TextFields are wrong in the Flash IDE.
    I have a TextField whose height is supposed to be dynamic, depending the width of the TextField.  wordWrap is true, the text is left aligned, and the autoSize value is flash.text.TextFieldAutoSize.LEFT.
    When the TextField's width is adjusted, the height increases or decreases as expected, but when I scroll the mouse wheel over the TextField, it allows a single line to scroll out of view.  This should not be happening.  The autoSize property should ensure the TextField is large enough to neither require nor allow scrolling.
    Has anyone else encountered this issue or know how to fix it?
    Update: Been a problem since at least 2006! > http://blog.nthsense.net/?p=46
    http://www.kirupa.com/forum/showthread.php?288955-Disabling-textfield-scrolling   Bug is caused by using a line height ("line spacing" in Flash) larger than zero, for example 1.0pt.  It looks like when I reduce the line spacing of the text field to zero, the issue goes away.  There doesn't seem to be anything wrong with how autoSize is calculating the required height of the text (i.e. it is exactly textHeight + 4 pixel gutter, and drawing the rectangle (2,2,textWidth,textHeight) aligns visually with the text), so it must have to do with how the TextField is deciding whether it needs to scroll or not, and that separate calculation is being thrown off by the non-zero line spacing.  The additional non-zero spacing at the end of the last line could be making the TextField think it needs to scroll, even though it's hight is sufficient at "textHeight + 4".  Apparently the problem manifests when using a non-zero leading value as well.
    In fact, it has to be related to the leading value exactly, since the following code stops the textfield from scrolling.
    //body is TextField
    var tlm:TextLineMetrics = body.getLineMetrics(body.numLines - 1);
    trace(tlm.leading); //traces "1" here.  traces zero when line spacing is zero, and traces larger values with larger line spacing values
    body.autoSize = flash.text.TextFieldAutoSize.NONE; //turn off autosize so the height can be set manually
    body.height += tlm.leading; //increase height of textfield by leading value of last line to cause scrolling to be turned off.
    Honestly, this is pretty unacceptable bug.  First of all, scrolling should not be sensitive to trailing line spacing, because autoSize and textHeight do not include it. It need to be consistent, and I think textHeight and autoSize setting height = textHeight + 4 is correct.  Vertical scrolling should use textHeight as it's guage for whether scrolling is necessary, but instead, it's obviously involving the leading values of the last line.  At the very least, vertical scrolling should simply be disabled when autoSize is turned on and wordWrap is true, because the TextField should be big enough to fit all the text.  The workaround of manually adjusting the height is also no good, since turning autoSize back on will immediately change the size back and trigger scrolling again.  I also shouldn't have to set line spacing to zero just to use the autoSize feature, since the scrolling calculations are wrong in this way.

    No, lol.  Luckly, I replace most of my TextFields on the display list with my subclass TextFieldEx.  I just call a clone method that accepts a TextField and returns a TextFieldEx with identical properties.
    I corrected the problem via modifying the subclass to behave differently when autoSize is not NONE and wordWrap is true.  Under those conditions, the maxScrollV and scrollV property values are fixed at 1, and the class listens for its own SCROLL event and sets scrollV to 1 when it occurs.  That allows me to leave everything else alone, including text selection, and use whatever line spacing I want.
    The modification seems to work fine so far.
    For anyone interested in doing something similar, here is a clone method that will copy a TextField.
    public static function clone( t:TextField ):TextFieldEx
                                  var te:TextFieldEx = create( "", t.width, t.type, t.multiline, t.wordWrap, t.selectable, t.embedFonts, t.defaultTextFormat );
                                  te.alpha = t.alpha;
                                  te.alwaysShowSelection = t.alwaysShowSelection;
                                  te.antiAliasType = t.antiAliasType;
                                  te.autoSize = t.autoSize;
                                  te.background = t.background;
                                  te.backgroundColor = t.backgroundColor;
                                  te.blendMode = t.blendMode;
                                  //te.blendShader = t.blendShader;
                                  te.border = t.border;
                                  te.borderColor = t.borderColor;
                                  te.cacheAsBitmap = t.cacheAsBitmap;
                                  te.condenseWhite = t.condenseWhite;
                                  te.displayAsPassword = t.displayAsPassword;
                                  //te.embedFonts = t.embedFonts;
                                  te.filters = t.filters;
                                  te.gridFitType = t.gridFitType;
                                  te.height = t.height;
                                  te.opaqueBackground = t.opaqueBackground;
                                  te.restrict = t.restrict;
                                  //te.selectable = t.selectable;
                                  te.sharpness = t.sharpness;
                                  te.thickness = t.thickness;
                                  te.transform = t.transform;
                                  //te.type = t.type;
                                  te.useRichTextClipboard = t.useRichTextClipboard;
                                  //te.wordWrap = t.wordWrap;
                                  //Assign text last
                                  te.htmlText = t.htmlText;
                                  return te;
    //And the create method it uses
    public static function create( text:String = "", width:Number = NaN, type:String = null, multiline:Boolean = false, wordWrap:Boolean = false, selectable:Boolean = true, embedFonts:Boolean = false, font_or_textformat:*=null, size:Object=null, color:Object=null, bold:Object=null, italic:Object=null, underline:Object=null, url:String=null, target:String=null, align:String=null, leftMargin:Object=null, rightMargin:Object=null, indent:Object=null, leading:Object=null ):TextFieldEx
                                  var tf:TextFieldEx = new TextFieldEx();
                                  tf.width = isNaN(width) ? 100 : width;
                                  tf.defaultTextFormat = (font_or_textformat is TextFormat) ? (font_or_textformat as TextFormat) : new TextFormat( font_or_textformat as String, size, color, bold, italic, underline, url, target, align, leftMargin, rightMargin, indent, leading );
                                  tf.embedFonts = embedFonts;
                                  tf.multiline = multiline;
                                  tf.wordWrap = wordWrap;
                                  tf.selectable = selectable;
                                  tf.type = type;
                                  tf.text = text; //setting text last ensures the text line metrics returns correct values
                                  //Initialize the TextField's size to fit the text.
                                  if (!multiline)
                                            //When in single-line mode and no specific width is given,
                                            //expand width to entire line.
                                            if (isNaN(width))
                                                      tf.width = tf.textWidth + 4; //match width of text
                                  //Height is always automatically adjusted to fit the text by default.
                                  //It's better than the arbitrary 100px default height.
                                  var minimum_height = tf.getLineMetrics( 0 ).height;
                                  var h:Number = tf.textHeight;
                                  tf.height = (h < minimum_height) ? (minimum_height + 4) : (h + 4); //match height of text, ensuring height is at least enough to display one line, even if there is no text
                                  return tf;

  • Has anyone managed to watch Breaking Bad Season 5 on ATV without cursing?

    I am getting a lot of green pixel lines, pixalation in general, ghost images, overlapping layers, all kinds of digital distortion. I suspect the latest firmware because Netflix is really smooth and all HD.

    I got the email and downloaded 2 copies of the behind the scenes clip, as well. Can we talk about how RIDICULOUS this is? I paid $23, and Amazon Instant has the episode already, and has for HOURS. Not to mention, it doesn't even give you all of season 5. Season 5 IS the final season. This is honestly ridiculous and incredibly disappointing. I can't even watch the behind the scenes yet, because it will spoil the actual episode which isn't out yet. It's not even consistent in release time. Last week, this time, I already had my post-Breaking-Bad-episode glow. This week, this time, it's more of an angry, unattractive, red.

  • Project Server 2007: use cannot add lines to or recall timesheet

    I have a certain user that, for some reason, cannot use the Add Lines or Recall Timesheet function in Project Server 2007 SP3. The weird thing is, it works on another laptop, so it must be something related to the user's machine - but I'm baffled as to what
    the exact cause may be.
    There's no error what so ever - no Error On Page as is pretty common with these behaviors.
    Here's what I've tried so far:
    - Internet Explorer 8 version is supported
    - Deleted ActiveX controls, but these don't seem to be a prerequisite for Timesheets
    - IE Compatibility mode on/off
    I have no idea what else to check, and I want to make sure I've tackled everything before escalating this to SysOps for a browser/OS reinstall.

    Hi DMachiels,
    Have you tried to refresh your IE session deleting the cache (CTRL F5)?
    Also ensure that the PWA URL is include in the IE trusted sites (intranet and internet).
    Hope this helps.
    Guillaume Rouyre - MBA, MCP, MCTS

  • Header line problem inside BADI method

    Hi all,
    I have to use a function CLAF_CLASSIFICTION_OF_OBJECTS'
    inside a BADI called BATCH_Master.
    Now the thing is that the data which I have to read gets fetched in one of the tables of function module.
    Following CODE works fine if <b>I am not using BADI.</b>
    Data: P_CLASS like SCLASS occurs 0 with header line,
    P_OBJECTDATA like CLOBJDAT occurs 0 with header line.
    Call Function 'CLaff_Classification_OF OBjects'
    TABLES
    T_CLASS = P_Class
    T_OBJECTDATA = P_OBJECTDATA.
    LOOP AT P_OBJECTDATA.
    WRITE: / P_OBJECTDATA-AUSP1.
    ENDLOOP.
    <b>But if I am use BADI then I can't use header line.</b>
    Data:
    P_Class TYPE STANDARD TABLE OF SCLASS initial size 0,
    P_Objectdata TYPE STANDARD TABLE OF CLOBJDAT initial size 0.
    Now I can't print the values of P_Objectdata because I am not using header line since I am using BADI.
    How can I print P_Objectdata because I can't use header line in BADI while declaring any table (Due to OO Concept) ?

    > Hi all,
    > I have to use a function
    > CLAF_CLASSIFICTION_OF_OBJECTS'
    > inside a BADI called BATCH_Master.
    > Now the thing is that the data which I have to read
    > gets fetched in one of the tables of function
    > module.
    >
    > Following CODE works fine if <b>I am not using
    > BADI.</b>
    >
    > Data: P_CLASS like SCLASS occurs 0 with header line,
    > P_OBJECTDATA like CLOBJDAT occurs 0 with header
    > line.
    >
    > *
    > *
    > Call Function 'CLaff_Classification_OF OBjects'
    > *
    > *
    > TABLES
    > T_CLASS = P_Class
    > T_OBJECTDATA = P_OBJECTDATA.
    > *
    > *
    >
    > LOOP AT P_OBJECTDATA.
    > WRITE: / P_OBJECTDATA-AUSP1.
    > ENDLOOP.
    >
    > <b>But if I am use BADI then I can't use header
    > line.</b>
    > Data:
    > P_Class TYPE STANDARD TABLE OF SCLASS initial size 0,
    >
    > P_Objectdata TYPE STANDARD TABLE OF CLOBJDAT initial
    > size 0.
    >
    > Now I can't print the values of P_Objectdata because
    > I am not using header line since I am using BADI.
    >
    > How can I print P_Objectdata because I can't use
    > header line in BADI while declaring any table (Due to
    > OO Concept) ?
    If you declare your table without header line, make sure that the internal table is passed to a function call with the brackets
    Call Function 'CLaff_Classification_OF OBjects'
    TABLES
    T_OBJECTDATA = itab[].
    >
    Also you need a workarea for your loop.
    loop at itab into wa.
    endloop.
    Hope this helps
    Christian

  • Why do my line/section breaks disappear ?

    Can anyone please help ?
    I have been writing a series of practical police law guides called Pocketpolis.  There is a free demo available on the iBook store
    The problem I'm having is I write the guide using Pages.  On my Pages version my line/section breaks work fine however by the time the book gets published, they disappear, leading to a messy appearance.
    If anyone wants an example of what I'm talking about, you can download my book.  Go to page 4. After the link for "defence" that should be the end of the page however the top of the next page appears at the bottom of page 4,  when really it should start afresh on page 5.  There is no line or section break, as there is on my Pages version.
    Any ideas ?
    Thanks
    Andy

    You should probably also ask in the Pages forum:
    https://discussions.apple.com/community/iwork/pages

  • Which char use for next line in TLF

    Hi All,
    I tried a sample app to know what character TLF use for next line in plain text mode.
    However it use "\n" instead of "\r\n".
    Can any one tell me which one is correct .
    Thanks in advance

    In TLF, line break uses "\u2028"

  • Does anyone know what time the last episode of Breaking Bad starts streaming

    Deos anyone know what time the last episode of Breaking Bad starts streaming on itunes?

    A. Diagnostic mode solution
    If you have tried trouble shooting your iPod to no avail after all the steps above, chances are your iPod has a hardware problem. The iPod's built-in Diagnostic Mode is a quick and easy way to determine if you have a "bad" iPod.
    You need to restart your iPod before putting it into Diagnostic Mode. Check that your hold switch is off by sliding the switch away from the headphone jack. Toggle it on and off to be safe.
    Press and hold the following combination of buttons simultaneously for approximately 10 seconds to reset the iPod.
    iPod 1G to 3G: "Menu" and "Play/Pause"
    iPod 4G+ (includes Photo, Nano, Video, and Mini): "Menu" and "Select"
    The Apple logo will appear and you should feel the hard drive spinning up. Press and hold the following sequence of buttons:
    iPod 1G to 3G: "REW", "FFW" and "Select"
    iPod 4G+ (includes Photo, Nano, Video, and Mini): "Back" and "Select"
    You will hear an audible chirp sound (3G models and higher) and the Apple logo should appear backwards. You are now in Diagnostic Mode. Navigate the list of tests using "REW" and "FFW". The scroll wheel will not function while in diagnostic mode. For further details on Diagnostic mode can be found at http://www.methodshop.com/mp3/ipodsupport/diagnosticmode/
    Try to do the 5in1, HDD R/W and HDD scan tests. Some successful cases have been reported after the running the few tests under the Diagnostic mode. In case it does not work in your case, and the scan tests reports show some errors then it proves your iPod has a hardware problem and it needs a repairing service.

Maybe you are looking for

  • Sorting Column's Label in Pivot Table

    Hi Fellows !! This is my problem: I have two tables, dates and rates, providing me data for a report. Dates has a DateId (number), Year(number) and Month(varchar2(12)), and Rates has DateId(number) and RateAmount(number). I wrote a quite simple query

  • Orange UK Lumia 800 Users

    Have you all had the firmware update but not the OS update.  I'm still on 7.10.7740.16 OS version? Is there any way to force this update?

  • Searching Songs and Playing Them in iTunes

    Hi guys, I have a problem. When I do a search in the upper right hand box of iTunes, I get results. I would like to play my songs from this search. In Leopard, I would just let it run and the songs would automatically be ONLY from that search. Howeve

  • Bank blocked subscription payment.

    Hi, For some reason my bank blocked my recurring payment for the current month (along with my entire card).When I called to get it unblocked, they said that I have to ask spotify to charge me again, but my subscription is running w/o issue and my new

  • Official bug number for regex bug?

    Is there an official bug number for this regex bug? SELECT regexp_substr('foo, bar, qux,', '.*b.*?,') FROM dual returns "foo, bar, qux," instead of "foo, bar," in Oracle 11g R2. Note that this is definitely a bug, as SELECT regexp_substr('foo, bar, q