Left justified

Hi iam developing an extraction program on cost center master data, my requirement is the logical file should be (~) delimetered and all fileds are left justified.
there are 10 fileds all are 'C' data type.
i know how to delimeterd but can u tell me what is left justified and how can i make all the fileds are (including datatype N and C ) left justfied?
please explain indeatils
Regards
neeru

Type N and type C feilds should be left justified by default, no need to do anything special here.
REgards,
Rich Heilman

Similar Messages

  • Preview app: Add text annotation with left justify?

    I'm using the Preview app to insert text into some PDF files. I can use the Annotate feature to create a text box in the area I need it and adjust the font, color, size, etc. The only thing I can't seem to do is set the justification to Left Justify. It will show text as center justify - anyone know how to change this?

    I can find out what the defaults are with:
    defaults read com.apple.preview
    There are many properties but a TextAligment property is not one of them.
    I tried below but they do not work.
    defaults write com.apple.preview NSTextAlignment 0
    defaults write com.apple.preview PVAnnotationTextAlignment 0
    NB: 0 means left alignment
    Any idea?
    Maybe Apple has to create an text alignment feature for the GUI or provide the property that we can set it from Terminal.

  • How do I left justify the text in the tabs of a JTabbedPane.

    In 1.3.1 this used to work by supplying an HTML string with <div align="left"> but when I run with 1.4.1 this is now broken and I get center justification.
    Does anybody know a way to get the text in the tabs to be left justified.
    Thanks,
    Philip

    First, I found while using JTabbedPane that the "standard" behavior is to allow to a tab the exact space needed to display the tab text. Hence with this behavior, there is actualy no difference of "left" or "center" aligned text. So I assumed that you found a way or another to make your tabs wider than the "string width"...
    Here is a solution:
    You can override the TabbedPaneUI class and ajust the "layoutLabel()" method. Here is the code..
    //Your code using the tabbedPane
    JTabbedPane tp = new JTabbedPane();
    tp.setUI(new LeftTabbedPaneUI());
    //File containing the overrided TabbedPaneUI
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.util.*;
    import javax.swing.text.View;
    class LeftTabbedPaneUI extends javax.swing.plaf.metal.MetalTabbedPaneUI {
            //I also overrided this function just to force tabs wider than
            //the displayed "String Width". I asume that you found another
            //way to do this so you can delete this function in your
            //implementation
         protected int calculateTabWidth(int tabPlacement, int tabIndex, FontMetrics metrics){
              return 150;
        protected void layoutLabel(int tabPlacement,
                                   FontMetrics metrics, int tabIndex,
                                   String title, Icon icon,
                                   Rectangle tabRect, Rectangle iconRect,
                                   Rectangle textRect, boolean isSelected ) {
            textRect.x = textRect.y = iconRect.x = iconRect.y = 0;
         View v = getTextViewForTab(tabIndex);
         if (v != null) {
             tabPane.putClientProperty("html", v);
         //This Line is added to avoid writing on tab border while aligned to left.
         //You can comment this line to test and or adjust the "5" pixel space
         Rectangle rec = new Rectangle(tabRect.x+5,tabRect.y,tabRect.width,tabRect.height);
            SwingUtilities.layoutCompoundLabel((JComponent) tabPane,
                                               metrics, title, icon,
                                               SwingUtilities.CENTER,
                                               SwingUtilities.LEFT,
                                               SwingUtilities.CENTER,
                                               SwingUtilities.TRAILING,
                                               rec,
                                               iconRect,
                                               textRect,
                                               textIconGap);
         tabPane.putClientProperty("html", null);
         int xNudge = getTabLabelShiftX(tabPlacement, tabIndex, isSelected);
         int yNudge = getTabLabelShiftY(tabPlacement, tabIndex, isSelected);
         iconRect.x += xNudge;
         iconRect.y += yNudge;
         textRect.x += xNudge;
         textRect.y += yNudge;
    }Here I overrided the "Metal" implementation of the tab but you must override the implementation of the used Look And Feel,
    ex. "com.sun.java.swing.plaf.window.WindowsTabbedPaneUI" for the windows LAF.

  • Facebook is left justified on my machine only. erashing cache does not fix it. need help.

    this just started today.
    i've followed every single step on the support with no change.
    -i've updated to firefox 10
    -i've cleared both caches 10 times, also used third party programs and manually after that did not work. no change.
    -i've tested the font size (it's where it should be)
    -tested java script (it is on)
    -tested zoom. When zooming in or out the page fixes itself and goes centered, but when at the default zoom, the site is left justified instead of centered.
    i would really appreciate some help here. bad enough firefox crashes enough for other reasons, but now that the number one page i go to on a daily basis isn't working right it's basically enough reason to leave for good.

    I have an answer!!!
    Check it out, I uninstalled Firefox and IE from my machine, reloaded the default IE.
    When I reloaded it (IE) and went to facebook, my machine said there was a certificate error, i hadnt seen this before for some reason (my wife ignored it or something).
    I clicked ignore and it came up with the left justified angry mess we all hate so much, well IE then popped up in the bottom saying something about blocking the content associated with the bad security certificates, also giving me an option to display said content, i clicked the button and low and behold beautiful colorful facebook pops up.
    Well I press back and go back to the Certificate Error screen and I click on technical details, it says something along the lines of "Certificate for this website works starting November 11, 2011, and system time is march 02, 2002.....
    .......wait what?
    I look down, sure enough, system time, 2:44AM, 03/02/2002.
    ......So I reset the time (this tells me, by the way, i need to crack open my laptop and replace that little nifty system battery that keeps the clock accurate, they go out every so often, newegg/ebay sells them for cheap),
    so after i reset the time i simply (on the error page even) hit refresh and bam, like there was never anything ever wrong.
    Conclusion: if your system time is messed up (how often do you really look at it) and the year is wrong, it'll screw up EVERY browser you try to use, because every browser (in an attempt to protect you from risky websites) is blocking content that doesnt have a valid security certificate (because the date is xx years away from even being initiated).
    Hope this gets to you in time before you go all Office Space on your computer.
    (I created an account JUST to write this reply)

  • Rt justified and left justified in the same line

    Hi Geeks ,
    i need help regarding scripts 
    i want text to be printed left justified and amount at right justified
    in same line
    TAX                                                                           12.000
    Total                                                                          140000

    in se71
    go to Paragraph formats choose a parag  which ur using
    do to tabs there u can defain as per ur req.......
    and u can use  it in editor......
    if it is useful Plz reward
    Regards
    Anbu

  • CS4 Help with spry menu bar. Want Top Centered and Subs left-justified.

    Hi there, using DW8 mostly, but have the trial version of CS4
    for the spry menu bar. WinXP.
    Can someone help me with the spry menu bar on this page? I'd
    like the main menu to be centered, as it looks better for
    appearance, and the sub menus to be left-justified.
    http://www.manmeetswoman.com/example4.html
    But I can't seem to do that, if I make the main menu
    centered, it seems to override the submenus even if I make a class
    just for the submenu to be left-justified.
    Am I doing something wrong or is this not possible?
    And the menu bar looks horrific in IE6. I assume it looks ok
    in IE7 and above. Can someone help me with a code just for IE6 for
    this?

    audio90 wrote:
    Not quite what I was looking for. I'm wanting the top menu to be grouped together and to the right and the submenu boxes to all a single square box, not just with backgrounds extending only the length of the word. Also, your menu bar doesn't display properly in IE6 either.
    1) You should be able to achieve a square box for your submenu items by fixing the widths of all of your submenu items to something larger than the content of your widest submenu <li> tag.  This should be achievable with a single change of setting in the following CSS rule.
    ul.MenuBarHorizontal ul li {
         width:???em;
    Set your width using em units, so that the box shrinks and grows with the size of the text when the latter is changed by the user.
    2) Getting your top menu items to group together to the right may be more difficult as the entire menu bar is built on an HTML list structure with left-floated <li> tags.  If it is possible, then you should begin your experimentation with the following CSS rule
    ul.MenuBarHorizontal li {
         float:right;
    Change the float property from left to right, as I have indicated.
    My suspicion, however, is that many subsequent adjustments will have to be made.  So, back up your current CSS file before you begin.
    Roddy

  • How to left justified the value of the field in script

    hai
    how to left justified the field in script
    for example i am having a field &wa-netwr& , how to left justified the value of this field in scripts
    thank u in advance

    one way is define a paragraph format P1 and in that attributes,you can give LEFT justified(by creating TABS).
    and give that paragraph format in the script editor.
    P1   ,,text
    here ,, denotes tab position.
    or
    use  &wa-netwr(C)& <--for condensing .
    Regards
    Srikanth

  • Left justify text in book's introduction page?

    I don't find any way to left justify the text on "introduction" pages when making a book. Am I missing it, or am I restricted to centered text?

    Actually, I discovered that if I create the text in Word, then paste it in, it retains the alignment set in Word, even if different from the template. At least it worked in Classic.

  • Ability to left justify dollar sign in report

    All,
    In my report, I have a field with a data format set to Currency. This, of course, places a '$' in front of the value, such as $1,234,567.
    However, I have a requirement to left justify the '$' in the report so that value is displayed as
    $ 1,234,567
    How can this be accomplished?
    Thanks in advance.

    user8769897 wrote:
    All,
    In my report, I have a field with a data format set to Currency. This, of course, places a '$' in front of the value, such as $1,234,567.
    However, I have a requirement to left justify the '$' in the report so that value is displayed as
    $ 1,234,567
    How can this be accomplished?
    Thanks in advance.You can acheive this by calling CSS class in the column properties. Refer to this link to get some ideas and how to get started ( http://obiee101.blogspot.com/2008/09/obiee-custom-css-style-class.html )

  • How to make JLabel Left Justified in Gridbag Layout?

    Hi Govind here I am using Gridbag layout and having Labels and TextBox . i want my All my Labels Left Justified (Currently they are RightJustified),I tried JLabel.Left but not working so any help most welcome............
    JLabel startDateLabel      = new JLabel("STARTDATE ",JLabel.LEFT);
              startDateLabel.setBorder( border );                                   
              //set the position of the label               
              gbc.fill = GridBagConstraints.NONE;
              usingGBC(startDateLabel,gbc,3,0,1,1.0);
                   //text field for start dat
    txtStartDate                = new JTextField();
              txtStartDate.setMinimumSize(minSize);
              txtStartDate.setPreferredSize( longField );
              txtStartDate.setEnabled( true);                    
              txtStartDate.setEditable(false);
              txtStartDate.setBackground(Color.WHITE);          
              gbc.fill = GridBagConstraints.HORIZONTAL;
              usingGBC(txtStartDate,gbc,4,0,2,1.0);
         here usingGBC is method as follows
    protected void usingGBC(Component com,GridBagConstraints gbc,int gx,int gy,int gwidth,double wx)
                   gbc.gridx = gx;
                   gbc.gridy = gy;
                   gbc.gridwidth = gwidth;
                   gbc.weightx = wx;
                   add(com,gbc);

    It seems you set the fill of the GridBagConstraints after you add the label. Either specify HORIZONTAL fill before adding the label or specify alignment for the constraints.
    Mike

  • How to use left-justified with Move command??

    Hi,
    I have a field BKPF-XBLNR which I have to download to an final output table. I am using the command "Move"...
    Move T_BKPF-XBLNR to T_OUTPUT-XBLNR.
    My problem is that for some records this field is a combination of characters and numbers ... but some are purely numbers ... The records which are a combination of character & numbers are left justified where as the numeric one's are getting right justified once I get the output in the excel sheet ... How do I make these numeric ones left justified ... ??
    Thank You,
    SB.

    You can use this:
    shift T_BKPF-XBLNR left deleting leading space.
    Move T_BKPF-XBLNR to T_OUTPUT-XBLNR.
    if it does not work then
    data : temp_xblnr type char16.
    Move T_BKPF-XBLNR to temp_XBLNR.
    shift temp_XBLNR left deleting leading space.
    Move temp_XBLNR to T_OUTPUT-XBLNR.
    I am sure it will work.

  • Message Mapping using Left justified, right blank/space filled

    Hi,
    My Interface is outbound Interface.
    Suppose source field named 'Filename' is mapped with Target field named 'Filename'.Condition is AS IS(Left justified, right blank/space filled).
    How should i do this mapping?

    Hi Sanghamitra Duttagupta,
                                                you can try this UDF below
    public static String fieldJustified(String s)
              try
                   final int fieldLength=20;
                   char filler=' ';
                   s=s.trim();
                   int l=s.length();
                   while(l<fieldLength)
                        s=s+filler;
                        l++;
              catch(Exception e)
                   return s;
              return s;
    Please reset the value of the variable "fieldLength",  in code above to the field length as per your need. The right side will be filled with extra spaces since value of "filler" variable is ' '. you can set this to any character of your choice so that total field length is equal to value of variable "fieldLength" (which is 20 here).
    so if input is  "        hi"
    output           "hi                  "
    regards
    Anupam
    Edited by: anupamsap on Aug 1, 2011 1:53 PM

  • How to Left Justified Mapping

    Hi All,
    I have a requirement where in my source structure has a field which is right justified, I need to convert it to a Left justified value.
    Is there any predefined function in XI for doing this.
    Please help.
    Thanks,
    Vishal.

    Thanks all, I have used Trim function

  • Making a textframe centre within margins but be left justified

    I'd like a textframe to size its width automatically and centre itself within page margins, but for the text to remain left justified. Is this possible? e.g. Three pages of poetry with very different line lengths. If possible this would be some sort of general layout that I could then drop different pages of text into

    I like the double-click-the-right-handle idea. And if you need to add a poem earlier, add a page using the page palette and all of the custom frames will stay with their poems.
    I happen to have an Applescript for shrinking a frame to its longest line and centering it. It's designed to work both for left or centered justified text (I had some poems where the text was centered but the author attribution was right justified, we wanted the right end of that to line up with the right end of whatever the longest line of text is, so shrinking those text frames was important too). You can select all of the frames on a spread and it will adjust each of them to its longest line, or if you've got text selected it will work on whatever frame the cursor is in. I've adapted it below to an 8.5 x 11 page document, but it's pretty straightforward to change. You'll want to define LeftColumnCenter to the horizontal offset, in picas, of the centerline of the left page; and likewise RightColumnCenter to the centerline of the right page.
    Assign this a keystroke shortcut, and your job should zip along.
    tell application "Adobe InDesign CS3"
    tell view preferences of active document
    set horizontal measurement units to picas
    end tell
    -- Change the following numbers to the horizontal offset, in picas, of
    -- the vertical line you want the frame to align to on the left and right pages.
    set LeftColumnCenter to 25.5
    set RightColumnCenter to 76.5
    repeat with SelectionCounter from 1 to count of items in selection
    set mySelection to item SelectionCounter of selection
    if class of mySelection is not text frame then
    set myFrames to parent text frames of item SelectionCounter of selection
    set myFrame to item SelectionCounter of myFrames
    else
    set myFrame to mySelection
    end if
    -- get the boundaries of the selected frame
    set OriginalBounds to geometric bounds of myFrame
    set OriginalTop to item 1 of OriginalBounds
    set OriginalLeft to item 2 of OriginalBounds
    set OriginalBottom to item 3 of OriginalBounds
    set OriginalRight to item 4 of OriginalBounds
    -- figure out if the selected frame is on the right or left page
    set ColumnCenter to LeftColumnCenter
    if OriginalLeft is greater than 56 then
    set ColumnCenter to RightColumnCenter
    end if
    -- find the length of each line in the frame and remember the longest one
    set NumberOfLines to number of lines in myFrame
    set LongestLine to 2
    tell view preferences
    set horizontal measurement units to points
    end tell
    repeat with myCounter from 1 to NumberOfLines
    if justification of line myCounter of myFrame is in {left align, left justified} then
    set StartOfLine to horizontal offset of line myCounter of myFrame
    set EndOfLine to end horizontal offset of line myCounter of myFrame
    set StartofCharacter to horizontal offset of last character of line myCounter of myFrame
    set EndofCharacter to end horizontal offset of last character of line myCounter of myFrame
    set ThicknessofCharacter to EndofCharacter - StartofCharacter
    set LineLength to (EndOfLine - StartOfLine) - ThicknessofCharacter
    if LongestLine is less than (LineLength) then
    set LongestLine to (LineLength)
    end if
    end if
    if justification of line myCounter of myFrame is in {center align, center justified, fully justified} then
    set StartOfLine to horizontal offset of line myCounter of myFrame
    set EndOfLine to end horizontal offset of line myCounter of myFrame
    set LineLength to EndOfLine - StartOfLine
    --+ (point size of last character of line myCounter of myFrame) * 0.05
    if LongestLine is less than (LineLength) then
    set LongestLine to (LineLength)
    end if
    end if
    end repeat
    --figure out the new width of the frame and assign the new bounds to the frame
    set HalfLine to LongestLine / 2
    set NewLeft to ColumnCenter - (HalfLine)
    set NewRight to ColumnCenter + (HalfLine)
    set geometric bounds of object reference of myFrame to {OriginalTop, NewLeft, OriginalBottom, NewRight}
    end repeat
    end tell

  • Columns should be left justified

    Hi all,
    I used a t:dataTable to display my search results, My req says all the columns should be left justified, how can I do that? Can some one help me in this?

    <t:dataTable
         footerClass="dataTableScrollerFooter"
         renderedIfEmpty="false"
         preserveDataModel="false"
         preserveSort="true"
         varDetailToggler="detailToggler"
         columnClasses="alignLeft"
         rowClasses="oddTableRow,evenTableRow"
         rows="#{sessionUserBean.user.resultsPerPageOption}"
         value="#{result.result}"
         var="legalProfessional">
         <t:column >
              <f:facet name="header">
                   <h:outputText value="Type" style="font-size:8pt;" />
              </f:facet>
              <h:outputText value="#{legalProfessional.type}" />
         </t:column>
         <t:column defaultSorted="false" sortable="true">
              <f:facet name="header">
                   <h:outputText value="Last Name" style="font-size:8pt;" />
              </f:facet>
              <h:outputText value="#{legalProfessional.firstNameOccurance.lastName}" />
         </t:column>
    .alignLeft {
              text-align: left;
         }I am able to left justify the results but not the headers of the dataTable even I used columnClasses, Can you tell me where I am going wrong in this?

  • Left justify text in number field

    Hi,
    I would be grateful if someone could tell me how to display the text (returned from a loop) in a number field
    so that it is left justified - also where would it have to be set?
    The 'justification' setting when set to 'Left' doesn't achieve this.
    Any help would be appreciated.
    Kind Regards,
    Tom

    First i dont think so in Number field u can set TEXT
    Create a field with CHAR type and u can put alpha numeric text in it
    set the justification Property of Text item to Start or Left
    Baig,
    [My Oracle Blog|http://baigsorcl.blogspot.com/]

Maybe you are looking for

  • Purchased songs from itunes will not load on iPod despite software updates.

    When I attach my ipod to my computer i get this error message. "Some of the songs in the itunes music library were not copied to your ipod because the software on your iPod is too old. Go to apple.com/downloads to get the latest iPod software. " I ha

  • Regarding B@B in XI

    Hi, Can any body expalin me with one scenario what is B2B. Xi addresses B2B integration solution.What does it mean exactly. and what is interoperability. Regards, Prem.S

  • Muse missing assets when changing computers.

    I have a Creative Cloud subscription.  I have Muse installed on my Mac (desktop) and my MacBook (laptop).  I have a website for which I store the Muse file and all of the assets in my Creative Cloud account (I do not store them locally on my machines

  • Bridge not returning onResult to Photoshop using BridgeTalk

    I've got a script I'm running in Photoshop that accesses Bridge to get an array of information using the Exif metadata that is quickly accessible via the Bridge thumbnails (it is really slow in Photoshop because you have to open documents to get it).

  • Error in expression operator

    I used an expression operator in a mapping to convert a date into MM/YYYY, I used function to_char(date,'MM/YYYY') but I got an error not a valid month, has any one idea how to resolve this problem? thank you