Line of Precise Length

If I want a line of a prescribed length in Pages, say 6.27cm. - where can I punch in this value and get the line of this length? I thought it would be in this window
but this doesn't seem to have the input window I'm looking for. AppleWorks has the Object Size window
which makes it pretty easy to do this sort of operation. Is this kind of input hiding somewhere in Pages?
John
A

Yes, I thought of that too Walt but that means a mathematical computation which could give me a migraine. I was hoping that there was simply a window somewhere just as there was in AppleWork's Object Size where I could simply punch in the desired value. Obviously there isn't such an animal in Pages so I'll have to sharpen my computational skills.
Thanks
John

Similar Messages

  • Getting precision length  for float data type

    Hi All,
    We trying to find the precision length of a float (126) data type. Are there any built in functions in oracle for finding the same? E.g: the function should return 5 for the value 1.23456 .
    Also, are there any table level operation to reduce the decimal precision of a float 126 field?
    Regards,
    Raj.

    Not sure if this is what you're looking for:
    select data_precision from all_tab_columns
    where owner = '<your schema name>'
    and table_name = '<your table name>'
    and column_name = '<name of column in table>';
    or are you looking for a particular find_precision_in_number() function...
    i can't think of one off the top of my head, but you can always do:
    length(substr(<colname>, instr(<colname>, '.')+1))

  • Exporting with precise length?

    Hey everyone,
    Relatively new to Logic, but not a total DAW dummy. The problem I'm having is kind of infuriating but otherwise I love the software.
    Basically, I am building 4- and 8-bar loops in Logic at a tempo of 103 BPM. I have uploaded my samples to a beat sequencer and am triggering them via MIDI. I then quantize the samples according to Logic's 103 BPM grid. Once I have a loop of either 4 or 8 bars, I export its track as a WAV file. Under normal circumstances, I then load the WAV file, which should be precisely 4 or 8 bars long at 103 BPM, into my sampling pad (Roland SPD-SX). With the click on the Roland set to 103, I should be able to play the loop and have it repeat indefinitely without it "creeping".
    What I described above would be my best-case scenario. Thankfully, this has worked many times for me. In fact, I can double-check that it's working by using the Tempo Match feature on the Roland-- if I tell the Roland that the loop is 8 bars long, it infers that the tempo is 103 based on the length of the WAV. This works perfectly.
    Until today. I did my same system as always, exactly as described above, no hitches. But when I load this new loop in the Roland, it creeps and gets ahead. The Tempo Match check? Roland says my loop is 103.4 BPM. I was careful to not make a mistake in Logic; Logic told me it was 103.
    I have since tried to make this particular loop 4 or 5 times and it's always the same. The Roland thinks it's at 103.4, which I would assume means that Logic is truncating the length of the export WAV. I don't think the problem is that Logic's metronome is faulty. My ears tell me the samples within the loop are perfectly in time at 103, but at the end of the 8 bars, the loop starts again just a hair early, getting further and further ahead each time the loop recycles. Which sounds very much like Logic is truncating the length of the export WAV.
    I called Roland and confirmed the issue is not with the sampling pad. Does anyone know why this is happening now and never happened before, and could someone please tell me how I can be more precise with the export length in Logic so that my pad's Tempo Match feature correctly reads the length of the WAV loop to arrive at 103 (instead of 103.4) BPM?
    Thanks in advance to anyone who takes the time.
    Jake

    Logic's track export ends the exported file at the end of the audio so that if the last sound ends before the end of the four bars, it will not add the small amount of silence to the end of the file to make it come out even.
    Set your left and right locators precicely at the loop start and end (4 or 8 bars), turn cycle on and bounce the loop instead of exporting it.

  • Draw a line of certain length?

    Hi there...
    does someone know a mathematical algorithm to draw a line of a certain length using the drawLine - method??
    thx
    Jebediah

    lol, it has been rather easy :). I just had to think a few seconds about it.
    public boolean drawLine(int x, int y, int oldX, int oldY){
              // if we have a line and not a point
              int thickness = 4;
              if (!(oldX==x&&oldY==y)){
                   int vectorX = oldX - x;
                   int vectorY = oldY - y;
                   double vectorLength = waba.util.Math.sqrt(waba.util.Math.pow(vectorX, 2)+waba.util.Math.pow(vectorY, 2));
                   double desiredLength = 20;
                   double newVectorX = vectorX/vectorLength*desiredLength;
                   double newVectorY = vectorY/vectorLength*desiredLength;
                   g.drawLine(oldX, oldY, oldX - (int)newVectorX, oldY - (int)newVectorY);
    return true;

  • XML Datastore with default precision length

    Hi All,
    While creating a xml datastore in model by using xsd, it creates columns with default column length/precision. I need them to be exact to target db.
    Here is the sample xsd with columns restriction...
    <xsd:element name="NAME" minOccurs="1" xdb:SQLName="NAME"
    xdb:SQLTYPE="VARCHAR2">
    <xsd:simpleType>
    <xsd:restriction base="xsd:string">
    <xsd:maxLength value="960"/>
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    <xsd:element name="DESCRIPTION" minOccurs="0" xdb:SQLName="DESCRIPTION"
    xdb:SQLTYPE="VARCHAR2">
    <xsd:simpleType>
    <xsd:restriction base="xsd:string">
    <xsd:maxLength value="4000"/>
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    <xsd:element name="STAT_CD" minOccurs="1" xdb:SQLName="STAT_CD"
    xdb:SQLTYPE="VARCHAR2">
    <xsd:simpleType>
    <xsd:restriction base="xsd:string">
    <xsd:maxLength value="120"/>
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    <xsd:element name="PROFILE_TYPE" minOccurs="0" xdb:SQLName="PROFILE_TYPE"
    xdb:SQLTYPE="VARCHAR2">
    <xsd:simpleType>
    <xsd:restriction base="xsd:string">
    <xsd:maxLength value="60"/>
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    <xsd:element name="REGN_ID" minOccurs="0" xdb:SQLName="REGN_ID"
    xdb:SQLTYPE="NUMBER">
    <xsd:simpleType>
    <xsd:restriction base="xsd:integer">
    <xsd:precision value="18"/>
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    Here simpletype defines the length/precision or the element.
    While creating datastore by reverse engg it takes the dedault length which is 10 for numeric and 255 for varchar.
    Is this xsd is wrong or something else.

    Can someone provide me a sample xsd which has defined column length for each attribute.

  • How to filter to trash email w/ subject line of huge length of varying cryptic characters?

    example from cropped screen shot:
    could not load; abbreviated transcribing of just some of the subject line text:
    =?iso-8859-1?B?SWYgeW91IGhhdmUgYSBmZXcgYwVudHMgb...

    As the subject line will change for every email, it is not worth setting up a filter for every email.
    Suggest you set up your Junk controls and train them to recognise Junk mail.
    Then select the email as 'Junk'.
    You can also setup Junk to empty on a regular basis,
    Work through the info at the link to set up Junk Controls.
    http://kb.mozillazine.org/Junk_Mail_Controls
    However, are you sure it is junk mail and something in encoding has not been configured correctly?
    What version of Thunderbird are you using and what OS?
    View > character encoding
    what is selected?
    What happens when you select : Western ISO-8859-1
    Tools > Options > Display > formatting tab
    click on 'Advanced ' button
    character Encoding:
    What is set as outgoing mail?
    what is set as Incoming Mail?

  • Vertical lines of diffrent length in smartforms

    Hi,
    I need to draw vertical lines in smart forms where the Height of the line need to more in all pages except the last page where the Height of this line should be less.
    If there is only one page then the heght of this line should be that of last page.
    How to do it.
    I have created two names as First Page and Next page.
    Kindly guide me
    Regards
    Irfan

    As for that it can be a faulty LED.
    You must send the computer to the country you bought it from but you won't get it back for a couple of days, possibly up to a week.
    I have more HP devices than you'd expect.
    1 HP TouchPad 32 GB with Android
    2 HP Touchsmarts (310-1000z and IQ527)
    2 HP Printers (J6480 and J5750)
    1 Laptop (HP DV6253CL)
    Have at least some experience in each of those devices, and i'll do my best to help you.
    Kudos if I helped!

  • How to calculate the total  length of a Line

    Hi,
    We are using Mapviewer for representing for spatial data in form of a Image .
    We are using Mapviwer.addLinearFeaure for drawing lines on the Image( browser)
    Thsese lines are drawn .
    Now our requirement is we need to calculate the length of the lines in our Image .Please tell me how to do this .
    Thanks in advance
    Edited by: user672373773 on Nov 11, 2009 9:11 AM

    You can do this by two ways.
    1) create SDO_GEOMETRY from your coordinates and use SDO_GEOM.SDO_LENGTH to get length of the line.
    Or
    2) iterate your line points coordinate array and calculate distance between points add it to final length.
    Here is snippet to calculate length of line (not tested)
    length = 0;
    for( i=0; i<coordpts.length-2; i++) {
    length = length + getDistance(coordpts[0], coordpts[1]);
    to calculate distance between 2 points use below code (getDistance() source code)
    double dblDistance = Math.sqrt(Math.pow((dblPt2[0] - dblPt1[0]), 2) + Math.pow((dblPt2[1] - dblPt1[1]), 2));
    In both case you need to convert screen coordinate to map coordinate.
    Sujnan

  • Getting the Physical Length of a Piece of Text (in mm etc.) in Javascript

    I'm trying to write a script in Indesign CS5 (Windows) that can measure the physical, 'rendered' length of two pieces of text of similar length (in mm etc.), calculate the average length of the two, and adjust the tracking/horizontal scale of one or both of the pieces of text so that the physical length of both texts are the same.
    I need a script because this task must be done thousands of time in a long document.
    I'm struggling to find a way to access the 'rendered' length of a piece of text in Javascript.
    I know among the attributes of a text box is whether the text has overrun. So I could copy the text to a special text-box, and use a for loop to reduce the dimentions of the text box, 1mm at a time, until the text box overruns, thus determining the length..
    I could also get the length of a rendered string using python with it's built in GUI toolkit Tkinter:
    http://stackoverflow.com/questions/2922295/calculating-the-pixel-size-of-a-string-with-pyt hon
    And then have an indesign script that takes some data from the python script and sets the tracking/horizontal in Indesign with some fudge factors.
    Both ideas seem like real kludges.
    Any other suggestions?
    Many thanks
    David

    You can simply iterate through each line in text to get the widest line. Something like this:
    Main();
    function Main() {
        var text = app.selection[0],
        minLength, maxLength, start, end;
        for (var i = 0; i < text.lines.length; i++) {
            start = text.lines[i].characters[0].horizontalOffset,
            end = text.lines[i].characters[text.lines[i].characters.length-1].horizontalOffset;
            if (minLength == undefined || start < minLength) {
                minLength = start;
            if (maxLength == undefined || end > maxLength) {
                maxLength = end;
        var length = maxLength - minLength;
        $.writeln(length);
    But this approach seems to be a little less precise than creating outlines since (I guess) it measures up to the beginning of the last character; discretionary hyphens, line brakes, etc. are not included into the measurement.

  • Getting the unscaled length of

    I'm developing a graphing application with FLEX 3 that will
    be embedded into a PDF document (version 9). The graphing SWF is
    pretty much finished, but I want to have greater control over the
    scaling on the axis. If I graph the parametric equations x=cos(t)
    and y=sin(t), the trace of these equations appears as an ellipse.
    Is there some what if getting the unscaled length of the vertical
    axis and the horizontal axis in pixels, so I can compute the exact
    aspect ratio of the axes. If that is known, I can rescale using
    scaleX and scaleY. Can anyone give me pointers?
    dps

    You can simply iterate through each line in text to get the widest line. Something like this:
    Main();
    function Main() {
        var text = app.selection[0],
        minLength, maxLength, start, end;
        for (var i = 0; i < text.lines.length; i++) {
            start = text.lines[i].characters[0].horizontalOffset,
            end = text.lines[i].characters[text.lines[i].characters.length-1].horizontalOffset;
            if (minLength == undefined || start < minLength) {
                minLength = start;
            if (maxLength == undefined || end > maxLength) {
                maxLength = end;
        var length = maxLength - minLength;
        $.writeln(length);
    But this approach seems to be a little less precise than creating outlines since (I guess) it measures up to the beginning of the last character; discretionary hyphens, line brakes, etc. are not included into the measurement.

  • Verticle lines in the script

    HI all.
    I have an issue in the script printing.
    we are printing a table in the layout using the script.
    in this table how to get the Verticle lines, inbetween the coloumns.
    can any body help me to solve this issue.
    Thanks in advance,
    regards,
    Eswar

    u can use box but for vertical line give width 0.
    Pre-Setting BOX Position Arguments
    You can use the POSITION and SIZE commands to preset some arguments in the BOX command. POSITION presets the start point (upper left corner) of a box or line. SIZE specifies the width and height of a box.
    You can use POSITION and SIZE to preset arguments, but you can also set the start point and size arguments of a box or line directly in the BOX command.
    By default, if no positioning is specified, the upper left corner of a box or halftone or the top of a line is aligned with current SAPscript window. That is, the upper left corner of the box, halftone, or line starts at the upper left corner of the current window in the active form. By default, the height and width of a box are set to the height and width of the current window.
    Use POSITION and SIZE to preset the arguments in a BOX command in the following situations:
    The BOX command exceeds the 132-character (1 line in SAPscript) length limitation if you specify all arguments directly in the command. You may exceed this length limit if, for example, you use symbols in a command.
    By pre-setting arguments with POSITION and SIZE, you can work around the limitation on the length of a command. You do not need to specify the preset arguments in the BOX command.
    You want to use the enhanced capabilities of POSITION for adjusting the starting point of a box or line.
    With BOX, you can specify an offset for the starting point only as a whole number (non-negative integer). This command would print a box starting 1 CM to the right and 1 CM down from the left upper corner of a window:
    /: BOX XPOS '1' CM YPOS '1' CM
    With POSITION; you can adjust the position of a line or box relative to a window much more precisely. In the POSITION command, you can specify positive and negative offsets and use non-integer numbers.
    Example: The commands shown below position a box slightly to the left and slightly above a window. This leaves a margin between the edge of the box and the text in the window.
    /: POSITION XORIGIN '-.2' CM YORIGIN '-.2' CM
    /: SIZE WIDTH '.2' CM HEIGHT '.2' CM
    /: BOX FRAME 10 TW
    (Note that the box must be enlarged to accommodate the shift. If it is not enlarged, then it will not cover all of the window.)
    You can also use POSITION to set the starting point to the upper left corner of the active page format. Example: POSITION PAGE moves the starting point from the active window to the active page format.
    You want to use the relative sizing capabilities of SIZE to adjust the size of a box, line, or halftone.
    With BOX, you can make only absolute size specifications. BOX HEIGHT, for example, overrides the default height setting to the height of the current window.
    With SIZE, you can adjust the size of a box or a line with respect to its previously-set dimensions. The following commands would, for example, draw a frame 1 CM in from the margins of the paper:
    /: POSITION PAGE
    /: POSITION XORIGIN 1 CM YORIGIN 1 CM
    /: SIZE PAGE
    /: SIZE HEIGHT '-2' CM WIDTH '-2' CM

  • Charts and Lines

    Is it possible in Pages, to create a
    High
    Low
    Close
    chart which is the standard type of chart used to track the price movement of stocks. Also, is it possible to draw a line of a precise length in Pages - say for example you wanted a line of 2.59 cm. Conversely, if there already is a line drawn in Pages, is it possible to know the precise length of that line? Finally can you assign varying thickness to any given line?
    Thanks
    John

    As I read the above Jerrold, it would seem to imply that all I can place into a posting is a link to the actual graphic, not the graphic itself but you can see that Yvan placed some lovely graphics right into his posting so how did he do it. I would much rather have you see my graphic in the posting than merely have a link to it at some other web page.
    Yvan did not put an image in his post, he just used html to display the image that is hosted on his iDisk in the post (just as my signature below). Here's a thread in Feedback about Discussions with the information you need.

  • Copy more lines in the Table Control

    Hi ,
    I have created a table control in one of my mod pool programs,
    I have to paste lines from Excel (for instance) to this table control, but it copies only to the lines in the table control which I see in the screen. if I have more lines to copy than the lines which I see in the screen, it doesn't copy it.
    plz help me in this regard.......
    Thanx
    SHOAIB REHMAN

    Hi, Shoaib
    I think you have to Program for this in Special Button like in Select-Option's (EXTENSION) Button Window you have an Button Upload from Clipboard (Shift + F12) just left side of the Cancel button.
    For Copy data from Clipboard Check the Bellow Sample Code. (Copy data and Run the Bellow Code)
    TYPES:  BEGIN OF ty_char256,
            line TYPE c LENGTH 256,
            END OF ty_char256.
    DATA: it_data TYPE STANDARD TABLE OF ty_char256,
          wa_data LIKE LINE OF it_data,
          length TYPE i.
    CALL METHOD cl_gui_frontend_services=>clipboard_import
      IMPORTING
        data                 = it_data[]
        length               = length
      EXCEPTIONS
        cntl_error           = 1
        error_no_gui         = 2
        not_supported_by_gui = 3
        OTHERS               = 4.
    IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    LOOP AT it_data INTO wa_data.
      write: wa_data-line.
    ENDLOOP.
    Please Reply if any Confusion.
    Thanks and Regards,
    Faisal

  • To display text more length more than 1000

    Hi,
    I have Ztable which has a LCHAR field of length 1000. through a program i am populating records in to this table. But i am unable to see the complete text in Se11 or se16 not even in debugger (not showing more than 132 char). Is there a way to see that text. I wrote a program to read that text & display it is not fetching the required data means the 1000 Lchar text. Can you pl tell me how can this be done.
    Below is the code used to read & display the text.
    DATA : BEGIN OF zerr OCCURS 0,
             buildid LIKE zmm-buildid,
             message LIKE zmm-message,
            END OF zerr.
    SELECT buildid message
           FROM zmm
           INTO TABLE zerr.
    LOOP AT zerr.
      WRITE :/5 zerr-buildid.
      WRITE :/5 zerr-message.
    ENDLOOP.

    Hi
    U can try to use NEW-PAGE statament, here you can indicate line having a length longer than 255 char:  the maximum line length is 1023:
    DATA : BEGIN OF zerr OCCURS 0,
                   buildid LIKE zmm-buildid,
                   message LIKE zmm-message,
                END OF zerr.
    START-OF-SELECTION.
    SELECT buildid message FROM zmm
    INTO TABLE zerr.
    NEW-PAGE LINE-SIZE 1000.
    LOOP AT zerr.
      WRITE :/5 zerr-buildid.
      WRITE :/5 zerr-message.
    ENDLOOP.
    Anyway this doesn't mean you'll be able to print this layout, because you need to create a right format by SPAD transaction.
    Max

  • Line up text in a JTextArea

    I'm trying to format line up text in columns in a JTextArea. Here is an example of what I'm trying to do.
    SubTotal $5.00
    Tax $8.00
    Total $13.00
    I've tried formating the text so that the first work will be a certain length but it still will not line up correctly in the text area because different letters take up different amounts of space. Thanks

    change the font of the textarea to monospaced, then append the data
    something like in this println
    class Testing
      public Testing()
        String pad = "                   ";
        String[][] lines = {{"SubTotal", "$5.00"},{"Tax", "$8.00"},{"Total", "$13.00"}};
        for(int x = 0; x < lines.length; x++)
          System.out.println(lines[x][0]+(pad+lines[x][1]).substring(lines[x][0].length()+lines[x][1].length()));
      public static void main(String[] args){new Testing();}
    }

Maybe you are looking for

  • Negative sign for DMBTR field in ALV output

    Hi Experts, Before posting I have searched for more than 3 hours in the forums to get a solution for this. I did not get any solution so I am posting this problem which I need to resolve. I have to display the DMBTR field in ALV output for which a gr

  • Sales order to MRP Run

    Hi friends How to configure MRP run for sales orders. Thanks in Advance Rheya

  • Anyone else experiencing lag moving layers?

    When I select a layer and start to move it there is a noticable delay for the layer to start moving with the cursor, it jumps. My computer with a solid state HD, great gfx card, overclocked processor and 12 gigs ram can handle moving a layer without

  • How do I delete previous locations from Reminders?

    When I want to be reminded of something arriving or leaving a location and I want to specify this location the full list of previously used locations appear. Some of them are now useless (e.g. In country I have left, or an address that has permanentl

  • My appstore featured app (new and what's hot section) doesn't update.

    I used iPhone4s IOS 5.1.1 and find that now my new featured apps doesn't update (now apps of the weeks is pinball arcade which is not now free of the weeks app) I can't find solution of this annoying stuff in this discussion board too I restored it o