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.GetDa ta and Clipboard.GetTe xt, 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
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.GetDa ta and Clipboard.GetTe xt, 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
Comment