if (_xSection != null)
{
try
{
final Object aFixedLine = getMSFofReportDefinition().createInstance("com.sun.star.report.FixedLine");
final XFixedLine xFixedLine = UnoRuntime.queryInterface(XFixedLine.class, aFixedLine);
xFixedLine.setOrientation(_nOrientation);
// TODO: line width is fixed
xFixedLine.setLineWidth(8);
xFixedLine.setPositionX(_aRect.X);
xFixedLine.setPositionY(_aRect.Y);
xFixedLine.setWidth(_nWidth);
_aRect.X += _nWidth;
xFixedLine.setHeight(_nHeight);
_xSection.add(xFixedLine);
}
catch (com.sun.star.uno.Exception ex)
{
Logger.getLogger(ReportBuilderLayouter.class.getName()).log(Level.SEVERE, null, ex);