summaryrefslogtreecommitdiff
path: root/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment
diff options
context:
space:
mode:
Diffstat (limited to 'odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment')
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/AsciiReplaceFilter.java14
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/FilterOptions.java14
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/FlatXmlFilter_cpp/FlatXml.cxx2
3 files changed, 15 insertions, 15 deletions
diff --git a/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/AsciiReplaceFilter.java b/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/AsciiReplaceFilter.java
index 622f3276de12..3e3f72a5a790 100644
--- a/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/AsciiReplaceFilter.java
+++ b/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/AsciiReplaceFilter.java
@@ -54,7 +54,7 @@ import com.sun.star.lang.IllegalArgumentException;
During import/export special functionality can be used to
e.g. to change some characters inside the file content
or replace some strings (no using of regular expressions!).
- User can decide at runtime which functionality realy should
+ User can decide at runtime which functionality really should
be used by selecting it in an extra filter property dialog.
So we show how a filter works fro iport/export, use or create
@@ -107,7 +107,7 @@ public class AsciiReplaceFilter
// native interface
/**
* special debug helper to get an idea how expensive
- * the implemented filter operations are realy.
+ * the implemented filter operations are really.
* May be usefully for own purposes.
*
* To see the output inside an office environment
@@ -160,7 +160,7 @@ public class AsciiReplaceFilter
/**
* used for initializing after creation
* If an instance of this service is created by UNO we will be called
- * automaticly after that to get optional parameters of this creation call.
+ * automatically after that to get optional parameters of this creation call.
* E.g.: The service com.sun.star.document.FilterFactory use such mechanism
* to pass our own configuration data to this instance.
*
@@ -363,7 +363,7 @@ public class AsciiReplaceFilter
/**
* Makes the filter process breakable. To do so the outside code may use threads.
- * We use a internal "condition" variable wich is queried by the real filter method on
+ * We use a internal "condition" variable which is queried by the real filter method on
* every loop they do. So it's more a polling mechanism.
*/
public void cancel()
@@ -404,7 +404,7 @@ public class AsciiReplaceFilter
* the target text model to put the data in
*
* @param aOptions
- * capsulate all other neccessary informations for this filter request
+ * capsulate all other necessary informations for this filter request
* (streams, replace values ...)
*
* @return a bool value which describes if method was successfully or not.
@@ -536,7 +536,7 @@ public class AsciiReplaceFilter
* the source text model to get the data from
*
* @param aOptions
- * capsulate all other neccessary informations for this filter request
+ * capsulate all other necessary informations for this filter request
* (streams, replace values ...)
*
* @return a bool value which describes if method was successfully or not.
@@ -561,7 +561,7 @@ public class AsciiReplaceFilter
measure("get text from model");
- // Normaly this function isn't realy cancelable
+ // Normaly this function isn't really cancelable
// But we following operation can be very expensive. So
// this place is the last one to stop it.
synchronized(this)
diff --git a/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/FilterOptions.java b/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/FilterOptions.java
index beca3543d4bd..4d413b328c2d 100644
--- a/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/FilterOptions.java
+++ b/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/FilterOptions.java
@@ -37,8 +37,8 @@ import com.sun.star.ucb.CommandAbortedException;
import com.sun.star.lang.IllegalArgumentException;
/*-************************************************************************
- @title helper to analyze neccessary option properties of our filter
- @description Our filter needs some neccessary properties for working:
+ @title helper to analyze necessary option properties of our filter
+ @description Our filter needs some necessary properties for working:
- a stream for input or output
- or an URL for creating such streams
- informations about required action on filtering
@@ -160,15 +160,15 @@ public class FilterOptions
{
// ONE argument has the wrong type
// But I think we mustn't react here - because we setted
- // default values for every neccessary item we need.
+ // default values for every necessary item we need.
// In case this exception occures - this default exist
// and we can live with it.
}
}
- // Decide if it's neccessary AND possible to open streams.
+ // Decide if it's necessary AND possible to open streams.
// Outside user can check for valid FilterOptions by using
- // corresponding method isValid(). So it's not neccessary to
+ // corresponding method isValid(). So it's not necessary to
// handle this error here in any case.
if (m_xInput==null && m_xOutput==null && m_sURL!=null)
impl_openStreams(bImport);
@@ -176,8 +176,8 @@ public class FilterOptions
/**
* with this method it's possible for the outside filter to decide
- * if he can use this FilterOptions realy or not.
- * That means especialy if neccessary streams are available or not.
+ * if he can use this FilterOptions really or not.
+ * That means especially if necessary streams are available or not.
*/
public boolean isValid()
{
diff --git a/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/FlatXmlFilter_cpp/FlatXml.cxx b/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/FlatXmlFilter_cpp/FlatXml.cxx
index d55d38734e1d..32c20a173dcc 100644
--- a/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/FlatXmlFilter_cpp/FlatXml.cxx
+++ b/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/FlatXmlFilter_cpp/FlatXml.cxx
@@ -182,7 +182,7 @@ sal_Bool XFlatXml::exporter(
{
// read source data
- // we are especialy interested in the output stream
+ // we are especially interested in the output stream
// since that is where our xml-writer will push the data
// from it's data-source interface
OUString aName, sURL;