On Sun, 18 Mar 2001 16:04:13 +0000, Alan Fry wrote:
>>I don't think Bart has misunderstood the problem at all.
>
>With the greatest respect I think you have both misunderstood what I
>was driving at.
>
>>Take the first four characters, which indicate the type.
>
>That IS the problem. Those four merry little characters (which may be
>'TEXT' or 'styl' or any number of things) are buried contiguously in
>a mush of all sorts of other unrelated stuff. The problem is how to
>pick them out of the mush.
I think that that "mush" itself is stored in some kind of tree. The key
to traversing this tree should be some length words/longs, indicating
how long the individual parts are. I expect it to be not to different
from how JPEG and/or TIFF files are stored. Or, more close to home: I
expect that the structure of the clipboard is very closely related to
the structure of a file's resource fork.
--
Bart.
- Re: [MacPerl] StyledText data into a record of text and ... Bart Lateur
- Re: [MacPerl] StyledText data into a record of text and ... Nobumi Iyanaga
- Re: [MacPerl] StyledText data into a record of text and ... Alan Fry
- Re: [MacPerl] StyledText data into a record of text and ... Detlef Lindenthal
- Re: [MacPerl] StyledText data into a record of text and ... Alan Fry
- Re: FW: [MacPerl] StyledText data into a record of text ... Alan Fry
- Re: FW: [MacPerl] StyledText data into a record of text ... Ronald J Kimball
- Re: [MacPerl] StyledText data into a record of text and ... Alan Fry
- Re: [MacPerl] StyledText data into a record of text and ... Bart Lateur
- Re: [MacPerl] StyledText data into a record of text and ... Ronald J Kimball
- Re: [MacPerl] StyledText data into a record of text and ... John W Baxter
- Re: [MacPerl] StyledText data into a record of text... John W Baxter
- Re: [MacPerl] StyledText data into a record of text... John W Baxter
- Re: [MacPerl] StyledText data into a record of text and ... Detlef Lindenthal
- Re: [MacPerl] StyledText data into a record of text and ... Ronald J Kimball
- Re: [MacPerl] StyledText data into a record of text and ... Detlef Lindenthal
- Re: [MacPerl] StyledText data into a record of text and ... Alan Fry
- Re: [MacPerl] StyledText data into a record of text... John W Baxter
