Testimonials
Publi-Script worked VERY hard to help me to get this to work.. Although the basic idea was solid, he brought to the table a host of ideas and options that didn't occur to me that really made this solution fly. I'd use him again in a heartbeat!
Jeffrey Talbot
audio WORKS
The project was done within hours of it being awarded. Changes were made to the script after the project was complete to specifications. I would use Publi-Script again
Pete Iverson
Alexian Brothers
Warning: Call-time pass-by-reference has been deprecated in
/home/content/P/S/2/PS263945610/html/mambots/content/mosAPF.php on line
189
Warning: Call-time pass-by-reference has been deprecated in
/home/content/P/S/2/PS263945610/html/mambots/content/mosAPF.php on line
194
|
Ace_Tip #5: Importing large Excel data |
|
This tips is for those of you that need to import large Excel data (read: that would extend a single page) in Quark XPress. I did supply it in the General Forum before but thought it should reside here as well.
Platform: Mac and PC
Applications: Quark XPress, Microsoft Excel
XTensions: none
This tip uses the following spreadsheet as an example:
To ease the process of importing a large quantity of data into a Quark table, I have separated the steps into 5 portions:
- Analyze your spreadsheet for table headers and cell data style.
- Prepare your Quark "template" with the apropriate number of "masters" that will reflect on you different spreadsheets (if more than one).
- Add style sheets definition for all of your data style.
- Prepare your Excel document for importing it into Quark.
- Put your final document together.
I know that this might quite cumbersome at first glance but once you get the gist of it, it becomes quite simple. In Excel: For each spreadsheet, do the following: Mark down the names of each column. Determine the style you will want to give the data under those headers.
In this example, I have 3 columns named "Names","Numbers" and "Cities", each requiring its own style sheet
In Quark XPress:
- Go to the Master page that will contain your first spreadsheet;
- Delete any "Auto Text" box on that Master Spread
- Create a Table making sure you select the "link cell" feature.
- Format The table elements as you wish.
- Add a text box (or text boxes) to set the "headers" of your tables (facultative)
- Copy the table and headers to the other page (in your are using facing pages).(facultative)
- Create a small text box next to the "Chain Icon" at the top of your page.
- Link the "Chain Icon" to that box.
- Link the first cell of the table to the small text box.
- Delete the small text box. (Your table should now be linked to the chain icon.)
- Repeat steps 7 thru 10 for any other page of that Master Spread. (facultative)
- Repeat steps 2 thru 11 for each required spreadsheet.
- Go to the first page of your document.
- Apply the Master Page (or add a new page based on it)
- Create a "Paragraph Style Sheet" for your Names (aptly named "Names")
- Create a "Paragraph Style Sheet" for your Numbers(aptly named "Numbers")
- Create a "Paragraph Style Sheet" for your Cities(aptly named "Cities")
- For steps 15, 16 and 17, you might want to associate a corresponding "Character Style Sheet" the each of the "Paragraph Style Sheets";
In Microsoft Excel:
Most of you already know this but Quark allows you to import text containing its own Tags (XPress Tags). That will greatly help you with this task: The only thing you need to do is to append those "tags" to your Excel file prior to saving each spreadsheet as text. You can do this using Excel's Cell Format:
- Select a spreadsheet;
- Select the column containing the Names;
- Set the "Number Format" (under "Custom") to "@Names:"@;
- Slect the column containing the Numbers;
- Set the "Number Format" (under "Custom") to "@Numbers:"@;
- Slect the column containing the Cities;
- Set the "Number Format" (under "Custom") to "@Cities:"@;
- Save this spreadsheet as "Text (Tab delimited)".
- Repeat steps 19 thru 26 for each spreadsheet.
- Close the Excel document.
In Microsoft Word:
- Open each "tab delimited" files;
- Replace every "Tab Character" by "<\b>";
- Replace every "Paragraph Mark" by "<\b>";
- Save your files as text;
Back in Quark XPress:
- Apply the proper Master page to the last page of your document. (You might have to add a new page)
- With the "Content Tool" select the first text box of your table.
- Select "Get Text" form the "File" menu and locate the appropriate Text File.
- Make sure that "Include styles" is selected and click "Open".
- Repeat steps 33 thru 36 for each text files.
Voilà!
There's a few steps but fairly straight forward ones!
|