EMF/WMF: parse line cap and line join

Change-Id: I081ae9c24e48912631dcfe4aba8a06ff2680aaf5