Documents usually contain everything they need, but references to all kind of external links can be embedded as well. The documents themselves are in a binary representation that makes it impossible to decode them easily with self-written scripts.