cid#1607041 PA: Public Attribute
Change-Id: I8ec74e943232f98c861e035c0da11e8d75f8fa29 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174106 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
This commit is contained in:
parent
645ae19dfc
commit
d8d4efbe1f
3 changed files with 8 additions and 3 deletions
|
@ -46,7 +46,7 @@ public class DBColumn
|
|||
private XCell xValCell;
|
||||
private XTextRange xValTextCell;
|
||||
private XTextCursor xValCellCursor;
|
||||
public XCell xNameCell;
|
||||
private XCell xNameCell;
|
||||
private XTextRange xNameTextCell;
|
||||
private boolean bAlignLeft;
|
||||
private String CharFontName;
|
||||
|
@ -183,6 +183,11 @@ public class DBColumn
|
|||
}
|
||||
}
|
||||
|
||||
public XCell getNameCell()
|
||||
{
|
||||
return xNameCell;
|
||||
}
|
||||
|
||||
private void getTableColumns(String TableName)
|
||||
{
|
||||
try
|
||||
|
|
|
@ -448,7 +448,7 @@ class ReportTextDocument extends com.sun.star.wizards.text.TextDocument implemen
|
|||
}
|
||||
CurDBColumn = new DBColumn(CurRecordTable, oTextTableHandler, CurDBMetaData, i - CurDBMetaData.getGroupFieldNames().length);
|
||||
}
|
||||
if (CurDBColumn.xNameCell != null)
|
||||
if (CurDBColumn.getNameCell() != null)
|
||||
{
|
||||
DBColumnsVector.add(CurDBColumn);
|
||||
}
|
||||
|
|
|
@ -436,7 +436,7 @@ public class ReportTextImplementation extends ReportImplementationHelper impleme
|
|||
for (int i = 0; i < iCount; i++)
|
||||
{
|
||||
CurDBColumn = getDoc().DBColumnsVector.get(i);
|
||||
xNameCellCursor = ReportTextDocument.createTextCursor(CurDBColumn.xNameCell);
|
||||
xNameCellCursor = ReportTextDocument.createTextCursor(CurDBColumn.getNameCell());
|
||||
xNameCellCursor.gotoStart(false);
|
||||
FieldContent = getDoc().oTextFieldHandler.getUserFieldContent(xNameCellCursor);
|
||||
if (!FieldContent.equals(PropertyNames.EMPTY_STRING))
|
||||
|
|
Loading…
Reference in a new issue