She completed her first novel while she was working for the local newspaper.' while / whereas to link two ideas that contrast with each other: Note that while does not always refer to time.
Whereas recognition of the inherent dignity and of the equal and inalienable rights of all members of the human family is the foundation of freedom, justice and peace in the world, Whereas ...