openDocument complete