She doesn't know all of them. She uses her familiar like a spellbook, and prepares spells that the familiar knows.take a look at the new Witch class for Pathfinder; it has a hybrid arcane/divine spell list; though it is fairly small, the Witch knows all the spells on it and can cast them spontaneously.