cid#1606721 PA: Public Attribute
Change-Id: I7f67264abf3ab6e52fe74c3e0bbac86a363b45c5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173724 Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com> Tested-by: Jenkins
This commit is contained in:
parent
d0f7619735
commit
74774c101e
3 changed files with 10 additions and 6 deletions
|
@ -66,7 +66,7 @@ public class StyleApplier
|
|||
this.curFormDocument = _curFormDocument;
|
||||
xMSF = curFormDocument.xMSF;
|
||||
|
||||
TextStyleHandler oTextStyleHandler = new TextStyleHandler(curFormDocument.xTextDocument);
|
||||
TextStyleHandler oTextStyleHandler = new TextStyleHandler(curFormDocument.getTextDocument());
|
||||
xPageStylePropertySet = oTextStyleHandler.getStyleByName("PageStyles", "Standard");
|
||||
short curtabindex = (short) (FormWizard.SOSTYLE_PAGE * 100);
|
||||
Integer IStyleStep = Integer.valueOf(FormWizard.SOSTYLE_PAGE);
|
||||
|
@ -239,7 +239,7 @@ public class StyleApplier
|
|||
{
|
||||
try
|
||||
{
|
||||
curFormDocument.xTextDocument.lockControllers();
|
||||
curFormDocument.getTextDocument().lockControllers();
|
||||
|
||||
if (optNoBorder.getState())
|
||||
{
|
||||
|
|
|
@ -141,7 +141,7 @@ public class ReportTextImplementation extends ReportImplementationHelper impleme
|
|||
private void addTextSectionCopies()
|
||||
{
|
||||
m_aDoc.setLayoutSectionsVisible(false);
|
||||
XTextCursor xTextCursor = ReportTextDocument.createTextCursor(m_aDoc.xTextDocument.getText());
|
||||
XTextCursor xTextCursor = ReportTextDocument.createTextCursor(m_aDoc.getTextDocument().getText());
|
||||
xTextCursor.gotoStart(false);
|
||||
for (int i = 0; i < getRecordParser().getGroupFieldNames().length; i++)
|
||||
{
|
||||
|
@ -334,8 +334,8 @@ public class ReportTextImplementation extends ReportImplementationHelper impleme
|
|||
int FieldCount = getRecordParser().FieldColumns.length;
|
||||
Object[] OldGroupFieldValues = new Object[GroupFieldCount];
|
||||
int RecordFieldCount = FieldCount - GroupFieldCount;
|
||||
XTextDocument xTextDocument = getDoc().xTextDocument;
|
||||
XTextCursor xTextCursor = ReportTextDocument.createTextCursor(getDoc().xTextDocument.getText());
|
||||
XTextDocument xTextDocument = getDoc().getTextDocument();
|
||||
XTextCursor xTextCursor = ReportTextDocument.createTextCursor(getDoc().getTextDocument().getText());
|
||||
xTextDocument.lockControllers();
|
||||
|
||||
if (getRecordParser().getResultSet().next())
|
||||
|
|
|
@ -49,7 +49,7 @@ public class TextDocument
|
|||
{
|
||||
|
||||
public XComponent xComponent;
|
||||
public com.sun.star.text.XTextDocument xTextDocument;
|
||||
protected com.sun.star.text.XTextDocument xTextDocument;
|
||||
public com.sun.star.task.XStatusIndicator xProgressBar;
|
||||
public com.sun.star.frame.XFrame xFrame;
|
||||
public XText xText;
|
||||
|
@ -225,7 +225,11 @@ public class TextDocument
|
|||
myFieldHandler.updateDocInfoFields();
|
||||
|
||||
return xTextDocument;
|
||||
}
|
||||
|
||||
public com.sun.star.text.XTextDocument getTextDocument()
|
||||
{
|
||||
return xTextDocument;
|
||||
}
|
||||
|
||||
private Size getPageSize()
|
||||
|
|
Loading…
Reference in a new issue