QTextFrameFormat class support setMargin functions; Top, Bottom, Right, Left or entire margins.
I implemented new functions to Frame class,
KDReports::Frame& setTopMargin( qreal topMargin );
KDReports::Frame& setBottomMargin( qreal bottomMargin );
KDReports::Frame& setLeftMargin( qreal leftMargin );
KDReports::Frame& setRightMargin( qreal rightMargin );
qreal topMargin() const;
qreal bottomMargin() const;
qreal leftMargin() const;
qreal rightMargin() const;
now we can place to element to anywhere at the page.
