This is an automated email from the ASF dual-hosted git repository. mseidel pushed a commit to branch AOO42X in repository https://gitbox.apache.org/repos/asf/openoffice.git
The following commit(s) were added to refs/heads/AOO42X by this push: new cbe561cd9c misc: fix spelling (#183) cbe561cd9c is described below commit cbe561cd9ca100a2771f42dbcaedfb163ebe66b1 Author: John Bampton <jbamp...@users.noreply.github.com> AuthorDate: Thu Nov 16 02:53:09 2023 +1000 misc: fix spelling (#183) * misc: fix spelling * Update svdedxv.cxx Small additions --------- Co-authored-by: Matthias Seidel <msei...@apache.org> (cherry picked from commit 06fb39a16a5bf3c389e9853a62dce04a425b8019) --- .../source/cpp_uno/gcc3_freebsd_x86-64/abi.cxx | 2 +- .../source/cpp_uno/gcc3_linux_x86-64/abi.cxx | 2 +- .../source/cpp_uno/s5abi_macosx_x86-64/abi.cxx | 2 +- main/filter/source/flash/swfwriter1.cxx | 2 +- main/filter/source/graphicfilter/eps/eps.cxx | 2 +- main/odk/examples/java/Text/HardFormatting.java | 4 +- .../com/sun/star/drawing/DocumentSettings.idl | 2 +- .../java/com/sun/star/report/pentaho/smil.css | 2 +- .../java/com/sun/star/report/pentaho/svg.css | 2 +- .../java/com/sun/star/report/pentaho/xsl-fo.css | 2 +- main/sc/inc/dociter.hxx | 4 +- main/sd/source/core/sdpage.cxx | 2 +- main/svx/source/svdraw/svdedxv.cxx | 10 ++--- main/svx/source/table/cell.cxx | 4 +- main/svx/source/table/cell.hxx | 2 +- main/svx/source/table/tablemodel.cxx | 4 +- main/sw/source/core/text/frmform.cxx | 2 +- main/sw/source/filter/ww8/ww8par.hxx | 2 +- main/sw/source/filter/ww8/ww8par4.cxx | 2 +- main/sw/source/ui/uno/unotxdoc.cxx | 2 +- main/xmloff/source/draw/sdxmlexp_impl.hxx | 4 +- .../fvt/uno/sw/paragraph/ParagraphBackGraphic.java | 44 +++++++++--------- .../ParagraphNumberingAndBulletAlignment.java | 6 +-- .../ParagraphNumberingAndBulletCharacterStyle.java | 52 +++++++++++----------- ...agraphNumberingAndBulletIndentAtAndAlignAt.java | 2 +- .../ParagraphNumberingAndBulletTabStop.java | 2 +- ...aragraphNumberingAndBullet_CharacterBullet.java | 4 +- .../ParagraphNumberingAndBullet_Graphic.java | 2 +- ...agraphNumberingAndBullet_Graphic_Alignment.java | 18 ++++---- ...hNumberingAndBullet_Graphic_WidthAndHeight.java | 2 +- ...ngAndBullet_Number_BeforeAndAfterCharacter.java | 2 +- ...ragraphNumberingAndBullet_Number_StartWith.java | 2 +- .../ParagraphNumberingAndBullet_Numbering.java | 16 +++---- .../source/fvt/uno/sw/table/TableBasic.java | 20 ++++----- 34 files changed, 116 insertions(+), 116 deletions(-) diff --git a/main/bridges/source/cpp_uno/gcc3_freebsd_x86-64/abi.cxx b/main/bridges/source/cpp_uno/gcc3_freebsd_x86-64/abi.cxx index 201b119182..30d15580db 100644 --- a/main/bridges/source/cpp_uno/gcc3_freebsd_x86-64/abi.cxx +++ b/main/bridges/source/cpp_uno/gcc3_freebsd_x86-64/abi.cxx @@ -75,7 +75,7 @@ typedef struct /* Register class used for passing given 64bit part of the argument. These represent classes as documented by the PS ABI, with the exception of SSESF, SSEDF classes, that are basically SSE class, just gcc will - use SF or DFmode move instead of DImode to avoid reformating penalties. + use SF or DFmode move instead of DImode to avoid reformatting penalties. Similary we play games with INTEGERSI_CLASS to use cheaper SImode moves whenever possible (upper half does contain padding). diff --git a/main/bridges/source/cpp_uno/gcc3_linux_x86-64/abi.cxx b/main/bridges/source/cpp_uno/gcc3_linux_x86-64/abi.cxx index 201b119182..30d15580db 100644 --- a/main/bridges/source/cpp_uno/gcc3_linux_x86-64/abi.cxx +++ b/main/bridges/source/cpp_uno/gcc3_linux_x86-64/abi.cxx @@ -75,7 +75,7 @@ typedef struct /* Register class used for passing given 64bit part of the argument. These represent classes as documented by the PS ABI, with the exception of SSESF, SSEDF classes, that are basically SSE class, just gcc will - use SF or DFmode move instead of DImode to avoid reformating penalties. + use SF or DFmode move instead of DImode to avoid reformatting penalties. Similary we play games with INTEGERSI_CLASS to use cheaper SImode moves whenever possible (upper half does contain padding). diff --git a/main/bridges/source/cpp_uno/s5abi_macosx_x86-64/abi.cxx b/main/bridges/source/cpp_uno/s5abi_macosx_x86-64/abi.cxx index 201b119182..30d15580db 100644 --- a/main/bridges/source/cpp_uno/s5abi_macosx_x86-64/abi.cxx +++ b/main/bridges/source/cpp_uno/s5abi_macosx_x86-64/abi.cxx @@ -75,7 +75,7 @@ typedef struct /* Register class used for passing given 64bit part of the argument. These represent classes as documented by the PS ABI, with the exception of SSESF, SSEDF classes, that are basically SSE class, just gcc will - use SF or DFmode move instead of DImode to avoid reformating penalties. + use SF or DFmode move instead of DImode to avoid reformatting penalties. Similary we play games with INTEGERSI_CLASS to use cheaper SImode moves whenever possible (upper half does contain padding). diff --git a/main/filter/source/flash/swfwriter1.cxx b/main/filter/source/flash/swfwriter1.cxx index b5711cb0df..23e6e3702e 100644 --- a/main/filter/source/flash/swfwriter1.cxx +++ b/main/filter/source/flash/swfwriter1.cxx @@ -1345,7 +1345,7 @@ bool Writer::Impl_writeFilling( SvtGraphicFill& rFilling ) /* CL: The idea was to export page fields as text fields that get theire string from a variable set with actionscript by each page. This didn't - work out since the formating is always wrong when text follows the + work out since the formatting is always wrong when text follows the page number field since pages greater one may require more space than page 1 */ diff --git a/main/filter/source/graphicfilter/eps/eps.cxx b/main/filter/source/graphicfilter/eps/eps.cxx index 41ff3ad1be..d2c85fb9e9 100644 --- a/main/filter/source/graphicfilter/eps/eps.cxx +++ b/main/filter/source/graphicfilter/eps/eps.cxx @@ -55,7 +55,7 @@ #define PS_LINESIZE 70 // maximum number of characters a line in the output -#define PS_NONE 0 // formating mode: action which is inserted behind the output +#define PS_NONE 0 // formatting mode: action which is inserted behind the output #define PS_SPACE 1 #define PS_RET 2 #define PS_WRAP 4 diff --git a/main/odk/examples/java/Text/HardFormatting.java b/main/odk/examples/java/Text/HardFormatting.java index 290a8e2dd6..9f5d9f49c1 100644 --- a/main/odk/examples/java/Text/HardFormatting.java +++ b/main/odk/examples/java/Text/HardFormatting.java @@ -70,7 +70,7 @@ public class HardFormatting { com.sun.star.text.XTextRange xTextRange = null; com.sun.star.beans.XPropertySet xPropertySet = null; - // BEGIN: 'Hard formating' + // BEGIN: 'Hard formatting' // the text range not the cursor contains the 'parastyle' property xTextRange = xText.getEnd(); xPropertySet = (com.sun.star.beans.XPropertySet) @@ -147,7 +147,7 @@ public class HardFormatting { xPropertyStateValue = xPropertyState.getPropertyState("CharWeight"); checkPropertyState(xWordCursor, xPropertyStateValue); - // END: 'Hard formating' Section from the Cookbook + // END: 'Hard formatting' Section from the Cookbook } catch( Exception e) { e.printStackTrace(System.err); diff --git a/main/offapi/com/sun/star/drawing/DocumentSettings.idl b/main/offapi/com/sun/star/drawing/DocumentSettings.idl index 7d1476cd67..ffeac8c690 100644 --- a/main/offapi/com/sun/star/drawing/DocumentSettings.idl +++ b/main/offapi/com/sun/star/drawing/DocumentSettings.idl @@ -57,7 +57,7 @@ published service DocumentSettings //------------------------------------------------------------------------- /** This is the default logical measure unit that is used for string - formatings inside the document, f.e. the measure text + formattings inside the document, f.e. the measure text */ [optional, property] short MeasureUnit; diff --git a/main/reportbuilder/java/com/sun/star/report/pentaho/smil.css b/main/reportbuilder/java/com/sun/star/report/pentaho/smil.css index 536d1e27ff..e630f8cb0b 100644 --- a/main/reportbuilder/java/com/sun/star/report/pentaho/smil.css +++ b/main/reportbuilder/java/com/sun/star/report/pentaho/smil.css @@ -21,5 +21,5 @@ @namespace url("urn:oasis:names:tc:opendocument:xmlns:smil-compatible:1.0"); /** - * All default styles for formating-objects elements (if there are any). + * All default styles for formatting-objects elements (if there are any). */ diff --git a/main/reportbuilder/java/com/sun/star/report/pentaho/svg.css b/main/reportbuilder/java/com/sun/star/report/pentaho/svg.css index 034c9d1212..f5f5acfa0c 100644 --- a/main/reportbuilder/java/com/sun/star/report/pentaho/svg.css +++ b/main/reportbuilder/java/com/sun/star/report/pentaho/svg.css @@ -21,5 +21,5 @@ @namespace url("urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"); /** - * All default styles for formating-objects elements (if there are any). + * All default styles for formatting-objects elements (if there are any). */ diff --git a/main/reportbuilder/java/com/sun/star/report/pentaho/xsl-fo.css b/main/reportbuilder/java/com/sun/star/report/pentaho/xsl-fo.css index 2c680758e7..09571ca8f8 100644 --- a/main/reportbuilder/java/com/sun/star/report/pentaho/xsl-fo.css +++ b/main/reportbuilder/java/com/sun/star/report/pentaho/xsl-fo.css @@ -21,5 +21,5 @@ @namespace url("urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"); /** - * All default styles for formating-objects elements (if there are any). + * All default styles for formatting-objects elements (if there are any). */ diff --git a/main/sc/inc/dociter.hxx b/main/sc/inc/dociter.hxx index 1ad2c9f6bb..133793d10a 100644 --- a/main/sc/inc/dociter.hxx +++ b/main/sc/inc/dociter.hxx @@ -476,7 +476,7 @@ public: // -// returns all areas that do not have a Default-Formating (horizontal) +// returns all areas that do not have a Default-Formatting (horizontal) // class ScHorizontalAttrIterator @@ -505,7 +505,7 @@ public: }; // -// returns all non empty cells and areas with formating (horizontal) +// returns all non empty cells and areas with formatting (horizontal) // class SC_DLLPUBLIC ScUsedAreaIterator diff --git a/main/sd/source/core/sdpage.cxx b/main/sd/source/core/sdpage.cxx index 13a2b110e3..c0e1fe61ec 100644 --- a/main/sd/source/core/sdpage.cxx +++ b/main/sd/source/core/sdpage.cxx @@ -2562,7 +2562,7 @@ const String& SdPage::GetName() const aCreatedPageName += sal_Unicode( ' ' ); if( GetModel()->GetPageNumType() == SVX_NUMBER_NONE ) { - // if the document has number none as a formating + // if the document has number none as a formatting // for page numbers we still default to Arabic numbering // to keep the default page names unique aCreatedPageName += String::CreateFromInt32( (sal_Int32)nNum ); diff --git a/main/svx/source/svdraw/svdedxv.cxx b/main/svx/source/svdraw/svdedxv.cxx index 54a9cd7731..8971d5d0b4 100644 --- a/main/svx/source/svdraw/svdedxv.cxx +++ b/main/svx/source/svdraw/svdedxv.cxx @@ -153,7 +153,7 @@ void SdrObjEditView::TakeActionRect(Rectangle& rRect) const void __EXPORT SdrObjEditView::Notify(SfxBroadcaster& rBC, const SfxHint& rHint) { SdrGlueEditView::Notify(rBC,rHint); - // Printerwechsel waerend des Editierens + // Printerwechsel waehrend des Editierens SdrHint* pSdrHint=PTR_CAST(SdrHint,&rHint); if (pSdrHint!=NULL && pTextEditOutliner!=NULL) { SdrHintKind eKind=pSdrHint->GetKind(); @@ -891,7 +891,7 @@ SdrEndTextEditKind SdrObjEditView::SdrEndTextEdit(sal_Bool bDontDeleteReally) } else { - OSL_ENSURE(false, "�Got UndoManager back in SdrEndTextEdit which is NOT the expected document UndoManager (!)"); + OSL_ENSURE(false, "Got UndoManager back in SdrEndTextEdit which is NOT the expected document UndoManager (!)"); delete pOriginal; } } @@ -2230,8 +2230,8 @@ void SdrObjEditView::ApplyFormatPaintBrush( SfxItemSet& rFormatSet, bool bNoChar if( !pOLV ) { // if not in text edit mode (aka the user selected text or clicked on a word) - // apply formating attributes to selected shape - // All formating items (see ranges above) that are unequal in selected shape and + // apply formatting attributes to selected shape + // All formatting items (see ranges above) that are unequal in selected shape and // the format paintbrush are hard set on the selected shape. const sal_uInt16* pRanges = rFormatSet.GetRanges(); @@ -2254,7 +2254,7 @@ void SdrObjEditView::ApplyFormatPaintBrush( SfxItemSet& rFormatSet, bool bNoChar SetAttrToMarked(aPaintSet, bReplaceAll); } - // now apply character and paragraph formating to text, if the shape has any + // now apply character and paragraph formatting to text, if the shape has any SdrTextObj* pTextObj = dynamic_cast<SdrTextObj*>(pObj); if( pTextObj ) { diff --git a/main/svx/source/table/cell.cxx b/main/svx/source/table/cell.cxx index 01a03aa10c..a4e0180f84 100644 --- a/main/svx/source/table/cell.cxx +++ b/main/svx/source/table/cell.cxx @@ -431,7 +431,7 @@ void Cell::cloneFrom( const CellRef& xCell ) { if( xCell.is() ) { - replaceContentAndFormating( xCell ); + replaceContentAndFormatting( xCell ); mnCellContentType = xCell->mnCellContentType; @@ -447,7 +447,7 @@ void Cell::cloneFrom( const CellRef& xCell ) notifyModified(); } -void Cell::replaceContentAndFormating( const CellRef& xSourceCell ) +void Cell::replaceContentAndFormatting( const CellRef& xSourceCell ) { if( xSourceCell.is() && mpProperties ) { diff --git a/main/svx/source/table/cell.hxx b/main/svx/source/table/cell.hxx index 2d793cd0ab..d1d0b2e808 100644 --- a/main/svx/source/table/cell.hxx +++ b/main/svx/source/table/cell.hxx @@ -103,7 +103,7 @@ public: SVX_DLLPRIVATE void merge( sal_Int32 nColumnSpan, sal_Int32 nRowSpan ); SVX_DLLPRIVATE void mergeContent( const CellRef& xSourceCell ); - SVX_DLLPRIVATE void replaceContentAndFormating( const CellRef& xSourceCell ); + SVX_DLLPRIVATE void replaceContentAndFormatting( const CellRef& xSourceCell ); SVX_DLLPRIVATE void setMerged(); diff --git a/main/svx/source/table/tablemodel.cxx b/main/svx/source/table/tablemodel.cxx index d358fa32d4..db31438b24 100644 --- a/main/svx/source/table/tablemodel.cxx +++ b/main/svx/source/table/tablemodel.cxx @@ -879,7 +879,7 @@ void TableModel::removeColumns( sal_Int32 nIndex, sal_Int32 nCount ) if( bUndo ) xTargetCell->AddUndo(); xTargetCell->merge( nColSpan - nRemove, xCell->getRowSpan() ); - xTargetCell->replaceContentAndFormating( xCell ); + xTargetCell->replaceContentAndFormatting( xCell ); } } } @@ -1040,7 +1040,7 @@ void TableModel::removeRows( sal_Int32 nIndex, sal_Int32 nCount ) if( bUndo ) xTargetCell->AddUndo(); xTargetCell->merge( xCell->getColumnSpan(), nRowSpan - nRemove ); - xTargetCell->replaceContentAndFormating( xCell ); + xTargetCell->replaceContentAndFormatting( xCell ); } } } diff --git a/main/sw/source/core/text/frmform.cxx b/main/sw/source/core/text/frmform.cxx index 717dd01bfa..41a5e86002 100644 --- a/main/sw/source/core/text/frmform.cxx +++ b/main/sw/source/core/text/frmform.cxx @@ -1230,7 +1230,7 @@ void SwTxtFrm::FormatAdjust( SwTxtFormatter &rLine, // unnecessary formatting of its footnotes and its follow, especially in // columned sections, adjust frame height to zero (0) and do not perform // the intrinsic format of the follow. - // The formating method <SwCntntFrm::MakeAll()> will initiate the move forward. + // The formatting method <SwCntntFrm::MakeAll()> will initiate the move forward. sal_Bool bForcedNoIntrinsicFollowCalc = sal_False; if ( nEnd == 0 && rLine.IsStop() && HasFollow() && nNew == 1 diff --git a/main/sw/source/filter/ww8/ww8par.hxx b/main/sw/source/filter/ww8/ww8par.hxx index 881fe5d3ec..fcaaa997e2 100644 --- a/main/sw/source/filter/ww8/ww8par.hxx +++ b/main/sw/source/filter/ww8/ww8par.hxx @@ -1640,7 +1640,7 @@ public: // eigentlich private, geht aber leider nur public void Read_CFRMark(sal_uInt16 , const sal_uInt8* pData, short nLen); // delete old content void Read_CFRMarkDel(sal_uInt16 , const sal_uInt8* pData, short nLen); - // change properties of content (e.g. char formating) + // change properties of content (e.g. char formatting) void Read_CPropRMark(sal_uInt16 , const sal_uInt8* pData, short nLen); // complex! diff --git a/main/sw/source/filter/ww8/ww8par4.cxx b/main/sw/source/filter/ww8/ww8par4.cxx index bb73cf04f2..1515ffa85b 100644 --- a/main/sw/source/filter/ww8/ww8par4.cxx +++ b/main/sw/source/filter/ww8/ww8par4.cxx @@ -564,7 +564,7 @@ void SwWW8ImplReader::Read_CFRMarkDel(sal_uInt16 , const sal_uInt8* pData, short Read_CRevisionMark( nsRedlineType_t::REDLINE_DELETE, pData, nLen ); } -// change properties of content ( == char formating) +// change properties of content ( == char formatting) void SwWW8ImplReader::Read_CPropRMark(sal_uInt16 , const sal_uInt8* pData, short nLen) { // complex (len is always 7) diff --git a/main/sw/source/ui/uno/unotxdoc.cxx b/main/sw/source/ui/uno/unotxdoc.cxx index 2b559bbc41..0497b5db84 100644 --- a/main/sw/source/ui/uno/unotxdoc.cxx +++ b/main/sw/source/ui/uno/unotxdoc.cxx @@ -2751,7 +2751,7 @@ sal_Int32 SAL_CALL SwXTextDocument::getRendererCount( pSwView->RecheckBrowseMode(); } - // reformating the document for printing will show the changes in the view + // reformatting the document for printing will show the changes in the view // which is likely to produce many unwanted and not nice to view actions. // We don't want that! Thus we disable updating of the view. pViewShell->StartAction(); diff --git a/main/xmloff/source/draw/sdxmlexp_impl.hxx b/main/xmloff/source/draw/sdxmlexp_impl.hxx index 115343f6d1..8013eec7fd 100644 --- a/main/xmloff/source/draw/sdxmlexp_impl.hxx +++ b/main/xmloff/source/draw/sdxmlexp_impl.hxx @@ -131,8 +131,8 @@ class SdXMLExport : public SvXMLExport XMLShapeExportPropertyMapper* mpPropertySetMapper; XMLPageExportPropertyMapper* mpPresPagePropsMapper; - SdXMLFormatMap maUsedDateStyles; // this is a vector with the used formatings for date fields - SdXMLFormatMap maUsedTimeStyles; // this is a vector with the used formatings for time fields + SdXMLFormatMap maUsedDateStyles; // this is a vector with the used formattings for date fields + SdXMLFormatMap maUsedTimeStyles; // this is a vector with the used formattings for time fields sal_Bool mbIsDraw; sal_Bool mbFamilyGraphicUsed; diff --git a/test/testuno/source/fvt/uno/sw/paragraph/ParagraphBackGraphic.java b/test/testuno/source/fvt/uno/sw/paragraph/ParagraphBackGraphic.java index 5c562039f4..9deccde00c 100644 --- a/test/testuno/source/fvt/uno/sw/paragraph/ParagraphBackGraphic.java +++ b/test/testuno/source/fvt/uno/sw/paragraph/ParagraphBackGraphic.java @@ -98,7 +98,7 @@ public class ParagraphBackGraphic { XPropertySet xCursorProps_Assert_odt = (XPropertySet) UnoRuntime.queryInterface(XPropertySet.class, assertDocument_odt.getText().createTextCursor()); //verify paragraph background graphic assertEquals("verify paragraph backgraphic location",com.sun.star.style.GraphicLocation.LEFT_BOTTOM,xCursorProps_Assert_odt.getPropertyValue("ParaBackGraphicLocation")); - assertEquals("verify paragraph backgraphic fileter","draw_jpg_Export",xCursorProps_Assert_odt.getPropertyValue("ParaBackGraphicFilter")); + assertEquals("verify paragraph backgraphic filter","draw_jpg_Export",xCursorProps_Assert_odt.getPropertyValue("ParaBackGraphicFilter")); assertEquals("verify paragraph backgraphic URL",FileUtil.getUrl(Testspace.prepareData("uno/Desert.jpg")),xCursorProps_Assert_odt.getPropertyValue("ParaBackGraphicURL")); //reopen the document @@ -106,7 +106,7 @@ public class ParagraphBackGraphic { XPropertySet xCursorProps_Assert_doc = (XPropertySet) UnoRuntime.queryInterface(XPropertySet.class, assertDocument_doc.getText().createTextCursor()); //verify paragraph background graphic assertEquals("verify paragraph backgraphic location",com.sun.star.style.GraphicLocation.LEFT_BOTTOM,xCursorProps_Assert_doc.getPropertyValue("ParaBackGraphicLocation")); - assertEquals("verify paragraph backgraphic fileter","draw_jpg_Export",xCursorProps_Assert_doc.getPropertyValue("ParaBackGraphicFilter")); + assertEquals("verify paragraph backgraphic filter","draw_jpg_Export",xCursorProps_Assert_doc.getPropertyValue("ParaBackGraphicFilter")); assertEquals("verify paragraph backgraphic URL",FileUtil.getUrl(Testspace.prepareData("uno/Desert.jpg")),xCursorProps_Assert_doc.getPropertyValue("ParaBackGraphicURL")); } /* @@ -158,7 +158,7 @@ public class ParagraphBackGraphic { XPropertySet xCursorProps_Assert_odt = (XPropertySet) UnoRuntime.queryInterface(XPropertySet.class, assertDocument_odt.getText().createTextCursor()); //verify paragraph background graphic assertEquals("verify paragraph backgraphic location",com.sun.star.style.GraphicLocation.LEFT_MIDDLE,xCursorProps_Assert_odt.getPropertyValue("ParaBackGraphicLocation")); - assertEquals("verify paragraph backgraphic fileter","draw_jpg_Export",xCursorProps_Assert_odt.getPropertyValue("ParaBackGraphicFilter")); + assertEquals("verify paragraph backgraphic filter","draw_jpg_Export",xCursorProps_Assert_odt.getPropertyValue("ParaBackGraphicFilter")); assertEquals("verify paragraph backgraphic URL",FileUtil.getUrl(Testspace.prepareData("uno/Desert.jpg")),xCursorProps_Assert_odt.getPropertyValue("ParaBackGraphicURL")); //reopen the document @@ -166,7 +166,7 @@ public class ParagraphBackGraphic { XPropertySet xCursorProps_Assert_doc = (XPropertySet) UnoRuntime.queryInterface(XPropertySet.class, assertDocument_doc.getText().createTextCursor()); //verify paragraph background graphic assertEquals("verify paragraph backgraphic location",com.sun.star.style.GraphicLocation.LEFT_MIDDLE,xCursorProps_Assert_doc.getPropertyValue("ParaBackGraphicLocation")); - assertEquals("verify paragraph backgraphic fileter","draw_jpg_Export",xCursorProps_Assert_doc.getPropertyValue("ParaBackGraphicFilter")); + assertEquals("verify paragraph backgraphic filter","draw_jpg_Export",xCursorProps_Assert_doc.getPropertyValue("ParaBackGraphicFilter")); assertEquals("verify paragraph backgraphic URL",FileUtil.getUrl(Testspace.prepareData("uno/Desert.jpg")),xCursorProps_Assert_doc.getPropertyValue("ParaBackGraphicURL")); } /* @@ -218,7 +218,7 @@ public class ParagraphBackGraphic { XPropertySet xCursorProps_Assert_odt = (XPropertySet) UnoRuntime.queryInterface(XPropertySet.class, assertDocument_odt.getText().createTextCursor()); //verify paragraph background graphic assertEquals("verify paragraph backgraphic location",com.sun.star.style.GraphicLocation.LEFT_TOP,xCursorProps_Assert_odt.getPropertyValue("ParaBackGraphicLocation")); - assertEquals("verify paragraph backgraphic fileter","draw_jpg_Export",xCursorProps_Assert_odt.getPropertyValue("ParaBackGraphicFilter")); + assertEquals("verify paragraph backgraphic filter","draw_jpg_Export",xCursorProps_Assert_odt.getPropertyValue("ParaBackGraphicFilter")); assertEquals("verify paragraph backgraphic URL",FileUtil.getUrl(Testspace.prepareData("uno/Desert.jpg")),xCursorProps_Assert_odt.getPropertyValue("ParaBackGraphicURL")); //reopen the document @@ -226,7 +226,7 @@ public class ParagraphBackGraphic { XPropertySet xCursorProps_Assert_doc = (XPropertySet) UnoRuntime.queryInterface(XPropertySet.class, assertDocument_doc.getText().createTextCursor()); //verify paragraph background graphic assertEquals("verify paragraph backgraphic location",com.sun.star.style.GraphicLocation.LEFT_TOP,xCursorProps_Assert_doc.getPropertyValue("ParaBackGraphicLocation")); - assertEquals("verify paragraph backgraphic fileter","draw_jpg_Export",xCursorProps_Assert_doc.getPropertyValue("ParaBackGraphicFilter")); + assertEquals("verify paragraph backgraphic filter","draw_jpg_Export",xCursorProps_Assert_doc.getPropertyValue("ParaBackGraphicFilter")); assertEquals("verify paragraph backgraphic URL",FileUtil.getUrl(Testspace.prepareData("uno/Desert.jpg")),xCursorProps_Assert_doc.getPropertyValue("ParaBackGraphicURL")); } /* @@ -278,7 +278,7 @@ public class ParagraphBackGraphic { XPropertySet xCursorProps_Assert_odt = (XPropertySet) UnoRuntime.queryInterface(XPropertySet.class, assertDocument_odt.getText().createTextCursor()); //verify paragraph background graphic assertEquals("verify paragraph backgraphic location",com.sun.star.style.GraphicLocation.MIDDLE_BOTTOM,xCursorProps_Assert_odt.getPropertyValue("ParaBackGraphicLocation")); - assertEquals("verify paragraph backgraphic fileter","draw_jpg_Export",xCursorProps_Assert_odt.getPropertyValue("ParaBackGraphicFilter")); + assertEquals("verify paragraph backgraphic filter","draw_jpg_Export",xCursorProps_Assert_odt.getPropertyValue("ParaBackGraphicFilter")); assertEquals("verify paragraph backgraphic URL",FileUtil.getUrl(Testspace.prepareData("uno/Desert.jpg")),xCursorProps_Assert_odt.getPropertyValue("ParaBackGraphicURL")); //reopen the document @@ -286,7 +286,7 @@ public class ParagraphBackGraphic { XPropertySet xCursorProps_Assert_doc = (XPropertySet) UnoRuntime.queryInterface(XPropertySet.class, assertDocument_doc.getText().createTextCursor()); //verify paragraph background graphic assertEquals("verify paragraph backgraphic location",com.sun.star.style.GraphicLocation.MIDDLE_BOTTOM,xCursorProps_Assert_doc.getPropertyValue("ParaBackGraphicLocation")); - assertEquals("verify paragraph backgraphic fileter","draw_jpg_Export",xCursorProps_Assert_doc.getPropertyValue("ParaBackGraphicFilter")); + assertEquals("verify paragraph backgraphic filter","draw_jpg_Export",xCursorProps_Assert_doc.getPropertyValue("ParaBackGraphicFilter")); assertEquals("verify paragraph backgraphic URL",FileUtil.getUrl(Testspace.prepareData("uno/Desert.jpg")),xCursorProps_Assert_doc.getPropertyValue("ParaBackGraphicURL")); } /* @@ -338,7 +338,7 @@ public class ParagraphBackGraphic { XPropertySet xCursorProps_Assert_odt = (XPropertySet) UnoRuntime.queryInterface(XPropertySet.class, assertDocument_odt.getText().createTextCursor()); //verify paragraph background graphic assertEquals("verify paragraph backgraphic location",com.sun.star.style.GraphicLocation.MIDDLE_MIDDLE,xCursorProps_Assert_odt.getPropertyValue("ParaBackGraphicLocation")); - assertEquals("verify paragraph backgraphic fileter","draw_jpg_Export",xCursorProps_Assert_odt.getPropertyValue("ParaBackGraphicFilter")); + assertEquals("verify paragraph backgraphic filter","draw_jpg_Export",xCursorProps_Assert_odt.getPropertyValue("ParaBackGraphicFilter")); assertEquals("verify paragraph backgraphic URL",FileUtil.getUrl(Testspace.prepareData("uno/Desert.jpg")),xCursorProps_Assert_odt.getPropertyValue("ParaBackGraphicURL")); //reopen the document @@ -346,7 +346,7 @@ public class ParagraphBackGraphic { XPropertySet xCursorProps_Assert_doc = (XPropertySet) UnoRuntime.queryInterface(XPropertySet.class, assertDocument_doc.getText().createTextCursor()); //verify paragraph background graphic assertEquals("verify paragraph backgraphic location",com.sun.star.style.GraphicLocation.MIDDLE_MIDDLE,xCursorProps_Assert_doc.getPropertyValue("ParaBackGraphicLocation")); - assertEquals("verify paragraph backgraphic fileter","draw_jpg_Export",xCursorProps_Assert_doc.getPropertyValue("ParaBackGraphicFilter")); + assertEquals("verify paragraph backgraphic filter","draw_jpg_Export",xCursorProps_Assert_doc.getPropertyValue("ParaBackGraphicFilter")); assertEquals("verify paragraph backgraphic URL",FileUtil.getUrl(Testspace.prepareData("uno/Desert.jpg")),xCursorProps_Assert_doc.getPropertyValue("ParaBackGraphicURL")); } /* @@ -399,7 +399,7 @@ public class ParagraphBackGraphic { XPropertySet xCursorProps_Assert_odt = (XPropertySet) UnoRuntime.queryInterface(XPropertySet.class, assertDocument_odt.getText().createTextCursor()); //verify paragraph background graphic assertEquals("verify paragraph backgraphic location",com.sun.star.style.GraphicLocation.MIDDLE_TOP,xCursorProps_Assert_odt.getPropertyValue("ParaBackGraphicLocation")); - assertEquals("verify paragraph backgraphic fileter","draw_jpg_Export",xCursorProps_Assert_odt.getPropertyValue("ParaBackGraphicFilter")); + assertEquals("verify paragraph backgraphic filter","draw_jpg_Export",xCursorProps_Assert_odt.getPropertyValue("ParaBackGraphicFilter")); assertEquals("verify paragraph backgraphic URL",FileUtil.getUrl(Testspace.prepareData("uno/Desert.jpg")),xCursorProps_Assert_odt.getPropertyValue("ParaBackGraphicURL")); //reopen the document @@ -407,7 +407,7 @@ public class ParagraphBackGraphic { XPropertySet xCursorProps_Assert_doc = (XPropertySet) UnoRuntime.queryInterface(XPropertySet.class, assertDocument_doc.getText().createTextCursor()); //verify paragraph background graphic assertEquals("verify paragraph backgraphic location",com.sun.star.style.GraphicLocation.MIDDLE_TOP,xCursorProps_Assert_doc.getPropertyValue("ParaBackGraphicLocation")); - assertEquals("verify paragraph backgraphic fileter","draw_jpg_Export",xCursorProps_Assert_doc.getPropertyValue("ParaBackGraphicFilter")); + assertEquals("verify paragraph backgraphic filter","draw_jpg_Export",xCursorProps_Assert_doc.getPropertyValue("ParaBackGraphicFilter")); assertEquals("verify paragraph backgraphic URL",FileUtil.getUrl(Testspace.prepareData("uno/Desert.jpg")),xCursorProps_Assert_doc.getPropertyValue("ParaBackGraphicURL")); } /* @@ -459,7 +459,7 @@ public class ParagraphBackGraphic { XPropertySet xCursorProps_Assert_odt = (XPropertySet) UnoRuntime.queryInterface(XPropertySet.class, assertDocument_odt.getText().createTextCursor()); //verify paragraph background graphic assertEquals("verify paragraph backgraphic location",com.sun.star.style.GraphicLocation.RIGHT_BOTTOM,xCursorProps_Assert_odt.getPropertyValue("ParaBackGraphicLocation")); - assertEquals("verify paragraph backgraphic fileter","draw_jpg_Export",xCursorProps_Assert_odt.getPropertyValue("ParaBackGraphicFilter")); + assertEquals("verify paragraph backgraphic filter","draw_jpg_Export",xCursorProps_Assert_odt.getPropertyValue("ParaBackGraphicFilter")); assertEquals("verify paragraph backgraphic URL",FileUtil.getUrl(Testspace.prepareData("uno/Desert.jpg")),xCursorProps_Assert_odt.getPropertyValue("ParaBackGraphicURL")); //reopen the document @@ -467,7 +467,7 @@ public class ParagraphBackGraphic { XPropertySet xCursorProps_Assert_doc = (XPropertySet) UnoRuntime.queryInterface(XPropertySet.class, assertDocument_doc.getText().createTextCursor()); //verify paragraph background graphic assertEquals("verify paragraph backgraphic location",com.sun.star.style.GraphicLocation.RIGHT_BOTTOM,xCursorProps_Assert_doc.getPropertyValue("ParaBackGraphicLocation")); - assertEquals("verify paragraph backgraphic fileter","draw_jpg_Export",xCursorProps_Assert_doc.getPropertyValue("ParaBackGraphicFilter")); + assertEquals("verify paragraph backgraphic filter","draw_jpg_Export",xCursorProps_Assert_doc.getPropertyValue("ParaBackGraphicFilter")); assertEquals("verify paragraph backgraphic URL",FileUtil.getUrl(Testspace.prepareData("uno/Desert.jpg")),xCursorProps_Assert_doc.getPropertyValue("ParaBackGraphicURL")); } /* @@ -519,7 +519,7 @@ public class ParagraphBackGraphic { XPropertySet xCursorProps_Assert_odt = (XPropertySet) UnoRuntime.queryInterface(XPropertySet.class, assertDocument_odt.getText().createTextCursor()); //verify paragraph background graphic assertEquals("verify paragraph backgraphic location",com.sun.star.style.GraphicLocation.RIGHT_MIDDLE,xCursorProps_Assert_odt.getPropertyValue("ParaBackGraphicLocation")); - assertEquals("verify paragraph backgraphic fileter","draw_jpg_Export",xCursorProps_Assert_odt.getPropertyValue("ParaBackGraphicFilter")); + assertEquals("verify paragraph backgraphic filter","draw_jpg_Export",xCursorProps_Assert_odt.getPropertyValue("ParaBackGraphicFilter")); assertEquals("verify paragraph backgraphic URL",FileUtil.getUrl(Testspace.prepareData("uno/Desert.jpg")),xCursorProps_Assert_odt.getPropertyValue("ParaBackGraphicURL")); //reopen the document @@ -527,7 +527,7 @@ public class ParagraphBackGraphic { XPropertySet xCursorProps_Assert_doc = (XPropertySet) UnoRuntime.queryInterface(XPropertySet.class, assertDocument_doc.getText().createTextCursor()); //verify paragraph background graphic assertEquals("verify paragraph backgraphic location",com.sun.star.style.GraphicLocation.RIGHT_MIDDLE,xCursorProps_Assert_doc.getPropertyValue("ParaBackGraphicLocation")); - assertEquals("verify paragraph backgraphic fileter","draw_jpg_Export",xCursorProps_Assert_doc.getPropertyValue("ParaBackGraphicFilter")); + assertEquals("verify paragraph backgraphic filter","draw_jpg_Export",xCursorProps_Assert_doc.getPropertyValue("ParaBackGraphicFilter")); assertEquals("verify paragraph backgraphic URL",FileUtil.getUrl(Testspace.prepareData("uno/Desert.jpg")),xCursorProps_Assert_doc.getPropertyValue("ParaBackGraphicURL")); } /* @@ -579,7 +579,7 @@ public class ParagraphBackGraphic { XPropertySet xCursorProps_Assert_odt = (XPropertySet) UnoRuntime.queryInterface(XPropertySet.class, assertDocument_odt.getText().createTextCursor()); //verify paragraph background graphic assertEquals("verify paragraph backgraphic location",com.sun.star.style.GraphicLocation.RIGHT_TOP,xCursorProps_Assert_odt.getPropertyValue("ParaBackGraphicLocation")); - assertEquals("verify paragraph backgraphic fileter","draw_jpg_Export",xCursorProps_Assert_odt.getPropertyValue("ParaBackGraphicFilter")); + assertEquals("verify paragraph backgraphic filter","draw_jpg_Export",xCursorProps_Assert_odt.getPropertyValue("ParaBackGraphicFilter")); assertEquals("verify paragraph backgraphic URL",FileUtil.getUrl(Testspace.prepareData("uno/Desert.jpg")),xCursorProps_Assert_odt.getPropertyValue("ParaBackGraphicURL")); //reopen the document @@ -587,7 +587,7 @@ public class ParagraphBackGraphic { XPropertySet xCursorProps_Assert_doc = (XPropertySet) UnoRuntime.queryInterface(XPropertySet.class, assertDocument_doc.getText().createTextCursor()); //verify paragraph background graphic assertEquals("verify paragraph backgraphic location",com.sun.star.style.GraphicLocation.RIGHT_TOP,xCursorProps_Assert_doc.getPropertyValue("ParaBackGraphicLocation")); - assertEquals("verify paragraph backgraphic fileter","draw_jpg_Export",xCursorProps_Assert_doc.getPropertyValue("ParaBackGraphicFilter")); + assertEquals("verify paragraph backgraphic filter","draw_jpg_Export",xCursorProps_Assert_doc.getPropertyValue("ParaBackGraphicFilter")); assertEquals("verify paragraph backgraphic URL",FileUtil.getUrl(Testspace.prepareData("uno/Desert.jpg")),xCursorProps_Assert_doc.getPropertyValue("ParaBackGraphicURL")); } /* @@ -639,7 +639,7 @@ public class ParagraphBackGraphic { XPropertySet xCursorProps_Assert_odt = (XPropertySet) UnoRuntime.queryInterface(XPropertySet.class, assertDocument_odt.getText().createTextCursor()); //verify paragraph background graphic assertEquals("verify paragraph backgraphic location",com.sun.star.style.GraphicLocation.AREA,xCursorProps_Assert_odt.getPropertyValue("ParaBackGraphicLocation")); - assertEquals("verify paragraph backgraphic fileter","draw_jpg_Export",xCursorProps_Assert_odt.getPropertyValue("ParaBackGraphicFilter")); + assertEquals("verify paragraph backgraphic filter","draw_jpg_Export",xCursorProps_Assert_odt.getPropertyValue("ParaBackGraphicFilter")); assertEquals("verify paragraph backgraphic URL",FileUtil.getUrl(Testspace.prepareData("uno/Desert.jpg")),xCursorProps_Assert_odt.getPropertyValue("ParaBackGraphicURL")); //reopen the document @@ -647,7 +647,7 @@ public class ParagraphBackGraphic { XPropertySet xCursorProps_Assert_doc = (XPropertySet) UnoRuntime.queryInterface(XPropertySet.class, assertDocument_doc.getText().createTextCursor()); //verify paragraph background graphic assertEquals("verify paragraph backgraphic location",com.sun.star.style.GraphicLocation.AREA,xCursorProps_Assert_doc.getPropertyValue("ParaBackGraphicLocation")); - assertEquals("verify paragraph backgraphic fileter","draw_jpg_Export",xCursorProps_Assert_doc.getPropertyValue("ParaBackGraphicFilter")); + assertEquals("verify paragraph backgraphic filter","draw_jpg_Export",xCursorProps_Assert_doc.getPropertyValue("ParaBackGraphicFilter")); assertEquals("verify paragraph backgraphic URL",FileUtil.getUrl(Testspace.prepareData("uno/Desert.jpg")),xCursorProps_Assert_doc.getPropertyValue("ParaBackGraphicURL")); } /* @@ -699,7 +699,7 @@ public class ParagraphBackGraphic { XPropertySet xCursorProps_Assert_odt = (XPropertySet) UnoRuntime.queryInterface(XPropertySet.class, assertDocument_odt.getText().createTextCursor()); //verify paragraph background graphic assertEquals("verify paragraph backgraphic location",com.sun.star.style.GraphicLocation.TILED,xCursorProps_Assert_odt.getPropertyValue("ParaBackGraphicLocation")); - assertEquals("verify paragraph backgraphic fileter","draw_jpg_Export",xCursorProps_Assert_odt.getPropertyValue("ParaBackGraphicFilter")); + assertEquals("verify paragraph backgraphic filter","draw_jpg_Export",xCursorProps_Assert_odt.getPropertyValue("ParaBackGraphicFilter")); assertEquals("verify paragraph backgraphic URL",FileUtil.getUrl(Testspace.prepareData("uno/sw/paragraphtable/Desert.jpg")),xCursorProps_Assert_odt.getPropertyValue("ParaBackGraphicURL")); //reopen the document @@ -707,7 +707,7 @@ public class ParagraphBackGraphic { XPropertySet xCursorProps_Assert_doc = (XPropertySet) UnoRuntime.queryInterface(XPropertySet.class, assertDocument_doc.getText().createTextCursor()); //verify paragraph background graphic assertEquals("verify paragraph backgraphic location",com.sun.star.style.GraphicLocation.TILED,xCursorProps_Assert_doc.getPropertyValue("ParaBackGraphicLocation")); - assertEquals("verify paragraph backgraphic fileter","draw_jpg_Export",xCursorProps_Assert_doc.getPropertyValue("ParaBackGraphicFilter")); + assertEquals("verify paragraph backgraphic filter","draw_jpg_Export",xCursorProps_Assert_doc.getPropertyValue("ParaBackGraphicFilter")); assertEquals("verify paragraph backgraphic URL",FileUtil.getUrl(Testspace.prepareData("uno/Desert.jpg")),xCursorProps_Assert_doc.getPropertyValue("ParaBackGraphicURL")); } /* diff --git a/test/testuno/source/fvt/uno/sw/paragraph/ParagraphNumberingAndBulletAlignment.java b/test/testuno/source/fvt/uno/sw/paragraph/ParagraphNumberingAndBulletAlignment.java index a9966de00c..f41be0d3f8 100644 --- a/test/testuno/source/fvt/uno/sw/paragraph/ParagraphNumberingAndBulletAlignment.java +++ b/test/testuno/source/fvt/uno/sw/paragraph/ParagraphNumberingAndBulletAlignment.java @@ -68,7 +68,7 @@ public class ParagraphNumberingAndBulletAlignment { xText = xTextDocument.getText(); xText.setString("we are Chinese,they are American.\nwe are all living in one earth!\nHello,world!Hello,world!Hello,world!\nHello,world!Hello,world!Hello,world!" + "Hello,world!Hello,world!"); - //create cursor to select paragraph and formating paragraph + //create cursor to select paragraph and formatting paragraph XTextCursor xTextCursor = xText.createTextCursor(); //create paragraph property set XPropertySet xTextProps = (XPropertySet) UnoRuntime.queryInterface(XPropertySet.class, xTextCursor); @@ -137,7 +137,7 @@ public class ParagraphNumberingAndBulletAlignment { xText = xTextDocument.getText(); xText.setString("we are Chinese,they are American.\nwe are all living in one earth!\nHello,world!Hello,world!Hello,world!\nHello,world!Hello,world!Hello,world!" + "Hello,world!Hello,world!"); - //create cursor to select paragraph and formating paragraph + //create cursor to select paragraph and formatting paragraph XTextCursor xTextCursor = xText.createTextCursor(); //create paragraph property set XPropertySet xTextProps = (XPropertySet) UnoRuntime.queryInterface(XPropertySet.class, xTextCursor); @@ -206,7 +206,7 @@ public class ParagraphNumberingAndBulletAlignment { xText = xTextDocument.getText(); xText.setString("we are Chinese,they are American.\nwe are all living in one earth!\nHello,world!Hello,world!Hello,world!\nHello,world!Hello,world!Hello,world!" + "Hello,world!Hello,world!"); - //create cursor to select paragraph and formating paragraph + //create cursor to select paragraph and formatting paragraph XTextCursor xTextCursor = xText.createTextCursor(); //create paragraph property set XPropertySet xTextProps = (XPropertySet) UnoRuntime.queryInterface(XPropertySet.class, xTextCursor); diff --git a/test/testuno/source/fvt/uno/sw/paragraph/ParagraphNumberingAndBulletCharacterStyle.java b/test/testuno/source/fvt/uno/sw/paragraph/ParagraphNumberingAndBulletCharacterStyle.java index 4e0a8af8e0..3fe1210e32 100644 --- a/test/testuno/source/fvt/uno/sw/paragraph/ParagraphNumberingAndBulletCharacterStyle.java +++ b/test/testuno/source/fvt/uno/sw/paragraph/ParagraphNumberingAndBulletCharacterStyle.java @@ -68,7 +68,7 @@ public class ParagraphNumberingAndBulletCharacterStyle { xText = xTextDocument.getText(); xText.setString("we are Chinese,they are American.we are all living in one earth!Hello,world!Hello,world!Hello,world!Hello,world!Hello,world!Hello,world!" + "Hello,world!Hello,world!"); - //create cursor to select paragraph and formating paragraph + //create cursor to select paragraph and formatting paragraph XTextCursor xTextCursor = xText.createTextCursor(); //create paragraph property set XPropertySet xTextProps = (XPropertySet) UnoRuntime.queryInterface(XPropertySet.class, xTextCursor); @@ -137,7 +137,7 @@ public class ParagraphNumberingAndBulletCharacterStyle { xText = xTextDocument.getText(); xText.setString("we are Chinese,they are American.we are all living in one earth!Hello,world!Hello,world!Hello,world!Hello,world!Hello,world!Hello,world!" + "Hello,world!Hello,world!"); - //create cursor to select paragraph and formating paragraph + //create cursor to select paragraph and formatting paragraph XTextCursor xTextCursor = xText.createTextCursor(); //create paragraph property set XPropertySet xTextProps = (XPropertySet) UnoRuntime.queryInterface(XPropertySet.class, xTextCursor); @@ -206,7 +206,7 @@ public class ParagraphNumberingAndBulletCharacterStyle { xText = xTextDocument.getText(); xText.setString("we are Chinese,they are American.we are all living in one earth!Hello,world!Hello,world!Hello,world!Hello,world!Hello,world!Hello,world!" + "Hello,world!Hello,world!"); - //create cursor to select paragraph and formating paragraph + //create cursor to select paragraph and formatting paragraph XTextCursor xTextCursor = xText.createTextCursor(); //create paragraph property set XPropertySet xTextProps = (XPropertySet) UnoRuntime.queryInterface(XPropertySet.class, xTextCursor); @@ -275,7 +275,7 @@ public class ParagraphNumberingAndBulletCharacterStyle { xText = xTextDocument.getText(); xText.setString("we are Chinese,they are American.we are all living in one earth!Hello,world!Hello,world!Hello,world!Hello,world!Hello,world!Hello,world!" + "Hello,world!Hello,world!"); - //create cursor to select paragraph and formating paragraph + //create cursor to select paragraph and formatting paragraph XTextCursor xTextCursor = xText.createTextCursor(); //create paragraph property set XPropertySet xTextProps = (XPropertySet) UnoRuntime.queryInterface(XPropertySet.class, xTextCursor); @@ -344,7 +344,7 @@ public class ParagraphNumberingAndBulletCharacterStyle { xText = xTextDocument.getText(); xText.setString("we are Chinese,they are American.we are all living in one earth!Hello,world!Hello,world!Hello,world!Hello,world!Hello,world!Hello,world!" + "Hello,world!Hello,world!"); - //create cursor to select paragraph and formating paragraph + //create cursor to select paragraph and formatting paragraph XTextCursor xTextCursor = xText.createTextCursor(); //create paragraph property set XPropertySet xTextProps = (XPropertySet) UnoRuntime.queryInterface(XPropertySet.class, xTextCursor); @@ -413,7 +413,7 @@ public class ParagraphNumberingAndBulletCharacterStyle { xText = xTextDocument.getText(); xText.setString("we are Chinese,they are American.we are all living in one earth!Hello,world!Hello,world!Hello,world!Hello,world!Hello,world!Hello,world!" + "Hello,world!Hello,world!"); - //create cursor to select paragraph and formating paragraph + //create cursor to select paragraph and formatting paragraph XTextCursor xTextCursor = xText.createTextCursor(); //create paragraph property set XPropertySet xTextProps = (XPropertySet) UnoRuntime.queryInterface(XPropertySet.class, xTextCursor); @@ -482,7 +482,7 @@ public class ParagraphNumberingAndBulletCharacterStyle { xText = xTextDocument.getText(); xText.setString("we are Chinese,they are American.we are all living in one earth!Hello,world!Hello,world!Hello,world!Hello,world!Hello,world!Hello,world!" + "Hello,world!Hello,world!"); - //create cursor to select paragraph and formating paragraph + //create cursor to select paragraph and formatting paragraph XTextCursor xTextCursor = xText.createTextCursor(); //create paragraph property set XPropertySet xTextProps = (XPropertySet) UnoRuntime.queryInterface(XPropertySet.class, xTextCursor); @@ -551,7 +551,7 @@ public class ParagraphNumberingAndBulletCharacterStyle { xText = xTextDocument.getText(); xText.setString("we are Chinese,they are American.we are all living in one earth!Hello,world!Hello,world!Hello,world!Hello,world!Hello,world!Hello,world!" + "Hello,world!Hello,world!"); - //create cursor to select paragraph and formating paragraph + //create cursor to select paragraph and formatting paragraph XTextCursor xTextCursor = xText.createTextCursor(); //create paragraph property set XPropertySet xTextProps = (XPropertySet) UnoRuntime.queryInterface(XPropertySet.class, xTextCursor); @@ -620,7 +620,7 @@ public class ParagraphNumberingAndBulletCharacterStyle { xText = xTextDocument.getText(); xText.setString("we are Chinese,they are American.we are all living in one earth!Hello,world!Hello,world!Hello,world!Hello,world!Hello,world!Hello,world!" + "Hello,world!Hello,world!"); - //create cursor to select paragraph and formating paragraph + //create cursor to select paragraph and formatting paragraph XTextCursor xTextCursor = xText.createTextCursor(); //create paragraph property set XPropertySet xTextProps = (XPropertySet) UnoRuntime.queryInterface(XPropertySet.class, xTextCursor); @@ -689,7 +689,7 @@ public class ParagraphNumberingAndBulletCharacterStyle { xText = xTextDocument.getText(); xText.setString("we are Chinese,they are American.we are all living in one earth!Hello,world!Hello,world!Hello,world!Hello,world!Hello,world!Hello,world!" + "Hello,world!Hello,world!"); - //create cursor to select paragraph and formating paragraph + //create cursor to select paragraph and formatting paragraph XTextCursor xTextCursor = xText.createTextCursor(); //create paragraph property set XPropertySet xTextProps = (XPropertySet) UnoRuntime.queryInterface(XPropertySet.class, xTextCursor); @@ -758,7 +758,7 @@ public class ParagraphNumberingAndBulletCharacterStyle { xText = xTextDocument.getText(); xText.setString("we are Chinese,they are American.we are all living in one earth!Hello,world!Hello,world!Hello,world!Hello,world!Hello,world!Hello,world!" + "Hello,world!Hello,world!"); - //create cursor to select paragraph and formating paragraph + //create cursor to select paragraph and formatting paragraph XTextCursor xTextCursor = xText.createTextCursor(); //create paragraph property set XPropertySet xTextProps = (XPropertySet) UnoRuntime.queryInterface(XPropertySet.class, xTextCursor); @@ -827,7 +827,7 @@ public class ParagraphNumberingAndBulletCharacterStyle { xText = xTextDocument.getText(); xText.setString("we are Chinese,they are American.we are all living in one earth!Hello,world!Hello,world!Hello,world!Hello,world!Hello,world!Hello,world!" + "Hello,world!Hello,world!"); - //create cursor to select paragraph and formating paragraph + //create cursor to select paragraph and formatting paragraph XTextCursor xTextCursor = xText.createTextCursor(); //create paragraph property set XPropertySet xTextProps = (XPropertySet) UnoRuntime.queryInterface(XPropertySet.class, xTextCursor); @@ -896,7 +896,7 @@ public class ParagraphNumberingAndBulletCharacterStyle { xText = xTextDocument.getText(); xText.setString("we are Chinese,they are American.we are all living in one earth!Hello,world!Hello,world!Hello,world!Hello,world!Hello,world!Hello,world!" + "Hello,world!Hello,world!"); - //create cursor to select paragraph and formating paragraph + //create cursor to select paragraph and formatting paragraph XTextCursor xTextCursor = xText.createTextCursor(); //create paragraph property set XPropertySet xTextProps = (XPropertySet) UnoRuntime.queryInterface(XPropertySet.class, xTextCursor); @@ -965,7 +965,7 @@ public class ParagraphNumberingAndBulletCharacterStyle { xText = xTextDocument.getText(); xText.setString("we are Chinese,they are American.we are all living in one earth!Hello,world!Hello,world!Hello,world!Hello,world!Hello,world!Hello,world!" + "Hello,world!Hello,world!"); - //create cursor to select paragraph and formating paragraph + //create cursor to select paragraph and formatting paragraph XTextCursor xTextCursor = xText.createTextCursor(); //create paragraph property set XPropertySet xTextProps = (XPropertySet) UnoRuntime.queryInterface(XPropertySet.class, xTextCursor); @@ -1034,7 +1034,7 @@ public class ParagraphNumberingAndBulletCharacterStyle { xText = xTextDocument.getText(); xText.setString("we are Chinese,they are American.we are all living in one earth!Hello,world!Hello,world!Hello,world!Hello,world!Hello,world!Hello,world!" + "Hello,world!Hello,world!"); - //create cursor to select paragraph and formating paragraph + //create cursor to select paragraph and formatting paragraph XTextCursor xTextCursor = xText.createTextCursor(); //create paragraph property set XPropertySet xTextProps = (XPropertySet) UnoRuntime.queryInterface(XPropertySet.class, xTextCursor); @@ -1103,7 +1103,7 @@ public class ParagraphNumberingAndBulletCharacterStyle { xText = xTextDocument.getText(); xText.setString("we are Chinese,they are American.we are all living in one earth!Hello,world!Hello,world!Hello,world!Hello,world!Hello,world!Hello,world!" + "Hello,world!Hello,world!"); - //create cursor to select paragraph and formating paragraph + //create cursor to select paragraph and formatting paragraph XTextCursor xTextCursor = xText.createTextCursor(); //create paragraph property set XPropertySet xTextProps = (XPropertySet) UnoRuntime.queryInterface(XPropertySet.class, xTextCursor); @@ -1172,7 +1172,7 @@ public class ParagraphNumberingAndBulletCharacterStyle { xText = xTextDocument.getText(); xText.setString("we are Chinese,they are American.we are all living in one earth!Hello,world!Hello,world!Hello,world!Hello,world!Hello,world!Hello,world!" + "Hello,world!Hello,world!"); - //create cursor to select paragraph and formating paragraph + //create cursor to select paragraph and formatting paragraph XTextCursor xTextCursor = xText.createTextCursor(); //create paragraph property set XPropertySet xTextProps = (XPropertySet) UnoRuntime.queryInterface(XPropertySet.class, xTextCursor); @@ -1241,7 +1241,7 @@ public class ParagraphNumberingAndBulletCharacterStyle { xText = xTextDocument.getText(); xText.setString("we are Chinese,they are American.we are all living in one earth!Hello,world!Hello,world!Hello,world!Hello,world!Hello,world!Hello,world!" + "Hello,world!Hello,world!"); - //create cursor to select paragraph and formating paragraph + //create cursor to select paragraph and formatting paragraph XTextCursor xTextCursor = xText.createTextCursor(); //create paragraph property set XPropertySet xTextProps = (XPropertySet) UnoRuntime.queryInterface(XPropertySet.class, xTextCursor); @@ -1310,7 +1310,7 @@ public class ParagraphNumberingAndBulletCharacterStyle { xText = xTextDocument.getText(); xText.setString("we are Chinese,they are American.we are all living in one earth!Hello,world!Hello,world!Hello,world!Hello,world!Hello,world!Hello,world!" + "Hello,world!Hello,world!"); - //create cursor to select paragraph and formating paragraph + //create cursor to select paragraph and formatting paragraph XTextCursor xTextCursor = xText.createTextCursor(); //create paragraph property set XPropertySet xTextProps = (XPropertySet) UnoRuntime.queryInterface(XPropertySet.class, xTextCursor); @@ -1379,7 +1379,7 @@ public class ParagraphNumberingAndBulletCharacterStyle { xText = xTextDocument.getText(); xText.setString("we are Chinese,they are American.we are all living in one earth!Hello,world!Hello,world!Hello,world!Hello,world!Hello,world!Hello,world!" + "Hello,world!Hello,world!"); - //create cursor to select paragraph and formating paragraph + //create cursor to select paragraph and formatting paragraph XTextCursor xTextCursor = xText.createTextCursor(); //create paragraph property set XPropertySet xTextProps = (XPropertySet) UnoRuntime.queryInterface(XPropertySet.class, xTextCursor); @@ -1448,7 +1448,7 @@ public class ParagraphNumberingAndBulletCharacterStyle { xText = xTextDocument.getText(); xText.setString("we are Chinese,they are American.we are all living in one earth!Hello,world!Hello,world!Hello,world!Hello,world!Hello,world!Hello,world!" + "Hello,world!Hello,world!"); - //create cursor to select paragraph and formating paragraph + //create cursor to select paragraph and formatting paragraph XTextCursor xTextCursor = xText.createTextCursor(); //create paragraph property set XPropertySet xTextProps = (XPropertySet) UnoRuntime.queryInterface(XPropertySet.class, xTextCursor); @@ -1517,7 +1517,7 @@ public class ParagraphNumberingAndBulletCharacterStyle { xText = xTextDocument.getText(); xText.setString("we are Chinese,they are American.we are all living in one earth!Hello,world!Hello,world!Hello,world!Hello,world!Hello,world!Hello,world!" + "Hello,world!Hello,world!"); - //create cursor to select paragraph and formating paragraph + //create cursor to select paragraph and formatting paragraph XTextCursor xTextCursor = xText.createTextCursor(); //create paragraph property set XPropertySet xTextProps = (XPropertySet) UnoRuntime.queryInterface(XPropertySet.class, xTextCursor); @@ -1585,7 +1585,7 @@ public class ParagraphNumberingAndBulletCharacterStyle { xText = xTextDocument.getText(); xText.setString("we are Chinese,they are American.we are all living in one earth!Hello,world!Hello,world!Hello,world!Hello,world!Hello,world!Hello,world!" + "Hello,world!Hello,world!"); - //create cursor to select paragraph and formating paragraph + //create cursor to select paragraph and formatting paragraph XTextCursor xTextCursor = xText.createTextCursor(); //create paragraph property set XPropertySet xTextProps = (XPropertySet) UnoRuntime.queryInterface(XPropertySet.class, xTextCursor); @@ -1654,7 +1654,7 @@ public class ParagraphNumberingAndBulletCharacterStyle { xText = xTextDocument.getText(); xText.setString("we are Chinese,they are American.we are all living in one earth!Hello,world!Hello,world!Hello,world!Hello,world!Hello,world!Hello,world!" + "Hello,world!Hello,world!"); - //create cursor to select paragraph and formating paragraph + //create cursor to select paragraph and formatting paragraph XTextCursor xTextCursor = xText.createTextCursor(); //create paragraph property set XPropertySet xTextProps = (XPropertySet) UnoRuntime.queryInterface(XPropertySet.class, xTextCursor); @@ -1723,7 +1723,7 @@ public class ParagraphNumberingAndBulletCharacterStyle { xText = xTextDocument.getText(); xText.setString("we are Chinese,they are American.we are all living in one earth!Hello,world!Hello,world!Hello,world!Hello,world!Hello,world!Hello,world!" + "Hello,world!Hello,world!"); - //create cursor to select paragraph and formating paragraph + //create cursor to select paragraph and formatting paragraph XTextCursor xTextCursor = xText.createTextCursor(); //create paragraph property set XPropertySet xTextProps = (XPropertySet) UnoRuntime.queryInterface(XPropertySet.class, xTextCursor); @@ -1792,7 +1792,7 @@ public class ParagraphNumberingAndBulletCharacterStyle { xText = xTextDocument.getText(); xText.setString("we are Chinese,they are American.we are all living in one earth!Hello,world!Hello,world!Hello,world!Hello,world!Hello,world!Hello,world!" + "Hello,world!Hello,world!"); - //create cursor to select paragraph and formating paragraph + //create cursor to select paragraph and formatting paragraph XTextCursor xTextCursor = xText.createTextCursor(); //create paragraph property set XPropertySet xTextProps = (XPropertySet) UnoRuntime.queryInterface(XPropertySet.class, xTextCursor); diff --git a/test/testuno/source/fvt/uno/sw/paragraph/ParagraphNumberingAndBulletIndentAtAndAlignAt.java b/test/testuno/source/fvt/uno/sw/paragraph/ParagraphNumberingAndBulletIndentAtAndAlignAt.java index 78e3614340..dff33a6763 100644 --- a/test/testuno/source/fvt/uno/sw/paragraph/ParagraphNumberingAndBulletIndentAtAndAlignAt.java +++ b/test/testuno/source/fvt/uno/sw/paragraph/ParagraphNumberingAndBulletIndentAtAndAlignAt.java @@ -68,7 +68,7 @@ public class ParagraphNumberingAndBulletIndentAtAndAlignAt { xText = xTextDocument.getText(); xText.setString("we are Chinese,they are American.\nwe are all living in one earth!Hello,world!\nHello,world!Hello,world!Hello,world!Hello,world!\nHello,world!" + "Hello,world!Hello,world!"); - //create cursor to select paragraph and formating paragraph + //create cursor to select paragraph and formatting paragraph XTextCursor xTextCursor = xText.createTextCursor(); //create paragraph property set XPropertySet xTextProps = (XPropertySet) UnoRuntime.queryInterface(XPropertySet.class, xTextCursor); diff --git a/test/testuno/source/fvt/uno/sw/paragraph/ParagraphNumberingAndBulletTabStop.java b/test/testuno/source/fvt/uno/sw/paragraph/ParagraphNumberingAndBulletTabStop.java index 36d92b8733..4324e3ca0e 100644 --- a/test/testuno/source/fvt/uno/sw/paragraph/ParagraphNumberingAndBulletTabStop.java +++ b/test/testuno/source/fvt/uno/sw/paragraph/ParagraphNumberingAndBulletTabStop.java @@ -67,7 +67,7 @@ public class ParagraphNumberingAndBulletTabStop { xText = xTextDocument.getText(); xText.setString("we are Chinese,they are American.we are all living in one earth!Hello,world!Hello,world!Hello,world!Hello,world!Hello,world!Hello,world!" + "Hello,world!Hello,world!"); - //create cursor to select paragraph and formating paragraph + //create cursor to select paragraph and formatting paragraph XTextCursor xTextCursor = xText.createTextCursor(); //create paragraph property set XPropertySet xTextProps = (XPropertySet) UnoRuntime.queryInterface(XPropertySet.class, xTextCursor); diff --git a/test/testuno/source/fvt/uno/sw/paragraph/ParagraphNumberingAndBullet_CharacterBullet.java b/test/testuno/source/fvt/uno/sw/paragraph/ParagraphNumberingAndBullet_CharacterBullet.java index d34372f6ae..2c50c75175 100644 --- a/test/testuno/source/fvt/uno/sw/paragraph/ParagraphNumberingAndBullet_CharacterBullet.java +++ b/test/testuno/source/fvt/uno/sw/paragraph/ParagraphNumberingAndBullet_CharacterBullet.java @@ -69,7 +69,7 @@ public class ParagraphNumberingAndBullet_CharacterBullet { xText = xTextDocument.getText(); xText.setString("we are Chinese,they are American.we are all living in one earth!Hello,world!Hello,world!Hello,world!Hello,world!Hello,world!Hello,world!" + "Hello,world!Hello,world!"); - //create cursor to select paragraph and formating paragraph + //create cursor to select paragraph and formatting paragraph XTextCursor xTextCursor = xText.createTextCursor(); //create paragraph property set XPropertySet xTextProps = (XPropertySet) UnoRuntime.queryInterface(XPropertySet.class, xTextCursor); @@ -138,7 +138,7 @@ public class ParagraphNumberingAndBullet_CharacterBullet { xText = xTextDocument.getText(); xText.setString("we are Chinese,they are American.we are all living in one earth!Hello,world!Hello,world!Hello,world!Hello,world!Hello,world!Hello,world!" + "Hello,world!Hello,world!"); - //create cursor to select paragraph and formating paragraph + //create cursor to select paragraph and formatting paragraph XTextCursor xTextCursor = xText.createTextCursor(); //create paragraph property set XPropertySet xTextProps = (XPropertySet) UnoRuntime.queryInterface(XPropertySet.class, xTextCursor); diff --git a/test/testuno/source/fvt/uno/sw/paragraph/ParagraphNumberingAndBullet_Graphic.java b/test/testuno/source/fvt/uno/sw/paragraph/ParagraphNumberingAndBullet_Graphic.java index 8bfcd39448..2bc03ae441 100644 --- a/test/testuno/source/fvt/uno/sw/paragraph/ParagraphNumberingAndBullet_Graphic.java +++ b/test/testuno/source/fvt/uno/sw/paragraph/ParagraphNumberingAndBullet_Graphic.java @@ -69,7 +69,7 @@ public class ParagraphNumberingAndBullet_Graphic { xText = xTextDocument.getText(); xText.setString("we are Chinese,they are American.we are all living in one earth!Hello,world!Hello,world!Hello,world!Hello,world!Hello,world!Hello,world!" + "Hello,world!Hello,world!"); - //create cursor to select paragraph and formating paragraph + //create cursor to select paragraph and formatting paragraph XTextCursor xTextCursor = xText.createTextCursor(); //create paragraph property set XPropertySet xTextProps = (XPropertySet) UnoRuntime.queryInterface(XPropertySet.class, xTextCursor); diff --git a/test/testuno/source/fvt/uno/sw/paragraph/ParagraphNumberingAndBullet_Graphic_Alignment.java b/test/testuno/source/fvt/uno/sw/paragraph/ParagraphNumberingAndBullet_Graphic_Alignment.java index 3de1d646ac..c4f13256b0 100644 --- a/test/testuno/source/fvt/uno/sw/paragraph/ParagraphNumberingAndBullet_Graphic_Alignment.java +++ b/test/testuno/source/fvt/uno/sw/paragraph/ParagraphNumberingAndBullet_Graphic_Alignment.java @@ -69,7 +69,7 @@ public class ParagraphNumberingAndBullet_Graphic_Alignment { xText = xTextDocument.getText(); xText.setString("we are Chinese,they are American.we are all living in one earth!Hello,world!Hello,world!Hello,world!Hello,world!Hello,world!Hello,world!" + "Hello,world!Hello,world!"); - //create cursor to select paragraph and formating paragraph + //create cursor to select paragraph and formatting paragraph XTextCursor xTextCursor = xText.createTextCursor(); //create paragraph property set XPropertySet xTextProps = (XPropertySet) UnoRuntime.queryInterface(XPropertySet.class, xTextCursor); @@ -144,7 +144,7 @@ public class ParagraphNumberingAndBullet_Graphic_Alignment { xText = xTextDocument.getText(); xText.setString("we are Chinese,they are American.we are all living in one earth!Hello,world!Hello,world!Hello,world!Hello,world!Hello,world!Hello,world!" + "Hello,world!Hello,world!"); - //create cursor to select paragraph and formating paragraph + //create cursor to select paragraph and formatting paragraph XTextCursor xTextCursor = xText.createTextCursor(); //create paragraph property set XPropertySet xTextProps = (XPropertySet) UnoRuntime.queryInterface(XPropertySet.class, xTextCursor); @@ -219,7 +219,7 @@ public class ParagraphNumberingAndBullet_Graphic_Alignment { xText = xTextDocument.getText(); xText.setString("we are Chinese,they are American.we are all living in one earth!Hello,world!Hello,world!Hello,world!Hello,world!Hello,world!Hello,world!" + "Hello,world!Hello,world!"); - //create cursor to select paragraph and formating paragraph + //create cursor to select paragraph and formatting paragraph XTextCursor xTextCursor = xText.createTextCursor(); //create paragraph property set XPropertySet xTextProps = (XPropertySet) UnoRuntime.queryInterface(XPropertySet.class, xTextCursor); @@ -294,7 +294,7 @@ public class ParagraphNumberingAndBullet_Graphic_Alignment { xText = xTextDocument.getText(); xText.setString("we are Chinese,they are American.we are all living in one earth!Hello,world!Hello,world!Hello,world!Hello,world!Hello,world!Hello,world!" + "Hello,world!Hello,world!"); - //create cursor to select paragraph and formating paragraph + //create cursor to select paragraph and formatting paragraph XTextCursor xTextCursor = xText.createTextCursor(); //create paragraph property set XPropertySet xTextProps = (XPropertySet) UnoRuntime.queryInterface(XPropertySet.class, xTextCursor); @@ -369,7 +369,7 @@ public class ParagraphNumberingAndBullet_Graphic_Alignment { xText = xTextDocument.getText(); xText.setString("we are Chinese,they are American.we are all living in one earth!Hello,world!Hello,world!Hello,world!Hello,world!Hello,world!Hello,world!" + "Hello,world!Hello,world!"); - //create cursor to select paragraph and formating paragraph + //create cursor to select paragraph and formatting paragraph XTextCursor xTextCursor = xText.createTextCursor(); //create paragraph property set XPropertySet xTextProps = (XPropertySet) UnoRuntime.queryInterface(XPropertySet.class, xTextCursor); @@ -444,7 +444,7 @@ public class ParagraphNumberingAndBullet_Graphic_Alignment { xText = xTextDocument.getText(); xText.setString("we are Chinese,they are American.we are all living in one earth!Hello,world!Hello,world!Hello,world!Hello,world!Hello,world!Hello,world!" + "Hello,world!Hello,world!"); - //create cursor to select paragraph and formating paragraph + //create cursor to select paragraph and formatting paragraph XTextCursor xTextCursor = xText.createTextCursor(); //create paragraph property set XPropertySet xTextProps = (XPropertySet) UnoRuntime.queryInterface(XPropertySet.class, xTextCursor); @@ -519,7 +519,7 @@ public class ParagraphNumberingAndBullet_Graphic_Alignment { xText = xTextDocument.getText(); xText.setString("we are Chinese,they are American.we are all living in one earth!Hello,world!Hello,world!Hello,world!Hello,world!Hello,world!Hello,world!" + "Hello,world!Hello,world!"); - //create cursor to select paragraph and formating paragraph + //create cursor to select paragraph and formatting paragraph XTextCursor xTextCursor = xText.createTextCursor(); //create paragraph property set XPropertySet xTextProps = (XPropertySet) UnoRuntime.queryInterface(XPropertySet.class, xTextCursor); @@ -594,7 +594,7 @@ public class ParagraphNumberingAndBullet_Graphic_Alignment { xText = xTextDocument.getText(); xText.setString("we are Chinese,they are American.we are all living in one earth!Hello,world!Hello,world!Hello,world!Hello,world!Hello,world!Hello,world!" + "Hello,world!Hello,world!"); - //create cursor to select paragraph and formating paragraph + //create cursor to select paragraph and formatting paragraph XTextCursor xTextCursor = xText.createTextCursor(); //create paragraph property set XPropertySet xTextProps = (XPropertySet) UnoRuntime.queryInterface(XPropertySet.class, xTextCursor); @@ -669,7 +669,7 @@ public class ParagraphNumberingAndBullet_Graphic_Alignment { xText = xTextDocument.getText(); xText.setString("we are Chinese,they are American.we are all living in one earth!Hello,world!Hello,world!Hello,world!Hello,world!Hello,world!Hello,world!" + "Hello,world!Hello,world!"); - //create cursor to select paragraph and formating paragraph + //create cursor to select paragraph and formatting paragraph XTextCursor xTextCursor = xText.createTextCursor(); //create paragraph property set XPropertySet xTextProps = (XPropertySet) UnoRuntime.queryInterface(XPropertySet.class, xTextCursor); diff --git a/test/testuno/source/fvt/uno/sw/paragraph/ParagraphNumberingAndBullet_Graphic_WidthAndHeight.java b/test/testuno/source/fvt/uno/sw/paragraph/ParagraphNumberingAndBullet_Graphic_WidthAndHeight.java index 7b644cc1b1..0eb09e8b95 100644 --- a/test/testuno/source/fvt/uno/sw/paragraph/ParagraphNumberingAndBullet_Graphic_WidthAndHeight.java +++ b/test/testuno/source/fvt/uno/sw/paragraph/ParagraphNumberingAndBullet_Graphic_WidthAndHeight.java @@ -70,7 +70,7 @@ public class ParagraphNumberingAndBullet_Graphic_WidthAndHeight { xText = xTextDocument.getText(); xText.setString("we are Chinese,they are American.we are all living in one earth!Hello,world!Hello,world!Hello,world!Hello,world!Hello,world!Hello,world!" + "Hello,world!Hello,world!"); - //create cursor to select paragraph and formating paragraph + //create cursor to select paragraph and formatting paragraph XTextCursor xTextCursor = xText.createTextCursor(); //create paragraph property set XPropertySet xTextProps = (XPropertySet) UnoRuntime.queryInterface(XPropertySet.class, xTextCursor); diff --git a/test/testuno/source/fvt/uno/sw/paragraph/ParagraphNumberingAndBullet_Number_BeforeAndAfterCharacter.java b/test/testuno/source/fvt/uno/sw/paragraph/ParagraphNumberingAndBullet_Number_BeforeAndAfterCharacter.java index 28e86cb35d..64a25b3c2f 100644 --- a/test/testuno/source/fvt/uno/sw/paragraph/ParagraphNumberingAndBullet_Number_BeforeAndAfterCharacter.java +++ b/test/testuno/source/fvt/uno/sw/paragraph/ParagraphNumberingAndBullet_Number_BeforeAndAfterCharacter.java @@ -67,7 +67,7 @@ public class ParagraphNumberingAndBullet_Number_BeforeAndAfterCharacter { xText = xTextDocument.getText(); xText.setString("we are Chinese,they are American.we are all living in one earth!Hello,world!Hello,world!Hello,world!Hello,world!Hello,world!Hello,world!" + "Hello,world!Hello,world!"); - //create cursor to select paragraph and formating paragraph + //create cursor to select paragraph and formatting paragraph XTextCursor xTextCursor = xText.createTextCursor(); //create paragraph property set XPropertySet xTextProps = (XPropertySet) UnoRuntime.queryInterface(XPropertySet.class, xTextCursor); diff --git a/test/testuno/source/fvt/uno/sw/paragraph/ParagraphNumberingAndBullet_Number_StartWith.java b/test/testuno/source/fvt/uno/sw/paragraph/ParagraphNumberingAndBullet_Number_StartWith.java index 7bc9571d17..aed636eaac 100644 --- a/test/testuno/source/fvt/uno/sw/paragraph/ParagraphNumberingAndBullet_Number_StartWith.java +++ b/test/testuno/source/fvt/uno/sw/paragraph/ParagraphNumberingAndBullet_Number_StartWith.java @@ -68,7 +68,7 @@ public class ParagraphNumberingAndBullet_Number_StartWith { xText = xTextDocument.getText(); xText.setString("we are Chinese,they are American.we are all living in one earth!Hello,world!Hello,world!Hello,world!Hello,world!Hello,world!Hello,world!" + "Hello,world!Hello,world!"); - //create cursor to select paragraph and formating paragraph + //create cursor to select paragraph and formatting paragraph XTextCursor xTextCursor = xText.createTextCursor(); //create paragraph property set XPropertySet xTextProps = (XPropertySet) UnoRuntime.queryInterface(XPropertySet.class, xTextCursor); diff --git a/test/testuno/source/fvt/uno/sw/paragraph/ParagraphNumberingAndBullet_Numbering.java b/test/testuno/source/fvt/uno/sw/paragraph/ParagraphNumberingAndBullet_Numbering.java index f668438eda..41be461d28 100644 --- a/test/testuno/source/fvt/uno/sw/paragraph/ParagraphNumberingAndBullet_Numbering.java +++ b/test/testuno/source/fvt/uno/sw/paragraph/ParagraphNumberingAndBullet_Numbering.java @@ -69,7 +69,7 @@ public class ParagraphNumberingAndBullet_Numbering { xText = xTextDocument.getText(); xText.setString("we are Chinese,they are American.we are all living in one earth!Hello,world!Hello,world!Hello,world!Hello,world!Hello,world!Hello,world!" + "Hello,world!Hello,world!"); - //create cursor to select paragraph and formating paragraph + //create cursor to select paragraph and formatting paragraph XTextCursor xTextCursor = xText.createTextCursor(); //create paragraph property set XPropertySet xTextProps = (XPropertySet) UnoRuntime.queryInterface(XPropertySet.class, xTextCursor); @@ -132,7 +132,7 @@ public class ParagraphNumberingAndBullet_Numbering { xText = xTextDocument.getText(); xText.setString("we are Chinese,they are American.we are all living in one earth!Hello,world!Hello,world!Hello,world!Hello,world!Hello,world!Hello,world!" + "Hello,world!Hello,world!"); - //create cursor to select paragraph and formating paragraph + //create cursor to select paragraph and formatting paragraph XTextCursor xTextCursor = xText.createTextCursor(); //create paragraph property set XPropertySet xTextProps = (XPropertySet) UnoRuntime.queryInterface(XPropertySet.class, xTextCursor); @@ -201,7 +201,7 @@ public class ParagraphNumberingAndBullet_Numbering { xText = xTextDocument.getText(); xText.setString("we are Chinese,they are American.we are all living in one earth!Hello,world!Hello,world!Hello,world!Hello,world!Hello,world!Hello,world!" + "Hello,world!Hello,world!"); - //create cursor to select paragraph and formating paragraph + //create cursor to select paragraph and formatting paragraph XTextCursor xTextCursor = xText.createTextCursor(); //create paragraph property set XPropertySet xTextProps = (XPropertySet) UnoRuntime.queryInterface(XPropertySet.class, xTextCursor); @@ -276,7 +276,7 @@ public class ParagraphNumberingAndBullet_Numbering { xText = xTextDocument.getText(); xText.setString("we are Chinese,they are American.we are all living in one earth!Hello,world!Hello,world!Hello,world!Hello,world!Hello,world!Hello,world!" + "Hello,world!Hello,world!"); - //create cursor to select paragraph and formating paragraph + //create cursor to select paragraph and formatting paragraph XTextCursor xTextCursor = xText.createTextCursor(); //create paragraph property set XPropertySet xTextProps = (XPropertySet) UnoRuntime.queryInterface(XPropertySet.class, xTextCursor); @@ -339,7 +339,7 @@ public class ParagraphNumberingAndBullet_Numbering { xText = xTextDocument.getText(); xText.setString("we are Chinese,they are American.we are all living in one earth!Hello,world!Hello,world!Hello,world!Hello,world!Hello,world!Hello,world!" + "Hello,world!Hello,world!"); - //create cursor to select paragraph and formating paragraph + //create cursor to select paragraph and formatting paragraph XTextCursor xTextCursor = xText.createTextCursor(); //create paragraph property set XPropertySet xTextProps = (XPropertySet) UnoRuntime.queryInterface(XPropertySet.class, xTextCursor); @@ -402,7 +402,7 @@ public class ParagraphNumberingAndBullet_Numbering { xText = xTextDocument.getText(); xText.setString("we are Chinese,they are American.we are all living in one earth!Hello,world!Hello,world!Hello,world!Hello,world!Hello,world!Hello,world!" + "Hello,world!Hello,world!"); - //create cursor to select paragraph and formating paragraph + //create cursor to select paragraph and formatting paragraph XTextCursor xTextCursor = xText.createTextCursor(); //create paragraph property set XPropertySet xTextProps = (XPropertySet) UnoRuntime.queryInterface(XPropertySet.class, xTextCursor); @@ -471,7 +471,7 @@ public class ParagraphNumberingAndBullet_Numbering { xText = xTextDocument.getText(); xText.setString("we are Chinese,they are American.we are all living in one earth!Hello,world!Hello,world!Hello,world!Hello,world!Hello,world!Hello,world!" + "Hello,world!Hello,world!"); - //create cursor to select paragraph and formating paragraph + //create cursor to select paragraph and formatting paragraph XTextCursor xTextCursor = xText.createTextCursor(); //create paragraph property set XPropertySet xTextProps = (XPropertySet) UnoRuntime.queryInterface(XPropertySet.class, xTextCursor); @@ -540,7 +540,7 @@ public class ParagraphNumberingAndBullet_Numbering { xText = xTextDocument.getText(); xText.setString("we are Chinese,they are American.we are all living in one earth!Hello,world!Hello,world!Hello,world!Hello,world!Hello,world!Hello,world!" + "Hello,world!Hello,world!"); - //create cursor to select paragraph and formating paragraph + //create cursor to select paragraph and formatting paragraph XTextCursor xTextCursor = xText.createTextCursor(); //create paragraph property set XPropertySet xTextProps = (XPropertySet) UnoRuntime.queryInterface(XPropertySet.class, xTextCursor); diff --git a/test/testuno/source/fvt/uno/sw/table/TableBasic.java b/test/testuno/source/fvt/uno/sw/table/TableBasic.java index 045b140074..da82fa4a1d 100644 --- a/test/testuno/source/fvt/uno/sw/table/TableBasic.java +++ b/test/testuno/source/fvt/uno/sw/table/TableBasic.java @@ -695,42 +695,42 @@ public class TableBasic { XTextTable xTable_Assert1=(XTextTable) UnoRuntime.queryInterface(XTextTable.class, xTable_obj1); XPropertySet xTableProps1_assert = (XPropertySet) UnoRuntime.queryInterface(XPropertySet.class, xTable_Assert1); assertEquals("verify table backgraphic location",com.sun.star.style.GraphicLocation.LEFT_BOTTOM,xTableProps1_assert.getPropertyValue("BackGraphicLocation")); - assertEquals("verify table backgraphic fileter","draw_jpg_Export",xTableProps1_assert.getPropertyValue("BackGraphicFilter")); + assertEquals("verify table backgraphic filter","draw_jpg_Export",xTableProps1_assert.getPropertyValue("BackGraphicFilter")); assertEquals("verify table backgraphic URL",FileUtil.getUrl(Testspace.prepareData("uno/Desert.jpg")),xTableProps1_assert.getPropertyValue("BackGraphicURL")); Object xTable_obj2=xIndexedTables.getByIndex(1); XTextTable xTable_Assert2=(XTextTable) UnoRuntime.queryInterface(XTextTable.class, xTable_obj2); XPropertySet xTableProps2_assert = (XPropertySet) UnoRuntime.queryInterface(XPropertySet.class, xTable_Assert2); assertEquals("verify table backgraphic location",com.sun.star.style.GraphicLocation.LEFT_MIDDLE,xTableProps2_assert.getPropertyValue("BackGraphicLocation")); - assertEquals("verify table backgraphic fileter","draw_jpg_Export",xTableProps2_assert.getPropertyValue("BackGraphicFilter")); + assertEquals("verify table backgraphic filter","draw_jpg_Export",xTableProps2_assert.getPropertyValue("BackGraphicFilter")); assertEquals("verify table backgraphic URL",FileUtil.getUrl(Testspace.prepareData("uno/Desert.jpg")),xTableProps2_assert.getPropertyValue("BackGraphicURL")); Object xTable_obj3=xIndexedTables.getByIndex(2); XTextTable xTable_Assert3=(XTextTable) UnoRuntime.queryInterface(XTextTable.class, xTable_obj3); XPropertySet xTableProps3_assert = (XPropertySet) UnoRuntime.queryInterface(XPropertySet.class, xTable_Assert3); assertEquals("verify table backgraphic location",com.sun.star.style.GraphicLocation.LEFT_TOP,xTableProps3_assert.getPropertyValue("BackGraphicLocation")); - assertEquals("verify table backgraphic fileter","draw_jpg_Export",xTableProps3_assert.getPropertyValue("BackGraphicFilter")); + assertEquals("verify table backgraphic filter","draw_jpg_Export",xTableProps3_assert.getPropertyValue("BackGraphicFilter")); assertEquals("verify table backgraphic URL",FileUtil.getUrl(Testspace.prepareData("uno/Desert.jpg")),xTableProps3_assert.getPropertyValue("BackGraphicURL")); Object xTable_obj4=xIndexedTables.getByIndex(3); XTextTable xTable_Assert4=(XTextTable) UnoRuntime.queryInterface(XTextTable.class, xTable_obj4); XPropertySet xTableProps4_assert = (XPropertySet) UnoRuntime.queryInterface(XPropertySet.class, xTable_Assert4); assertEquals("verify table backgraphic location",com.sun.star.style.GraphicLocation.MIDDLE_BOTTOM,xTableProps4_assert.getPropertyValue("BackGraphicLocation")); - assertEquals("verify table backgraphic fileter","draw_jpg_Export",xTableProps4_assert.getPropertyValue("BackGraphicFilter")); + assertEquals("verify table backgraphic filter","draw_jpg_Export",xTableProps4_assert.getPropertyValue("BackGraphicFilter")); assertEquals("verify table backgraphic URL",FileUtil.getUrl(Testspace.prepareData("uno/Desert.jpg")),xTableProps4_assert.getPropertyValue("BackGraphicURL")); Object xTable_obj5=xIndexedTables.getByIndex(4); XTextTable xTable_Assert5=(XTextTable) UnoRuntime.queryInterface(XTextTable.class, xTable_obj5); XPropertySet xTableProps5_assert = (XPropertySet) UnoRuntime.queryInterface(XPropertySet.class, xTable_Assert5); assertEquals("verify table backgraphic location",com.sun.star.style.GraphicLocation.MIDDLE_MIDDLE,xTableProps5_assert.getPropertyValue("BackGraphicLocation")); - assertEquals("verify table backgraphic fileter","draw_jpg_Export",xTableProps5_assert.getPropertyValue("BackGraphicFilter")); + assertEquals("verify table backgraphic filter","draw_jpg_Export",xTableProps5_assert.getPropertyValue("BackGraphicFilter")); assertEquals("verify table backgraphic URL",FileUtil.getUrl(Testspace.prepareData("uno/Desert.jpg")),xTableProps5_assert.getPropertyValue("BackGraphicURL")); Object xTable_obj6=xIndexedTables.getByIndex(5); XTextTable xTable_Assert6=(XTextTable) UnoRuntime.queryInterface(XTextTable.class, xTable_obj6); XPropertySet xTableProps6_assert = (XPropertySet) UnoRuntime.queryInterface(XPropertySet.class, xTable_Assert6); assertEquals("verify table backgraphic location",com.sun.star.style.GraphicLocation.MIDDLE_TOP,xTableProps6_assert.getPropertyValue("BackGraphicLocation")); - assertEquals("verify table backgraphic fileter","draw_jpg_Export",xTableProps6_assert.getPropertyValue("BackGraphicFilter")); + assertEquals("verify table backgraphic filter","draw_jpg_Export",xTableProps6_assert.getPropertyValue("BackGraphicFilter")); assertEquals("verify table backgraphic URL",FileUtil.getUrl(Testspace.prepareData("uno/Desert.jpg")),xTableProps6_assert.getPropertyValue("BackGraphicURL")); Object xTable_obj7=xIndexedTables.getByIndex(6); @@ -742,28 +742,28 @@ public class TableBasic { XTextTable xTable_Assert8=(XTextTable) UnoRuntime.queryInterface(XTextTable.class, xTable_obj8); XPropertySet xTableProps8_assert = (XPropertySet) UnoRuntime.queryInterface(XPropertySet.class, xTable_Assert8); assertEquals("verify table backgraphic location",com.sun.star.style.GraphicLocation.RIGHT_BOTTOM,xTableProps8_assert.getPropertyValue("BackGraphicLocation")); - assertEquals("verify table backgraphic fileter","draw_jpg_Export",xTableProps8_assert.getPropertyValue("BackGraphicFilter")); + assertEquals("verify table backgraphic filter","draw_jpg_Export",xTableProps8_assert.getPropertyValue("BackGraphicFilter")); assertEquals("verify table backgraphic URL",FileUtil.getUrl(Testspace.prepareData("uno/Desert.jpg")),xTableProps8_assert.getPropertyValue("BackGraphicURL")); Object xTable_obj9=xIndexedTables.getByIndex(8); XTextTable xTable_Assert9=(XTextTable) UnoRuntime.queryInterface(XTextTable.class, xTable_obj9); XPropertySet xTableProps9_assert = (XPropertySet) UnoRuntime.queryInterface(XPropertySet.class, xTable_Assert9); assertEquals("verify table backgraphic location",com.sun.star.style.GraphicLocation.RIGHT_MIDDLE,xTableProps9_assert.getPropertyValue("BackGraphicLocation")); - assertEquals("verify table backgraphic fileter","draw_jpg_Export",xTableProps9_assert.getPropertyValue("BackGraphicFilter")); + assertEquals("verify table backgraphic filter","draw_jpg_Export",xTableProps9_assert.getPropertyValue("BackGraphicFilter")); assertEquals("verify table backgraphic URL",FileUtil.getUrl(Testspace.prepareData("uno/Desert.jpg")),xTableProps9_assert.getPropertyValue("BackGraphicURL")); Object xTable_obj10=xIndexedTables.getByIndex(9); XTextTable xTable_Assert10=(XTextTable) UnoRuntime.queryInterface(XTextTable.class, xTable_obj10); XPropertySet xTableProps10_assert = (XPropertySet) UnoRuntime.queryInterface(XPropertySet.class, xTable_Assert10); assertEquals("verify table backgraphic location",com.sun.star.style.GraphicLocation.RIGHT_TOP,xTableProps10_assert.getPropertyValue("BackGraphicLocation")); - assertEquals("verify table backgraphic fileter","draw_jpg_Export",xTableProps10_assert.getPropertyValue("BackGraphicFilter")); + assertEquals("verify table backgraphic filter","draw_jpg_Export",xTableProps10_assert.getPropertyValue("BackGraphicFilter")); assertEquals("verify table backgraphic URL",FileUtil.getUrl(Testspace.prepareData("uno/Desert.jpg")),xTableProps10_assert.getPropertyValue("BackGraphicURL")); Object xTable_obj11=xIndexedTables.getByIndex(10); XTextTable xTable_Assert11=(XTextTable) UnoRuntime.queryInterface(XTextTable.class, xTable_obj11); XPropertySet xTableProps11_assert = (XPropertySet) UnoRuntime.queryInterface(XPropertySet.class, xTable_Assert11); assertEquals("verify table backgraphic location",com.sun.star.style.GraphicLocation.AREA,xTableProps11_assert.getPropertyValue("BackGraphicLocation")); - assertEquals("verify table backgraphic fileter","draw_jpg_Export",xTableProps11_assert.getPropertyValue("BackGraphicFilter")); + assertEquals("verify table backgraphic filter","draw_jpg_Export",xTableProps11_assert.getPropertyValue("BackGraphicFilter")); assertEquals("verify table backgraphic URL",FileUtil.getUrl(Testspace.prepareData("uno/Desert.jpg")),xTableProps11_assert.getPropertyValue("BackGraphicURL")); } }