Move these typedef's inside the class scope & bool cleanups.
Move these typedef's inside the class scope & bool cleanups.

Change-Id: I806453efbc5f7bb18f34593c350b05d74a0bc23b

JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core