home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.visual.basic      MS Visual Basic discussions, NOT dot-net      10,840 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 9,003 of 10,840   
   LG to All   
   Question regarding the clipboard   
   23 Nov 04 08:02:25   
   
   From: lg@noreply.com   
      
   Just have a question with regards to the clipboard, and how to read what   
   other applications (Adobe InDesignCS) place in the clipboard.   
      
   I am currently in the process of creating a booklet from a database, and I   
   need the data to be laid out in a tabular format, and set out in a specific   
   way. At the current point in time, I am copy/pasting the raw text from the   
   database into a table layout in InDesign. What I was thinking is that if I   
   could somehow find out exactly what data is placed into clipboard when I   
   copy the table (in InDesign) then I can write an app to output the data (and   
   whatever else goes into making a clipboard copy of an InDesign table) to a   
   text file in that format. So, in theory, I can just copy the contents of the   
   text file, and paste it into InDesign, which would then create the table and   
   the contents.   
      
   However... Using, Clipboard.GetData and Clipboard.GetText, it seems that   
   only the text portion of the copied table is, well, copied. No formatting,   
   no table data, or anything other than the straight text.   
      
   My question is, is InDesign storing the format of the data (in this case the   
   format that tells InDesign that the data in clipboard is a table) in another   
   place that is not included in the Clipboard method, and if so, is it   
   possible to retrieve the formatting data.   
      
   I hope this makes sence to everyone :P   
      
   Thanks in advance   
   G   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca