diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2019-07-31 09:39:21 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2019-07-31 15:10:24 +0200 |
commit | caa626809433b06b2a6f5eff80c6d0d2f4d71b7e (patch) | |
tree | 1076b9178aee5ad462f1203a552666ca96e2a4c5 /reportbuilder | |
parent | 40c250cae0c75b1762eb89caf66c14d37ffe5288 (diff) |
Fix typos
Change-Id: I2b9361433df39f66ec8328262a3128cf7294b6e1
Reviewed-on: https://gerrit.libreoffice.org/76720
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'reportbuilder')
9 files changed, 11 insertions, 11 deletions
diff --git a/reportbuilder/java/org/libreoffice/report/InputRepository.java b/reportbuilder/java/org/libreoffice/report/InputRepository.java index 0d89b2d7d8f5..1e26bfea7c56 100644 --- a/reportbuilder/java/org/libreoffice/report/InputRepository.java +++ b/reportbuilder/java/org/libreoffice/report/InputRepository.java @@ -54,7 +54,7 @@ public interface InputRepository InputRepository openInputRepository(final String name) throws IOException; /** - * This returns an version number for the given resource. Return zero, if + * This returns a version number for the given resource. Return zero, if * the resource is not versionable, else return a unique number for each version. * As rule of thumb: Increase the version number by at least one for each change * made to the resource. diff --git a/reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/ImageElementLayoutController.java b/reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/ImageElementLayoutController.java index 52ce34274de4..0bf40b9dcd28 100644 --- a/reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/ImageElementLayoutController.java +++ b/reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/ImageElementLayoutController.java @@ -157,7 +157,7 @@ public class ImageElementLayoutController final Section columns = (Section) table.findFirstChild(OfficeNamespaces.TABLE_NS, OfficeToken.TABLE_COLUMNS); if (columns.getNodeCount() <= columnPos + colSpan) { - // the colspan is to large. The table definition is therefore invalid. We do not try to fix this. + // the colspan is too large. The table definition is therefore invalid. We do not try to fix this. LOGGER.warn( "The Table's defined columns do not match the col-span or col-position. Unable to calculate the image-size."); return null; diff --git a/reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/OfficeGroupSectionLayoutController.java b/reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/OfficeGroupSectionLayoutController.java index 38cd53f13425..11a3693463a0 100644 --- a/reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/OfficeGroupSectionLayoutController.java +++ b/reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/OfficeGroupSectionLayoutController.java @@ -34,7 +34,7 @@ import org.jfree.report.structure.Element; /** * This layoutcontroller simply checks, whether the parent layout controller - * is a OfficeGroupLayoutController and whether this layout controller is + * is an OfficeGroupLayoutController and whether this layout controller is * processing the normal flow or an repeating section. If a repeating section * is being processed, an marker attribute is added to the element's call * to OutputProcessor.startElement() and OutputProcessor.endElement(). diff --git a/reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/OfficeTableTemplateLayoutController.java b/reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/OfficeTableTemplateLayoutController.java index 2b095a47dfaa..9030a18ef887 100644 --- a/reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/OfficeTableTemplateLayoutController.java +++ b/reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/OfficeTableTemplateLayoutController.java @@ -49,7 +49,7 @@ public class OfficeTableTemplateLayoutController extends SectionLayoutController * Initializes the layout controller. This method is called exactly once. It is the creators responsibility to call * this method. * - * <p>Calling initialize after the first advance must result in a IllegalStateException.</p> + * <p>Calling initialize after the first advance must result in an IllegalStateException.</p> * * @param node the currently processed object or layout node. * @param flowController the current flow controller. diff --git a/reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/TableCellLayoutController.java b/reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/TableCellLayoutController.java index cc543197a77a..b61c640bf5e5 100644 --- a/reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/TableCellLayoutController.java +++ b/reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/TableCellLayoutController.java @@ -43,7 +43,7 @@ import org.pentaho.reporting.libraries.base.util.ObjectUtilities; /** * Before writing the table cell, we have to evaluate the children of the cell. The cell itself can either be empty or it - * has a one ore more paragraphs inside. The paragraph contains a single report element, but may contain additional + * has one ore more paragraphs inside. The paragraph contains a single report element, but may contain additional * other content. * * @since 05.03.2007 diff --git a/reportbuilder/java/org/libreoffice/report/pentaho/output/OfficeDocumentReportTarget.java b/reportbuilder/java/org/libreoffice/report/pentaho/output/OfficeDocumentReportTarget.java index 330a5e091aa0..a5c3be135a65 100644 --- a/reportbuilder/java/org/libreoffice/report/pentaho/output/OfficeDocumentReportTarget.java +++ b/reportbuilder/java/org/libreoffice/report/pentaho/output/OfficeDocumentReportTarget.java @@ -555,7 +555,7 @@ public abstract class OfficeDocumentReportTarget extends AbstractReportTarget } case OfficeDocumentReportTarget.STATE_IN_CONTENT: { - // Either a ordinary section or a group .. + // Either an ordinary section or a group .. // A group. if (ReportTargetUtil.isElementOfType(JFreeReportInfo.REPORT_NAMESPACE, "report-body", attrs)) { diff --git a/reportbuilder/java/org/libreoffice/report/pentaho/output/StyleUtilities.java b/reportbuilder/java/org/libreoffice/report/pentaho/output/StyleUtilities.java index b1f1a46f6bd0..2b204a4bf502 100644 --- a/reportbuilder/java/org/libreoffice/report/pentaho/output/StyleUtilities.java +++ b/reportbuilder/java/org/libreoffice/report/pentaho/output/StyleUtilities.java @@ -118,7 +118,7 @@ public class StyleUtilities predefCollection.getCommonStyles().getStyle(styleFamily, styleName); if (predefCommonStyle != null) { - // so we have an style from the predefined collection. + // so we have a style from the predefined collection. // copy it an add it to the current stylescollection final OfficeStyles commonStyles = commonCollection.getCommonStyles(); @@ -131,7 +131,7 @@ public class StyleUtilities predefCollection.getAutomaticStyles().getStyle(styleFamily, styleName); if (predefAutoStyle != null) { - // so we have an style from the predefined collection. + // so we have a style from the predefined collection. // copy it an add it to the current stylescollection final OfficeStyles autoStyles = stylesCollection.getAutomaticStyles(); copyStyleInternal(predefAutoStyle, autoStyles, stylesCollection, diff --git a/reportbuilder/java/org/libreoffice/report/pentaho/output/text/TextRawReportTarget.java b/reportbuilder/java/org/libreoffice/report/pentaho/output/text/TextRawReportTarget.java index 96add59a59b6..ba06f8d39381 100644 --- a/reportbuilder/java/org/libreoffice/report/pentaho/output/text/TextRawReportTarget.java +++ b/reportbuilder/java/org/libreoffice/report/pentaho/output/text/TextRawReportTarget.java @@ -767,7 +767,7 @@ public class TextRawReportTarget extends OfficeDocumentReportTarget masterPageName = currentMasterPage.getStyleName(); } // But we skip this (and therefore the resulting pagebreak) if there is no manual break - // and no other condition that would force an break. + // and no other condition that would force a break. } else if (currentRole == OfficeDocumentReportTarget.ROLE_REPEATING_GROUP_HEADER || currentRole == OfficeDocumentReportTarget.ROLE_REPEATING_GROUP_FOOTER) { @@ -1040,7 +1040,7 @@ public class TextRawReportTarget extends OfficeDocumentReportTarget sectionHeight = new LengthCalculator(); if (role == OfficeDocumentReportTarget.ROLE_TEMPLATE || role == OfficeDocumentReportTarget.ROLE_SPREADSHEET_PAGE_HEADER || role == OfficeDocumentReportTarget.ROLE_SPREADSHEET_PAGE_FOOTER) { - // Start buffering with an dummy styles-collection, so that the global styles don't get polluted .. + // Start buffering with a dummy styles-collection, so that the global styles don't get polluted... startBuffering(new OfficeStylesCollection(), true); } else if (role == OfficeDocumentReportTarget.ROLE_PAGE_HEADER) diff --git a/reportbuilder/java/org/libreoffice/report/pentaho/parser/rpt/ImageReadHandler.java b/reportbuilder/java/org/libreoffice/report/pentaho/parser/rpt/ImageReadHandler.java index e285d8b18caf..86dd423d5040 100644 --- a/reportbuilder/java/org/libreoffice/report/pentaho/parser/rpt/ImageReadHandler.java +++ b/reportbuilder/java/org/libreoffice/report/pentaho/parser/rpt/ImageReadHandler.java @@ -61,7 +61,7 @@ public class ImageReadHandler extends ElementReadHandler final String formula = attrs.getValue(OfficeNamespaces.OOREPORT_NS, "formula"); if (formula != null && formula.length() != 0) { - // now, the evaulated content ends up in the 'content' attribute of the + // now, the evaluated content ends up in the 'content' attribute of the // element. final FormulaExpression valueExpression = new FormulaExpression(); valueExpression.setFormula(formula); |