Questions tagged [fixed-width]

Fixed layouts are layouts that start with a specific size, determined by the Web designer. They remain that width, regardless of the size of the browser window viewing the page. Fixed width layouts allow a designer more direct control over how the page will look in most situations. They are often preferred by designers with a print background, as they allow the designer to make minute adjustments to the layout and have them remain consistent across browsers and computers.

source: http://webdesign.about.com/od/layout/g/bldeffixedlyot.htm

Fixed Width Text File Definition: Above all, a fixed width text file is a file that has a specific format which allows for the saving of textual information/data in an organized fashion. Fixed width text files are special cases of text files where the format is specified by column widths, pad character and left/right alignment. Column widths are in units of characters. So if you have data in a text file where the first column always has exactly 10 characters, and the second column has exactly 5, the third has exactly 12 (and so on), then you have a fixed width text file.

Each row (paragraph) contains one record of information; each record can contain multiple pieces of data (fields), each data field (column) has a precise number of characters. The data is padded with spaces (or any character you specify) if it does not completely use all the characters allotted to it. Further, each piece of data can be left or right justified, meaning the padding of characters can occur on either side.

source: http://www.softinterface.com/Convert-XLS%5CFeatures%5CFixed-Width-Text-File-Definition.htm

462 questions
0
votes
2 answers

How to create .avro file from a fixed width text file?

I would like to generate .avro file from a text file with fixed line width. I am beginner with java and .avro, so please help me in sorting out this problem. How to create .avro file from a fixed width text file in Java?
Dev
  • 11
  • 4
0
votes
1 answer

Excel VBA Import TXT File with variable Column width

I have a challenge with importing fixed with files (TXT) into Excel via VBA. The Issue is not really getting the Data into Excel (Code below) but change the column width depending on the column content of the TXT file. Any Help is much appriciated…
Dennis
  • 19
  • 2
  • 4
  • 8
0
votes
1 answer

Need help in splitting a fixed-width string with unprintable characters

I have a particularly nasty fixed-width file to work with. It's not encoded in the formats I thought it would be. In a nutshell, I'm trying to do a variety of things: Skip all the whitespace before RPLY01. Remove those wacky \x00* characters. I've…
Carlos
  • 1,897
  • 3
  • 19
  • 37
0
votes
2 answers

SSIS file with no deliminator, how(is it possible) to read using files source?

I have got a feed (for Employee details) whose one record is like this. 101EnggAnal brief given to me is 1st 3 characters will be employee ID, next 4 will be department and last 4 will be Designation. Can I read this using Flat file source? If yes…
Pritesh
  • 1,938
  • 7
  • 32
  • 46
-1
votes
2 answers

How do make sure longer "spans" go to a new line in a table having fixed width?

I have a table whose width is fixed. Its 'tbody' is generated from an ajax response. I have an example of what I'm trying to do at http://jsfiddle.net/p5LL7/7/ Click on the button to simulate an ajax response.You will see that the second word i.e.…
dinchakpianist
  • 207
  • 1
  • 4
  • 12
-1
votes
1 answer

SSIS Fixed Width Text File - Reference Tables and Appendices

Can someone please share a best practice for the situation I have encountered? I mapped about 20 fixed width text files using SSIS to corresponding staging tables. The data flows as intended into these tables. These fixed width text files are large…
-1
votes
1 answer

Having problem on mobile width issue with shopify page builder (pagefly)

I'm using shopify platform and pagefly page builder it looks good on desktop but only on mobile it is looking weird. (image is below) I already contacted pagefly support for this and they fixed issue before but it is happening again and I don't know…
-1
votes
1 answer

WPF Fixed width Textbox font (Like Hex Editor)

I am building a file parsing tool in WPF that let's me adjust line length till data lines up. See this video around 2:10 https://www.youtube.com/watch?v=OMeghA82kSk I really need to fix it so that the text has a fixed width. I had thought about…
Alan
  • 2,046
  • 2
  • 20
  • 43
-1
votes
5 answers

Conditional extraction of fixed width data using SQL

I have a scenario where I pull out data from multiple tables and the output is fixed width format. The fixed width output will look like: Current output: 1001RJOHNKEITH25 20181017 NA 1002CDWANEKANE36 20181010 RR 1003CMIKAYLAGN44 20181011 RR Desired…
Rick
  • 1,392
  • 1
  • 21
  • 52
-1
votes
1 answer

How to remove spaces from a fixed-width text file in R

I want to load a text file that looks like the following into R, remove all spaces, then rewrite the file. 1 061 061 1 0 081 080 1 0 061 060 1 1 051 051 1 0 101 100 1 The way I'd go about this is with readlines(), removing the spaces in each row,…
Union find
  • 7,759
  • 13
  • 60
  • 111
-1
votes
1 answer

Extend width to screen width

I want to increase following things : the border line below my top social link width the navigation bar width the footer social link width across the width of the screen (to fit screen) Can't seems to find the correct coding area to adjust. My…
Ady
  • 1
  • 1
-1
votes
2 answers

How to scrape fixed-width files in Python?

In Python 3 I have a series of links with "fixed-width files". They are websites with public information about companies. Each line has information about companies Example…
Reinaldo Chaves
  • 965
  • 4
  • 16
  • 43
-1
votes
1 answer

UX-->UI Responsiveness in Bootstrap

In bootstrap should the container class be of fixed size? We want it to display the whole width of the desktop and laptop.How can this be tackled. What if I have custom component how does it stretch to the width of the screen,Should the width be…
Ajay Kalkoti
  • 127
  • 1
  • 2
  • 12
-1
votes
2 answers

Make the same edit for edit for each column in a multi-column file

I have multiple CSV files with varying numbers of columns that I need to reformat into a fixed-format text file. At this stage, I hash and unhash the columns that need to be edited, but its tedious and I can't add new columns without changing the…
DKru
  • 19
  • 3
-1
votes
2 answers

Stuff spaces at end of lines in file

I am trying to read a fixed with file that has lines/records of different lengths. I need to stuff spaces at the end of the lines which are less than the standard length specified. Any help appreciated. enter image description here
Abhi
  • 163
  • 2
  • 14
1 2 3
30
31