Add tests with draw:frame directly in office:text.
This requires position: relative in office|text to get the frame positioned properly.
Simplify layout tests by having common styles.
Fix positioning for horizontal-pos="left" and vertical-pos="top".
Code cleanup and add a test for anchor="as-char".
Move getStyleElement from odf.Formatting to odf.StyleInfo.
Also add description to some functions and make convertToPx clearer.
Fix positioning of frames in ODP files.
This fixes a regression. In ODP, the location of frames is relative to the top and left of the page, but this is not explicitly specified in the styles.