The specific file format is irrelevant in encryption. What matters are factors like the medium on which the file is located, the mechanism of access, and to some extent, the size of the file (which applies more to the difference between a hard drive image and a small document file, not so much to the difference between a PDF and a DOCX). If the file is extremely large, ciphers with a small block size (such as Blowfish, IDEA, and CAST5) begin to become less secure. Encrypting any more than 4 GiB worth of data with these ciphers can be dangerous.
While the cipher itself may be quite strong, the mode of operation can make or break a cryptosystem, and these modes are very context-dependent:
- ECB - Essentially no mode. Each block is encrypted with the same key. Unless you are encrypting a single block, this mode is dangerous and can give rise to the ECB penguin.
- CBC - Provides little malleability protection, but is usually good for simple confidentiality. There are many attacks against CBC, but they only apply in specific contexts.
- CTR - Is highly sensitive to nonce reuse and malleability attacks, but is fast and is good for parallelization. This mode turns a block cipher into a stream cipher. CTR actually uses encryption for both encryption and decryption, so two CTR encryptions with the same key cancel out.
- GCM - Similar to CTR, but authenticated. This provides integrity on top of confidentiality at the expense of some extra space for each message. This is used in networks.
- XTS - A "tweakable narrow block mode" which is commonly used for block device encryption. It requires double the key size to function, but provides some minimal malleability resistance.
These are the common ones. Some less common ones are XEX, LRW, PCBC, CFB, OCB, OFB, CTS, EME, EME2, and plenty more. They are either much more limited in purpose (PCBC for example is like CBC, but designed such that a single error in encryption or decryption propagates and mangles all future output), or are patented or otherwise hard to use in a broad context legally (such as EME2 and OCB).
To answer your actual question, I would use CBC for that. If your threat model does not involve someone intentionally messing with the encrypted files, and only with preventing someone from viewing the contents, CBC is fine. It is the most common mode for file encryption.
Do not implement crypto on your own
The specific nuances are very hard to get right, and you can easily end up with a very broken scheme despite using well-established primitives. You should use an existing library or program to encrypt your files, like GnuPG. Even using 7zip's encryption feature would suffice.