aboutsummaryrefslogtreecommitdiff
path: root/source/ml/extensions
AgeCommit message (Expand)Author
2012-12-03update translations for LibreOffice 4.0 beta1Andras Timar
2012-11-20initial import of LibreOffice 4.0 translationsAndras Timar
2012-10-16move translations structure one directory upNorbert Thiebaud
ture/print_revamp LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/starmath/Library_smd.mk
n>
AgeCommit message (Expand)Author
space:
mode:
authorAlexander Wilms <f.alexander.wilms@gmail.com>2014-02-25 19:24:31 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-02-26 10:02:49 -0600
commit99e3bd454bf607c5b561e2dc8e0f7a04f2bc28ed (patch)
tree929fae9a49326c5c92763fdd7c6e3f0def229e0a /odk
parent91ff31b6f7c2fd217518f54396bbca6d4bde98a3 (diff)
Remove visual noise from odk
Change-Id: I5638e2d37827c2d7322b72bf6ce176ac843639f1 Reviewed-on: https://gerrit.libreoffice.org/8285 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'odk')
-rw-r--r--odk/examples/CLI/CSharp/Spreadsheet/GeneralTableSample.cs4
-rw-r--r--odk/examples/CLI/CSharp/Spreadsheet/SpreadsheetDocHelper.cs12
-rw-r--r--odk/examples/CLI/CSharp/Spreadsheet/SpreadsheetSample.cs24
-rw-r--r--odk/examples/CLI/CSharp/Spreadsheet/ViewSample.cs8
-rw-r--r--odk/examples/DevelopersGuide/Charts/CalcHelper.java14
-rw-r--r--odk/examples/DevelopersGuide/Charts/ChartInCalc.java30
-rw-r--r--odk/examples/DevelopersGuide/Charts/ChartInDraw.java24
-rw-r--r--odk/examples/DevelopersGuide/Charts/ChartInWriter.java16
-rw-r--r--odk/examples/DevelopersGuide/Charts/Helper.java10
-rw-r--r--odk/examples/DevelopersGuide/Charts/JavaSampleChartAddIn.java2
-rw-r--r--odk/examples/DevelopersGuide/Charts/ListenAtCalcRangeInDraw.java6
-rw-r--r--odk/examples/DevelopersGuide/Charts/SelectionChangeListener.java6
-rw-r--r--odk/examples/DevelopersGuide/Components/Addons/JobsAddon/AsyncJob.java14
-rw-r--r--odk/examples/DevelopersGuide/Components/Addons/ProtocolHandlerAddon_cpp/component.cxx4
-rw-r--r--odk/examples/DevelopersGuide/Database/DriverSkeleton/SConnection.hxx6
-rw-r--r--odk/examples/DevelopersGuide/Database/DriverSkeleton/SDatabaseMetaData.hxx4
-rw-r--r--odk/examples/DevelopersGuide/Database/DriverSkeleton/SDriver.cxx8
-rw-r--r--odk/examples/DevelopersGuide/Database/DriverSkeleton/SPreparedStatement.hxx4
-rw-r--r--odk/examples/DevelopersGuide/Database/DriverSkeleton/SResultSetMetaData.hxx4
-rw-r--r--odk/examples/DevelopersGuide/Database/DriverSkeleton/SServices.cxx6
-rw-r--r--odk/examples/DevelopersGuide/Database/DriverSkeleton/SStatement.hxx4
-rw-r--r--odk/examples/DevelopersGuide/Database/DriverSkeleton/propertyids.cxx4
-rw-r--r--odk/examples/DevelopersGuide/Database/DriverSkeleton/propertyids.hxx8
-rw-r--r--odk/examples/DevelopersGuide/Database/sdbcx.java38
-rw-r--r--odk/examples/DevelopersGuide/Drawing/ShapeHelper.java2
-rw-r--r--odk/examples/DevelopersGuide/Forms/DataAwareness.java14
-rw-r--r--odk/examples/DevelopersGuide/Forms/DocumentBasedExample.java2
-rw-r--r--odk/examples/DevelopersGuide/Forms/HsqlDatabase.java6
-rw-r--r--odk/examples/DevelopersGuide/Forms/SalesFilter.java6
-rw-r--r--odk/examples/DevelopersGuide/Forms/SingleControlValidation.java4
-rw-r--r--odk/examples/DevelopersGuide/Forms/SpreadsheetValueBinding.java6
-rw-r--r--odk/examples/DevelopersGuide/GUI/UnoDialogSample.java2
-rw-r--r--odk/examples/DevelopersGuide/GUI/UnoMenu.java2
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/Clipboard/Clipboard.java20
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/Clipboard/ClipboardListener.java4
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/Clipboard/ClipboardOwner.java4
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/Clipboard/TextTransferable.java4
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/CustomizeView.java16
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/Desk.java2
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/DocumentView.java34
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/FunctionHelper.java28
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/IOnewayLink.java2
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/Interceptor.java40
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/JavaWindowPeerFake.java2
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/NativeView.java14
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/OfficeConnect.java14
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/OnewayExecutor.java12
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/StatusListener.java22
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/StatusView.java12
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/ViewContainer.java18
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/AsciiReplaceFilter.java20
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/FilterOptions.java8
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/FlatXmlFilterDetection/filterdetect.cxx2
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/FlatXmlFilter_java/FlatXml.java2
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/Linguistic/OneInstanceFactory.java12
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/Linguistic/PropChgHelper.java12
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/Linguistic/PropChgHelper_Hyph.java4
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/Linguistic/PropChgHelper_Spell.java4
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/Linguistic/SampleHyphenator.java24
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/Linguistic/SampleSpellChecker.java24
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/Linguistic/SampleThesaurus.java20
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/Number_Formats.java8
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/OfficeConnect.java12
-rw-r--r--odk/examples/DevelopersGuide/Spreadsheet/GeneralTableSample.java8
-rw-r--r--odk/examples/DevelopersGuide/Spreadsheet/SpreadsheetDocHelper.java12
-rw-r--r--odk/examples/DevelopersGuide/Spreadsheet/SpreadsheetSample.java30
-rw-r--r--odk/examples/DevelopersGuide/Spreadsheet/ViewSample.java10
-rw-r--r--odk/examples/DevelopersGuide/UCB/ChildrenRetriever.java4
-rw-r--r--odk/examples/DevelopersGuide/UCB/DataStreamRetriever.java4
-rw-r--r--odk/examples/DevelopersGuide/UCB/Helper.java8
-rw-r--r--odk/examples/DevelopersGuide/UCB/ResourceCreator.java8
-rw-r--r--odk/examples/DevelopersGuide/UCB/ResourceManager.java4
-rw-r--r--odk/examples/DevelopersGuide/UCB/ResourceRemover.java4
-rw-r--r--odk/examples/OLE/activex/SOActiveX.cpp6
-rw-r--r--odk/examples/OLE/activex/SOActiveX.h2
-rw-r--r--odk/examples/OLE/activex/SOComWindowPeer.cpp4
-rw-r--r--odk/examples/OLE/activex/SOComWindowPeer.h6
-rw-r--r--odk/examples/OLE/activex/resource.h4
-rw-r--r--odk/examples/OLE/activex/so_activex.cpp10
-rw-r--r--odk/examples/OLE/activex/so_activex.idl2
-rw-r--r--odk/examples/OLE/activex/so_activex.rc50
-rw-r--r--odk/examples/cpp/DocumentLoader/DocumentLoader.cxx2
-rw-r--r--odk/examples/cpp/counter/counter.cxx4
-rw-r--r--odk/examples/cpp/counter/countermain.cxx2
-rw-r--r--odk/examples/cpp/custompanel/ctp_factory.cxx8
-rw-r--r--odk/examples/cpp/custompanel/ctp_factory.hxx12
-rw-r--r--odk/examples/cpp/custompanel/ctp_panel.cxx20
-rw-r--r--odk/examples/cpp/custompanel/ctp_panel.hxx16
-rw-r--r--odk/examples/cpp/custompanel/ctp_services.cxx12
-rw-r--r--odk/examples/java/Drawing/SDraw.java12
-rw-r--r--odk/examples/java/EmbedDocument/EmbeddedObject/OwnEmbeddedObject.java92
-rw-r--r--odk/examples/java/Inspector/InspectorAddon.java2
-rw-r--r--odk/examples/java/Spreadsheet/EuroAdaption.java4
-rw-r--r--odk/examples/java/Spreadsheet/SCalc.java24
-rw-r--r--odk/examples/java/Storage/Test01.java4
-rw-r--r--odk/examples/java/Storage/Test02.java4
-rw-r--r--odk/examples/java/Storage/Test03.java4
-rw-r--r--odk/examples/java/Storage/Test04.java4
-rw-r--r--odk/examples/java/Storage/Test05.java4
-rw-r--r--odk/examples/java/Storage/Test07.java4
-rw-r--r--odk/examples/java/Storage/Test08.java4
-rw-r--r--odk/examples/java/Storage/Test09.java4
-rw-r--r--odk/examples/java/Text/BookmarkInsertion.java6
-rw-r--r--odk/examples/java/Text/HardFormatting.java6
-rw-r--r--odk/examples/java/Text/SWriter.java20
-rw-r--r--odk/examples/java/Text/StyleCreation.java6
-rw-r--r--odk/examples/java/Text/StyleInitialization.java4
-rw-r--r--odk/examples/java/Text/TextDocumentStructure.java4
-rw-r--r--odk/examples/java/Text/TextReplace.java4
109 files changed, 586 insertions, 586 deletions
diff --git a/odk/examples/CLI/CSharp/Spreadsheet/GeneralTableSample.cs b/odk/examples/CLI/CSharp/Spreadsheet/GeneralTableSample.cs
index 7a3c50e2289d..70942f737e64 100644
--- a/odk/examples/CLI/CSharp/Spreadsheet/GeneralTableSample.cs
+++ b/odk/examples/CLI/CSharp/Spreadsheet/GeneralTableSample.cs
@@ -42,13 +42,13 @@ public class GeneralTableSample : SpreadsheetDocHelper
}
}
-// ________________________________________________________________
+
public GeneralTableSample( String[] args ) : base( args )
{
}
-// ________________________________________________________________
+
/// This sample function modifies cells and cell ranges.
public void doSampleFunction()
diff --git a/odk/examples/CLI/CSharp/Spreadsheet/SpreadsheetDocHelper.cs b/odk/examples/CLI/CSharp/Spreadsheet/SpreadsheetDocHelper.cs
index 427189f12257..d8ddd6beb9cf 100644
--- a/odk/examples/CLI/CSharp/Spreadsheet/SpreadsheetDocHelper.cs
+++ b/odk/examples/CLI/CSharp/Spreadsheet/SpreadsheetDocHelper.cs
@@ -39,7 +39,7 @@ public class SpreadsheetDocHelper : System.IDisposable
private unoidl.com.sun.star.lang.XMultiServiceFactory mxMSFactory;
private unoidl.com.sun.star.sheet.XSpreadsheetDocument mxDocument;
-// ________________________________________________________________
+
public SpreadsheetDocHelper( String[] args )
{
@@ -103,7 +103,7 @@ public class SpreadsheetDocHelper : System.IDisposable
return xSheet;
}
-// ________________________________________________________________
+
// Methods to fill values into cells.
/** Writes a double value into a spreadsheet.
@@ -223,7 +223,7 @@ public class SpreadsheetDocHelper : System.IDisposable
new uno.Any( (Single) unoidl.com.sun.star.awt.FontWeight.BOLD ) );
}
-// ________________________________________________________________
+
// Methods to create cell addresses and range addresses.
/** Creates a unoidl.com.sun.star.table.CellAddress and initializes it
@@ -253,7 +253,7 @@ public class SpreadsheetDocHelper : System.IDisposable
return xAddr.getRangeAddress();
}
-// ________________________________________________________________
+
// Methods to convert cell addresses and range addresses to strings.
/** Returns the text address of the cell.
@@ -326,7 +326,7 @@ public class SpreadsheetDocHelper : System.IDisposable
return aStr;
}
-// ________________________________________________________________
+
/** Connect to a running office that is accepting connections.
@return The ServiceManager to instantiate office components. */
@@ -357,5 +357,5 @@ public class SpreadsheetDocHelper : System.IDisposable
return (unoidl.com.sun.star.sheet.XSpreadsheetDocument) xComponent;
}
-// ________________________________________________________________
+
}
diff --git a/odk/examples/CLI/CSharp/Spreadsheet/SpreadsheetSample.cs b/odk/examples/CLI/CSharp/Spreadsheet/SpreadsheetSample.cs
index 2a40a79b5dd2..1dd2f8a03c9c 100644
--- a/odk/examples/CLI/CSharp/Spreadsheet/SpreadsheetSample.cs
+++ b/odk/examples/CLI/CSharp/Spreadsheet/SpreadsheetSample.cs
@@ -62,7 +62,7 @@ public class SpreadsheetSample : SpreadsheetDocHelper
doApplicationSettingsSamples();
}
-// ________________________________________________________________
+
/** All samples regarding the service com.sun.star.sheet.SheetCell. */
private void doCellSamples()
@@ -172,7 +172,7 @@ public class SpreadsheetSample : SpreadsheetDocHelper
xAnnotation.setIsVisible( true );
}
-// ________________________________________________________________
+
/** All samples regarding the service com.sun.star.sheet.SheetCellRange. */
private void doCellRangeSamples()
@@ -498,7 +498,7 @@ public class SpreadsheetSample : SpreadsheetDocHelper
xSheet.getCellRangeByName( aRange );
}
-// ________________________________________________________________
+
/** All samples regarding cell range collections. */
private void doCellRangesSamples()
@@ -570,7 +570,7 @@ public class SpreadsheetSample : SpreadsheetDocHelper
+ " resulting list: " + xContainer.getRangeAddressesAsString() );
}
-// ________________________________________________________________
+
/** All samples regarding cell cursors. */
private void doCellCursorSamples()
@@ -606,7 +606,7 @@ public class SpreadsheetSample : SpreadsheetDocHelper
"The used area is: " + getCellRangeAddressString( xCursor, true ) );
}
-// ________________________________________________________________
+
/** All samples regarding the formatting of cells and ranges. */
private void doFormattingSamples()
@@ -792,7 +792,7 @@ public class SpreadsheetSample : SpreadsheetDocHelper
xEntries ) );
}
-// ________________________________________________________________
+
/** All samples regarding the spreadsheet document. */
private void doDocumentSamples()
@@ -986,7 +986,7 @@ public class SpreadsheetSample : SpreadsheetDocHelper
xScenario.apply();
}
-// ________________________________________________________________
+
private void doNamedRangesSamples()
{
@@ -1064,7 +1064,7 @@ public class SpreadsheetSample : SpreadsheetDocHelper
xSheet.getCellByPosition( 8, 49 ).setFormula( "=Apples+Oranges" );
}
-// ________________________________________________________________
+
/** Helper for doDatabaseSamples: get name of first database. */
private String getFirstDatabaseName()
@@ -1338,7 +1338,7 @@ public class SpreadsheetSample : SpreadsheetDocHelper
Console.WriteLine("can't get database");
}
-// ________________________________________________________________
+
private void doDataPilotSamples()
{
@@ -1419,7 +1419,7 @@ public class SpreadsheetSample : SpreadsheetDocHelper
unoidl.com.sun.star.sheet.GeneralFunction.AVERAGE ) );
}
-// ________________________________________________________________
+
private void doFunctionAccessSamples()
{
@@ -1469,7 +1469,7 @@ public class SpreadsheetSample : SpreadsheetDocHelper
Console.WriteLine();
}
-// ________________________________________________________________
+
private void doApplicationSettingsSamples()
{
@@ -1490,6 +1490,6 @@ public class SpreadsheetSample : SpreadsheetDocHelper
Console.WriteLine( aEntries[i] );
}
-// ________________________________________________________________
+
}
diff --git a/odk/examples/CLI/CSharp/Spreadsheet/ViewSample.cs b/odk/examples/CLI/CSharp/Spreadsheet/ViewSample.cs
index b2795e02f4d7..b5d0543c1e0c 100644
--- a/odk/examples/CLI/CSharp/Spreadsheet/ViewSample.cs
+++ b/odk/examples/CLI/CSharp/Spreadsheet/ViewSample.cs
@@ -42,14 +42,14 @@ public class ViewSample : SpreadsheetDocHelper
}
}
-// ________________________________________________________________
+
public ViewSample( String[] args )
: base( args )
{
}
-// ________________________________________________________________
+
/** This sample function performs all changes on the view. */
public void doSampleFunction()
@@ -135,7 +135,7 @@ public class ViewSample : SpreadsheetDocHelper
}
}
-// ________________________________________________________________
+
// listener to react on finished selection
@@ -177,6 +177,6 @@ public class ViewSample : SpreadsheetDocHelper
}
}
-// ________________________________________________________________
+
}
diff --git a/odk/examples/DevelopersGuide/Charts/CalcHelper.java b/odk/examples/DevelopersGuide/Charts/CalcHelper.java
index ade201ccd297..5d8a80061181 100644
--- a/odk/examples/DevelopersGuide/Charts/CalcHelper.java
+++ b/odk/examples/DevelopersGuide/Charts/CalcHelper.java
@@ -70,7 +70,7 @@ public class CalcHelper
initSpreadSheet();
}
- // ____________________
+
public XSpreadsheet getChartSheet() throws RuntimeException
{
@@ -93,7 +93,7 @@ public class CalcHelper
return aSheet;
}
- // ____________________
+
public XSpreadsheet getDataSheet() throws RuntimeException
{
@@ -119,7 +119,7 @@ public class CalcHelper
return aSheet;
}
- // ____________________
+
/** Insert a chart using the given name as name of the OLE object and the range as correspoding
range of data to be used for rendering. The chart is placed in the sheet for charts at
@@ -197,7 +197,7 @@ public class CalcHelper
return aResult;
}
- // ____________________
+
/** Fill a rectangular range with random numbers.
The first column has increasing values
@@ -263,7 +263,7 @@ public class CalcHelper
return aRange;
}
- // ____________________
+
public XCellRange insertFormulaRange( int nColumnCount, int nRowCount )
{
@@ -323,7 +323,7 @@ public class CalcHelper
return aRange;
}
- // ____________________
+
/** Bring the sheet containing charts visually to the foreground
*/
@@ -345,7 +345,7 @@ public class CalcHelper
private XSpreadsheetDocument maSpreadSheetDoc;
- // ____________________
+
/** create two sheets, one for data and one for charts in the document
*/
diff --git a/odk/examples/DevelopersGuide/Charts/ChartInCalc.java b/odk/examples/DevelopersGuide/Charts/ChartInCalc.java
index 62042b95b5b7..4192f866a6f2 100644
--- a/odk/examples/DevelopersGuide/Charts/ChartInCalc.java
+++ b/odk/examples/DevelopersGuide/Charts/ChartInCalc.java
@@ -70,7 +70,7 @@ import com.sun.star.util.MalformedNumberFormatException;
public class ChartInCalc
{
- // ____________________
+
public static void main( String args[] )
{
@@ -137,7 +137,7 @@ public class ChartInCalc
}
- // ________________________________________
+
public ChartInCalc( XChartDocument aChartDoc )
{
@@ -145,7 +145,7 @@ public class ChartInCalc
maDiagram = maChartDocument.getDiagram();
}
- // ____________________
+
public void lockControllers()
throws RuntimeException
@@ -153,7 +153,7 @@ public class ChartInCalc
UnoRuntime.queryInterface( XModel.class, maChartDocument ).lockControllers();
}
- // ____________________
+
public void unlockControllers()
throws RuntimeException
@@ -161,7 +161,7 @@ public class ChartInCalc
UnoRuntime.queryInterface( XModel.class, maChartDocument ).unlockControllers();
}
- // ____________________
+
public void testDiagram()
throws RuntimeException, UnknownPropertyException, PropertyVetoException,
@@ -180,7 +180,7 @@ public class ChartInCalc
}
}
- // ____________________
+
public void testDataRowProperties()
throws RuntimeException, UnknownPropertyException, PropertyVetoException,
@@ -225,7 +225,7 @@ public class ChartInCalc
}
}
- // ____________________
+
public void testDataPointProperties()
throws RuntimeException, UnknownPropertyException, PropertyVetoException,
@@ -271,7 +271,7 @@ public class ChartInCalc
}
}
- // ____________________
+
public void testArea()
throws RuntimeException, UnknownPropertyException, PropertyVetoException,
@@ -287,7 +287,7 @@ public class ChartInCalc
}
}
- // ____________________
+
public void testWall()
throws RuntimeException, UnknownPropertyException, PropertyVetoException,
@@ -301,7 +301,7 @@ public class ChartInCalc
aWall.setPropertyValue( "FillColor", new Integer( 0xcccccc ));
}
- // ____________________
+
public void testTitle()
throws RuntimeException, UnknownPropertyException, PropertyVetoException,
@@ -336,7 +336,7 @@ public class ChartInCalc
}
}
- // ____________________
+
public void testAxis()
throws RuntimeException, UnknownPropertyException, PropertyVetoException,
@@ -376,7 +376,7 @@ public class ChartInCalc
}
}
- // ____________________
+
public void testGrid()
throws RuntimeException, UnknownPropertyException, PropertyVetoException,
@@ -406,10 +406,10 @@ public class ChartInCalc
}
- // ______________________________
- //
+
+
// private members
- // ______________________________
+
private XChartDocument maChartDocument;
private XDiagram maDiagram;
diff --git a/odk/examples/DevelopersGuide/Charts/ChartInDraw.java b/odk/examples/DevelopersGuide/Charts/ChartInDraw.java
index f7fbb2cff263..ae1bd973f8be 100644
--- a/odk/examples/DevelopersGuide/Charts/ChartInDraw.java
+++ b/odk/examples/DevelopersGuide/Charts/ChartInDraw.java
@@ -60,7 +60,7 @@ import com.sun.star.beans.UnknownPropertyException;
public class ChartInDraw
{
- // ____________________
+
public static void main( String args[] )
{
@@ -108,7 +108,7 @@ public class ChartInDraw
}
- // ________________________________________
+
public ChartInDraw( XChartDocument aChartDoc )
{
@@ -116,7 +116,7 @@ public class ChartInDraw
maDiagram = maChartDocument.getDiagram();
}
- // ____________________
+
public void lockControllers()
throws RuntimeException
@@ -124,7 +124,7 @@ public class ChartInDraw
UnoRuntime.queryInterface( XModel.class, maChartDocument ).lockControllers();
}
- // ____________________
+
public void unlockControllers()
throws RuntimeException
@@ -132,7 +132,7 @@ public class ChartInDraw
UnoRuntime.queryInterface( XModel.class, maChartDocument ).unlockControllers();
}
- // ____________________
+
public void testArea()
throws RuntimeException, UnknownPropertyException, PropertyVetoException,
@@ -148,7 +148,7 @@ public class ChartInDraw
}
}
- // ____________________
+
public void testWall()
throws RuntimeException, UnknownPropertyException, PropertyVetoException,
@@ -162,7 +162,7 @@ public class ChartInDraw
aWall.setPropertyValue( "FillStyle", FillStyle.SOLID );
}
- // ____________________
+
public void testTitle()
throws RuntimeException, UnknownPropertyException, PropertyVetoException,
@@ -183,7 +183,7 @@ public class ChartInDraw
}
}
- // ____________________
+
public void testLegend()
throws RuntimeException, UnknownPropertyException, PropertyVetoException,
@@ -197,7 +197,7 @@ public class ChartInDraw
aLegendProp.setPropertyValue( "FillColor", new Integer( 0xeeddee ));
}
- // ____________________
+
public void testThreeD()
throws RuntimeException, UnknownPropertyException, PropertyVetoException,
@@ -283,10 +283,10 @@ public class ChartInDraw
aDiaProp.setPropertyValue( "D3DSceneLightOn1", new Boolean( true ));
}
- // ______________________________
- //
+
+
// private members
- // ______________________________
+
private XChartDocument maChartDocument;
private XDiagram maDiagram;
diff --git a/odk/examples/DevelopersGuide/Charts/ChartInWriter.java b/odk/examples/DevelopersGuide/Charts/ChartInWriter.java
index 6506cb92f32e..34678a1eccad 100644
--- a/odk/examples/DevelopersGuide/Charts/ChartInWriter.java
+++ b/odk/examples/DevelopersGuide/Charts/ChartInWriter.java
@@ -66,7 +66,7 @@ import com.sun.star.beans.UnknownPropertyException;
*/
public class ChartInWriter
{
- // ____________________
+
public static void main( String args[] )
{
@@ -113,7 +113,7 @@ public class ChartInWriter
}
- // ________________________________________
+
public ChartInWriter( XChartDocument aChartDoc )
{
@@ -121,7 +121,7 @@ public class ChartInWriter
maDiagram = maChartDocument.getDiagram();
}
- // ____________________
+
public void lockControllers()
throws RuntimeException
@@ -129,7 +129,7 @@ public class ChartInWriter
UnoRuntime.queryInterface( XModel.class, maChartDocument ).lockControllers();
}
- // ____________________
+
public void unlockControllers()
throws RuntimeException
@@ -137,7 +137,7 @@ public class ChartInWriter
UnoRuntime.queryInterface( XModel.class, maChartDocument ).unlockControllers();
}
- // ____________________
+
public void testWall()
throws RuntimeException, UnknownPropertyException, PropertyVetoException,
@@ -151,10 +151,10 @@ public class ChartInWriter
aWall.setPropertyValue( "FillStyle", FillStyle.SOLID );
}
- // ______________________________
- //
+
+
// private members
- // ______________________________
+
private XChartDocument maChartDocument;
private XDiagram maDiagram;
diff --git a/odk/examples/DevelopersGuide/Charts/Helper.java b/odk/examples/DevelopersGuide/Charts/Helper.java
index 92ba8c476474..580d5adc4fa4 100644
--- a/odk/examples/DevelopersGuide/Charts/Helper.java
+++ b/odk/examples/DevelopersGuide/Charts/Helper.java
@@ -71,7 +71,7 @@ public class Helper
}
}
- // ____________________
+
public XSpreadsheetDocument createSpreadsheetDocument()
{
@@ -79,28 +79,28 @@ public class Helper
XSpreadsheetDocument.class, createDocument( "scalc" ));
}
- // ____________________
+
public XModel createPresentationDocument()
{
return createDocument( "simpress" );
}
- // ____________________
+
public XModel createDrawingDocument()
{
return createDocument( "sdraw" );
}
- // ____________________
+
public XModel createTextDocument()
{
return createDocument( "swriter" );
}
- // ____________________
+
public XModel createDocument( String sDocType )
{
diff --git a/odk/examples/DevelopersGuide/Charts/JavaSampleChartAddIn.java b/odk/examples/DevelopersGuide/Charts/JavaSampleChartAddIn.java
index a70481e1631b..c71496547374 100644
--- a/odk/examples/DevelopersGuide/Charts/JavaSampleChartAddIn.java
+++ b/odk/examples/DevelopersGuide/Charts/JavaSampleChartAddIn.java
@@ -208,7 +208,7 @@ public class JavaSampleChartAddIn extends WeakBase implements
}
// position lines
- // --------------
+
// get data
XChartDataArray aDataArray = UnoRuntime.queryInterface(
diff --git a/odk/examples/DevelopersGuide/Charts/ListenAtCalcRangeInDraw.java b/odk/examples/DevelopersGuide/Charts/ListenAtCalcRangeInDraw.java
index 266f07a9c728..c1227b2d2721 100644
--- a/odk/examples/DevelopersGuide/Charts/ListenAtCalcRangeInDraw.java
+++ b/odk/examples/DevelopersGuide/Charts/ListenAtCalcRangeInDraw.java
@@ -99,7 +99,7 @@ public class ListenAtCalcRangeInDraw implements XChartDataChangeEventListener
maChartDocument.attachData( maChartData );
}
- // ____________________
+
public void run()
{
@@ -131,7 +131,7 @@ public class ListenAtCalcRangeInDraw implements XChartDataChangeEventListener
chartDataChanged( aEvent );
}
- // ____________________
+
// XEventListener (base of XChartDataChangeEventListener)
public void disposing( EventObject aSourceObj )
@@ -154,7 +154,7 @@ public class ListenAtCalcRangeInDraw implements XChartDataChangeEventListener
System.exit( 0 );
}
- // ____________________
+
// XChartDataChangeEventListener
public void chartDataChanged( ChartDataChangeEvent aEvent )
diff --git a/odk/examples/DevelopersGuide/Charts/SelectionChangeListener.java b/odk/examples/DevelopersGuide/Charts/SelectionChangeListener.java
index d544d03abdf3..98f2dbb2abd7 100644
--- a/odk/examples/DevelopersGuide/Charts/SelectionChangeListener.java
+++ b/odk/examples/DevelopersGuide/Charts/SelectionChangeListener.java
@@ -107,7 +107,7 @@ public class SelectionChangeListener implements XSelectionChangeListener {
"com.sun.star.chart.XYDiagram" );
}
- // ____________________
+
public void run() {
boolean bTrying = true;
@@ -138,7 +138,7 @@ public class SelectionChangeListener implements XSelectionChangeListener {
}
}
- // ____________________
+
// XEventListener (base of XSelectionChangeListener)
public void disposing( EventObject aSourceObj ) {
@@ -159,7 +159,7 @@ public class SelectionChangeListener implements XSelectionChangeListener {
System.exit( 0 );
}
- // ____________________
+
// XSelectionChangeListener
public void selectionChanged( EventObject aEvent ) {
diff --git a/odk/examples/DevelopersGuide/Components/Addons/JobsAddon/AsyncJob.java b/odk/examples/DevelopersGuide/Components/Addons/JobsAddon/AsyncJob.java
index d0ffaafebaa7..1070ffcb0c78 100644
--- a/odk/examples/DevelopersGuide/Components/Addons/JobsAddon/AsyncJob.java
+++ b/odk/examples/DevelopersGuide/Components/Addons/JobsAddon/AsyncJob.java
@@ -60,7 +60,7 @@ public class AsyncJob extends WeakBase implements XServiceInfo, XAsyncJob
*/
public static final java.lang.String IMPLEMENTATIONNAME = "com.sun.star.comp.framework.java.services.AsyncJob";
- //___________________________________________
+
// interface
/** initialize a new instance of this class with default values. */
@@ -69,7 +69,7 @@ public class AsyncJob extends WeakBase implements XServiceInfo, XAsyncJob
m_xCmpCtx = xCompContext;
}
- //___________________________________________
+
/** starts execution of this job.
*
@@ -222,7 +222,7 @@ public class AsyncJob extends WeakBase implements XServiceInfo, XAsyncJob
xListener.jobFinished(this, lReturn);
}
- //___________________________________________
+
/** show an info box with the UNO based toolkit.
*
@@ -292,7 +292,7 @@ public class AsyncJob extends WeakBase implements XServiceInfo, XAsyncJob
}
}
- //___________________________________________
+
private void showInfoNonModal( java.lang.String sTitle ,
java.lang.String sMessage )
@@ -319,7 +319,7 @@ public class AsyncJob extends WeakBase implements XServiceInfo, XAsyncJob
}.start();
}
- //___________________________________________
+
/** helper to print out the given argument list.
*
@@ -407,7 +407,7 @@ public class AsyncJob extends WeakBase implements XServiceInfo, XAsyncJob
}
- //___________________________________________
+
public synchronized static com.sun.star.lang.XSingleComponentFactory __getComponentFactory(java.lang.String sImplName)
{
@@ -418,7 +418,7 @@ public class AsyncJob extends WeakBase implements XServiceInfo, XAsyncJob
return xFactory;
}
- //___________________________________________
+
// This method not longer necessary since OOo 3.4 where the component registration
// was changed to passive component registration. For more details see
// http://wiki.openoffice.org/wiki/Passive_Component_Registration
diff --git a/odk/examples/DevelopersGuide/Components/Addons/ProtocolHandlerAddon_cpp/component.cxx b/odk/examples/DevelopersGuide/Components/Addons/ProtocolHandlerAddon_cpp/component.cxx
index 5456af87ee22..6233fb7c2913 100644
--- a/odk/examples/DevelopersGuide/Components/Addons/ProtocolHandlerAddon_cpp/component.cxx
+++ b/odk/examples/DevelopersGuide/Components/Addons/ProtocolHandlerAddon_cpp/component.cxx
@@ -53,9 +53,9 @@ using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::lang;
using namespace ::com::sun::star::registry;
-//##################################################################################################
+
//#### EXPORTED ####################################################################################
-//##################################################################################################
+
/**
* This function is called to get service factories for an implementation.
diff --git a/odk/examples/DevelopersGuide/Database/DriverSkeleton/SConnection.hxx b/odk/examples/DevelopersGuide/Database/DriverSkeleton/SConnection.hxx
index 8072094d7346..9aa70405ee60 100644
--- a/odk/examples/DevelopersGuide/Database/DriverSkeleton/SConnection.hxx
+++ b/odk/examples/DevelopersGuide/Database/DriverSkeleton/SConnection.hxx
@@ -77,9 +77,9 @@ namespace connectivity
protected:
rtl_TextEncoding m_nTextEncoding; // the encoding which is used for all text conversions
- //====================================================================
+
// Data attributes
- //====================================================================
+
TTypeInfoVector m_aTypeInfo; // vector containing an entry
// for each row returned by
// DatabaseMetaData.getTypeInfo.
@@ -142,7 +142,7 @@ namespace connectivity
// XWarningsSupplier
virtual ::com::sun::star::uno::Any SAL_CALL getWarnings( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
virtual void SAL_CALL clearWarnings( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
- //
+
// should we use the catalog on filebased databases
inline sal_Bool isCatalogUsed() const { return m_bUseCatalog; }
diff --git a/odk/examples/DevelopersGuide/Database/DriverSkeleton/SDatabaseMetaData.hxx b/odk/examples/DevelopersGuide/Database/DriverSkeleton/SDatabaseMetaData.hxx
index bdd3ac439796..f7d294871700 100644
--- a/odk/examples/DevelopersGuide/Database/DriverSkeleton/SDatabaseMetaData.hxx
+++ b/odk/examples/DevelopersGuide/Database/DriverSkeleton/SDatabaseMetaData.hxx
@@ -44,9 +44,9 @@ namespace connectivity
{
namespace skeleton
{
- //**************************************************************
+
//************ Class: ODatabaseMetaData
- //**************************************************************
+
typedef ::cppu::WeakImplHelper1< ::com::sun::star::sdbc::XDatabaseMetaData> ODatabaseMetaData_BASE;
diff --git a/odk/examples/DevelopersGuide/Database/DriverSkeleton/SDriver.cxx b/odk/examples/DevelopersGuide/Database/DriverSkeleton/SDriver.cxx
index 4134c83aff47..8cf29445361b 100644
--- a/odk/examples/DevelopersGuide/Database/DriverSkeleton/SDriver.cxx
+++ b/odk/examples/DevelopersGuide/Database/DriverSkeleton/SDriver.cxx
@@ -144,12 +144,12 @@ sal_Int32 SAL_CALL SkeletonDriver::getMinorVersion( ) throw(RuntimeException)
}
-//.........................................................................
+
namespace connectivity
{
namespace skeleton
{
-//.........................................................................
+
void release(oslInterlockedCount& _refCount,
::cppu::OBroadcastHelper& rBHelper,
@@ -194,9 +194,9 @@ void checkDisposed(sal_Bool _bThrow) throw ( DisposedException )
throw DisposedException();
}
-//.........................................................................
+
}
}
-//.........................................................................
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/odk/examples/DevelopersGuide/Database/DriverSkeleton/SPreparedStatement.hxx b/odk/examples/DevelopersGuide/Database/DriverSkeleton/SPreparedStatement.hxx
index 315d781d40fb..0914e5c5f76d 100644
--- a/odk/examples/DevelopersGuide/Database/DriverSkeleton/SPreparedStatement.hxx
+++ b/odk/examples/DevelopersGuide/Database/DriverSkeleton/SPreparedStatement.hxx
@@ -71,9 +71,9 @@ namespace connectivity
};
::std::vector< Parameter> m_aParameters;
- //====================================================================
+
// Data attributes
- //====================================================================
+
TTypeInfoVector m_aTypeInfo; // Hashtable containing an entry
// for each row returned by
// DatabaseMetaData.getTypeInfo.
diff --git a/odk/examples/DevelopersGuide/Database/DriverSkeleton/SResultSetMetaData.hxx b/odk/examples/DevelopersGuide/Database/DriverSkeleton/SResultSetMetaData.hxx
index 7ce5fd56fa14..1c78c6e032cb 100644
--- a/odk/examples/DevelopersGuide/Database/DriverSkeleton/SResultSetMetaData.hxx
+++ b/odk/examples/DevelopersGuide/Database/DriverSkeleton/SResultSetMetaData.hxx
@@ -44,9 +44,9 @@ namespace connectivity
{
namespace skeleton
{
- //**************************************************************
+
//************ Class: ResultSetMetaData
- //**************************************************************
+
typedef ::cppu::WeakImplHelper1< ::com::sun::star::sdbc::XResultSetMetaData> OResultSetMetaData_BASE;
class OResultSetMetaData : public OResultSetMetaData_BASE
diff --git a/odk/examples/DevelopersGuide/Database/DriverSkeleton/SServices.cxx b/odk/examples/DevelopersGuide/Database/DriverSkeleton/SServices.cxx
index 83c3870bae5f..b3ccf08216bd 100644
--- a/odk/examples/DevelopersGuide/Database/DriverSkeleton/SServices.cxx
+++ b/odk/examples/DevelopersGuide/Database/DriverSkeleton/SServices.cxx
@@ -56,11 +56,11 @@ typedef Reference< XSingleServiceFactory > (SAL_CALL *createFactoryFunc)
rtl_ModuleCount*
);
-//***************************************************************************************
-//
+
+
// The required C-Api must be provided!
// It contains of 3 special functions that have to be exported.
-//
+
void REGISTER_PROVIDER(
diff --git a/odk/examples/DevelopersGuide/Database/DriverSkeleton/SStatement.hxx b/odk/examples/DevelopersGuide/Database/DriverSkeleton/SStatement.hxx
index 942d43fef216..1e3d06c82358 100644
--- a/odk/examples/DevelopersGuide/Database/DriverSkeleton/SStatement.hxx
+++ b/odk/examples/DevelopersGuide/Database/DriverSkeleton/SStatement.hxx
@@ -60,10 +60,10 @@ namespace connectivity
::com::sun::star::sdbc::XCloseable,
::com::sun::star::sdbc::XMultipleResults> OStatement_BASE;
- //**************************************************************
+
//************ Class: OStatement_Base
// is a base class for the normal statement and for the prepared statement
- //**************************************************************
+
class OStatement_Base : public OBase_Mutex,
public OStatement_BASE,
public ::cppu::OPropertySetHelper,
diff --git a/odk/examples/DevelopersGuide/Database/DriverSkeleton/propertyids.cxx b/odk/examples/DevelopersGuide/Database/DriverSkeleton/propertyids.cxx
index 9b69be270c2e..e71ed7924474 100644
--- a/odk/examples/DevelopersGuide/Database/DriverSkeleton/propertyids.cxx
+++ b/odk/examples/DevelopersGuide/Database/DriverSkeleton/propertyids.cxx
@@ -90,9 +90,9 @@ namespace skeleton
const sal_Char* getPROPERTY_AUTOINCREMENTCREATION() { return "AutoIncrementCreation"; }
const sal_Char* getPROPERTY_PRIVILEGES() { return "Privileges"; }
- //============================================================
+
//= error messages
- //============================================================
+
const sal_Char* getERRORMSG_SEQUENCE() { return "Function sequence error"; }
const sal_Char* getSQLSTATE_SEQUENCE() { return "HY010"; }
const sal_Char* getSQLSTATE_GENERAL() { return "HY0000"; }
diff --git a/odk/examples/DevelopersGuide/Database/DriverSkeleton/propertyids.hxx b/odk/examples/DevelopersGuide/Database/DriverSkeleton/propertyids.hxx
index 95b9275954c9..71c2b35dffec 100644
--- a/odk/examples/DevelopersGuide/Database/DriverSkeleton/propertyids.hxx
+++ b/odk/examples/DevelopersGuide/Database/DriverSkeleton/propertyids.hxx
@@ -83,16 +83,16 @@ namespace skeleton
}
-//------------------------------------------------------------------------------
+
#define DECL_PROP1IMPL(varname, type) \
pProperties[nPos++] = ::com::sun::star::beans::Property(OPropertyMap::getPropMap().getNameByIndex(PROPERTY_ID_##varname), PROPERTY_ID_##varname, ::cppu::UnoType< type >::get(),
-//------------------------------------------------------------------------------
+
#define DECL_PROP0(varname, type) \
DECL_PROP1IMPL(varname, type) 0)
-//------------------------------------------------------------------------------
+
#define DECL_BOOL_PROP1IMPL(varname) \
pProperties[nPos++] = ::com::sun::star::beans::Property(OPropertyMap::getPropMap().getNameByIndex(PROPERTY_ID_##varname), PROPERTY_ID_##varname, ::getBooleanCppuType(),
-//------------------------------------------------------------------------------
+
#define DECL_BOOL_PROP0(varname) \
DECL_BOOL_PROP1IMPL(varname) 0)
diff --git a/odk/examples/DevelopersGuide/Database/sdbcx.java b/odk/examples/DevelopersGuide/Database/sdbcx.java
index 696857b0344e..32c434273a38 100644
--- a/odk/examples/DevelopersGuide/Database/sdbcx.java
+++ b/odk/examples/DevelopersGuide/Database/sdbcx.java
@@ -123,7 +123,7 @@ public class sdbcx
new com.sun.star.beans.PropertyValue("user",0,"test1",com.sun.star.beans.PropertyState.DIRECT_VALUE),
new com.sun.star.beans.PropertyValue("password",0,"test1",com.sun.star.beans.PropertyState.DIRECT_VALUE)
};
- //
+
// now create a connection to adabas
con = xDriver.connect(adabasURL,adabasProps);
@@ -172,10 +172,10 @@ public class sdbcx
}
}
- //###########################################################
+
// 15. example
// print all columns of a XColumnsSupplier
- //###########################################################
+
public static void printColumns(XColumnsSupplier xColumnsSup) throws com.sun.star.uno.Exception,SQLException
{
System.out.println("Example printColumns");
@@ -186,10 +186,10 @@ public class sdbcx
for ( int i =0; i<= aColumnNames.length-1; i++)
System.out.println(" " + aColumnNames[i]);
}
- //###########################################################
+
// 16. example
// print all keys inclusive the columns of a key
- //###########################################################
+
public static void printKeys(XColumnsSupplier xColumnsSup) throws com.sun.star.uno.Exception,SQLException
{
System.out.println("Example printKeys");
@@ -208,10 +208,10 @@ public class sdbcx
}
}
}
- //###########################################################
+
// 17. example
// print all keys inclusive the columns of a key
- //###########################################################
+
public static void printIndexes(XColumnsSupplier xColumnsSup) throws com.sun.star.uno.Exception,SQLException
{
System.out.println("Example printIndexes");
@@ -231,10 +231,10 @@ public class sdbcx
}
}
- //###########################################################
+
// 18. example
// column properties
- //###########################################################
+
public static void printColumnProperties(Object column) throws com.sun.star.uno.Exception,SQLException
{
System.out.println("Example printColumnProperties");
@@ -256,10 +256,10 @@ public class sdbcx
System.out.println("DefaultValue: " + xProp.getPropertyValue("DefaultValue"));
}
- //###########################################################
+
// 19. example
// index properties
- //###########################################################
+
public static void printIndexProperties(Object index) throws com.sun.star.uno.Exception,SQLException
{
System.out.println("Example printIndexProperties");
@@ -271,10 +271,10 @@ public class sdbcx
System.out.println("IsClustered: " + xProp.getPropertyValue("IsClustered"));
}
- //###########################################################
+
// 20. example
// key properties
- //###########################################################
+
public static void printKeyProperties(Object key) throws com.sun.star.uno.Exception,SQLException
{
System.out.println("Example printKeyProperties");
@@ -286,10 +286,10 @@ public class sdbcx
System.out.println("DeleteRule: " + xProp.getPropertyValue("DeleteRule"));
}
- //###########################################################
+
// 21. example
// print all groups and the users with their privileges who belong to this group
- //###########################################################
+
public static void printGroups(XTablesSupplier xTabSup) throws com.sun.star.uno.Exception,SQLException
{
System.out.println("Example printGroups");
@@ -320,10 +320,10 @@ public class sdbcx
}
}
- //###########################################################
+
// 22. example
// create the table salesmen
- //###########################################################
+
public static void createTableSalesMen(XNameAccess xTables) throws com.sun.star.uno.Exception,SQLException
{
System.out.println("Example createTableSalesMen");
@@ -395,10 +395,10 @@ public class sdbcx
}
}
- //###########################################################
+
// 23. example
// create a user
- //###########################################################
+
public static void createUser(XNameAccess xUsers) throws com.sun.star.uno.Exception,SQLException
{
System.out.println("Example createUser");
diff --git a/odk/examples/DevelopersGuide/Drawing/ShapeHelper.java b/odk/examples/DevelopersGuide/Drawing/ShapeHelper.java
index 6f1d4aff680c..a16bb2e9e798 100644
--- a/odk/examples/DevelopersGuide/Drawing/ShapeHelper.java
+++ b/odk/examples/DevelopersGuide/Drawing/ShapeHelper.java
@@ -59,7 +59,7 @@ import com.sun.star.text.XTextRange;
public class ShapeHelper
{
// __________ static helper methods __________
- //
+
public static XPropertySet createAndInsertShape( XComponent xDrawDoc,
XShapes xShapes, Point aPos, Size aSize, String sShapeType )
throws java.lang.Exception
diff --git a/odk/examples/DevelopersGuide/Forms/DataAwareness.java b/odk/examples/DevelopersGuide/Forms/DataAwareness.java
index 70323e25a373..b11098698700 100644
--- a/odk/examples/DevelopersGuide/Forms/DataAwareness.java
+++ b/odk/examples/DevelopersGuide/Forms/DataAwareness.java
@@ -690,7 +690,7 @@ public class DataAwareness extends DocumentBasedExample implements XPropertyChan
// ensure that we have the tables needed for our example
ensureTables();
- // --------------------------------------------------------------
+
/* create some shapes */
XPropertySet xSNRField = m_formLayer.insertControlLine( "NumericField", "SNR", "", 3 );
m_formLayer.insertControlLine( "TextField", "FIRSTNAME", "", 11);
@@ -704,7 +704,7 @@ public class DataAwareness extends DocumentBasedExample implements XPropertyChan
xSNRField.setPropertyValue( "DecimalAccuracy", new Short( (short)0 ) );
xZipField.setPropertyValue( "DecimalAccuracy", new Short( (short)0 ) );
- // --------------------------------------------------------------
+
/** need the form the control models belong to
for this, we simply obtain the parent for any of the control models we have
@@ -720,7 +720,7 @@ public class DataAwareness extends DocumentBasedExample implements XPropertyChan
m_xMasterForm.setPropertyValue( "CommandType", new Integer( CommandType.TABLE ) );
m_xMasterForm.setPropertyValue( "Command", "SALESMEN" );
- // --------------------------------------------------------------
+
// insert the buttons
// create our button operator, if necessary
m_aOperator = new ButtonOperator( m_xCtx, m_document, m_xMasterForm );
@@ -732,7 +732,7 @@ public class DataAwareness extends DocumentBasedExample implements XPropertyChan
createButton( 42, 63, 8, "new", ">*", FormFeature.MoveToInsertRow );
createButton( 58, 63, 13, "reload", "reload", FormFeature.ReloadForm );
- // --------------------------------------------------------------
+
// create a sub for for the sales
// for this, first create a sub form and bind it to the SALES table
@@ -786,7 +786,7 @@ public class DataAwareness extends DocumentBasedExample implements XPropertyChan
xFormReset.addResetListener( this );
- // --------------------------------------------------------------
+
// the option for filtering the sales form
XIndexContainer xSalesFilterForm = m_document.createSiblingForm( xSalesForm, "SalesFilter" );
XPropertySet xSFFProps = UNO.queryPropertySet( xSalesFilterForm );
@@ -806,7 +806,7 @@ public class DataAwareness extends DocumentBasedExample implements XPropertyChan
xManualFilter, xApplyFilter );
- // --------------------------------------------------------------
+
// the options section
// for this, we need a form which is a sibling of our master form (don't want to interfere
// the controls which represent options only with the controls which are used for data access)
@@ -858,7 +858,7 @@ public class DataAwareness extends DocumentBasedExample implements XPropertyChan
// initally, we want to generate keys when moving to a new record
xKeyGen.setPropertyValue( "DefaultState", new Short( (short)1 ) );
- // --------------------------------------------------------------
+
// second options block
xLabel = m_formLayer.createControlAndShape( "GroupBox", 103, 33, 56, 25, xOptionsForm );
xLabel.setPropertyValue( "Name", "Misc" );
diff --git a/odk/examples/DevelopersGuide/Forms/DocumentBasedExample.java b/odk/examples/DevelopersGuide/Forms/DocumentBasedExample.java
index 456e4125c9d2..04a4dbc26199 100644
--- a/odk/examples/DevelopersGuide/Forms/DocumentBasedExample.java
+++ b/odk/examples/DevelopersGuide/Forms/DocumentBasedExample.java
@@ -87,7 +87,7 @@ public abstract class DocumentBasedExample implements com.sun.star.lang.XEventLi
// grab the focus to the first control
m_document.getCurrentView().grabControlFocus();
- // ----------------------------------------------
+
// wait for the user to confirm that we can exit
if ( waitForUserInput() )
{
diff --git a/odk/examples/DevelopersGuide/Forms/HsqlDatabase.java b/odk/examples/DevelopersGuide/Forms/HsqlDatabase.java
index d56501ad9f19..0a4e46e48e3b 100644
--- a/odk/examples/DevelopersGuide/Forms/HsqlDatabase.java
+++ b/odk/examples/DevelopersGuide/Forms/HsqlDatabase.java
@@ -46,21 +46,21 @@ public class HsqlDatabase
// the default connection
XConnection m_connection;
- // --------------------------------------------------------------------------------------------------------
+
public HsqlDatabase( XComponentContext _context ) throws Exception
{
m_context = _context;
createDBDocument();
}
- // --------------------------------------------------------------------------------------------------------
+
public HsqlDatabase( XComponentContext _context, String _existingDocumentURL ) throws Exception
{
m_context = _context;
createDBDocument( _existingDocumentURL );
}
- // --------------------------------------------------------------------------------------------------------
+
private void createDBDocument( String _docURL ) throws Exception
{
m_databaseDocumentFile = _docURL;
diff --git a/odk/examples/DevelopersGuide/Forms/SalesFilter.java b/odk/examples/DevelopersGuide/Forms/SalesFilter.java
index 932cf5c93981..59d979f19e4f 100644
--- a/odk/examples/DevelopersGuide/Forms/SalesFilter.java
+++ b/odk/examples/DevelopersGuide/Forms/SalesFilter.java
@@ -70,7 +70,7 @@ class SalesFilter implements XActionListener, XPropertyChangeListener, XResetLis
m_nPreviousFilterIndex = -1;
initFilterDates();
- // -------------------------------------------------------------
+
// remember the components
m_aDocument = aDocument;
m_xSalesForm = xSalesForm;
@@ -81,7 +81,7 @@ class SalesFilter implements XActionListener, XPropertyChangeListener, XResetLis
try
{
- // ----------------------------------------------------------
+
// init control models
m_xFilterList.setPropertyValue( "Dropdown", new Boolean( true ) );
m_xFilterList.setPropertyValue( "LineCount", new Short( (short)11 ) );
@@ -93,7 +93,7 @@ class SalesFilter implements XActionListener, XPropertyChangeListener, XResetLis
updateFilterControl();
updateApplyButton();
- // ----------------------------------------------------------
+
// add as listener to the events which require action
// want to know about changed selection
diff --git a/odk/examples/DevelopersGuide/Forms/SingleControlValidation.java b/odk/examples/DevelopersGuide/Forms/SingleControlValidation.java
index c54283470963..4cf81b5a53b7 100644
--- a/odk/examples/DevelopersGuide/Forms/SingleControlValidation.java
+++ b/odk/examples/DevelopersGuide/Forms/SingleControlValidation.java
@@ -102,7 +102,7 @@ public class SingleControlValidation implements XFormComponentValidityListener
}
m_inputField = controls[ 0 ];
- // ----------------------------------
+
controlPos += 4;
XPropertySet xLabel = m_formLayer.createControlAndShape( "FixedText", columnPos, controlPos, 70, 4, null );
xLabel.setPropertyValue( "Label", new String( "Status:" ) );
@@ -110,7 +110,7 @@ public class SingleControlValidation implements XFormComponentValidityListener
m_statusField = m_formLayer.createControlAndShape( "FixedText", columnPos, controlPos, 70, 4, null );
m_statusField.setPropertyValue( "Label", new String( "" ) );
- // ----------------------------------
+
controlPos += 6;
xLabel = m_formLayer.createControlAndShape( "FixedText", columnPos, controlPos, 70, 4, null );
xLabel.setPropertyValue( "Label", new String( "Explanation for invalidity:" ) );
diff --git a/odk/examples/DevelopersGuide/Forms/SpreadsheetValueBinding.java b/odk/examples/DevelopersGuide/Forms/SpreadsheetValueBinding.java
index 09233addc5dd..e3555b308a0c 100644
--- a/odk/examples/DevelopersGuide/Forms/SpreadsheetValueBinding.java
+++ b/odk/examples/DevelopersGuide/Forms/SpreadsheetValueBinding.java
@@ -46,7 +46,7 @@ public class SpreadsheetValueBinding extends DocumentBasedExample
final short exchangeRow = (short)1; // 2
final Integer backColor = new Integer( 0x00E0E0E0 );
- // ----------------------------------------------------------------------
+
// a numeric control
XPropertySet numericControl = m_formLayer.insertControlLine( "NumericField",
"enter a value", "", 30 );
@@ -59,7 +59,7 @@ public class SpreadsheetValueBinding extends DocumentBasedExample
// bind the control model to cell B2
implBind( numericControl, document.createCellBinding( sheet, exchangeColumn, exchangeRow ) );
- // ----------------------------------------------------------------------
+
// insert a list box
XPropertySet listBox = m_formLayer.insertControlLine( "ListBox",
"select an entry", "", 2, 40, 20 );
@@ -81,7 +81,7 @@ public class SpreadsheetValueBinding extends DocumentBasedExample
// and also put the list selection index into cell B2
implBind( listBox, document.createListIndexBinding( sheet, exchangeColumn, exchangeRow ) );
- // ----------------------------------------------------------------------
+
// fill the cells which we just bound the listbox to
XCellRange exchangeSheet = document.getSheet( listSourceSheet );
String[] listContent = new String[] { "first", "second", "third", "forth", "fivth" };
diff --git a/odk/examples/DevelopersGuide/GUI/UnoDialogSample.java b/odk/examples/DevelopersGuide/GUI/UnoDialogSample.java
index 60eb85475dd5..aef248ba5c89 100644
--- a/odk/examples/DevelopersGuide/GUI/UnoDialogSample.java
+++ b/odk/examples/DevelopersGuide/GUI/UnoDialogSample.java
@@ -1296,7 +1296,7 @@ public class UnoDialogSample implements XTextListener, XSpinListener, XActionLis
// just in case the listener has been added to several controls,
// we make sure we refer to the right one
if (sName.equals("CommandButton1")) {
- //...
+
}
}catch (com.sun.star.uno.Exception ex){
/* perform individual exception handling here.
diff --git a/odk/examples/DevelopersGuide/GUI/UnoMenu.java b/odk/examples/DevelopersGuide/GUI/UnoMenu.java
index 87e7fce68085..d72ab7e704ac 100644
--- a/odk/examples/DevelopersGuide/GUI/UnoMenu.java
+++ b/odk/examples/DevelopersGuide/GUI/UnoMenu.java
@@ -171,7 +171,7 @@ public UnoMenu(XComponentContext _xContext, XMultiComponentFactory _xMCF) {
case 8:
closeDialog();
default:
- //..
+
}
}
diff --git a/odk/examples/DevelopersGuide/OfficeDev/Clipboard/Clipboard.java b/odk/examples/DevelopersGuide/OfficeDev/Clipboard/Clipboard.java
index 5dc01aa3fca1..41af02a39613 100644
--- a/odk/examples/DevelopersGuide/OfficeDev/Clipboard/Clipboard.java
+++ b/odk/examples/DevelopersGuide/OfficeDev/Clipboard/Clipboard.java
@@ -45,9 +45,9 @@ import com.sun.star.datatransfer.clipboard.XSystemClipboard;
import com.sun.star.text.XTextDocument;
import com.sun.star.uno.AnyConverter;
-//-------------------------------------------------
+
// Demonstrates the usage of the clipboard service
-//-------------------------------------------------
+
public class Clipboard
{
@@ -89,9 +89,9 @@ public class Clipboard
XSystemClipboard xClipboard = SystemClipboard.create(xOfficeContext);
- //---------------------------------------------------
+
// registering as clipboard listener
- //---------------------------------------------------
+
ClipboardListener aClipListener= new ClipboardListener();
@@ -100,9 +100,9 @@ public class Clipboard
// Read ClipBoard
readClipBoard(xClipboard);
- //---------------------------------------------------
+
// becoming a clipboard owner
- //---------------------------------------------------
+
System.out.println("Becoming a clipboard owner...");
System.out.println("");
@@ -130,9 +130,9 @@ public class Clipboard
// Read ClipBoard again
readClipBoard(xClipboard);
- //---------------------------------------------------
+
// unregistering as clipboard listener
- //---------------------------------------------------
+
xClipboard.removeClipboardListener(aClipListener);
// close test document
@@ -157,9 +157,9 @@ public class Clipboard
public static void readClipBoard(XClipboard xClipboard)
throws java.lang.Exception
{
- //---------------------------------------------------
+
// get a list of formats currently on the clipboard
- //---------------------------------------------------
+
XTransferable xTransferable = xClipboard.getContents();
diff --git a/odk/examples/DevelopersGuide/OfficeDev/Clipboard/ClipboardListener.java b/odk/examples/DevelopersGuide/OfficeDev/Clipboard/ClipboardListener.java
index 49efd28c0ea8..21d23ff92b43 100644
--- a/odk/examples/DevelopersGuide/OfficeDev/Clipboard/ClipboardListener.java
+++ b/odk/examples/DevelopersGuide/OfficeDev/Clipboard/ClipboardListener.java
@@ -36,9 +36,9 @@ import com.sun.star.lang.EventObject;
import com.sun.star.datatransfer.clipboard.ClipboardEvent;
import com.sun.star.datatransfer.clipboard.XClipboardListener;
-//-----------------------------
+
// A simple clipboard listener
-//-----------------------------
+
public class ClipboardListener implements XClipboardListener
{
diff --git a/odk/examples/DevelopersGuide/OfficeDev/Clipboard/ClipboardOwner.java b/odk/examples/DevelopersGuide/OfficeDev/Clipboard/ClipboardOwner.java
index eb745bae4119..94987b89b37c 100644
--- a/odk/examples/DevelopersGuide/OfficeDev/Clipboard/ClipboardOwner.java
+++ b/odk/examples/DevelopersGuide/OfficeDev/Clipboard/ClipboardOwner.java
@@ -36,9 +36,9 @@ import com.sun.star.datatransfer.XTransferable;
import com.sun.star.datatransfer.clipboard.XClipboard;
import com.sun.star.datatransfer.clipboard.XClipboardOwner;
-//--------------------------
+
// A simple clipboard owner
-//--------------------------
+
public class ClipboardOwner implements XClipboardOwner
{
diff --git a/odk/examples/DevelopersGuide/OfficeDev/Clipboard/TextTransferable.java b/odk/examples/DevelopersGuide/OfficeDev/Clipboard/TextTransferable.java
index 291cbbb97e22..8ce14f408a92 100644
--- a/odk/examples/DevelopersGuide/OfficeDev/Clipboard/TextTransferable.java
+++ b/odk/examples/DevelopersGuide/OfficeDev/Clipboard/TextTransferable.java
@@ -37,10 +37,10 @@ import com.sun.star.datatransfer.UnsupportedFlavorException;
import com.sun.star.datatransfer.XTransferable;
import com.sun.star.uno.Type;
-//---------------------------------------
+
// A simple transferable containing only
// one format, unicode text
-//---------------------------------------
+
public class TextTransferable implements XTransferable
{
diff --git a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/CustomizeView.java b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/CustomizeView.java
index ea8645d9fc4c..769768b027ca 100644
--- a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/CustomizeView.java
+++ b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/CustomizeView.java
@@ -69,7 +69,7 @@ public class CustomizeView extends JPanel
private static final String TOOLBAR_OFF = "toolbar off" ;
private static final String OBJECTBAR_OFF = "objectbar off" ;
- // ____________________
+
// member
/**
@@ -89,7 +89,7 @@ public class CustomizeView extends JPanel
private StatusListener m_aToolBarListener ;
private StatusListener m_aObjectBarListener;
- // ____________________
+
/**
* ctor
@@ -117,7 +117,7 @@ public class CustomizeView extends JPanel
this.add(m_cbObjectBar);
}
- // ____________________
+
/**
* set new frame for this view
@@ -160,7 +160,7 @@ public class CustomizeView extends JPanel
m_aObjectBarListener.startListening();
}
- // ____________________
+
/**
* react for click events of the used check boxes
@@ -186,7 +186,7 @@ public class CustomizeView extends JPanel
/// we must use this frame to dispatch a request
com.sun.star.frame.XFrame m_xFrame;
- //_____________________
+
/**
* ctor
@@ -201,7 +201,7 @@ public class CustomizeView extends JPanel
m_xFrame = xFrame;
}
- //_____________________
+
/**
* callback for action events
@@ -242,7 +242,7 @@ public class CustomizeView extends JPanel
FunctionHelper.execute(m_xFrame,aURL,lProperties,null);
}
- // ____________________
+
/**
* callback for disposing events
@@ -264,7 +264,7 @@ public class CustomizeView extends JPanel
}
}
- // ____________________
+
/**
* If this java application shutdown - we must cancel all current existing
diff --git a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/Desk.java b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/Desk.java
index 9641dc8864a9..6553b3b2ff20 100644
--- a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/Desk.java
+++ b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/Desk.java
@@ -44,7 +44,7 @@ import java.lang.String;
*/
public class Desk
{
- // ____________________
+
/**
* main
diff --git a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/DocumentView.java b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/DocumentView.java
index 7cbb0e3ecf8b..9e679b1eed11 100644
--- a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/DocumentView.java
+++ b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/DocumentView.java
@@ -61,7 +61,7 @@ public class DocumentView extends JFrame
implements com.sun.star.lang.XEventListener, // react for Frame::disposing()
IShutdownListener // react for System.exit()
{
- // ____________________
+
/**
* const
@@ -73,7 +73,7 @@ public class DocumentView extends JFrame
public static final String COMMAND_EXPORT = "export" ;
public static final String COMMAND_EXIT = "exit" ;
- // ____________________
+
/**
* @member mxFrame office frame which contains the document of this view
@@ -108,7 +108,7 @@ public class DocumentView extends JFrame
private boolean mbDead ;
- // ____________________
+
/**
* ctor
@@ -195,7 +195,7 @@ public class DocumentView extends JFrame
this.enableEvents(AWTEvent.WINDOW_EVENT_MASK);
}
- // ____________________
+
/**
* Create the view frame for showing the office documents on demand.
@@ -241,7 +241,7 @@ public class DocumentView extends JFrame
}
}
- // ____________________
+
/**
* Different ways to load any URL from outside (may be by the command line)
@@ -252,7 +252,7 @@ public class DocumentView extends JFrame
load(sURL,new com.sun.star.beans.PropertyValue[0]);
}
- // ____________________
+
public void load(String sURL, com.sun.star.beans.PropertyValue[] lArguments)
{
@@ -269,7 +269,7 @@ public class DocumentView extends JFrame
}
}
- // ____________________
+
public void save()
{
@@ -282,7 +282,7 @@ public class DocumentView extends JFrame
FunctionHelper.saveDocument(xDocument);
}
- // ____________________
+
public void exportHTML(String sURL)
{
@@ -295,7 +295,7 @@ public class DocumentView extends JFrame
FunctionHelper.saveAsHTML(xDocument,sURL);
}
- // ____________________
+
/**
* Overridden so we can react for window closing of this view.
@@ -315,7 +315,7 @@ public class DocumentView extends JFrame
}
}
- // ____________________
+
/**
* Here we can react for System.exit() normaly.
@@ -355,7 +355,7 @@ public class DocumentView extends JFrame
ViewContainer.getGlobalContainer().removeView(this);
}
- // ____________________
+
/**
* callback from our internal saved frame
@@ -372,7 +372,7 @@ public class DocumentView extends JFrame
mxFrame = null;
}
- // ____________________
+
/**
* This inner class is used to react for events of our own UI controls.
@@ -380,7 +380,7 @@ public class DocumentView extends JFrame
*/
private class Reactor implements ActionListener
{
- // ____________________
+
/**
* This method react for pressed buttons or selected check boxes.
@@ -388,7 +388,7 @@ public class DocumentView extends JFrame
public void actionPerformed(ActionEvent aEvent)
{
String sCommand = aEvent.getActionCommand();
- //-----------------------------
+
// open any file from disk
if( sCommand.compareTo(COMMAND_OPEN) == 0 )
{
@@ -397,14 +397,14 @@ public class DocumentView extends JFrame
DocumentView.this.load(sURL);
}
else
- //-----------------------------
+
// save current document
if( sCommand.compareTo(COMMAND_SAVE) == 0 )
{
DocumentView.this.save();
}
else
- //-----------------------------
+
// export current document to html
if( sCommand.compareTo(COMMAND_EXPORT) == 0 )
{
@@ -413,7 +413,7 @@ public class DocumentView extends JFrame
DocumentView.this.exportHTML(sURL);
}
else
- //-----------------------------
+
// exit application
if( sCommand.compareTo(COMMAND_EXIT) == 0 )
{
diff --git a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/FunctionHelper.java b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/FunctionHelper.java
index 88b80d34037b..6060292b95b3 100644
--- a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/FunctionHelper.java
+++ b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/FunctionHelper.java
@@ -61,7 +61,7 @@ import java.net.*;
*/
public class FunctionHelper
{
- // ____________________
+
/**
* This convert an URL (formated as a string) to a struct com.sun.star.util.URL.
@@ -124,7 +124,7 @@ public class FunctionHelper
return aURL;
}
- // ____________________
+
/**
* create a new empty target frame
@@ -165,7 +165,7 @@ public class FunctionHelper
return xFrame;
}
- // ____________________
+
/**
* create a new window which can be used as container window of an office frame
@@ -323,7 +323,7 @@ public class FunctionHelper
return xWindow;
}
- // ____________________
+
/**
* This method create a new empty child frame on desktop instance of remote office.
@@ -423,7 +423,7 @@ public class FunctionHelper
return xFrame;
}
- // ____________________
+
/**
* Dispatch an URL to given frame.
@@ -488,7 +488,7 @@ public class FunctionHelper
return xDispatcher;
}
- // ____________________
+
/**
* Dispatch an URL to given frame.
@@ -535,7 +535,7 @@ public class FunctionHelper
}
}
- // ____________________
+
/**
* Load document specified by an URL into given frame synchronously.
@@ -627,7 +627,7 @@ public class FunctionHelper
return xDocument;
}
- // ____________________
+
/**
* Save currently loaded document of given frame.
@@ -675,7 +675,7 @@ public class FunctionHelper
}
}
- // ____________________
+
/**
* It try to export given document in HTML format.
@@ -780,7 +780,7 @@ public class FunctionHelper
}
}
- // ____________________
+
/**
* Try to close the document without any saving of modifications.
@@ -855,7 +855,7 @@ public class FunctionHelper
}
}
- // ____________________
+
/**
* Try to close the frame instead of the document.
@@ -918,7 +918,7 @@ public class FunctionHelper
return bClosed;
}
- // ____________________
+
/**
* Try to find an unique frame name, which isn't currently used inside
@@ -979,7 +979,7 @@ public class FunctionHelper
return sName;
}
- // ____________________
+
/**
* helper to get a file URL selected by user
@@ -1042,7 +1042,7 @@ public class FunctionHelper
return sFileURL;
}
- // ____________________
+
/**
* @member maLastDir save the last visited directory of used file open/save dialog
diff --git a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/IOnewayLink.java b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/IOnewayLink.java
index 33a6b3c79a4e..1ad68bb82f4b 100644
--- a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/IOnewayLink.java
+++ b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/IOnewayLink.java
@@ -48,7 +48,7 @@ import java.util.ArrayList;
*/
public interface IOnewayLink
{
- // _______________________________
+
/**