PdfContent ,  Menubar refactoring