Fix typos
Change-Id: I2b9361433df39f66ec8328262a3128cf7294b6e1 Reviewed-on: https://gerrit.libreoffice.org/76720 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
This commit is contained in:
parent
40c250cae0
commit
caa6268094
14 changed files with 16 additions and 16 deletions
|
@ -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.
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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().
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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))
|
||||
{
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -185,7 +185,7 @@ enum class SalEvent;
|
|||
actual mouse event initiating this drag operation.
|
||||
Mouse events can only be received by subclassing
|
||||
NSView and overriding methods like 'mouseDown' etc.
|
||||
hence we implement a event hook here so that the
|
||||
hence we implement an event hook here so that the
|
||||
D&D service can register as listener for mouse
|
||||
messages and use the last 'mouseDown' or
|
||||
'mouseDragged' message to initiate the drag
|
||||
|
|
|
@ -36,7 +36,7 @@ class VirtualDevice;
|
|||
class PhysicalFontCollection;
|
||||
enum class AddFontSubstituteFlags;
|
||||
|
||||
// an ImplDeviceFontList is created by an PhysicalFontCollection
|
||||
// an ImplDeviceFontList is created by a PhysicalFontCollection
|
||||
// it becomes invalid when original PhysicalFontCollection is modified
|
||||
class ImplDeviceFontList
|
||||
{
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
#include <tools/color.hxx>
|
||||
#include <vcl/salgtype.hxx>
|
||||
|
||||
// abstracting quartz color instead of having to use an CGFloat[] array
|
||||
// abstracting quartz color instead of having to use a CGFloat[] array
|
||||
class RGBAColor
|
||||
{
|
||||
public:
|
||||
|
|
|
@ -76,7 +76,7 @@ struct ImplToolItem
|
|||
const OUString& rTxt,
|
||||
ToolBoxItemBits nItemBits );
|
||||
|
||||
// returns the size of a item, taking toolbox orientation into account
|
||||
// returns the size of an item, taking toolbox orientation into account
|
||||
// the default size is the precomputed size for standard items
|
||||
// ie those that are just ordinary buttons (no windows or text etc.)
|
||||
// bCheckMaxWidth indicates that item windows must not exceed maxWidth in which case they will be painted as buttons
|
||||
|
|
|
@ -45,7 +45,7 @@ private:
|
|||
// There are a bunch of different dbus based inhibition APIs. Some call
|
||||
// themselves ScreenSaver inhibition, some are PowerManagement inhibition,
|
||||
// but they appear to have the same effect. There doesn't appear to be one
|
||||
// all encompassing standard, hence we should just try all of tem.
|
||||
// all encompassing standard, hence we should just try all of them.
|
||||
//
|
||||
// The current APIs we have: (note: the list of supported environments is incomplete)
|
||||
// FDO: org.freedesktop.ScreenSaver::Inhibit - appears to be supported only by KDE?
|
||||
|
|
Loading…
Reference in a new issue