[Perm] TABLES: import contents into existing format

I'm creating about 20 tables that have the same complex formatting: row stroke widths, color of strokes, fills, etc. Would like to import the data (from Word tables originally created in excel) . Is there a way to import data without recreating each an every table I import into InDesign?
I suggested a "table style" to Adobe several months ago; that would be the ideal solution. What can I use now?

Cherie,
I have posted a script (it's actually in message 26 of the long topic on pasting unformatted text) that will import the clipboard contents into part of an existing table in such a way that the new contents retains the old formatting.
You can find the script here:
Populate Table From Clipboard along with a description of how to use it.
Basically, you:
1. Open your Excel worksheet
2. Copy and paste the range of cells you want to update to the clipboard
3. Switch to your InDesign document and click in the top left cell where you want the updated data to start.
4. Run the script.
The new data replaces the old using the formatting of the old (provided that you have used only paragraph styles to do that formatting: any use of character styles within the cells will be lost).
Hope this helps.
Dave

Similar Messages

  • Table of Contents into existing text fame?

    Hi there,
    I'm looking to put a table of contents about halfway down a page that has content on it (paragraph > ToC > another paragraph). I don't want the ToC in its own text frame, because if the copy/layout before it changes, it'll be in the wrong place...
    Is there a way to do this without copying/pasting the ToC into the text frame (which doesn't permit me to update the ToC)?
    Thanks in advance!
    - steve

    flossdaily wrote:
    Hi there,
    I'm looking to put a table of contents about halfway down a page that has content on it (paragraph > ToC > another paragraph). I don't want the ToC in its own text frame, because if the copy/layout before it changes, it'll be in the wrong place...
    Is there a way to do this without copying/pasting the ToC into the text frame (which doesn't permit me to update the ToC)?
    Thanks in advance!
    - steve
    The TOC needs to be in a frame that's not threaded to others, but is able to grow and shrink to contain its content, and also resize in relation to frames around it.
    Typefi systems' InDesign CS4 free Auto-fit plug-in probably can do what you want, but there's no sign of a CS5 version at this time.
    http://www.typefi.com/index.php/typefi-autofit
    The commercial Blatner Tools has an autopage component probably can also do what you want.
    www.dtptools.com/help.asp?id=108
    HTH
    Regards,
    Peter
    Peter Gold
    KnowHow ProServices

  • Import Content into Forums (7.0)

    I see that it is possible on Jive's website that it is possible to import content into Jive forums through xml.
    I do not know of a way to do this with the forums available with SAP Portal.
    Does anyone know if this is possible yet?
    (What I am wanting to do is migrate content from a MS SharePoint discussion to SAP Forum.)

    Hi Eric,
    you might use the XML Import in the Jive Admin Tool. You see the schema definition here: [http://www.jivesoftware.com/products/forums/jiveforums.xsd|http://www.jivesoftware.com/products/forums/jiveforums.xsd]
    Regards,
    Michael

  • Why is it impossible to import pics into existing projects in Aperture 3.6 ? It forces me to create a new project on every import. Tried to change that in preferences but no luck.

    Why is it impossible to import pics into existing projects in Aperture 3.6 ? It forces me to create a new project on every import.
    Tried to change that in preferences but no luck.

    It is working for me.  Two ways to import into an existing project:
    Select a project and view it in the browser in split view. If you drag image files from a folder directly into the filmstrip, the dragged image files will be added to that project.
    Or select a project in the library, before you open the Import panel. Then you can switch the destination project in the Import Settings  from "new Project" to the selected project.
    Have you tried these methods? Where does it not work for you?

  • How to convert table content into html format?

    Hi,
    Experts,
    How to convert internal data into HTML format is there any function module or piece of code to download content into HTML.
    Thank u,
    Shabeer Ahmed.

    Then use this code....
    REPORT  ytest_table_html1.
    *        D A T A   D E C L A R A T I O N
    *-HTML Table
    DATA:
      t_html TYPE STANDARD TABLE OF w3html WITH HEADER LINE,
                                           " Html Table
    *- Declare Internal table and Fieldcatalog
      it_flight TYPE STANDARD TABLE OF sflight WITH HEADER LINE,
                                           " Flights Details
      it_fcat TYPE lvc_t_fcat WITH HEADER LINE.
                                           " Fieldcatalog
    *-Variables
    DATA:
      v_lines TYPE i,
      v_field(40).
    *-Fieldsymbols
    FIELD-SYMBOLS: <fs> TYPE ANY.
    *        S T A R T - O F - S E L E C T I O N
    START-OF-SELECTION.
      SELECT *
        FROM sflight
        INTO TABLE it_flight
        UP TO 20 ROWS.
    *        E N D - O F - S E L E C T I O N
    END-OF-SELECTION.
    *-Fill the Column headings and Properties
    * Field catalog is used to populate the Headings and Values of
    * The table cells dynamically
      CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'
        EXPORTING
          i_structure_name       = 'SFLIGHT'
        CHANGING
          ct_fieldcat            = it_fcat[]
        EXCEPTIONS
          inconsistent_interface = 1
          program_error          = 2.
      DELETE it_fcat WHERE fieldname = 'MANDT'.
      t_html-line = '<html>'.
      APPEND t_html.
      CLEAR t_html.
      t_html-line = '<thead>'.
      APPEND t_html.
      CLEAR t_html.
      t_html-line = '<tr>'.
      APPEND t_html.
      CLEAR t_html.
      t_html-line = '<td><h1>Flights Details</h1></td>'.
      APPEND t_html.
      CLEAR t_html.
      t_html-line = '</tr>'.
      APPEND t_html.
      CLEAR t_html.
      t_html-line = '</thead>'.
      APPEND t_html.
      CLEAR t_html.
      t_html-line = '<table border = "1">'.
      APPEND t_html.
      CLEAR t_html.
      t_html-line = '<tr>'.
      APPEND t_html.
      CLEAR t_html.
    *-Populate HTML columns from Filedcatalog
      LOOP AT it_fcat.
        CONCATENATE '<th bgcolor = "green" fgcolor = "black">'
            it_fcat-scrtext_l
            '</th>' INTO t_html-line.
        APPEND t_html.
        CLEAR t_html.
      ENDLOOP.
      t_html-line = '</tr>'.
      APPEND t_html.
      CLEAR t_html.
      DESCRIBE TABLE it_fcat LINES v_lines.
    *-Populate HTML table from Internal table data
      LOOP AT it_flight.
        t_html-line = '<tr>'.
        APPEND t_html.
        CLEAR t_html.
    *-Populate entire row of HTML table Dynamically
    *-With the Help of Fieldcatalog.
        DO v_lines TIMES.
          READ TABLE it_fcat INDEX sy-index.
          CONCATENATE 'IT_FLIGHT-' it_fcat-fieldname INTO v_field.
          ASSIGN (v_field) TO <fs>.
          t_html-line = '<td>'.
          APPEND t_html.
          CLEAR t_html.
          t_html-line = <fs>.
          APPEND t_html.
          CLEAR t_html.
          t_html-line = '</td>'.
          APPEND t_html.
          CLEAR t_html.
          CLEAR v_field.
          UNASSIGN <fs>.
        ENDDO.
        t_html-line = '</tr>'.
        APPEND t_html.
        CLEAR t_html.
      ENDLOOP.
      t_html-line = '</table>'.
      APPEND t_html.
      CLEAR t_html.
    *-Download  the HTML into frontend
      CALL FUNCTION 'GUI_DOWNLOAD'
        EXPORTING
          filename                = 'C:\Flights.htm'
        TABLES
          data_tab                = t_html
        EXCEPTIONS
          file_write_error        = 1
          no_batch                = 2
          gui_refuse_filetransfer = 3
          invalid_type            = 4
          no_authority            = 5
          unknown_error           = 6
          header_not_allowed      = 7
          separator_not_allowed   = 8
          filesize_not_allowed    = 9
          header_too_long         = 10
          dp_error_create         = 11
          dp_error_send           = 12
          dp_error_write          = 13
          unknown_dp_error        = 14
          access_denied           = 15
          dp_out_of_memory        = 16
          disk_full               = 17
          dp_timeout              = 18
          file_not_found          = 19
          dataprovider_exception  = 20
          control_flush_error     = 21
          OTHERS                  = 22.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
        WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    *-Display the HTML file
      CALL METHOD cl_gui_frontend_services=>execute
        EXPORTING
          document               = 'C:\Flights.htm'
          operation              = 'OPEN'
        EXCEPTIONS
          cntl_error             = 1
          error_no_gui           = 2
          bad_parameter          = 3
          file_not_found         = 4
          path_not_found         = 5
          file_extension_unknown = 6
          error_execute_failed   = 7
          synchronous_failed     = 8
          not_supported_by_gui   = 9
          OTHERS                 = 10.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
        WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    none of the above function modules r obsolete...

  • Download table content into CSV format in background

    Hi,
    I would like to download some 50 tables data content locally into csv file format. As the number of tables are quite more, I am planning to run this in background. GUI_DOWNLOAD doesnt help me here. Can you plz suggest how can I go ahead to download files then.
    I am using the FM 'SAP_CONVERT_TO_CSV_FORMAT' for converting the internal table to csv format. Suggest me if there is any other way.
    Your suggestions would be very valuable.
    Thank you in advance.

    go through this  link...
    Re: how to create a CSV file

  • How to import cd into existing playlist?

    In the new (12.0.1) iTunes, how can I import the contents of a CD into an existing playlist? It appears I have to import the contents into my general library, then drag the imported titles into an existing playlist. Two steps, where before there was just one.

    In the previous version of iTunes, the CD contents could be dragged directly into an existing playlist folder and imported that way. One step. Of course, it was added to your full library, but you could import it to a target folder. That shortcut has been eliminated, it appears.

  • Is there a way to import data into existing contacts in Address Book?

    I want to import data from a .csv (for example) into existing address book entries. It would have to recognize and match the name, then recognize the new data and enter it.
    Is that possible?
    (Now that I think about it, maybe this can be done with Address Book's existing conflict resolution method (that compares similar entries and asks which to keep)…?)

    I have answered my own question. I exported the data from a layout in FileMaker Pro containing the required fields as tab separated text. That produced a .tab file that Contacts wanted nothing to do with. However, when I changed the .tab in the file name to .txt, Contacts accepted it as a file to import (File/Import). I then identified the field in Contacts in which the data in each field in the txt file was to be placed and in it went! The trick was changing .tab to .txt in the name of the file exported by FileMaker Pro.

  • Import photoes into existing album

    After upgrade to 10.6, IPhoto no longer gives me to the option to import photos to an exisiting album.  Any way around that other than merging events after the import?

    You talk about both albums and events - which do you mean? They are not the same
    You can not (and never have been able to ) import photos into an existing event - an imp[ort will always create one or more events - then yu can merge, split, etc the events
    Albums are logical things that can be created during an import (along with an event) but usually are subjects so you add imported photos to them later
    LN

  • Preview: Table of Contents is ignoring formatting

    Preview is missing a feature. Before going further I’ll admit it is a minor feature, but nonetheless, the omission needles me. The bug description below is deliberately thorough, to allow other to reproduce the problem and variations of it.
    PDFs exhibiting the problem have been made with the following 18 lines of PostScript.
    /PageWidth 72 def  /PageHeight 432 def
    << /PageSize [PageWidth PageHeight] >> setpagedevice
    /FontNames [  /Times-Roman  /Times-Italic  /Times-Bold  /Times-BoldItalic  ] def
    0 setgray
    0 1 3
        /i exch def   /FontName FontNames i get def   /FontNameText FontName 32 string cvs def
        matrix currentmatrix  PageWidth 0 translate  90 rotate
        FontName 54 selectfont  18 18 moveto  FontNameText show  setmatrix
        mark  /Dest FontName  /View [/Fit]  /DEST  pdfmark
        mark  /Action /GoTo /Dest FontName  /Title FontNameText  /F i  /OUT  pdfmark
        showpage
    } for
    The PostScript is also available at http://www.jdawiseman.com/papers/bugs/20130918_Preview_Bug.ps
    I have converted the PostScript to PDF using Adobe Distiller 8 (the latest version on my Mac), to make
    http://www.jdawiseman.com/papers/bugs/20130918_Preview_Bug_Adobe8.pdf
    and also with the GhostScript installed at PS2PDF.com to make
    http://www.jdawiseman.com/papers/bugs/20130918_Preview_Bug_PS2PDF.pdf
    The relevant line of the PostScript ends “/F i  /OUT  pdfmark”, which makes an ‘Outline’ item, that is, an item which appears with View > Table of Contents. Observe the “/F i”, which sets the formatting, over the four pages i looping from 0 to 3 in steps of 1. This /F defines the Formatting: 0 = Plain, 1 = Italic, 2 = Bold, 3 = Bold and Italic; as explained on page of 27 of http://www.adobe.com/devnet/acrobat/pdfs/pdfmarkReference_v9.pdf
    Viewed in Preview 6.0.1 (765.6) on OS X 10.8.4 this looks like
    http://www.jdawiseman.com/papers/bugs/20130918_Preview_Bug_Preview.png
    Oops: formatting ignored. Me needled.
    But in Adobe Professional 8 the two PDFs look like:
    http://www.jdawiseman.com/papers/bugs/20130918_Preview_Bug_Adobe8_Acrobat.png
    http://www.jdawiseman.com/papers/bugs/20130918_Preview_Bug_PS2PDF_Acrobat.png
    Much about the Acrobat is messier than Preview, but it does correctly display this aspect of the PDF. Please could Preview do so as well?
    Going back to the PostScript one could also add something like “/Color [0 0.6 0]”, which would set the colour of the text to dark green. That seems to be ignored by both Preview and Adobe Pro 8 (I don’t have v11 to test). Again, a fix would be welcomed.
    And why do I care? Because the long PostScript program I maintain (see www.jdawiseman.com/placemat.html for manual and code) uses these features.

    Apple doesn’t routinely monitor the discussions. These are mostly user to user discussions.
    Send Apple feedback. They won't answer, but at least will know there is a problem. If enough people send feedback, it may get the problem solved sooner.
    Feedback

  • This is Regarding wants table values output into HTML formate

    Hello Experts,
    can you please help me regarding this,i want table valuees in to HTML formate,so can you please tell solution ,is there any FM or any other solution for geeting Table values in HTML formate.please suggest me
    Thanks and regards,
    durga.k

    dketcham wrote:
    cotton.m wrote:
    >
    2) I'm looking at how you called stuff, and you're trying to call the jsp file as an image? That jsp isn't the source of the image, just a page linking to an image. I think if you really want to do things that way you're going to need to just include that jsp within the jsp you're calling it from (or you can do it the easy way, and if you have the information to get the path of the image you want, you could simply call the image from the first jsp you posted)This is incorrect.
    There are two JSPs. The second when called will (if it worked) return the source of an image as stored in the database.even when called with <img src=xx.jsp>??
    Yes.
    If any of what I say next seems obvious or otherwise negative I apologize, just trying to explain and I don't know what you know vs what you don't.
    The link in the src is just a URL not a filetype. So just because it ends with JSP does not mean it has to return HTML. The content type is determined by the browser using the Content-Type header returned by the server in the HTTP response. In this case the header is set to be a jpeg so that's what the browser will attempt to interpret the content part of the response as.
    So in fact one is not limited to just HTML or images but whatever content type you would like to return (that the browser can understand anyway). This could be HTML or it could be an image of some type or it could be a PDF or it could be an Excel spreadsheet. All you have to do in the JSP is set the header appropriately and then send content that is actually in that format.
    This does not just apply to JSP by the way but all other web programming languages. You can do similar things to produce the same results in PHP, Perl, ASP etc.
    The only JSP/Servlet complication is whether or not doing this in a JSP is a "good" idea but I am not an expert enough at that to make a definitive statement. Mostly though JDBC in a JSP is a no-no.

  • Display jsp content into wml format for Mobile?

    hi..Currently i have many jsp's in my application and now i want to display the same content into mobile. the problem is that it looses the formatting... what are the ways to display these jsp's into my mobile web brower. any help in the same will be really appreciated. thanx.

    JoachimSauer wrote:
    You either need a browser that supports HTML on your mobile or produce WML instead of HTML in your JSPs.Or use XSLT to generate WML from the HTML that the JSP generates. As usual, nothing an additional layer won't solve!

  • Is there a way to generate table of contents into page links?

    I have created a PDF document from a data modeling tool.  After the document is created I am looking to generate page links en masse from the table of contents to the appropriate referenced page.  I know I can add links one at a time, but that is too time consuming.  Please give me a clue, this is driving me crazy.  Thanks for any help.

    Hi,
    Thanks for the reply. I am new to the adobe and to the javascript.
    I would appreciate if you can guide me as to where can I get the online help on javascript related to Adobe Print and Interactive Forms.

  • Add pages before the table of content into the table of content

    Hey,
    I was wondering if someone can help me. I'm writing my dissertation and I have to include an abstract and acknowledgments before the table of content ( written on pages 1 and 2). How can I get pages to include these pages within the table of contents written on page 3?
    Thanks
    Ordidge

    You can't get it in the TOC automatically. You can do it manually but you'll loose the updating feature of the TOC so do it when you are certain you are finished with the document.
    What you do is copy the whole TOC and paste it in Textedit. Here you can do all the changes you want. Copy it again and paste it back in the Pages document.
    Also read this
    http://support.apple.com/kb/TS2127?viewlocale=en_US

  • Import CSV into existing document

    Numbers seems to do fine at importing a CSV file and creating a new document from it, but I can't seem to find any way to import a CSV file into an existing document as a new table.
    I'd like to end up being able to import several CSV files into one document.
    So far I have tried:
    1) Import -> Choose: the Open dialogue greys out any csv files
    2) drag-and-drop from the Finder to an existing Table
    3) drag-and-drop from the Finder to the Sheet sidebar
    4) drag-and-drop from another document to the sidebar
    At the moment it looks like the only way to accomplish this is to do an import to a new document, and then cut and paste the entire table from the CSV document into the main document where I want all of these tables to end up. I find that a bit kludgy.
    Does anyone know of a better way to do this?

    Matthew,
    Open CSV file in Numbers; CTRL-Click tableName in Sheets Pane and Copy, then CTRL-Click in Sheets pane of destination document and Paste.
    Not exactly what you wanted but it just takes a few seconds.
    Jerry

Maybe you are looking for

  • How to restore from Time Machine after HD change?

    Hi I am having my hard drive replaced due to the issue with the Seagate hard drives. I have a Lacie NAS which is working with Time Machine. I wanted to know, once I have my iMac back with a new hard drive, how do I restore everything from Time Machin

  • Error when using the method cl_gui_frontend_services= file_open_dialog

    Hello Experts, I am currently practicing BDC and I think the first step is to locate where my text file is. Now based on my code below, after selecting my text file nothing happens. Also, what will be my next after getting the file from a specific lo

  • How can I use two different ToolTipUIs?

    Hi, I want to use two different ToolTipUIs depending (in my case) on the JRadioButton that the Cursor is hovering over. For some JRadioButtons, I want to use the default ToolTipUI, and for others I wish to display a large amount of text over multiple

  • Using two iPads and one email address

    Hi! My dad just bought an iPad and used MY email address as his backup email. Is this a problem as I already used this email address as my primary email on my own ipad

  • Can you create rows of "spaces" in Lion?

    I'm about to update my OS to Lion but there's one thing keeping me from taking the plunge.  I use spaces very heavily and I rely on my 2x3 layout.  It's my understanding that lion keeps spaces (or I guess they're now called desktops or something) in