summaryrefslogtreecommitdiff
path: root/testautomation/spreadsheet/optional
diff options
context:
space:
mode:
Diffstat (limited to 'testautomation/spreadsheet/optional')
-rwxr-xr-xtestautomation/spreadsheet/optional/c_arrayconstants.bas61
-rwxr-xr-xtestautomation/spreadsheet/optional/c_getpivotdata.bas62
-rwxr-xr-xtestautomation/spreadsheet/optional/c_import_general.bas87
-rwxr-xr-xtestautomation/spreadsheet/optional/c_namedrange.bas66
-rwxr-xr-xtestautomation/spreadsheet/optional/c_print_scale.bas53
-rwxr-xr-xtestautomation/spreadsheet/optional/c_printrange.bas67
-rwxr-xr-xtestautomation/spreadsheet/optional/c_so7_pp1.bas69
-rw-r--r--testautomation/spreadsheet/optional/c_solver.bas62
-rw-r--r--testautomation/spreadsheet/optional/c_validity.bas87
-rwxr-xr-xtestautomation/spreadsheet/optional/includes/arrayconstants/c_arrayconstants.inc316
-rwxr-xr-xtestautomation/spreadsheet/optional/includes/getpivotdata/c_getpivotdata.inc326
-rwxr-xr-xtestautomation/spreadsheet/optional/includes/import_general/c_import_general.inc196
-rwxr-xr-xtestautomation/spreadsheet/optional/includes/namedrange/c_namedrange.inc188
-rwxr-xr-xtestautomation/spreadsheet/optional/includes/printrange/c_printrange.inc923
-rwxr-xr-xtestautomation/spreadsheet/optional/includes/printscale/c_print_scale.inc299
-rw-r--r--testautomation/spreadsheet/optional/includes/so7pp1/c_so7_pp1_ibis.inc221
-rw-r--r--testautomation/spreadsheet/optional/includes/so7pp1/c_so7_pp1_iz.inc211
-rw-r--r--testautomation/spreadsheet/optional/includes/solver/c_solver.inc225
-rw-r--r--testautomation/spreadsheet/optional/includes/validity/c_validity.inc378
-rwxr-xr-xtestautomation/spreadsheet/optional/input/111099.xlsbin0 -> 24064 bytes
-rwxr-xr-xtestautomation/spreadsheet/optional/input/111158.xlsbin0 -> 67584 bytes
-rw-r--r--testautomation/spreadsheet/optional/input/Solver_testdoc01.odsbin0 -> 10326 bytes
-rwxr-xr-xtestautomation/spreadsheet/optional/input/arrayconstants.xlsbin0 -> 74752 bytes
-rwxr-xr-xtestautomation/spreadsheet/optional/input/datapilot.odsbin0 -> 13211 bytes
-rwxr-xr-xtestautomation/spreadsheet/optional/input/getpivotdata2.xlsbin0 -> 13824 bytes
-rwxr-xr-xtestautomation/spreadsheet/optional/input/loadsave/bugdocs/1024.odsbin0 -> 12880 bytes
-rwxr-xr-xtestautomation/spreadsheet/optional/input/loadsave/common/csv.csv7
-rwxr-xr-xtestautomation/spreadsheet/optional/input/loadsave/common/dbase.dbfbin0 -> 1166 bytes
-rwxr-xr-xtestautomation/spreadsheet/optional/input/loadsave/common/dbase.dbt0
-rwxr-xr-xtestautomation/spreadsheet/optional/input/loadsave/corel/qpro6.wb2bin0 -> 7290 bytes
-rwxr-xr-xtestautomation/spreadsheet/optional/input/loadsave/lotus/123toexcel.xlsbin0 -> 7168 bytes
-rwxr-xr-xtestautomation/spreadsheet/optional/input/loadsave/lotus/lotus123.123bin0 -> 13540 bytes
-rwxr-xr-xtestautomation/spreadsheet/optional/input/loadsave/lotus/lotuswk1.wk1bin0 -> 3999 bytes
-rwxr-xr-xtestautomation/spreadsheet/optional/input/loadsave/lotus/lotuswks.wksbin0 -> 6902 bytes
-rwxr-xr-xtestautomation/spreadsheet/optional/input/loadsave/microsoft/dif.DIF110
-rwxr-xr-xtestautomation/spreadsheet/optional/input/loadsave/microsoft/excel2.xlsbin0 -> 31481 bytes
-rwxr-xr-xtestautomation/spreadsheet/optional/input/loadsave/microsoft/excel3.xlsbin0 -> 23510 bytes
-rwxr-xr-xtestautomation/spreadsheet/optional/input/loadsave/microsoft/excel4.xlsbin0 -> 12517 bytes
-rwxr-xr-xtestautomation/spreadsheet/optional/input/loadsave/microsoft/excel95.xlsbin0 -> 60416 bytes
-rwxr-xr-xtestautomation/spreadsheet/optional/input/loadsave/microsoft/excel95tmpl.xltbin0 -> 34816 bytes
-rwxr-xr-xtestautomation/spreadsheet/optional/input/loadsave/microsoft/excel97.xlsbin0 -> 51712 bytes
-rwxr-xr-xtestautomation/spreadsheet/optional/input/loadsave/microsoft/excel97tmpl.xltbin0 -> 51712 bytes
-rwxr-xr-xtestautomation/spreadsheet/optional/input/loadsave/microsoft/excelxml.xml254
-rwxr-xr-xtestautomation/spreadsheet/optional/input/loadsave/microsoft/ms_excel_2007_binary.xlsbbin0 -> 8797 bytes
-rwxr-xr-xtestautomation/spreadsheet/optional/input/loadsave/microsoft/ms_excel_2007_xml.xlsxbin0 -> 8210 bytes
-rwxr-xr-xtestautomation/spreadsheet/optional/input/loadsave/microsoft/ms_excel_2007_xml_macroenabled.xlsmbin0 -> 8243 bytes
-rwxr-xr-xtestautomation/spreadsheet/optional/input/loadsave/microsoft/ms_excel_2007_xml_template.xltxbin0 -> 8218 bytes
-rwxr-xr-xtestautomation/spreadsheet/optional/input/loadsave/microsoft/ms_excel_2007_xml_template_macroenabled.xltmbin0 -> 8246 bytes
-rwxr-xr-xtestautomation/spreadsheet/optional/input/loadsave/microsoft/sylk.slk1
-rwxr-xr-xtestautomation/spreadsheet/optional/input/loadsave/preselected_filter/rtf.rtf218
-rwxr-xr-xtestautomation/spreadsheet/optional/input/loadsave/preselected_filter/txt.txt7
-rwxr-xr-xtestautomation/spreadsheet/optional/input/loadsave/sun/so1.sdcbin0 -> 80228 bytes
-rwxr-xr-xtestautomation/spreadsheet/optional/input/loadsave/sun/so3.sdcbin0 -> 29696 bytes
-rwxr-xr-xtestautomation/spreadsheet/optional/input/loadsave/sun/so3tmpl.vorbin0 -> 19456 bytes
-rwxr-xr-xtestautomation/spreadsheet/optional/input/loadsave/sun/so4.sdcbin0 -> 131584 bytes
-rwxr-xr-xtestautomation/spreadsheet/optional/input/loadsave/sun/so4tmpl.vorbin0 -> 24576 bytes
-rwxr-xr-xtestautomation/spreadsheet/optional/input/loadsave/sun/so5.sdcbin0 -> 24064 bytes
-rwxr-xr-xtestautomation/spreadsheet/optional/input/loadsave/sun/so5tmpl.vorbin0 -> 404480 bytes
-rwxr-xr-xtestautomation/spreadsheet/optional/input/loadsave/sun/so7.sxcbin0 -> 14926 bytes
-rwxr-xr-xtestautomation/spreadsheet/optional/input/loadsave/sun/so7tmpl.stcbin0 -> 11367 bytes
-rwxr-xr-xtestautomation/spreadsheet/optional/input/loadsave/sun/so8.odsbin0 -> 38161 bytes
-rwxr-xr-xtestautomation/spreadsheet/optional/input/loadsave/sun/so8tmpl.otsbin0 -> 37500 bytes
-rwxr-xr-xtestautomation/spreadsheet/optional/input/loadsave/tableimport/HTML_Doc_Numberformats_in_table.html107
-rwxr-xr-xtestautomation/spreadsheet/optional/input/loadsave/tableimport/HTML_Doc_Numberformats_in_table.rtf62
-rwxr-xr-xtestautomation/spreadsheet/optional/input/namedrange.sxcbin0 -> 6538 bytes
-rwxr-xr-xtestautomation/spreadsheet/optional/input/printrange.sxcbin0 -> 9648 bytes
-rwxr-xr-xtestautomation/spreadsheet/optional/input/printrange.xlsbin0 -> 41984 bytes
-rwxr-xr-xtestautomation/spreadsheet/optional/input/printranges_3defined.odsbin0 -> 13408 bytes
-rw-r--r--testautomation/spreadsheet/optional/input/stest_large.odsbin0 -> 23467 bytes
-rwxr-xr-xtestautomation/spreadsheet/optional/input/validity.odsbin0 -> 22633 bytes
70 files changed, 4663 insertions, 0 deletions
diff --git a/testautomation/spreadsheet/optional/c_arrayconstants.bas b/testautomation/spreadsheet/optional/c_arrayconstants.bas
new file mode 100755
index 000000000000..114293db4281
--- /dev/null
+++ b/testautomation/spreadsheet/optional/c_arrayconstants.bas
@@ -0,0 +1,61 @@
+'encoding UTF-8 Do not remove or change this line!
+'**************************************************************************
+' DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+'
+' Copyright 2000, 2010 Oracle and/or its affiliates.
+'
+' OpenOffice.org - a multi-platform office productivity suite
+'
+' This file is part of OpenOffice.org.
+'
+' OpenOffice.org is free software: you can redistribute it and/or modify
+' it under the terms of the GNU Lesser General Public License version 3
+' only, as published by the Free Software Foundation.
+'
+' OpenOffice.org is distributed in the hope that it will be useful,
+' but WITHOUT ANY WARRANTY; without even the implied warranty of
+' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+' GNU Lesser General Public License version 3 for more details
+' (a copy is included in the LICENSE file that accompanied this code).
+'
+' You should have received a copy of the GNU Lesser General Public License
+' version 3 along with OpenOffice.org. If not, see
+' <http://www.openoffice.org/license.html>
+' for a copy of the LGPLv3 License.
+'
+'/***********************************************************************
+'*
+'* owner : oliver.craemer@oracle.com
+'*
+'* short description : Functiontest for matrix/array constants in calc
+'*
+'\***********************************************************************
+
+
+sub main
+ use "spreadsheet/optional/includes/arrayconstants/c_arrayconstants.inc"
+ use "spreadsheet/tools/includes/c_cell_tools.inc"
+ use "spreadsheet/tools/includes/c_select_tools.inc"
+ use "spreadsheet/tools/includes/c_l10n_tools.inc"
+
+ Printlog "--------------------------------------------------"
+ Printlog "--- Functiontest for arrayconstants in calc ---"
+ Printlog "--------------------------------------------------"
+
+ Call hStatusIn("spreadsheet", "c_arrayconstants.bas")
+
+ Call tArrayconstants01
+ Call tArrayconstants02
+
+ Call hStatusOut
+end sub
+'
+'-------------------------------------------------------------------------------
+'
+sub LoadIncludeFiles
+ use "global/system/includes/master.inc"
+ use "global/system/includes/gvariabl.inc"
+ gApplication = "CALC"
+ call getusefiles
+
+end sub
diff --git a/testautomation/spreadsheet/optional/c_getpivotdata.bas b/testautomation/spreadsheet/optional/c_getpivotdata.bas
new file mode 100755
index 000000000000..f55990107538
--- /dev/null
+++ b/testautomation/spreadsheet/optional/c_getpivotdata.bas
@@ -0,0 +1,62 @@
+'encoding UTF-8 Do not remove or change this line!
+'**************************************************************************
+' DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+'
+' Copyright 2000, 2010 Oracle and/or its affiliates.
+'
+' OpenOffice.org - a multi-platform office productivity suite
+'
+' This file is part of OpenOffice.org.
+'
+' OpenOffice.org is free software: you can redistribute it and/or modify
+' it under the terms of the GNU Lesser General Public License version 3
+' only, as published by the Free Software Foundation.
+'
+' OpenOffice.org is distributed in the hope that it will be useful,
+' but WITHOUT ANY WARRANTY; without even the implied warranty of
+' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+' GNU Lesser General Public License version 3 for more details
+' (a copy is included in the LICENSE file that accompanied this code).
+'
+' You should have received a copy of the GNU Lesser General Public License
+' version 3 along with OpenOffice.org. If not, see
+' <http://www.openoffice.org/license.html>
+' for a copy of the LGPLv3 License.
+'
+'/***********************************************************************
+'*
+'* owner : oliver.craemer@oracle.com
+'*
+'* short description : Test for function GETPIVOTDATA in calc
+'*
+'\***********************************************************************
+
+
+sub main
+ use "spreadsheet/optional/includes/getpivotdata/c_getpivotdata.inc"
+ use "spreadsheet/tools/includes/c_select_tools.inc"
+ use "spreadsheet/tools/includes/c_cell_tools.inc"
+ use "spreadsheet/tools/includes/c_l10n_tools.inc"
+
+ Printlog "--------------------------------------------------"
+ Printlog "--- Test for function GETPIVOTDATA in calc ---"
+ Printlog "--------------------------------------------------"
+
+ Call hStatusIn("spreadsheet", "c_getpivotdata.bas")
+
+ Call tgetpivotdata_function_wizard
+ Call tgetpivotdata_xls_filter
+
+ Call hStatusOut
+end sub
+'
+'-------------------------------------------------------------------------------
+'
+sub LoadIncludeFiles
+ use "global/system/includes/master.inc"
+ use "global/system/includes/gvariabl.inc"
+ use "global/tools/includes/optional/t_spreadsheet_tools1.inc"
+ gApplication = "CALC"
+ call getusefiles
+
+end sub
diff --git a/testautomation/spreadsheet/optional/c_import_general.bas b/testautomation/spreadsheet/optional/c_import_general.bas
new file mode 100755
index 000000000000..9c77346f2ca7
--- /dev/null
+++ b/testautomation/spreadsheet/optional/c_import_general.bas
@@ -0,0 +1,87 @@
+'encoding UTF-8 Do not remove or change this line!
+'**************************************************************************
+' DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+'
+' Copyright 2000, 2010 Oracle and/or its affiliates.
+'
+' OpenOffice.org - a multi-platform office productivity suite
+'
+' This file is part of OpenOffice.org.
+'
+' OpenOffice.org is free software: you can redistribute it and/or modify
+' it under the terms of the GNU Lesser General Public License version 3
+' only, as published by the Free Software Foundation.
+'
+' OpenOffice.org is distributed in the hope that it will be useful,
+' but WITHOUT ANY WARRANTY; without even the implied warranty of
+' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+' GNU Lesser General Public License version 3 for more details
+' (a copy is included in the LICENSE file that accompanied this code).
+'
+' You should have received a copy of the GNU Lesser General Public License
+' version 3 along with OpenOffice.org. If not, see
+' <http://www.openoffice.org/license.html>
+' for a copy of the LGPLv3 License.
+'
+'/************************************************************************
+'*
+'* owner : oliver.craemer@oracle.com
+'*
+'* short description : Simply load max. 1000 files in .../spreadsheet/required/input/loadsave/
+'*
+'\***********************************************************************
+
+global gsSourceDocument(1000) as string
+global giWhichSecurityLevel as integer
+global gsSourcePath as string
+
+sub main
+ use "spreadsheet\optional\includes\import_general\c_import_general.inc"
+
+ gsSourcePath = ConvertPath(gTestToolPath + "spreadsheet\optional\input\loadsave\")
+ 'Checking in .../common sub-directory if there is a file
+ 'to be sure to have access to the files
+ if Dir(gsSourcePath) & "common\" = "" then
+ warnlog "qa:qatesttool:spreadsheet:optional:c_import_general.bas: Unable to find document directory! Please adapt 'gsSourcePath'"
+ exit sub
+ endif
+
+ Call sPreconditions
+ Call hStatusIn ( "spreadsheet", "c_import_general.bas" )
+ Call tLoadAllDocuments (gsSourcePath)
+ Call hStatusOut
+ Call sResetSystemUnderTest
+end sub
+'
+'-------------------------------------------------------------------------------
+'
+sub LoadIncludeFiles
+ use "global\system\includes\master.inc"
+ use "global\system\includes\gvariabl.inc"
+ Call GetUseFiles
+ gApplication = "CALC"
+end sub
+
+'
+'-------------------------------------------------------------------------------
+'
+sub sPreconditions
+ 'Init the iWhichSecurityLevel() variable with 2
+ 'which would be the normal state if it's impossible
+ 'to detect the macro security level.
+ giWhichSecurityLevel = 2
+ 'Get the macro security level and remember it.
+ 'and then set the Macro security level to (0) low
+ giWhichSecurityLevel = hSetMacroSecurity(0)
+end sub
+'
+'-------------------------------------------------------------------------------
+'
+sub sResetSystemUnderTest
+ 'Set the macro security level back to the value
+ 'which has it before the system was under test
+ call hSetMacroSecurity(giWhichSecurityLevel)
+end sub
+'
+'-------------------------------------------------------------------------------
+'
diff --git a/testautomation/spreadsheet/optional/c_namedrange.bas b/testautomation/spreadsheet/optional/c_namedrange.bas
new file mode 100755
index 000000000000..1bca7bfb3c78
--- /dev/null
+++ b/testautomation/spreadsheet/optional/c_namedrange.bas
@@ -0,0 +1,66 @@
+'encoding UTF-8 Do not remove or change this line!
+'**************************************************************************
+' DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+'
+' Copyright 2000, 2010 Oracle and/or its affiliates.
+'
+' OpenOffice.org - a multi-platform office productivity suite
+'
+' This file is part of OpenOffice.org.
+'
+' OpenOffice.org is free software: you can redistribute it and/or modify
+' it under the terms of the GNU Lesser General Public License version 3
+' only, as published by the Free Software Foundation.
+'
+' OpenOffice.org is distributed in the hope that it will be useful,
+' but WITHOUT ANY WARRANTY; without even the implied warranty of
+' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+' GNU Lesser General Public License version 3 for more details
+' (a copy is included in the LICENSE file that accompanied this code).
+'
+' You should have received a copy of the GNU Lesser General Public License
+' version 3 along with OpenOffice.org. If not, see
+' <http://www.openoffice.org/license.html>
+' for a copy of the LGPLv3 License.
+'
+'/************************************************************************
+'*
+'* owner : oliver.craemer@Sun.COM
+'*
+'* short description : calc named range level 2 test
+'*
+'\************************************************************************
+
+global sDefaultCalcFilter as STRING
+global sDefaultExtension as STRING
+
+sub main
+dim startedAt
+startedAt = now()
+PrintLog "---------------------------------------------------------------------"
+
+ use "spreadsheet\optional\includes\namedrange\c_namedrange.inc"
+ use "spreadsheet\tools\includes\c_select_tools.inc"
+
+ call hStatusIn("spreadsheet", "c_namedrange.bas")
+
+ sDefaultCalcFilter = "calc8"
+ sDefaultExtension = "ods"
+
+ call cNamedRange
+
+PrintLog "-------------------------------------------------------------------"
+Printlog " End: " + Date + " at: " + Time + " Duration: " + wielange(startedAt)
+PrintLog "-------------------------------------------------------------------"
+
+ call hStatusOut
+
+end sub
+
+sub LoadIncludeFiles
+ use "global\system\includes\master.inc"
+ use "global\system\includes\gvariabl.inc"
+ gApplication = "CALC"
+ Call GetUseFiles
+
+end sub
diff --git a/testautomation/spreadsheet/optional/c_print_scale.bas b/testautomation/spreadsheet/optional/c_print_scale.bas
new file mode 100755
index 000000000000..59d6be9c9032
--- /dev/null
+++ b/testautomation/spreadsheet/optional/c_print_scale.bas
@@ -0,0 +1,53 @@
+'encoding UTF-8 Do not remove or change this line!
+'**************************************************************************
+' DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+'
+' Copyright 2000, 2010 Oracle and/or its affiliates.
+'
+' OpenOffice.org - a multi-platform office productivity suite
+'
+' This file is part of OpenOffice.org.
+'
+' OpenOffice.org is free software: you can redistribute it and/or modify
+' it under the terms of the GNU Lesser General Public License version 3
+' only, as published by the Free Software Foundation.
+'
+' OpenOffice.org is distributed in the hope that it will be useful,
+' but WITHOUT ANY WARRANTY; without even the implied warranty of
+' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+' GNU Lesser General Public License version 3 for more details
+' (a copy is included in the LICENSE file that accompanied this code).
+'
+' You should have received a copy of the GNU Lesser General Public License
+' version 3 along with OpenOffice.org. If not, see
+' <http://www.openoffice.org/license.html>
+' for a copy of the LGPLv3 License.
+'
+'/************************************************************************
+'*
+'* owner : oliver.craemer@Sun.COM
+'*
+'* short description : Test calc print scaling
+'*
+'\***********************************************************************
+
+sub main
+
+ Printlog "--------------------------------------------------"
+ Printlog "--- Print scaling settings ---"
+ Printlog "--------------------------------------------------"
+
+ use "spreadsheet/optional/includes/printscale/c_print_scale.inc"
+ Call hStatusIn("spreadsheet", "c_print_scale.bas")
+ call subPrintScaling
+ Call hStatusOut
+end sub
+'
+'-------------------------------------------------------------------------------
+'
+sub LoadIncludeFiles
+ use "global/system/includes/master.inc"
+ use "global/system/includes/gvariabl.inc"
+ call getusefiles
+ gApplication = "CALC"
+end sub
diff --git a/testautomation/spreadsheet/optional/c_printrange.bas b/testautomation/spreadsheet/optional/c_printrange.bas
new file mode 100755
index 000000000000..b35f75bee084
--- /dev/null
+++ b/testautomation/spreadsheet/optional/c_printrange.bas
@@ -0,0 +1,67 @@
+'encoding UTF-8 Do not remove or change this line!
+'**************************************************************************
+' DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+'
+' Copyright 2000, 2010 Oracle and/or its affiliates.
+'
+' OpenOffice.org - a multi-platform office productivity suite
+'
+' This file is part of OpenOffice.org.
+'
+' OpenOffice.org is free software: you can redistribute it and/or modify
+' it under the terms of the GNU Lesser General Public License version 3
+' only, as published by the Free Software Foundation.
+'
+' OpenOffice.org is distributed in the hope that it will be useful,
+' but WITHOUT ANY WARRANTY; without even the implied warranty of
+' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+' GNU Lesser General Public License version 3 for more details
+' (a copy is included in the LICENSE file that accompanied this code).
+'
+' You should have received a copy of the GNU Lesser General Public License
+' version 3 along with OpenOffice.org. If not, see
+' <http://www.openoffice.org/license.html>
+' for a copy of the LGPLv3 License.
+'
+'/************************************************************************
+'*
+'* owner : oliver.craemer@Sun.COM
+'*
+'* short description : calc printrange level 2 test
+'*
+'\************************************************************************
+
+global sDefaultCalcFilter as STRING
+global sDefaultExtension as STRING
+
+sub main
+ dim startedAt
+ startedAt = now()
+ PrintLog "---------------------------------------------------------------------"
+
+ use "spreadsheet\optional\includes\printrange\c_printrange.inc"
+ use "spreadsheet\tools\includes\c_select_tools.inc"
+
+ call hStatusIn("spreadsheet", "c_printrange.bas")
+
+ sDefaultCalcFilter = "calc8"
+ sDefaultExtension = "ods"
+
+ call c_printrange
+
+ PrintLog "-------------------------------------------------------------------"
+ Printlog " End: " + Date + " at: " + Time + " Duration: " + wielange(startedAt)
+ PrintLog "-------------------------------------------------------------------"
+
+ call hStatusOut
+
+end sub
+
+sub LoadIncludeFiles
+ use "global\system\includes\master.inc"
+ use "global\system\includes\gvariabl.inc"
+ use "global\tools\includes\optional\t_spreadsheet_tools1.inc"
+ gApplication = "CALC"
+ Call GetUseFiles
+
+end sub
diff --git a/testautomation/spreadsheet/optional/c_so7_pp1.bas b/testautomation/spreadsheet/optional/c_so7_pp1.bas
new file mode 100755
index 000000000000..8a949dfc14ff
--- /dev/null
+++ b/testautomation/spreadsheet/optional/c_so7_pp1.bas
@@ -0,0 +1,69 @@
+'encoding UTF-8 Do not remove or change this line!
+'**************************************************************************
+' DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+'
+' Copyright 2000, 2010 Oracle and/or its affiliates.
+'
+' OpenOffice.org - a multi-platform office productivity suite
+'
+' This file is part of OpenOffice.org.
+'
+' OpenOffice.org is free software: you can redistribute it and/or modify
+' it under the terms of the GNU Lesser General Public License version 3
+' only, as published by the Free Software Foundation.
+'
+' OpenOffice.org is distributed in the hope that it will be useful,
+' but WITHOUT ANY WARRANTY; without even the implied warranty of
+' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+' GNU Lesser General Public License version 3 for more details
+' (a copy is included in the LICENSE file that accompanied this code).
+'
+' You should have received a copy of the GNU Lesser General Public License
+' version 3 along with OpenOffice.org. If not, see
+' <http://www.openoffice.org/license.html>
+' for a copy of the LGPLv3 License.
+'
+'/************************************************************************
+'*
+'* owner : oliver.craemer@Sun.COM
+'*
+'* short description : Test bug fixes made for StarOffice 7 PP1 - srx645_m22s1-5
+'*
+'\***********************************************************************
+
+sub main
+
+PrintLog "---------------------------------------------------------------------"
+Printlog "----- Calc SO7 PP1 Bug Fix Check -----"
+PrintLog "---------------------------------------------------------------------"
+
+ use "spreadsheet\optional\includes\so7pp1\c_so7_pp1_iz.inc"
+ use "spreadsheet\optional\includes\so7pp1\c_so7_pp1_ibis.inc"
+ use "spreadsheet\tools\includes\c_select_tools.inc"
+
+ Call hStatusIn("spreadsheet", "c_so7_pp1.bas", "Test bug fixes made for StarOffice 7 PP1")
+
+ Printlog Chr(13) + "--------- Izzuezilla Bugs fixed? ---------"
+
+ call tIZ19381
+ call tIZ21036
+
+ Printlog Chr(13) + "--------- IBIS Bugs fixed? ---------"
+
+ call tIBIS111099
+ call tIBIS111158
+ call tIBIS111711
+
+ call hStatusOut
+
+end sub
+
+sub LoadIncludeFiles
+
+ use "global\system\includes\master.inc"
+ use "global\system\includes\gvariabl.inc"
+ gApplication = "CALC"
+ Call GetUseFiles
+
+End Sub
+
diff --git a/testautomation/spreadsheet/optional/c_solver.bas b/testautomation/spreadsheet/optional/c_solver.bas
new file mode 100644
index 000000000000..60744c0ef319
--- /dev/null
+++ b/testautomation/spreadsheet/optional/c_solver.bas
@@ -0,0 +1,62 @@
+'encoding UTF-8 Do not remove or change this line!
+'**************************************************************************
+' DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+'
+' Copyright 2000, 2010 Oracle and/or its affiliates.
+'
+' OpenOffice.org - a multi-platform office productivity suite
+'
+' This file is part of OpenOffice.org.
+'
+' OpenOffice.org is free software: you can redistribute it and/or modify
+' it under the terms of the GNU Lesser General Public License version 3
+' only, as published by the Free Software Foundation.
+'
+' OpenOffice.org is distributed in the hope that it will be useful,
+' but WITHOUT ANY WARRANTY; without even the implied warranty of
+' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+' GNU Lesser General Public License version 3 for more details
+' (a copy is included in the LICENSE file that accompanied this code).
+'
+' You should have received a copy of the GNU Lesser General Public License
+' version 3 along with OpenOffice.org. If not, see
+' <http://www.openoffice.org/license.html>
+' for a copy of the LGPLv3 License.
+'
+'/***********************************************************************
+'*
+'* owner : oliver.craemer@oracle.com
+'*
+'* short description : Functionality Test - Solver in Spreadsheet
+'*
+'\***********************************************************************
+
+
+sub main
+ use "spreadsheet/optional/includes/solver/c_solver.inc"
+ use "spreadsheet/tools/includes/c_select_tools.inc"
+ use "spreadsheet/tools/includes/c_cell_tools.inc"
+ use "spreadsheet/tools/includes/c_l10n_tools.inc"
+
+ Printlog "--------------------------------------------------"
+ Printlog "--- Test for Solver in calc ---"
+ Printlog "--------------------------------------------------"
+
+ Call hStatusIn("spreadsheet", "c_solver.bas")
+
+ Call tExampleCalculation
+ Call tExampleCalculation2
+
+ Call hStatusOut
+end sub
+'
+'-------------------------------------------------------------------------------
+'
+sub LoadIncludeFiles
+ use "global/system/includes/master.inc"
+ use "global/system/includes/gvariabl.inc"
+ use "global/tools/includes/optional/t_spreadsheet_tools1.inc"
+ gApplication = "CALC"
+ call getusefiles
+
+end sub
diff --git a/testautomation/spreadsheet/optional/c_validity.bas b/testautomation/spreadsheet/optional/c_validity.bas
new file mode 100644
index 000000000000..ed76836f40f7
--- /dev/null
+++ b/testautomation/spreadsheet/optional/c_validity.bas
@@ -0,0 +1,87 @@
+'encoding UTF-8 Do not remove or change this line!
+'**************************************************************************
+' DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+'
+' Copyright 2000, 2010 Oracle and/or its affiliates.
+'
+' OpenOffice.org - a multi-platform office productivity suite
+'
+' This file is part of OpenOffice.org.
+'
+' OpenOffice.org is free software: you can redistribute it and/or modify
+' it under the terms of the GNU Lesser General Public License version 3
+' only, as published by the Free Software Foundation.
+'
+' OpenOffice.org is distributed in the hope that it will be useful,
+' but WITHOUT ANY WARRANTY; without even the implied warranty of
+' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+' GNU Lesser General Public License version 3 for more details
+' (a copy is included in the LICENSE file that accompanied this code).
+'
+' You should have received a copy of the GNU Lesser General Public License
+' version 3 along with OpenOffice.org. If not, see
+' <http://www.openoffice.org/license.html>
+' for a copy of the LGPLv3 License.
+'
+'/************************************************************************
+'**
+'** owner : oliver.craemer@Sun.COM
+'**
+'** short description : extensive test for the validity functionality
+'**
+'\***********************************************************************
+
+global giWhichSecurityLevel as integer
+
+sub main
+
+ PrintLog "---------------------------------------------------------------------"
+ Printlog "----- Calc test validity -----"
+ PrintLog "---------------------------------------------------------------------"
+
+ use "spreadsheet/optional/includes/validity/c_validity.inc"
+ use "spreadsheet/tools/includes/c_select_tools.inc"
+ use "spreadsheet/tools/includes/c_validity_tools.inc"
+
+ printlog "Get the security level and set it to lower"
+ Call sPreconditions
+
+ Call hStatusIn("spreadsheet", "c_validity.bas")
+ call tValidity_Check_Message
+ call tValidity_Check_Excel
+ Call hStatusOut
+
+ printlog "Set the security level to starting value"
+ Call sResetSystemUnderTest
+end sub
+'
+'-------------------------------------------------------------------------------
+'
+sub LoadIncludeFiles
+ use "global\system\includes\master.inc"
+ use "global\system\includes\gvariabl.inc"
+ use "global\tools\includes\required\t_option2.inc"
+ gApplication = "CALC"
+ Call GetUseFiles
+end sub
+
+'
+'-------------------------------------------------------------------------------
+'
+sub sPreconditions
+ 'Init the iWhichSecurityLevel() variable with 2
+ 'which would be the normal state if it's impossible
+ 'to detect the macro security level.
+ giWhichSecurityLevel = 2
+ 'Get the macro security level and remember it.
+ 'and then set the Macro security level to (0) low
+ giWhichSecurityLevel = hSetMacroSecurity(0)
+end sub
+'
+'-------------------------------------------------------------------------------
+'
+sub sResetSystemUnderTest
+ 'Set the macro security level back to the value
+ 'which has it before the system was under test
+ call hSetMacroSecurity(giWhichSecurityLevel)
+end sub
diff --git a/testautomation/spreadsheet/optional/includes/arrayconstants/c_arrayconstants.inc b/testautomation/spreadsheet/optional/includes/arrayconstants/c_arrayconstants.inc
new file mode 100755
index 000000000000..ce5652c0ff1e
--- /dev/null
+++ b/testautomation/spreadsheet/optional/includes/arrayconstants/c_arrayconstants.inc
@@ -0,0 +1,316 @@
+'encoding UTF-8 Do not remove or change this line!
+'**************************************************************************
+' DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+'
+' Copyright 2000, 2010 Oracle and/or its affiliates.
+'
+' OpenOffice.org - a multi-platform office productivity suite
+'
+' This file is part of OpenOffice.org.
+'
+' OpenOffice.org is free software: you can redistribute it and/or modify
+' it under the terms of the GNU Lesser General Public License version 3
+' only, as published by the Free Software Foundation.
+'
+' OpenOffice.org is distributed in the hope that it will be useful,
+' but WITHOUT ANY WARRANTY; without even the implied warranty of
+' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+' GNU Lesser General Public License version 3 for more details
+' (a copy is included in the LICENSE file that accompanied this code).
+'
+' You should have received a copy of the GNU Lesser General Public License
+' version 3 along with OpenOffice.org. If not, see
+' <http://www.openoffice.org/license.html>
+' for a copy of the LGPLv3 License.
+'
+'/***********************************************************************
+'*
+'* owner : oliver.craemer@oracle.com
+'*
+'* short description : calc arrayconstants level2 test
+'*
+'************************************************************************
+'*
+' #1 tArrayconstants01 ' Direct input and OASIS format
+' #1 tArrayconstants02 ' Import / Export to MSExcel
+'*
+'\***********************************************************************
+
+testcase tArrayconstants01
+
+ dim sFunctionTRUE as string
+ dim sFunctionFALSE as string
+ dim sFunctionSIN as string
+ dim sError512 as string
+ dim sError533 as string
+ dim sdecimalseperator as string
+ dim sLocalFile as string
+ dim sCellcontent as string
+
+ sFunctionTRUE = fFunctionName ("TRUE")
+ sFunctionFALSE = fFunctionName ("FALSE")
+ sFunctionSIN = fFunctionName ("SIN")
+ sError512 = fError_l10n ("512")
+ sError533 = fError_l10n ("533")
+ sDecimalseperator = GetDecimalSeperator
+ sLocalFile = convertpath ( gOfficepath & "user/work/arrayconstants.ods" )
+
+ '///Open new spreadsheet document
+ printlog "Open new spreadsheet document"
+ call hNewDocument
+
+ '///In cell A1 enter "={1;2;3}"
+ printlog "In cell A1 enter ""={1;2;3}"""
+ call fCalcSelectRange ("A1")
+ kontext "DocumentCalc"
+ DocumentCalc.TypeKeys ("={1;2;3} <RETURN>")
+ '///Check that the cellvalue is "1"
+ printlog "Check that the cellvalue is ""1"""
+ call fCalcCompareCellValue ("A1","1")
+
+ '///In cell A2 enter "={1;2;3|4;5;6}"
+ printlog "In cell A2 enter ""={1;2;3|4;5;6}"""
+ call fCalcSelectRange ("A2")
+ kontext "DocumentCalc"
+ DocumentCalc.TypeKeys ("={1;2;3|4;5;6} <RETURN>")
+ '///Check that the cellvalue is "1"
+ printlog "Check that the cellvalue is ""1"""
+ call fCalcCompareCellValue ("A2","1")
+
+ '///In cell A3 enter "={0;1;2|False;TRUE;"two"}"
+ printlog "In cell A3 enter ""={0;1;2|" & sFunctionFALSE & ";" & sFunctionTRUE & ";""two""}"""
+ call fCalcSelectRange ("A3")
+ kontext "DocumentCalc"
+ DocumentCalc.TypeKeys ("={0;1;2|" & sFunctionFALSE & ";" & sFunctionTRUE & ";""two""} <RETURN>")
+ '///Check that the cellvalue is "0"
+ printlog "Check that the cellvalue is ""0"""
+ call fCalcCompareCellValue ("A3","0")
+
+ '///Multiselect cells A4:C4, type "=sin({1;2;3})" and press <ctrl shift enter>
+ printlog "Multiselect cells A4:C4, type ""=sin({1;2;3})"" and press <ctrl shift enter>"
+ call fCalcSelectRange ("A4:C4")
+ kontext "DocumentCalc"
+ DocumentCalc.TypeKeys ("=" & sFunctionSIN & "({1;2;3}) <MOD1 SHIFT RETURN>")
+ '///Check that the cellvalue of A4 is "0.84"
+ printlog "Check that the cellvalue of A4 is ""0.8414709848"""
+ call fCalcSelectRange ("A5")
+ kontext "DocumentCalc"
+ DocumentCalc.TypeKeys "=A4<TAB>=B4<TAB>=C4<RETURN>" 'because a part of a matrix is protected we need a helpcell with only the values
+ call fCalcCompareCellValue ("A5","0" & sDecimalseperator & "8414709848")
+ '///Check that the cell contents of B4 is "0.91"
+ printlog "Check that the cell contents of B4 is ""0.9092974268"""
+ call fCalcCompareCellValue ("B5","0" & sDecimalseperator & "9092974268")
+ '///Check that the cell contents of C4 is "0.14"
+ printlog "Check that the cell contents of C4 is ""0.1411200081"""
+ call fCalcCompareCellValue ("C5","0" & sDecimalseperator & "1411200081")
+
+ '///In cell A6 enter "={1;2|4;5;6}"
+ printlog "In cell A6 enter ""={1;2|4;5;6}"""
+ call fCalcSelectRange ("A6")
+ kontext "DocumentCalc"
+ DocumentCalc.TypeKeys ("={1;2|4;5;6} <RETURN>")
+ '///Check that the cellvalue is "Err:512"
+ printlog "Check that the cellvalue is ""Err:512"""
+ call fCalcCompareCellValue ("A6",sError512)
+
+ '///In cell A7 enter "={1;2+3}"
+ printlog "In cell A7 enter ""={1;2+3}"""
+ call fCalcSelectRange ("A7")
+ kontext "DocumentCalc"
+ DocumentCalc.TypeKeys ("={1;2+3} <RETURN>")
+ '///Check that the cellvalue is "Err:512"
+ printlog "Check that the cellvalue is ""Err:512"""
+ call fCalcCompareCellValue ("A7",sError512)
+
+ '///In cell A8 enter "={1;2;{3;4;5}}"
+ printlog "In cell A8 enter ""={1;2;{3;4;5}}"""
+ call fCalcSelectRange ("A8")
+ kontext "DocumentCalc"
+ DocumentCalc.TypeKeys ("={1;2;{3;4;5}} <RETURN>")
+ kontext
+ '///Cancel appearing MsgBox for correction of a wrong formular
+ if active.exists then
+ active.no
+ end if
+ '///Check that the cellvalue is "Err:533"
+ printlog "Check that the cellvalue is ""Err:533"""
+ call fCalcCompareCellValue ("A8",sError533)
+
+ '///In cell A9 enter "={-1;2;3}"
+ printlog "In cell A9 enter ""={-1;2;3}"""
+ call fCalcSelectRange ("A9")
+ kontext "DocumentCalc"
+ DocumentCalc.TypeKeys ("={-1;2;3} <RETURN>")
+ '///Check that the cellvalue is "-1"
+ printlog "Check that the cellvalue is ""-1"""
+ call fCalcCompareCellValue ("A9",-1)
+
+ '///Save document
+ printlog "Save document"
+ call hFileSaveAsKill ( slocalfile )
+
+ '/// Close document
+ printlog "Close document"
+ call hCloseDocument
+
+ '/// Load Document
+ printlog "Load Document"
+ call hFileOpen ( slocalfile )
+ sleep (2)
+
+ '///Check that all formulars are the same as before.
+ printlog "Check that all formulars are the same as before."
+
+ '///+Check that the editline shows "={1;2;3}" for cell A1
+ printlog " Check that the editline shows ""={1;2;3}"" for cell A1"
+ scellcontent = "={1;2;3}"
+ call fCalcCompareCellFormular ("A1",scellcontent)
+
+ '///+Check that the editline shows "={1;2;3|4;5;6}" for cell A2
+ printlog " Check that the editline shows ""={1;2;3|4;5;6}"" for cell A2"
+ scellcontent = "={1;2;3|4;5;6}"
+ call fCalcCompareCellFormular ("A2",scellcontent)
+
+ '///+Check that the editline shows "={0;1;2|False;TRUE;"two"}" for cell A3
+ printlog " Check that the editline shows ""={0;1;2|" & sFunctionFALSE & ";" & sFunctionTRUE & ";""two""}"" for cell A3"
+ scellcontent = "={0;1;2|" & sFunctionFALSE & ";" & sFunctionTRUE & ";""two""}"
+ call fCalcCompareCellFormular ("A3",scellcontent)
+
+ '///+Check that the editline shows "=SIN({1;2;3})" for cell A4:C4
+ printlog " Check that the editline shows ""=" & sFunctionSIN & "({1;2;3})"" for cell A4:C4"
+ scellcontent = "=" & sFunctionSIN & "({1;2;3})"
+ call fCalcCompareCellFormular ("A4:C4",scellcontent)
+
+ '///+Check that the editline shows "={1;2|4;5;6}" for cell A6
+ printlog " Check that the editline shows ""={1;2|4;5;6}"" for cell A6"
+ scellcontent = "={1;2|4;5;6}"
+ call fCalcCompareCellFormular ("A6",scellcontent)
+
+ '///+Check that the editline shows "={1;2+3}" for cell A7
+ printlog " Check that the editline shows ""={1;2+3}"" for cell A7"
+ scellcontent = "={1;2+3}"
+ call fCalcCompareCellFormular ("A7",scellcontent)
+
+ '///+Check that the editline shows "={1;2;{3;4;5}}" for cell A8
+ printlog " Check that the editline shows ""={1;2;{3;4;5}}"" for cell A8"
+ scellcontent = "={1;2;{3;4;5}}"
+ call fCalcCompareCellFormular ("A8",scellcontent)
+
+ '///+Check that the editline shows "={-1;2;3}" for cell A9
+ printlog " Check that the editline shows ""={-1;2;3}"" for cell A9"
+ scellcontent = "={-1;2;3}"
+ call fCalcCompareCellFormular ("A9",scellcontent)
+
+ '///Close Document
+ printlog "Close Document"
+ call hCloseDocument
+
+endcase
+'
+'--------------------------------------------------------------------
+'
+testcase tArrayconstants02
+
+ Dim sImportFile as string
+ Dim sLocalFile as string
+ Dim sFunctionSUM as string
+ Dim sFunctionMDETERM as string
+ Dim sCellcontent as string
+
+ sImportFile = convertpath ( gTesttoolpath & "spreadsheet/optional/input/arrayconstants.xls" )
+ sLocalFile = convertpath ( gOfficepath & "user/work/arrayconstants.xls" )
+ sFunctionSUM = fFunctionName ("SUM")
+ sFunctionMDETERM = fFunctionName ("MDETERM")
+
+ '///Load xls testdocument <i>gTestToolPath</i>/spreadsheet/optional/input/arrayconstants.xls
+ printlog "Load xls testdocument <i>gTestToolPath</i>/spreadsheet/optional/input/arrayconstants.xls"
+ call hFileOpen ( sImportFile )
+ sleep(2)
+ '///If the file is not editable, click the edit button on standardbar
+ printlog "If the file is not editable, click the edit button on standardbar"
+ call sMakeReadOnlyDocumentEditable
+
+ '///Check that the cell contents of B4 is 1
+ printlog "Check that the cell contents of B4 is 1"
+ call fCalcCompareCellValue ("F4","1")
+ '///Check that the cell contents of C5 is 4
+ printlog "Check that the cell contents of C5 is 4"
+ call fCalcCompareCellValue ("G5","4")
+ '///Check that the editline shows "={1;2|3;4}" for cell B4
+ printlog "Check that the editline shows ""={1;2|3;4}"" for cell B4"
+ scellcontent = "={1;2|3;4}"
+ call fCalcCompareCellFormular ("B4:C5",scellcontent)
+ '///Check that the cell contents of B8 is 10
+ printlog "Check that the cell contents of B8 is 10"
+ call fCalcCompareCellValue ("B8","10")
+ '///Check that the editline for cell B8 is "=SUM({1;2|3;4})"
+ printlog "Check that the editline for cell B8 is ""=SUM({1;2|3;4})"""
+ scellcontent = "=" & sFunctionSUM & "({1;2|3;4})"
+ call fCalcCompareCellFormular ("B8",scellcontent)
+ '///Check that the cell contents of B11 is -2
+ printlog "Check that the cell contents of B11 is -2"
+ call fCalcCompareCellValue ("B11","-2")
+ '///Check that the editline for cell B11 is "=MDETERM({1;2|3;4})"
+ printlog "Check that the editline for cell B11 is ""=MDETERM({1;2|3;4})"""
+ scellcontent = "=" & sFunctionMDETERM & "({1;2|3;4})"
+ call fCalcCompareCellFormular ("B11",scellcontent)
+ '///Check that the cell contents of B14 is 1
+ printlog "Check that the cell contents of B14 is 1"
+ call fCalcCompareCellValue ("F14","1")
+ '///Check that the editline for cell B14 is "{=name}"
+ printlog "Check that the editline for cell B14 is ""=name"""
+ scellcontent = "=name"
+ call fCalcCompareCellFormular ("B14:C15",scellcontent)
+
+ '/// Save document back to xls locally
+ printlog "Save document back to xls locally"
+ call hFileSaveAsKill ( slocalfile )
+
+ '/// Close document
+ printlog "Close document"
+ call hCloseDocument
+
+ '/// Load Document
+ printlog "Load Document"
+ call hFileOpen ( slocalfile )
+ sleep (2)
+
+ '///Check that all cellvalues are the same as before
+ printlog "Check that all cellvalues are the same as before"
+ '///+Check that the cell contents of B4 is 1
+ printlog "Check that the cell contents of B4 is 1"
+ call fCalcCompareCellValue ("F4","1")
+ '///+Check that the cell contents of C5 is 4
+ printlog "Check that the cell contents of C5 is 4"
+ call fCalcCompareCellValue ("G5","4")
+ '///+Check that the editline shows "={1;2|3;4}" for cell B4
+ printlog "Check that the editline shows ""={1;2|3;4}"" for cell B4"
+ scellcontent = "={1;2|3;4}"
+ call fCalcCompareCellFormular ("B4:C5",scellcontent)
+ '///+Check that the cell contents of B8 is 10
+ printlog "Check that the cell contents of B8 is 10"
+ call fCalcCompareCellValue ("B8","10")
+ '///+Check that the editline for cell B8 is "=SUM({1;2|3;4})"
+ printlog "Check that the editline for cell B8 is ""=SUM({1;2|3;4})"""
+ scellcontent = "=" & sFunctionSUM & "({1;2|3;4})"
+ call fCalcCompareCellFormular ("B8",scellcontent)
+ '///+Check that the cell contents of B11 is -2
+ printlog "Check that the cell contents of B11 is -2"
+ call fCalcCompareCellValue ("B11","-2")
+ '///+Check that the editline for cell B11 is "=MDETERM({1;2|3;4})"
+ printlog "Check that the editline for cell B11 is ""=MDETERM({1;2|3;4})"""
+ scellcontent = "=" & sFunctionMDETERM & "({1;2|3;4})"
+ call fCalcCompareCellFormular ("B11",scellcontent)
+ '///+Check that the cell contents of B14 is 1
+ printlog "Check that the cell contents of B14 is 1"
+ call fCalcCompareCellValue ("F14","1")
+ '///+Check that the editline for cell B14 is "{=name}"
+ printlog "Check that the editline for cell B14 is ""=name"""
+ scellcontent = "=name"
+ call fCalcCompareCellFormular ("B14:C15",scellcontent)
+
+ '///Close document
+ printlog "Close document"
+ call hCloseDocument
+
+endcase
diff --git a/testautomation/spreadsheet/optional/includes/getpivotdata/c_getpivotdata.inc b/testautomation/spreadsheet/optional/includes/getpivotdata/c_getpivotdata.inc
new file mode 100755
index 000000000000..216551959ded
--- /dev/null
+++ b/testautomation/spreadsheet/optional/includes/getpivotdata/c_getpivotdata.inc
@@ -0,0 +1,326 @@
+'encoding UTF-8 Do not remove or change this line!
+'**************************************************************************
+' DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+'
+' Copyright 2000, 2010 Oracle and/or its affiliates.
+'
+' OpenOffice.org - a multi-platform office productivity suite
+'
+' This file is part of OpenOffice.org.
+'
+' OpenOffice.org is free software: you can redistribute it and/or modify
+' it under the terms of the GNU Lesser General Public License version 3
+' only, as published by the Free Software Foundation.
+'
+' OpenOffice.org is distributed in the hope that it will be useful,
+' but WITHOUT ANY WARRANTY; without even the implied warranty of
+' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+' GNU Lesser General Public License version 3 for more details
+' (a copy is included in the LICENSE file that accompanied this code).
+'
+' You should have received a copy of the GNU Lesser General Public License
+' version 3 along with OpenOffice.org. If not, see
+' <http://www.openoffice.org/license.html>
+' for a copy of the LGPLv3 License.
+'
+'/***********************************************************************
+'*
+'* owner : oliver.craemer@oracle.com
+'*
+'* short description : level 2 test for the getpivotdata function
+'*
+'************************************************************************
+'*
+' #1 tgetpivotdata_function_wizard ' Testcase for manually input of the function
+' #1 tgetpivotdata_xls_filter ' Testcase for import/export of the function
+'*
+'\***********************************************************************
+
+testcase tgetpivotdata_function_wizard
+
+ dim stestdocument as string
+ dim slocalfile as string
+ dim sfunctionstring as string
+ dim sfunctionname as string
+ dim sfunctionwithparameter as string
+
+ stestdocument = Convertpath (gTesttoolPath + "spreadsheet\optional\input\datapilot.ods" )
+ slocalfile = Convertpath ( gOfficePath + "user\work\datapilot.ods" )
+ setclipboard = ""
+
+ '/// Get localised string for function GETPIVOTDATA by fFunctionname
+ printlog "Get localised string for function GETPIVOTDATA by fFunctionname"
+ sfunctionname = fFunctionname("GETPIVOTDATA")
+
+ '/// Load testdocument <i>gTestToolPath</i>/spreadsheet/optional/input/datapilot.ods
+ printlog "Load testdocument datapilot.ods"
+ call hFileOpen ( stestdocument )
+ sleep (2)
+ '/// If the file is not editable, click the edit button on standardbar
+ printlog "If the file is not editable, click the edit button on standardbar"
+ sMakeReadOnlyDocumentEditable()
+
+ '/// Select cell I8 and open function wizard by INSERT FUNCTION
+ printlog "Select cell I8 and open function wizard by INSERT FUNCTION"
+ call fGotoCell ( "I8" )
+ InsertFunction
+ kontext ( "FunctionWizard" )
+ '/// Select category SPREADSHEET (11th category in listbox)
+ printlog "Select category SPREADSHEET (11th category in listbox)"
+ CategoryLB.select 11
+ '/// Select the function GETPIVOTDATA in the now filtered function list
+ printlog "Select the function GETPIVOTDATA in the now filtered function list"
+ try
+ FunctionLB.select sfunctionname
+ printlog " Function " & sfunctionname & " selected in category SPREADSHEET"
+ catch
+ warnlog "The function is not available under category SPREADSHEET"
+ endcatch
+ CategoryLB.select 2
+ try
+ FunctionLB.select sfunctionname
+ catch
+ warnlog "The function is generally not available"
+ FunctionWizard.OK
+ call hCloseDocument
+ goto endsub
+ endcatch
+ '/// Press NEXT button
+ printlog "Press NEXT button"
+ Forward.click
+ '/// Enter 2000 for parameter Data Field
+ printlog "Enter 2000 for parameter Data Field"
+ kontext "FunctionWizard"
+ Editfield1.settext "2000"
+ '/// Enter C29 for parameter DataPilot
+ printlog "Enter C29 for parameter DataPilot"
+ Editfield2.settext "C29"
+ '/// Enter C3 for parameter Field Name / Item 1
+ printlog "Enter C3 for parameter Field Name / Item 1"
+ Editfield3.settext "C3"
+ '/// Enter C16 for parameter Field Name / Item 2
+ printlog "Enter C16 for parameter Field Name / Item 2"
+ Editfield4.settext "C16"
+ '/// Scroll down to enable the next field
+ printlog "Scroll down to enable the next field"
+ Editfield4.TypeKeys "<DOWN>"
+ '/// Enter C26 for parameter Field Name / Item 3
+ printlog "Enter C26 for parameter Field Name / Item 3"
+ Editfield4.settext "C26"
+ '/// Scroll down to enable the next field
+ printlog "Scroll down to enable the next field"
+ Editfield4.TypeKeys "<DOWN>"
+ '/// Enter F27 for parameter Field Name / Item 4
+ printlog "Enter F27 for parameter Field Name / Item 4"
+ Editfield4.settext "F27"
+ '/// Close functionwizard by pressing OK button
+ printlog "Close functionwizard by pressing OK button"
+ FunctionWizard.OK
+ '/// Memorize cellcontent
+ kontext ( "RechenleisteCalc" )
+ EingabeZeileCalc.TypeKeys ("<f2><mod1 a>")
+ editcopy
+ sfunctionwithparameter = GetClipboardText ()
+ '/// Press twice <ESCAPE> to leave the cell
+ printlog "Press twice <ESCAPE> to leave the cell"
+ kontext ( "DocumentCalc" )
+ DocumentCalc.TypeKeys "<ESCAPE>" , 2
+ '/// Verify that the function result is 100000
+ printlog "Verify that the function result is 100000"
+ call fCalcCompareCellValue ( "I8",100000 )
+ '/// Save the document again
+ printlog "Save the document again"
+ if NOT hFileSaveAsKill (slocalfile) then
+ warnlog "Saving test document localy failed -> Aborting"
+ call hCloseDocument
+ goto endsub
+ else
+ printlog " File saved successfully."
+ end if
+ '/// Close the file with File/close
+ printlog "Close the file with File/close"
+ call hCloseDocument
+ sleep(3)
+ '/// Load localy saved document
+ printlog "Load localy saved document"
+ call hFileOpen ( slocalfile )
+ '/// Verify that cell I8 still shows 100000
+ printlog "Verify that cell I8 still shows 100000"
+ call fCalcCompareCellValue ( "I8",100000 )
+ '/// Verify that the function in cell I8 is still =GETPIVOTDATA("2000";C29;C3;C16;C26;F27)
+ printlog "Verify that the function in cell I8 is still " & sfunctionwithparameter
+ kontext ( "RechenleisteCalc" )
+ EingabeZeileCalc.TypeKeys ("<f2><mod1 a>")
+ editcopy
+ if GetClipboardText () = sfunctionwithparameter then
+ printlog " The function was successfully saved and reloaded"
+ else warnlog "The function is not " & sfunctionwithparameter & ", it is " & GetClipboardText ()
+ end if
+ '/// Press twice <ESCAPE> to leave the cell
+ printlog "Press twice <ESCAPE> to leave the chart object"
+ kontext "DocumentCalc"
+ DocumentCalc.TypeKeys "<ESCAPE>" , 2
+ '/// Close document
+ printlog "Close document"
+ call hCloseDocument
+ sleep(3)
+'///
+endcase
+'
+'---------------------------------------------------------------------------
+'
+testcase tgetpivotdata_xls_filter
+
+ dim stestdocument as string
+ dim slocalfile as string
+ dim sfunctionparameter as string
+ dim sfunctionname as string
+ dim sfunctionwithparameter as string
+ dim sdecimalseperator as string
+
+ stestdocument = Convertpath (gTesttoolPath + "spreadsheet\optional\input\getpivotdata2.xls" )
+ 'stestdocument = Convertpath ( gOfficePath + "user\work\test.ods" )
+ slocalfile = Convertpath ( gOfficePath + "user\work\getpivotdata2.xls" )
+ sdecimalseperator = GetDecimalSeperator
+ setclipboard = ""
+ sfunctionname = fFunctionname("GETPIVOTDATA")
+
+ '/// Load testdocument <i>gTestToolPath</i>/spreadsheet/optional/input/getpivotdata2.xls
+ printlog "Load testdocument getpivotdata2.xls"
+ call hFileOpen ( stestdocument )
+ sleep (2)
+ '/// If the file is not editable, click the edit button on standardbar
+ printlog "If the file is not editable, click the edit button on standardbar"
+ call sMakeReadOnlyDocumentEditable
+ '/// Verify that Cell G12 shows 2.5
+ printlog "Verify that Cell G12 shows 2" & sdecimalseperator & "5"
+ call fCalcCompareCellValue ("G12","2" & sdecimalseperator & "5")
+ '/// Verify that the function is =GETPIVOTDATA("val";$F$5;"col1";"a";"col2";"x")
+ printlog "Verify that the function is =GETPIVOTDATA(""val"";$F$5;""col1"";""a"";""col2"";""x"")"
+ kontext ( "RechenleisteCalc" )
+ EingabeZeileCalc.TypeKeys ("<f2><mod1 a>")
+ editcopy
+ sfunctionwithparameter = GetClipboardText ()
+ '/// Press twice <ESCAPE> to leave the cell
+ 'printlog "Press twice <ESCAPE> to leave the cell"
+ kontext ( "DocumentCalc" )
+ DocumentCalc.TypeKeys "<ESCAPE>" , 2
+ if sfunctionwithparameter = "=" & sfunctionname & "(""val"";$F$5;""col1"";""a"";""col2"";""x"")" then
+ printlog " The function is correct"
+ else
+ warnlog "The function is " & sfunctionwithparameter & " instead of =GETPIVOTDATA(""val"";$F$5;""col1"";""a"";""col2"";""x"")"
+ end if
+
+ '/// Verify that Cell G27 shows 0.05
+ printlog "Verify that Cell G27 shows 0" & sdecimalseperator & "05"
+ call fCalcCompareCellValue ("G27","0" & sdecimalseperator & "05")
+ '/// Verify that the function is =GETPIVOTDATA("val";$F$19;"col1";"a";"col2";"y")
+ printlog "Verify that the function is =GETPIVOTDATA(""val"";$F$19;""col1"";""a"";""col2"";""y"")"
+ kontext ( "RechenleisteCalc" )
+ EingabeZeileCalc.TypeKeys ("<f2><mod1 a>")
+ editcopy
+ sfunctionwithparameter = GetClipboardText ()
+ '/// Press twice <ESCAPE> to leave the cell
+ 'printlog "Press twice <ESCAPE> to leave the cell"
+ kontext ( "DocumentCalc" )
+ DocumentCalc.TypeKeys "<ESCAPE>" , 2
+ if sfunctionwithparameter = "=" & sfunctionname & "(""val"";$F$19;""col1"";""a"";""col2"";""y"")" then
+ printlog " The function is correct"
+ else
+ warnlog "The function is " & sfunctionwithparameter & " instead of =GETPIVOTDATA(""val"";$F$19;""col1"";""a"";""col2"";""y"")"
+ end if
+
+ '/// Verify that Cell G43 shows 3
+ printlog "Verify that Cell G43 shows 3"
+ call fCalcCompareCellValue ("G43","3")
+ '/// Verify that the function is =GETPIVOTDATA("val";$F$33;"col1";"a";"col2";"z";"col3";"p"))
+ printlog "Verify that the function is =GETPIVOTDATA(""val"";$F$33;""col1"";""a"";""col2"";""z"";""col3"";""p"")"
+ kontext ( "RechenleisteCalc" )
+ EingabeZeileCalc.TypeKeys ("<f2><mod1 a>")
+ editcopy
+ sfunctionwithparameter = GetClipboardText ()
+ '/// Press twice <ESCAPE> to leave the cell
+ 'printlog "Press twice <ESCAPE> to leave the cell"
+ kontext ( "DocumentCalc" )
+ DocumentCalc.TypeKeys "<ESCAPE>" , 2
+ if sfunctionwithparameter = "=" & sfunctionname & "(""val"";$F$33;""col1"";""a"";""col2"";""z"";""col3"";""p"")" then
+ printlog " The function is correct"
+ else
+ warnlog "The function is " & sfunctionwithparameter & " instead of =GETPIVOTDATA(""val"";$F$33;""col1"";""a"";""col2"";""z"";""col3"";""p"")"
+ end if
+
+ '/// Save document back to xls locally
+ printlog "Save document back to xls locally"
+ call hFileSaveAsKill ( slocalfile )
+
+ '/// Close document
+ printlog "Close document"
+ call hCloseDocument
+
+ '/// Load Document
+ printlog "Load Document"
+ call hFileOpen ( slocalfile )
+ sleep (2)
+
+'/// Verify that Cell G12 shows 2.5
+ printlog "Verify that Cell G12 shows 2" & sdecimalseperator & "5"
+ call fCalcCompareCellValue ("G12","2" & sdecimalseperator & "5")
+ '/// Verify that the function is =GETPIVOTDATA("val";$F$5;"col1";"a";"col2";"x")
+ printlog "Verify that the function is =GETPIVOTDATA(""val"";$F$5;""col1"";""a"";""col2"";""x"")"
+ kontext ( "RechenleisteCalc" )
+ EingabeZeileCalc.TypeKeys ("<f2><mod1 a>")
+ editcopy
+ sfunctionwithparameter = GetClipboardText ()
+ '/// Press twice <ESCAPE> to leave the cell
+ 'printlog " Press twice <ESCAPE> to leave the cell"
+ kontext ( "DocumentCalc" )
+ DocumentCalc.TypeKeys "<ESCAPE>" , 2
+ if sfunctionwithparameter = "=" & sfunctionname & "(""val"";$F$5;""col1"";""a"";""col2"";""x"")" then
+ printlog " The function is correct"
+ else
+ warnlog "The function is " & sfunctionwithparameter & " instead of =GETPIVOTDATA(""val"";$F$5;""col1"";""a"";""col2"";""x"")"
+ end if
+
+ '/// Verify that Cell G27 shows 0.05
+ printlog "Verify that Cell G27 shows 0" & sdecimalseperator & "05"
+ call fCalcCompareCellValue ("G27","0" & sdecimalseperator & "05")
+ '/// Verify that the function is =GETPIVOTDATA("val";$F$19;"col1";"a";"col2";"y")
+ printlog "Verify that the function is =GETPIVOTDATA(""val"";$F$19;""col1"";""a"";""col2"";""y"")"
+ kontext ( "RechenleisteCalc" )
+ EingabeZeileCalc.TypeKeys ("<f2><mod1 a>")
+ editcopy
+ sfunctionwithparameter = GetClipboardText ()
+ '/// Press twice <ESCAPE> to leave the cell
+ 'printlog " Press twice <ESCAPE> to leave the cell"
+ kontext ( "DocumentCalc" )
+ DocumentCalc.TypeKeys "<ESCAPE>" , 2
+ if sfunctionwithparameter = "=" & sfunctionname & "(""val"";$F$19;""col1"";""a"";""col2"";""y"")" then
+ printlog " The function is correct"
+ else
+ warnlog "The function is " & sfunctionwithparameter & " instead of =GETPIVOTDATA(""val"";$F$19;""col1"";""a"";""col2"";""y"")"
+ end if
+
+ '/// Verify that Cell G43 shows 3
+ printlog "Verify that Cell G43 shows 3"
+ call fCalcCompareCellValue ("G43","3")
+ '/// Verify that the function is =GETPIVOTDATA("val";$F$33;"col1";"a";"col2";"z";"col3";"p"))
+ printlog "Verify that the function is =GETPIVOTDATA(""val"";$F$33;""col1"";""a"";""col2"";""z"";""col3"";""p"")"
+ kontext ( "RechenleisteCalc" )
+ EingabeZeileCalc.TypeKeys ("<f2><mod1 a>")
+ editcopy
+ sfunctionwithparameter = GetClipboardText ()
+ '/// Press twice <ESCAPE> to leave the cell
+ 'printlog " Press twice <ESCAPE> to leave the cell"
+ kontext ( "DocumentCalc" )
+ DocumentCalc.TypeKeys "<ESCAPE>" , 2
+ if sfunctionwithparameter = "=" & sfunctionname & "(""val"";$F$33;""col1"";""a"";""col2"";""z"";""col3"";""p"")" then
+ printlog "The function is correct"
+ else
+ warnlog "The function is " & sfunctionwithparameter & " instead of =GETPIVOTDATA(""val"";$F$33;""col1"";""a"";""col2"";""z"";""col3"";""p"")"
+ end if
+
+ '/// Close document
+ printlog "Close document"
+ call hCloseDocument
+ sleep(3)
+endcase
diff --git a/testautomation/spreadsheet/optional/includes/import_general/c_import_general.inc b/testautomation/spreadsheet/optional/includes/import_general/c_import_general.inc
new file mode 100755
index 000000000000..d53c23fbbe3d
--- /dev/null
+++ b/testautomation/spreadsheet/optional/includes/import_general/c_import_general.inc
@@ -0,0 +1,196 @@
+'encoding UTF-8 Do not remove or change this line!
+'**************************************************************************
+' DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+'
+' Copyright 2000, 2010 Oracle and/or its affiliates.
+'
+' OpenOffice.org - a multi-platform office productivity suite
+'
+' This file is part of OpenOffice.org.
+'
+' OpenOffice.org is free software: you can redistribute it and/or modify
+' it under the terms of the GNU Lesser General Public License version 3
+' only, as published by the Free Software Foundation.
+'
+' OpenOffice.org is distributed in the hope that it will be useful,
+' but WITHOUT ANY WARRANTY; without even the implied warranty of
+' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+' GNU Lesser General Public License version 3 for more details
+' (a copy is included in the LICENSE file that accompanied this code).
+'
+' You should have received a copy of the GNU Lesser General Public License
+' version 3 along with OpenOffice.org. If not, see
+' <http://www.openoffice.org/license.html>
+' for a copy of the LGPLv3 License.
+'
+'/************************************************************************
+'**
+'** owner : oliver.craemer@oracle.com
+'**
+'** short description : Imports every Document from a given path (gsSourcePath variable)
+'**
+'*************************************************************************
+'**
+' #1 tLoadAllDocuments (gsSourcePath as string )
+' #1 tLoadSpreadsheetDocument
+' #1 fCalcFileOpen
+'**
+'\*******************************************************************
+
+sub tLoadAllDocuments ( gsSourcePath as string )
+ Dim i as integer
+ Dim x as integer
+
+ dim gsSourceDocument( 50 ) as string
+
+ printlog "Source path: " & gsSourcePath
+ 'Get the files into a list.
+ Call GetAllFileList(gsSourcePath, "*.*" , gsSourceDocument())
+ x = ListCount(gsSourceDocument())
+ printlog "- " + x + " steps will be done"
+ for i = 1 to x
+ printlog "(" & i & "/" & x & "): " & gsSourceDocument(i)
+ Call tLoadSpreadsheetDocument(gsSourceDocument(i))
+ sleep(5)
+ next i
+end sub
+'
+'-------------------------------------------------------------------------------
+'
+function IsItLoaded as boolean
+ '/// IsItLoaded
+ '/// Wait until document is loaded
+ Dim iLoop as integer
+
+ IsItLoaded = FALSE
+ sleep(3)
+ for iLoop =1 to 20
+ try
+ 'Calling slot 'IsDocLoading'
+ IsItLoaded = IsDocLoading
+ catch
+ IsItLoaded = FALSE
+ endcatch
+
+ if IsItLoaded = TRUE then
+ exit for
+ end if
+ sleep(1)
+ next iLoop
+ sleep(2)
+end function
+'
+'-------------------------------------------------------------------------------
+'
+testcase tLoadSpreadsheetDocument (SourceFile)
+
+ Dim sOnlyFileName as string
+ Dim sOnlyFileExtension as string
+ Dim sTempFileName as String
+ Dim i as integer
+
+ sTempFileName = SourceFile
+ sOnlyFileName = DateiOhneExt(DateiExtract(SourceFile)
+ sOnlyFileExtension = GetExtention(sTempFileName)
+
+ select case ( sOnlyFileName )
+ case "so3tmpl", "so4tmpl", "so5tmpl" : printlog "Test case: " & sOnlyFileName & "." & sOnlyFileExtension
+ case else : printlog "Test case: " & sOnlyFileName & "." & sOnlyFileExtension
+ end select
+
+ 'Maybe file name is empty
+ if sOnlyFileName > "" then
+ 'Some extensions make no sense to load
+ if sOnlyFileExtension <> "so" AND sOnlyFileExtension <> "tmp" AND sOnlyFileExtension <> "dbt" then
+ if fCalcFileOpen(SourceFile) AND IsItLoaded()then
+ if (hIsNamedDocLoaded (SourceFile)) then
+ printlog "- loaded"
+ sleep(15)
+ Call hCloseDocument
+ else
+ warnlog sOnlyFileName + " document has not been loaded correctly [hIsNamedDocLoaded]!"
+ hFileCloseAll()
+ endif
+ else
+ warnlog sOnlyFileName + " document has not been loaded correctly [fCalcFileOpen; IsItLoaded]!"
+ hFileCloseAll()
+ endif
+ else
+ printlog "(" + sOnlyFileName + "." + sOnlyFileExtension + ") won't be loaded because of excluded extensions .so and .tmp."
+ hFileCloseAll()
+ endif
+ endif
+endcase
+'
+'-------------------------------------------------------------------------------
+'
+function fCalcFileOpen (sDocName as string, optional bLinked as boolean) as boolean
+ Dim sSourceFile as String
+ 'Loads the spreadsheet documents like hLoadDocument but with special handling of
+ 'spreadsheet import filter dialogs, like ASCII, Lotus, dBase, CSV, ...
+ sSourceFile = ConvertPath ( sDocName )
+
+ fCalcFileOpen = TRUE
+ if FileExists (sSourceFile) = FALSE then
+ warnlog "fCalcFileOpen: '" + sSourceFile + "' does not exists!"
+ fCalcFileOpen = FALSE
+ else
+ 'Slot: FileOpen
+ FileOpen
+ sleep (1)
+ Kontext "OeffnenDlg"
+ Dateiname.SetText(sSourceFile)
+ sleep (3)
+ Oeffnen.Click
+ sleep (20)
+
+ 'If .txt ASCII-filter dialog will come up.
+ Kontext "AsciiFilterOptionen"
+ if AsciiFilterOptionen.Exists(1) then
+ printlog "- ASCII filter dialog is up!"
+ AsciiFilterOptionen.Ok
+ endif
+
+ 'If Lotus 1-2-3 or dBase files will be opend the import characters
+ 'dialog will come up
+ Kontext "ExportCalc"
+ if ExportCalc.Exists(1) then
+ printlog "- Import character set selection dialog is up!"
+ ExportCalc.Ok
+ endif
+
+ 'Importing detected (e.g. extension .csv) CSV files will bring
+ ' up the Text import dialog
+ Kontext "TextImport"
+ if TextImport.Exists(1) then
+ printlog "- Text import dialog is up!"
+ TextImport.OK
+ endif
+
+ Kontext "Active"
+ if Active.Exists(3) then
+ if IsMissing(bLinked) then
+ warnlog "fCalcFileOpen: " + Active.GetText
+ else
+ printlog "fCalcFileOpen: " + Active.GetText
+ end if
+ try
+ Active.OK
+ catch
+ if IsMissing(bLinked) then
+ 'e.g. Links won't be updated
+ Active.No
+ else
+ 'e.g. Links will be updated
+ Active.Yes
+ end if
+ endcatch
+ Kontext "OeffnenDlg"
+ if OeffnenDlg.Exists(1) then
+ OeffnenDlg.Cancel
+ fCalcFileOpen = FALSE
+ Warnlog "fCalcFileOpen: The File-Open-Dialog is open!"
+ end if
+ end if
+ end if
+end function
diff --git a/testautomation/spreadsheet/optional/includes/namedrange/c_namedrange.inc b/testautomation/spreadsheet/optional/includes/namedrange/c_namedrange.inc
new file mode 100755
index 000000000000..25926d626bd4
--- /dev/null
+++ b/testautomation/spreadsheet/optional/includes/namedrange/c_namedrange.inc
@@ -0,0 +1,188 @@
+'encoding UTF-8 Do not remove or change this line!
+'**************************************************************************
+' DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+'
+' Copyright 2000, 2010 Oracle and/or its affiliates.
+'
+' OpenOffice.org - a multi-platform office productivity suite
+'
+' This file is part of OpenOffice.org.
+'
+' OpenOffice.org is free software: you can redistribute it and/or modify
+' it under the terms of the GNU Lesser General Public License version 3
+' only, as published by the Free Software Foundation.
+'
+' OpenOffice.org is distributed in the hope that it will be useful,
+' but WITHOUT ANY WARRANTY; without even the implied warranty of
+' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+' GNU Lesser General Public License version 3 for more details
+' (a copy is included in the LICENSE file that accompanied this code).
+'
+' You should have received a copy of the GNU Lesser General Public License
+' version 3 along with OpenOffice.org. If not, see
+' <http://www.openoffice.org/license.html>
+' for a copy of the LGPLv3 License.
+'
+'/************************************************************************
+'*
+'* owner : oliver.craemer@oracle.com
+'*
+'* short description : calc named range level 2 test
+'*
+'*************************************************************************
+'*
+' #1 c_namedrange ' Initial routine
+' #1 tAssignRangeName
+' #1 tCheckErrorInvalidRangeName
+' #1 tCheckErrorInvalidRangeSelected
+'*
+'\************************************************************************
+'TODO: add some old features
+
+sub cNamedRange
+
+Printlog Chr(13) + "--------- named range ---------"
+
+ call tAssignRangeName
+ call tCheckErrorInvalidRangeName
+ call tCheckErrorInvalidRangeSelected
+End sub
+'
+'---------------------------------------------------------------------------
+
+testcase tAssignRangeName
+
+ dim sInputFile as string
+ sInputFile = convertpath(gTesttoolPath & "spreadsheet/optional/input/namedrange.sxc")
+ dim sOutputFile as String
+ sOutputFile = convertpath(gOfficePath & "user/work/assignrangename." & sDefaultExtension)
+
+
+ printlog "Assign range names in name box"
+
+ printlog " Load testdocument and save locally with current filter"
+ call hFileOpen (sInputFile)
+ if NOT hFileSaveAsWithFilterKill (sOutputFile , "calc8") then
+ warnlog "Saving test document localy failed -> Aborting"
+ call hCloseDocument
+ goto endsub
+ end if
+
+ printlog " Select range C2:F10"
+ call fCalcSelectRange("C2:F10")
+ printlog " Assign name 'FirstRange'"
+ call fCalcNameRange("FirstRange")
+ printlog " Select range X31996:AB32005"
+ call fCalcSelectRange("X31996:AB32005")
+ printlog " Assign name 'SecondRange'"
+ call fCalcNameRange("SecondRange")
+ printlog " Select range IT65533:IU65535"
+ call fCalcSelectRange("IT65533:IU65535")
+ printlog " Assign name 'ThördRänge' (Special Characters ;-)"
+ call fCalcNameRange("ThördRänge")
+ printlog " Select cell J333"
+ call fCalcSelectRange("J333")
+ printlog " Assign name 'OneCell'"
+ call fCalcNameRange("OneCell")
+ printlog " Save changes and reload"
+ FileSave
+ call hCloseDocument
+ call hFileOpen (sOutputFile)
+ printlog " Select range C2:F10"
+ call fCalcSelectRange("C2:F10")
+ printlog " Check for formula bar visibility"
+ Kontext "RechenleisteCalc"
+ if not RechenleisteCalc.isvisible then
+ warnlog "Formula bar was expected to be visible"
+ ViewToolbarsFormulaBar
+ end if
+ sleep(2)
+ printlog " Check name box for 'FirstRange'"
+ Kontext "RechenleisteCalc"
+ if Bereich.GetSelText = "FirstRange" then
+ printlog "Correct name assigned for 'C2:F10'"
+ else
+ warnlog "Name for 'C2:F10' is " & Bereich.GetSelText & " instead of 'FirstRange'"
+ end if
+ printlog " Select range X31996:AB32005"
+ call fCalcSelectRange("X31996:AB32005")
+ printlog " Check name box for 'SecondRange'"
+ Kontext "RechenleisteCalc"
+ if Bereich.GetSelText = "SecondRange" then
+ printlog "Correct name assigned for 'X31996:AB32005'"
+ else
+ warnlog "Name for 'X31996:AB32005' is " & Bereich.GetSelText & " instead of 'SecondRange'"
+ end if
+ printlog " Select range IT65533:IU65535"
+ call fCalcSelectRange("IT65533:IU65535")
+ printlog " Check name box for 'ThördRänge'"
+ Kontext "RechenleisteCalc"
+ if Bereich.GetSelText = "ThördRänge" then
+ printlog "Correct name assigned for 'IT65533:IU65535'"
+ else
+ warnlog "Name for 'IT65533:IU65535' is " & Bereich.GetSelText & " instead of 'ThördRänge'"
+ end if
+ printlog " Select cell J333"
+ call fCalcSelectRange("J333")
+ printlog " Check name box for 'OneCell'"
+ Kontext "RechenleisteCalc"
+ if Bereich.GetSelText = "OneCell" then
+ printlog "Correct name assigned for 'J333'"
+ else
+ warnlog "Name for 'J333' is " & Bereich.GetSelText & " instead of 'OneCell'"
+ end if
+ printlog " Close document and finish test</ul>"
+ sleep(2)
+ call hCloseDocument
+
+ endcase
+'
+'---------------------------------------------------------------------------
+'
+testcase tCheckErrorInvalidRangeName
+
+ printlog "Check for error messages when assigning invalid range name"
+ printlog " New calc document"
+ call hNewDocument
+ printlog " Select range C2:F10"
+ call fCalcSelectRange("C2:F10")
+ printlog " Try to assign name '%FirstRange'"
+ printlog " and check for failture"
+ if fCalcNameRange("%FirstRange") then
+ warnlog "OOPS, assigning invalid range name '%FirstRange' should fail!"
+ else
+ printlog "Invalid name was not accepted"
+ end if
+ printlog " Close document and finish test</ul>"
+ call hCloseDocument
+endcase
+'
+'---------------------------------------------------------------------------
+'
+testcase tCheckErrorInvalidRangeSelected
+
+ printlog "Check for error messages when assigning invalid range name"
+ printlog " New calc document"
+ call hNewDocument
+ printlog " Select range C2:F10"
+ call fCalcSelectRange("C2:D3")
+ printlog " Change calc selection mode"
+ Kontext "DocumentCalc"
+ DocumentCalc.TypeKeys ("<SHIFT F8>")
+ printlog " Add random cell to selection"
+ Kontext "DocumentCalc"
+ call gMouseClick (90,90)
+ printlog " Try to assign valid name 'FirstRange'"
+ printlog " and check for failture"
+ if fCalcNameRange("FirstRange") then
+ warnlog "OOPS, assigning invalid range selected with 'FirstRange' should fail!"
+ else
+ printlog "Invalid selection was not accepted"
+ end if
+ Kontext "DocumentCalc"
+ printlog " Reset calc selection mode"
+ DocumentCalc.TypeKeys ("<SHIFT F8>")
+ printlog " Close document and finish test"
+ call hCloseDocument
+endcase
+
diff --git a/testautomation/spreadsheet/optional/includes/printrange/c_printrange.inc b/testautomation/spreadsheet/optional/includes/printrange/c_printrange.inc
new file mode 100755
index 000000000000..6bfa955a483a
--- /dev/null
+++ b/testautomation/spreadsheet/optional/includes/printrange/c_printrange.inc
@@ -0,0 +1,923 @@
+'encoding UTF-8 Do not remove or change this line!
+'**************************************************************************
+' DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+'
+' Copyright 2000, 2010 Oracle and/or its affiliates.
+'
+' OpenOffice.org - a multi-platform office productivity suite
+'
+' This file is part of OpenOffice.org.
+'
+' OpenOffice.org is free software: you can redistribute it and/or modify
+' it under the terms of the GNU Lesser General Public License version 3
+' only, as published by the Free Software Foundation.
+'
+' OpenOffice.org is distributed in the hope that it will be useful,
+' but WITHOUT ANY WARRANTY; without even the implied warranty of
+' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+' GNU Lesser General Public License version 3 for more details
+' (a copy is included in the LICENSE file that accompanied this code).
+'
+' You should have received a copy of the GNU Lesser General Public License
+' version 3 along with OpenOffice.org. If not, see
+' <http://www.openoffice.org/license.html>
+' for a copy of the LGPLv3 License.
+'
+'/************************************************************************
+'*
+'* owner : oliver.craemer@oracle.com
+'*
+'* short description : spreadsheet printrange test
+'*
+'*************************************************************************
+'*
+' #1 tDefinePrintRange
+' #1 tAddPrintRange
+' #1 tRemovePrintRangeByContext
+' #1 tRemovePrintRangeByMenu
+' #1 tNamedRangeToPrintRange
+' #1 tEntireSheet
+' #1 tPrintRangeMouseSelection
+' #1 tEmptyRangeMessagebox
+'*
+'\************************************************************************
+'TODO: three test cases to go
+
+sub c_printrange
+
+Printlog Chr(13) + "--------- printrange ---------"
+
+ call tDefinePrintRange
+ call tAddPrintRange
+ call tRemovePrintRangeByContext
+ call tRemovePrintRangeByMenu
+ call tNamedRangeToPrintRange
+ call tEntireSheet
+ call tPrintRangeMouseSelection
+ call tEmptyRangeMessagebox
+
+End sub
+'
+'---------------------------------------------------------------------------
+
+testcase tDefinePrintRange
+
+ dim sRangeFile as string
+ dim sLocalFile as string
+
+ sRangeFile = convertpath ( gTesttoolpath & "spreadsheet/optional/input/printrange.sxc" )
+ sLocalFile = convertpath ( gOfficepath & "user/work/defineprintrange." & sDefaultExtension )
+
+ printlog " Load testdocument and save locally with current filter"
+ call hFileOpen ( sRangeFile )
+ if not hFileSaveAsWithFilterKill( sLocalFile , sDefaultCalcFilter ) then
+ warnlog "Saving test document localy failed -> Aborting"
+ call hCloseDocument
+ goto endsub
+ end if
+
+ printlog " Select area B2:E5"
+ call fCalcSelectRange("B2:E5")
+ printlog " Define print range by menu Format-Print Ranges-Define"
+ FormatPrintRangesDefine
+ printlog " Activate Page Preview (File-Page Preview)"
+ FilePageView
+ sleep(2)
+ printlog " Check if there is only one page as output"
+ Kontext "Previewbar"
+ 'now all navigation buttons should be deactivated
+ 'if this is true there's only one page to print
+ 'that's what we check now
+ printlog "Check if all navigation buttons do not work"
+ printlog "True -> Only one page to print (expected result)"
+ printlog "False -> BUG"
+ Kontext "Previewbar"
+ try
+ OL_SEITENANSICHT_NaechsteSeiteCalc
+ warnlog "+ There seems to be more than one page -> BUG!?"
+ catch
+ printlog " + OK, 'next page' button does not work"
+ endcatch
+ Kontext "Previewbar"
+ try
+ OL_SEITENANSICHT_VorherigeSeiteCalc
+ warnlog "+ There seems to be more than one page -> BUG!?"
+ catch
+ printlog " + OK, 'previous page' button does not work"
+ endcatch
+ Kontext "Previewbar"
+ try
+ OL_SEITENANSICHT_ErsteSeiteCalc
+ warnlog "+ There seems to be more than one page -> BUG!?"
+ catch
+ printlog " + OK, 'first page' button does not work"
+ endcatch
+ Kontext "Previewbar"
+ try
+ OL_SEITENANSICHT_LetzteSeiteCalc
+ warnlog "+ There seems to be more than one page -> BUG!?"
+ catch
+ printlog " + OK, 'last page' button does not work"
+ endcatch
+ printlog " Close page preview"
+ FilePageView
+ printlog " Enable View-Page Break Preview"
+ ViewPageBreakPreview
+ printlog " Select area A1:C10"
+ call fCalcSelectRange("A1:C10")
+ printlog " Call context Define Print Range"
+ Kontext "DocumentCalc"
+ DocumentCalc.MouseMove(5,5)
+ sleep(2)
+ DocumentCalc.OpenContextMenu
+ sleep(2)
+ 'Because of the SunSearchToolbar, which is not available on OOo by default the count of
+ 'entries in the context could vary, therefor the desired entry must be searched.
+ if hMenuFindSelect(26602, true, 3) = false then
+ Warnlog "Context-Menu-entry `Define Print Range` was not found. Therefore the test ends."
+ Call hCloseDocument
+ Goto Endsub
+ end if
+ printlog "+ 'Define Print Range' was selected in context menu"
+ printlog " Activate Page Preview (File-Page Preview)"
+ FilePageView
+ sleep(2)
+ '///+ Check if there is only one page as output</li>
+ Kontext "Previewbar"
+ 'now all navigation buttons should be deactivated
+ 'if this is true there's only one page to print
+ 'that's what we check now
+ printlog "Check if all navigation buttons do not work"
+ printlog "True -> Only one page to print (expected result)"
+ printlog "False -> BUG"
+ Kontext "Previewbar"
+ try
+ OL_SEITENANSICHT_NaechsteSeiteCalc
+ warnlog "+ There seems to be more than one page -> BUG!?"
+ catch
+ printlog " + OK, 'next page' button does not work"
+ endcatch
+ Kontext "Previewbar"
+ try
+ OL_SEITENANSICHT_VorherigeSeiteCalc
+ warnlog "+ There seems to be more than one page -> BUG!?"
+ catch
+ printlog " + OK, 'previous page' button does not work"
+ endcatch
+ Kontext "Previewbar"
+ try
+ OL_SEITENANSICHT_ErsteSeiteCalc
+ warnlog "+ There seems to be more than one page -> BUG!?"
+ catch
+ printlog " + OK, 'first page' button does not work"
+ endcatch
+ Kontext "Previewbar"
+ try
+ OL_SEITENANSICHT_LetzteSeiteCalc
+ warnlog "+ There seems to be more than one page -> BUG!?"
+ catch
+ printlog " + OK, 'last page' button does not work"
+ endcatch
+ printlog " Close page preview"
+ FilePageView
+ printlog " At last check if the expected print range is selected"
+ FormatPrintRangesEdit
+ Kontext "DruckbereicheBearbeiten"
+ if DruckBereich.GetText = "$A$1:$C$10" then
+ printlog " Print range selection as expected"
+ else
+ warnlog "Expected print range is <$A$1:$C$10>, but we got: " & DruckBereich.GetText
+ end if
+ DruckbereicheBearbeiten.Cancel
+ sleep(2)
+ call hCloseDocument
+endcase
+
+'
+'---------------------------------------------------------------------------
+'
+testcase tAddPrintRange
+
+ dim sRangeFile as string
+ dim sLocalFile as string
+
+ sRangeFile = convertpath ( gTesttoolpath & "spreadsheet/optional/input/printrange.sxc" )
+ sLocalFile = convertpath ( gOfficepath & "user/work/addprintrange" & sDefaultExtension )
+
+ printlog " Load testdocument printrange.sxc and save locally with current filter"
+ call hFileOpen ( sRangeFile )
+ if ( not hFileSaveAsWithFilterKill( sLocalFile , sDefaultCalcFilter ) ) then
+ warnlog "Saving test document localy failed -> Aborting"
+ call hCloseDocument
+ goto endsub
+ end if
+
+ printlog " Select area H11:J15"
+ ViewPageBreakPreview
+ call fCalcSelectRange("H11:J15")
+ printlog " Define print range by menu Format-Print Ranges-Define"
+ FormatPrintRangesDefine
+ printlog " Select area E41:H55"
+ call fCalcSelectRange("E41:H55")
+ printlog " Add print range by menu Format-Print Ranges-Add"
+ FormatPrintRangesAdd
+ printlog " Select area A1:F15"
+ call fCalcSelectRange("A1:F20")
+ printlog " Call context Add Print Range"
+ Kontext "DocumentCalc"
+ DocumentCalc.MouseMove(5,5)
+ sleep(2)
+ DocumentCalc.OpenContextMenu
+ sleep(2)
+ 'Because of the SunSearchToolbar, which is not available on OOo by default the count of
+ 'entries in the context could vary, therefor the desired entry must be searched.
+ if hMenuFindSelect(26651, true, 3) = false then
+ Warnlog "Context-Menu-entry `Add Print Range` was not found. Therefore the test ends."
+ Call hCloseDocument
+ Goto Endsub
+ end if
+ printlog "+ <Add Print Range> was selected in context menu"
+ sleep(2)
+ printlog " Save and Reload"
+ FileSave
+ sleep(5)
+ FileReload
+ sleep(10)
+ printlog " Check if the expected print range is selected"
+ FormatPrintRangesEdit
+ Kontext "DruckbereicheBearbeiten"
+ if DruckBereich.GetText = "$H$11:$J$15;$E$41:$H$55;$A$1:$F$20" then
+ printlog "Print range selection as expected"
+ else
+ warnlog "Expected print range is <$H$11:$J$15;$E$41:$H$55;$A$1:$F$20>, but we got: " & DruckBereich.GetText
+ end if
+ DruckbereicheBearbeiten.Cancel
+ sleep(1)
+ printlog " Check if the expected number of pages will be print"
+ FilePrint
+ kontext "Active"
+ if Active.exists( 2 ) then
+ Active.ok
+ end if
+
+ Kontext "Printing"
+ Kontext "TabPrintGeneral"
+ PrintPages.check
+ if PageRange.GetText = "1-3" then
+ printlog "+ Pages to print as expected"
+ else
+ warnlog "Expected pages to print are <1-3>, but we got: " & PageRange.GetText
+ end if
+ Kontext "Printing"
+ Printing.Cancel
+ sleep(2)
+ call hCloseDocument
+endcase
+
+'
+'---------------------------------------------------------------------------
+'
+testcase tRemovePrintRangeByContext
+
+ dim sRangeFile as string
+ dim sLocalFile as string
+
+ sRangeFile = convertpath ( gTesttoolpath & "spreadsheet/optional/input/printranges_3defined.ods" )
+ sLocalFile = convertpath ( gOfficepath & "user/work/removeprintrange." & sDefaultExtension )
+
+ printlog " Open test document '.../spreadsheet/optional/input/printranges_3defined.ods'"
+ call hFileOpen ( sRangeFile )
+ printlog " Save file locally '.../user/work/removeprintrange.ods'"
+ if ( not hFileSaveAsWithFilterKill( sLocalFile , sDefaultCalcFilter ) ) then
+ warnlog "Saving test document localy failed -> Aborting"
+ call hCloseDocument
+ goto endsub
+ end if
+
+ printlog " Invoke Format::Print Ranges::Edit"
+ FormatPrintRangesEdit
+ Kontext "DruckbereicheBearbeiten"
+ printlog " Check if print range is '$H$11:$J$15;$E$41:$H$55;$A$1:$F$20'"
+ if DruckBereich.GetText = "$H$11:$J$15;$E$41:$H$55;$A$1:$F$20" then
+ printlog "+ Print range selection as expected"
+ else
+ warnlog "Expected print range is <$H$11:$J$15;$E$41:$H$55;$A$1:$F$20>, but we got: " & DruckBereich.GetText
+ end if
+ printlog " Cancel print range dialog"
+ DruckbereicheBearbeiten.Cancel
+
+ Kontext "DocumentCalc"
+ printlog " Click in right buttom corner"
+ call gMouseClick ( 95, 95 )
+ sleep(2)
+ printlog " Open context menu"
+ DocumentCalc.OpenContextMenu
+ sleep(2)
+ printlog " Select 'Undo Print Range' in context menu"
+ 'Because of the SunSearchToolbar, which is not available on OOo by default the count of
+ 'entries in the context could vary, therefor the desired entry must be searched.
+ if hMenuFindSelect(26603, true, 3) = false then
+ warnlog "Context-Menu-entry `Undo Print Range` was not found. Therefore the test ends."
+ call hCloseDocument
+ goto endsub
+ end if
+ printlog "+ <Undo Print Range> was selected in context menu"
+
+ printlog " Invoke Format::Print Ranges::Edit"
+ FormatPrintRangesEdit
+ Kontext "DruckbereicheBearbeiten"
+ printlog " Check if no print range is defined"
+ if DruckBereich.GetText = "" then
+ printlog "+ No print range selected as expected"
+ else
+ warnlog "Expected print range is <EMPTY>, but we got: " & DruckBereich.GetText
+ end if
+ DruckbereicheBearbeiten.Cancel
+
+ sleep(2)
+ printlog " Close document"
+ call hCloseDocument
+
+endcase
+
+'
+'---------------------------------------------------------------------------
+'
+testcase tRemovePrintRangeByMenu
+
+ dim sRangeFile as string
+ dim sLocalFile as string
+
+ sRangeFile = convertpath ( gTesttoolpath & "spreadsheet/optional/input/printranges_3defined.ods" )
+ sLocalFile = convertpath ( gOfficepath & "user/work/removeprintrange." & sDefaultExtension )
+
+ printlog " Open test document '.../spreadsheet/optional/input/printranges_3defined.ods'"
+ call hFileOpen ( sRangeFile )
+ printlog " Save file locally '.../user/work/removeprintrange.ods'"
+ if ( not hFileSaveAsWithFilterKill( sLocalFile , sDefaultCalcFilter ) ) then
+ warnlog "Saving test document localy failed -> Aborting"
+ call hCloseDocument
+ goto endsub
+ end if
+
+ printlog "Invoke Format::Print Ranges::Edit"
+ FormatPrintRangesEdit
+ Kontext "DruckbereicheBearbeiten"
+ printlog " Check if print range is '$H$11:$J$15;$E$41:$H$55;$A$1:$F$20'"
+ if DruckBereich.GetText = "$H$11:$J$15;$E$41:$H$55;$A$1:$F$20" then
+ printlog "+ Print range selection as expected"
+ else
+ warnlog "Expected print range is <$H$11:$J$15;$E$41:$H$55;$A$1:$F$20>, but we got: " & DruckBereich.GetText
+ end if
+ printlog "Cancel print range dialog"
+ DruckbereicheBearbeiten.Cancel
+
+ Kontext "DocumentCalc"
+ printlog " Invoke Format::Print Ranges::Remove"
+ FormatPrintRangesRemove
+ printlog " Invoke Format::Print Ranges::Edit"
+ FormatPrintRangesEdit
+ printlog " Check if no print range is defined"
+ Kontext "DruckbereicheBearbeiten"
+ if DruckBereich.GetText = "" then
+ printlog "+ No print range selected as expected"
+ else
+ warnlog "Expected print range is <EMPTY>, but we got: " & DruckBereich.GetText
+ end if
+ printlog " Cancel print range dialog"
+ DruckbereicheBearbeiten.Cancel
+ printlog " Undo removal"
+ EditUndo
+
+ printlog " Invoke Format::Print Ranges::Edit"
+ FormatPrintRangesEdit
+ Kontext "DruckbereicheBearbeiten"
+ printlog " Check if print range is '$H$11:$J$15;$E$41:$H$55;$A$1:$F$20'"
+ if DruckBereich.GetText = "$H$11:$J$15;$E$41:$H$55;$A$1:$F$20" then
+ printlog "+ Print range selection as expected"
+ else
+ warnlog "Expected print range is <$H$11:$J$15;$E$41:$H$55;$A$1:$F$20>, but we got: " & DruckBereich.GetText
+ end if
+ printlog " Cancel print range dialog"
+ DruckbereicheBearbeiten.Cancel
+ printlog " Redo removal"
+ EditRedo
+ printlog " Invoke Format::Print Ranges::Edit"
+ FormatPrintRangesEdit
+ Kontext "DruckbereicheBearbeiten"
+ printlog " Check if no print range is defined"
+ if DruckBereich.GetText = "" then
+ printlog "+ No print range selected as expected"
+ else
+ warnlog "Expected print range is <EMPTY>, but we got: " & DruckBereich.GetText
+ end if
+ printlog " Cancel print range dialog"
+ DruckbereicheBearbeiten.Cancel
+ printlog " Undo removal"
+ EditUndo
+ printlog " File::Save"
+ FileSave
+
+ sleep(2)
+ printlog " Close document"
+ call hCloseDocument
+ printlog " Re-open document"
+ call hFileOpen ( sLocalFile )
+ printlog " Invoke Format::Print Ranges::Edit"
+ FormatPrintRangesEdit
+ Kontext "DruckbereicheBearbeiten"
+ printlog " Check if print range is '$H$11:$J$15;$E$41:$H$55;$A$1:$F$20'"
+ if DruckBereich.GetText = "$H$11:$J$15;$E$41:$H$55;$A$1:$F$20" then
+ printlog "+ Print range selection as expected"
+ else
+ warnlog "Expected print range is <$H$11:$J$15;$E$41:$H$55;$A$1:$F$20>, but we got: " & DruckBereich.GetText
+ end if
+
+ DruckbereicheBearbeiten.Cancel
+ printlog " Cancel print range dialog"
+ sleep(2)
+ printlog " Close document"
+ call hCloseDocument
+
+endcase
+
+'
+'---------------------------------------------------------------------------
+'
+testcase tNamedRangeToPrintRange
+
+ dim sLocalFile as STRING
+ sLocalFile = convertpath ( gOfficepath & "user/work/namedRange." & sDefaultExtension )
+ dim sAnotherFile as STRING
+ sAnotherFile = convertpath ( gOfficepath & "user/work/namedRange1." & sDefaultExtension )
+ dim sLocalFileXLS as STRING
+ sLocalFileXLS = convertpath ( gOfficepath & "user/work/namedRange.xls" )
+ dim sFormatXLS as STRING
+ sFormatXLS = "MS Excel 97"
+ dim sRangeToSelect as STRING
+ sRangeToSelect = "$B$3:$D$5"
+ dim sRangeName as STRING
+ sRangeName = "NamedRange"
+ dim sNewRangeToSelect as STRING
+ sNewRangeToSelect = "$C$4:$E$6"
+
+ printlog "Use named range as print range"
+
+ printlog " Open new document"
+ call hNewDocument
+ printlog " Select range '$B$3:$D$5'"
+ fCalcSelectRange ( sRangeToSelect )
+ printlog " Name this range 'NamedRange'"
+ fCalcNameRange ( sRangeName )
+ printlog " Invoke Insert::Names::Define"
+ InsertNamesDefine
+ sleep 1
+ Kontext "NamenFestlegen"
+ printlog " Select previously defined range"
+ BereichsName.typekeys "N"
+ sleep 1
+ printlog " Click 'More' button"
+ Zusaetze.Click
+ printlog " Check 'Print range'"
+ Druckbereich.Check
+ printlog " Click OK"
+ NamenFestlegen.OK
+ printlog " Invoke Format::Print Ranges::Edit"
+ FormatPrintRangesEdit
+ Kontext "DruckbereicheBearbeiten"
+ printlog " Select 'NamedRange' as print range"
+ DruckbereichListe.select ( sRangeName )
+ printlog " Check if this is item no.5"
+ if NOT DruckbereichListe.getSelIndex = 5 then
+ warnlog "Unexpected selection for 'print range' listbox"
+ end if
+ printlog " Check if the according string is '$B$3:$D$5'"
+ if Druckbereich.getText <> sRangeToSelect then
+ warnlog "Unexpected string in 'print range' textbox"
+ end if
+ printlog " Click OK"
+ DruckbereicheBearbeiten.OK
+ printlog " Save file locally '.../user/work/namedRange.ods'"
+ if ( not hFileSaveAsWithFilterKill( sLocalFile , sDefaultCalcFilter ) ) then
+ warnlog "Saving test document localy failed -> Aborting"
+ call hCloseDocument
+ goto endsub
+ end if
+ printlog " Close document"
+ call hCloseDocument
+ printlog " Open document"
+ call hFileOpen ( sLocalFile )
+ printlog " Invoke Format::Print Ranges::Edit"
+ FormatPrintRangesEdit
+ Kontext "DruckbereicheBearbeiten"
+ printlog " Check if item no.5 is selected as print range"
+ if DruckbereichListe.getSelIndex <> 5 then
+ warnlog "Unexpected selection for 'print range' listbox"
+ end if
+ printlog " Check if 'NamedRange' is selected as print range"
+ if DruckbereichListe.getSelText <> sRangeName then
+ warnlog "Unexpected selection for 'print range' listbox"
+ end if
+ printlog " Check if the according string is '$B$3:$D$5'"
+ if Druckbereich.getText <> sRangeToSelect then
+ warnlog "Unexpected string in 'print range' textbox"
+ end if
+ printlog " Cancel print range dialog"
+ DruckbereicheBearbeiten.Cancel
+ printlog " Save filein Excel97/2000/XP format '.../user/work/namedRange.xls'"
+ if NOT hFileSaveAsWithFilterKill ( sLocalFileXLS , sFormatXLS ) then
+ warnlog "Saving test document localy failed -> Aborting"
+ call hCloseDocument
+ goto endsub
+ end if
+ printlog " Close document"
+ call hCloseDocument
+ printlog " Open document"
+ call hFileOpen ( sLocalFileXLS )
+ printlog " Invoke Format::Print Ranges::Edit"
+ FormatPrintRangesEdit
+ Kontext "DruckbereicheBearbeiten"
+ printlog " Check if item no.5 is selected as print range"
+ if DruckbereichListe.getSelIndex <> 5 then
+ warnlog "Unexpected selection for 'print range' listbox"
+ end if
+ printlog " Check if the according string is '$B$3:$D$5'"
+ if Druckbereich.getText <> sRangeToSelect then
+ warnlog "Unexpected string in 'print range' textbox"
+ end if
+ printlog " Cancel print range dialog"
+ DruckbereicheBearbeiten.Cancel
+ printlog " Invoke Insert::Names::Define"
+ InsertNamesDefine
+ sleep 1
+ Kontext "NamenFestlegen"
+ printlog " Select entry 'NamedRange'"
+ BereichsName.typekeys "N"
+ sleep 1
+ printlog " Assign new range, '$C$4:$E$6'"
+ ZugeordnetZu.SetText ( sNewRangeToSelect )
+ printlog " Click 'More'"
+ Zusaetze.Click
+ printlog " Check 'Print range'"
+ Druckbereich.Check
+ printlog " Click OK"
+ NamenFestlegen.OK
+ printlog " Invoke Format::Print Ranges::Edit"
+ FormatPrintRangesEdit
+ Kontext "DruckbereicheBearbeiten"
+ printlog " Select 'NamedRange' as print range"
+ DruckbereichListe.select ( sRangeName )
+ printlog " Check if this is item no.6"
+ if NOT DruckbereichListe.getSelIndex = 6 then
+ warnlog "Unexpected selection for 'print range' listbox"
+ end if
+ printlog " Check if the according string is '$C$4:$E$6'"
+ if Druckbereich.getText <> sNewRangeToSelect then
+ warnlog "Unexpected string in 'print range' textbox"
+ end if
+ printlog " Click OK"
+ DruckbereicheBearbeiten.OK
+ printlog " Save file locally '.../user/work/namedRange1.ods'"
+ if NOT hFileSaveAsWithFilterKill ( sAnotherFile , sDefaultCalcFilter ) then
+ warnlog "Saving test document localy failed -> Aborting"
+ call hCloseDocument
+ goto endsub
+ end if
+ printlog " Close document"
+ call hCloseDocument
+ printlog " Open document again"
+ call hFileOpen ( sAnotherFile )
+ printlog " Invoke Format::Print Ranges::Edit"
+ FormatPrintRangesEdit
+ Kontext "DruckbereicheBearbeiten"
+ printlog " Check if item no.6 is selected as print range"
+ if DruckbereichListe.getSelIndex <> 6 then
+ warnlog "Unexpected selection for 'print range' listbox"
+ end if
+ printlog " Check if 'NamedRange' is selected as print range"
+ if DruckbereichListe.getSelText <> sRangeName then
+ warnlog "Unexpected selection for 'print range' listbox"
+ end if
+ printlog " Check if the according string is '$C$4:$E$6'"
+ if Druckbereich.getText <> sNewRangeToSelect then
+ warnlog "Unexpected string in 'print range' textbox"
+ end if
+ printlog " Cancel print range dialog"
+ DruckbereicheBearbeiten.Cancel
+ printlog " Close document"
+ call hCloseDocument
+
+endcase
+
+'
+'---------------------------------------------------------------------------
+'
+testcase tEntireSheet
+
+ dim sRangeFile as STRING
+ sRangeFile = convertpath ( gTesttoolpath & "spreadsheet/optional/input/printrange.xls" )
+ dim sLocalFile as STRING
+ sLocalFile = convertpath ( gOfficepath & "user/work/entireSheet." & sDefaultExtension )
+ dim sLocalFileXLS as STRING
+ sLocalFileXLS = convertpath ( gOfficepath & "user/work/entireSheet.xls" )
+ dim sFormatXLS as STRING
+ sFormatXLS = "MS Excel 97"
+
+ printlog " Open test document '.../spreadsheet/optional/input/printrange.xls'"
+ call hFileOpen ( sRangeFile )
+ printlog " Save file locally '.../user/work/entireSheet.ods'"
+ if NOT hFileSaveAsWithFilterKill ( sLocalFile , sDefaultCalcFilter ) then
+ warnlog "Saving test document localy failed -> Aborting"
+ call hCloseDocument
+ goto endsub
+ end if
+ printlog " Select second sheet"
+ if NOT fCalcSelectSheet ( 2 ) then
+ warnlog "Selecting sheet no. 2 failed -> Aborting"
+ call hCloseDocument
+ goto endsub
+ end if
+ printlog " Invoke Format::Print Ranges::Edit"
+ FormatPrintRangesEdit
+ Kontext "DruckbereicheBearbeiten"
+ printlog " Check if item no.2 (should be 'entire sheet') is selected in print range listbox"
+ if DruckbereichListe.getSelIndex = 2 then
+ printlog "+ OK, print range is '- entire sheet -'"
+ else
+ warnlog "Unexpected print range defined -> Check this out!"
+ end if
+ printlog " Cancel print range dialog"
+ DruckbereicheBearbeiten.Cancel
+ printlog " Close document"
+ call hCloseDocument
+ printlog " Open document"
+ call hFileOpen ( sLocalFile )
+ printlog " Select second sheet"
+ if NOT fCalcSelectSheet ( 2 ) then
+ warnlog "Selecting sheet no. 2 failed -> Aborting"
+ call hCloseDocument
+ goto endsub
+ end if
+ printlog " Invoke Format::Print Ranges::Edit"
+ FormatPrintRangesEdit
+ Kontext "DruckbereicheBearbeiten"
+ printlog " Check if item no.2 (should be 'entire sheet') is selected in print range listbox"
+ if DruckbereichListe.getSelIndex = 2 then
+ printlog "+ OK, print range is '- entire sheet -'"
+ else
+ warnlog "Unexpected print range defined -> Check this out!"
+ end if
+ printlog " Cancel print range dialog"
+ DruckbereicheBearbeiten.Cancel
+ printlog " Save filein Excel97/2000/XP format '.../user/work/entireSheet.xls'"
+ if NOT hFileSaveAsWithFilterKill ( sLocalFileXLS , sFormatXLS ) then
+ warnlog "Saving test document localy failed -> Aborting"
+ call hCloseDocument
+ goto endsub
+ end if
+ printlog " Close document"
+ call hCloseDocument
+ printlog " Open document again"
+ call hFileOpen ( sLocalFileXLS )
+ printlog " Select second sheet"
+ if NOT fCalcSelectSheet ( 2 ) then
+ warnlog "Selecting sheet no. 2 failed -> Aborting"
+ call hCloseDocument
+ goto endsub
+ end if
+ printlog " Invoke Format::Print Ranges::Edit"
+ FormatPrintRangesEdit
+ Kontext "DruckbereicheBearbeiten"
+ printlog " Check if item no.2 (should be 'entire sheet') is selected in print range listbox"
+ if DruckbereichListe.getSelIndex = 2 then
+ printlog "+ OK, print range is '- entire sheet -'"
+ else
+ warnlog "Unexpected print range defined -> Check this out!"
+ end if
+ printlog " Cancel print range dialog"
+ DruckbereicheBearbeiten.Cancel
+ printlog " Close document"
+ call hCloseDocument
+
+endcase
+
+'
+'---------------------------------------------------------------------------
+'
+testcase tPrintRangeMouseSelection
+
+ dim sLocalFile as STRING
+ sLocalFile = convertpath ( gOfficepath & "user/work/mouseSelection." & sDefaultExtension )
+ dim sSelectedRange as STRING
+ dim sSelectedRows as STRING
+ dim sSelectedColumns as STRING
+
+ printlog " Open new document"
+ call hNewDocument
+ printlog " Invoke Format::Print Ranges::Edit"
+ FormatPrintRangesEdit
+ printlog " Check if all settings are in initial state"
+ Kontext "DruckbereicheBearbeiten"
+ if NOT DruckbereichListe.getSelIndex = 1 then
+ warnlog "Unexpected selection for 'print range' listbox"
+ end if
+ if NOT WiederholungszeileListe.getSelIndex = 1 then
+ warnlog "Unexpected selection for 'rows to repeat' listbox"
+ end if
+ if NOT WiederholungsspalteListe.getSelIndex = 1 then
+ warnlog "Unexpected selection for 'columns to repeat' listbox"
+ end if
+ if Druckbereich.getText <> "" then
+ warnlog "Unexpected string in 'print range' textbox"
+ end if
+ if Wiederholungszeile.getText <> "" then
+ warnlog "Unexpected string in 'rows to repeat' textbox"
+ end if
+ if Wiederholungsspalte.getText <> "" then
+ warnlog "Unexpected string in 'columns to repeat' textbox"
+ end if
+ sleep(1)
+ printlog " Click print range button to shrink dialog"
+ DruckbereichButton.typekeys "<RETURN>"
+ sleep(1)
+ Kontext "DocumentCalc"
+ printlog " Select print range using mouse"
+ DocumentCalc.MouseDown ( 20 , 20 )
+ DocumentCalc.MouseMove ( 60 , 60 )
+ DocumentCalc.MouseUp ( 60 , 60 )
+ sleep(1)
+ Kontext "DruckbereicheBearbeiten"
+ printlog " Click print range button to unshrink dialog again"
+ DruckbereichButton.typekeys "<RETURN>"
+ printlog " Rember to selection for later comparisson"
+ sleep(1)
+ sSelectedRange = Druckbereich.getText
+ printlog " Click 'rows to repeat' button to shrink dialog"
+ WiederholungszeileButton.typekeys "<RETURN>"
+ sleep(1)
+ Kontext "DocumentCalc"
+ printlog " Select 'rows to repeat' using mouse"
+ DocumentCalc.MouseDown ( 10 , 10 )
+ DocumentCalc.MouseMove ( 15 , 30 )
+ DocumentCalc.MouseUp ( 15 , 30 )
+ sleep(1)
+ Kontext "DruckbereicheBearbeiten"
+ printlog " Click 'rows to repeat' button to unshrink dialog again"
+ WiederholungszeileButton.typekeys "<RETURN>"
+ sleep(1)
+ printlog " Remember to selection for later comparisson"
+ sSelectedRows = Wiederholungszeile.getText
+ printlog " Click 'columns to repeat' button to shrink dialog"
+ WiederholungsspalteButton.typekeys "<RETURN>"
+ sleep(1)
+ Kontext "DocumentCalc"
+ printlog " Select 'columns to repeat' using mouse"
+ DocumentCalc.MouseDown ( 10 , 10 )
+ DocumentCalc.MouseMove ( 50 , 15 )
+ DocumentCalc.MouseUp ( 50 , 15 )
+ sleep(1)
+ Kontext "DruckbereicheBearbeiten"
+ printlog " Click 'columns to repeat' button to unshrink dialog again"
+ WiederholungsspalteButton.typekeys "<RETURN>"
+ sleep(1)
+ printlog " Rember to selection for later comparisson"
+ sSelectedColumns = Wiederholungsspalte.getText
+ sleep(1)
+ printlog " Click OK"
+ DruckbereicheBearbeiten.OK
+ sleep(1)
+ printlog " Save file locally '.../user/work/mouseSelection.ods'"
+ if not hFileSaveAsWithFilterKill( sLocalFile , sDefaultCalcFilter ) then
+ warnlog "Saving test document localy failed -> Aborting"
+ call hCloseDocument
+ goto endsub
+ end if
+ sleep(2)
+ printlog " Close document"
+ call hCloseDocument
+ printlog " Open document again"
+ call hFileOpen ( sLocalFile )
+ printlog " Invoke Format::Print Ranges::Edit"
+ FormatPrintRangesEdit
+ Kontext "DruckbereicheBearbeiten"
+ printlog " Check persistance of all settings"
+ if NOT DruckbereichListe.getSelIndex = 3 then
+ warnlog "Unexpected selection for 'print range' listbox: Item No. " & DruckbereichListe.getSelIndex
+ end if
+ if NOT WiederholungszeileListe.getSelIndex = 2 then
+ warnlog "Unexpected selection for 'rows to repeat' listbox: Item No. " & WiederholungszeileListe.getSelIndex
+ end if
+ if NOT WiederholungsspalteListe.getSelIndex = 2 then
+ warnlog "Unexpected selection for 'columns to repeat' listbox: Item No. " & WiederholungsspalteListe.getSelIndex
+ end if
+ if Druckbereich.getText <> sSelectedRange then
+ warnlog "Unexpected selection in 'print range' textbox"
+ qaErrorLog "Found: " & Druckbereich.getText
+ qaErrorLog "Should: " & sSelectedRange
+ end if
+ if Wiederholungszeile.getText <> sSelectedRows then
+ warnlog "Unexpected selection in 'rows to repeat' textbox"
+ qaErrorLog "Found: " & Wiederholungszeile.getText
+ qaErrorLog "Should: " & sSelectedRows
+ end if
+ if Wiederholungsspalte.getText <> sSelectedColumns then
+ warnlog "Unexpected selection in 'columns to repeat' textbox"
+ qaErrorLog "Found: " & Wiederholungsspalte.getText
+ qaErrorLog "Should: " & sSelectedColumns
+ end if
+ printlog " Cancel print range dialog"
+ DruckbereicheBearbeiten.Cancel
+ printlog " Close document"
+ call hCloseDocument
+
+endcase
+
+'
+'---------------------------------------------------------------------------
+'
+testcase tEmptyRangeMessagebox
+
+ printlog "If the printrange or sheet is empty there should be a messagebox which says that there is nothing to print"
+ printlog " Open new document"
+ call hNewDocument
+
+ printlog " Print empty document by pressing standardbar button"
+ kontext "Standardbar"
+ Drucken.click
+
+ printlog " Check that there is a messagebox"
+ kontext
+ if Active.Exists(2) then
+ if Active.GetRT = 304 then
+ printlog "+ The messagebox " & Active.GetText & " has appeared"
+ Active.OK
+ else
+ warnlog "Unexpected objekt: " & Active.GetText & " found!"
+ try
+ Active.OK
+ catch
+ Active.Yes
+ endcatch
+ end if
+ else
+ warnlog "There is no messagebox (#i106423#)"
+ kontext "DocumentCalc"
+ call hCloseDocument
+ goto endsub
+ end if
+
+ Kontext "Printing"
+ if Printing.Exists( 2 ) then
+ Printing.Cancel
+ end if
+ sleep 2
+
+ printlog " Enter 1 in A1"
+ Kontext "DocumentCalc"
+ DocumentCalc.TypeKeys "1 <RETURN>"
+
+ printlog " Select cell A5"
+ if fGotoCell ( "A5" ) <> 0 then
+ warnlog "Could not select cell I2"
+ hCloseDocument
+ goto endsub
+ end if
+
+ printlog " Define print range by menu FORMAT / PRINT RANGES / DEFINE"
+ kontext "DocumentCalc"
+ FormatPrintRangesDefine
+
+ printlog " Print empty range by pressing standardbar button"
+ kontext "Standardbar"
+ Drucken.click
+
+ printlog " Check that there is a messagebox"
+ kontext
+ if Active.Exists(2) then
+ if Active.GetRT = 304 then
+ printlog "+ The messagebox " & Active.GetText & " has appeared"
+ Active.OK
+ else
+ warnlog "Unexpected objekt: " & Active.GetText & " found!"
+ try
+ Active.OK
+ catch
+ Active.Yes
+ endcatch
+ end if
+ else
+ warnlog "There is no messagebox"
+ kontext "DocumentCalc"
+ call hCloseDocument
+ goto endsub
+ end if
+
+ kontext "Printing"
+ if Printing.Exists( 2 ) then
+ Printing.Cancel
+ end if
+ printlog "Close document"
+ call hCloseDocument
+
+endcase
+
diff --git a/testautomation/spreadsheet/optional/includes/printscale/c_print_scale.inc b/testautomation/spreadsheet/optional/includes/printscale/c_print_scale.inc
new file mode 100755
index 000000000000..301bac08a49c
--- /dev/null
+++ b/testautomation/spreadsheet/optional/includes/printscale/c_print_scale.inc
@@ -0,0 +1,299 @@
+'encoding UTF-8 Do not remove or change this line!
+'**************************************************************************
+' DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+'
+' Copyright 2000, 2010 Oracle and/or its affiliates.
+'
+' OpenOffice.org - a multi-platform office productivity suite
+'
+' This file is part of OpenOffice.org.
+'
+' OpenOffice.org is free software: you can redistribute it and/or modify
+' it under the terms of the GNU Lesser General Public License version 3
+' only, as published by the Free Software Foundation.
+'
+' OpenOffice.org is distributed in the hope that it will be useful,
+' but WITHOUT ANY WARRANTY; without even the implied warranty of
+' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+' GNU Lesser General Public License version 3 for more details
+' (a copy is included in the LICENSE file that accompanied this code).
+'
+' You should have received a copy of the GNU Lesser General Public License
+' version 3 along with OpenOffice.org. If not, see
+' <http://www.openoffice.org/license.html>
+' for a copy of the LGPLv3 License.
+'
+'/************************************************************************
+'*
+'* owner : oliver.craemer@oracle.com
+'*
+'* short description : Check correct print scaling settings
+'*
+'*************************************************************************************************
+'*
+' #1 subPrintScaling
+' #1 tPrintScaling
+'*
+'\*************************************************************************************************
+sub subPrintScaling
+ printLog Chr(13) + "--------- Print scaling settings ----------"
+
+ call tPrintScaling
+
+end sub
+'*************************************************************************************************
+testcase tPrintScaling
+printlog "Check correct print scaling settings"
+printlog " "
+
+dim iIndex as INTEGER
+
+dim sOutputFile as STRING
+ sOutputFile = gOfficePath & ConvertPath( "user\work\printScaling.ods" )
+
+dim sNameSheet1 as STRING
+ sNameSheet1 = "Ten"
+dim sNameSheet2 as STRING
+ sNameSheet2 = "Moves"
+dim sNameSheet3 as STRING
+ sNameSheet3 = "Ahead"
+
+dim sNameStyle1 as STRING
+ sNameStyle1 = "1stStyle"
+dim sNameStyle2 as STRING
+ sNameStyle2 = "2ndStyle"
+dim sNameStyle3 as STRING
+ sNameStyle3 = "3rdStyle"
+
+dim sPagesToPrint as STRING
+
+ printlog "Open test document"
+ Call hNewDocument
+ sleep(2)
+
+ printlog "Add minimal content to all sheets"
+ for iIndex = 1 to 3
+ Kontext "RechenleisteCalc"
+ if not RechenleisteCalc.isvisible then
+ ViewToolbarsFormulaBar
+ end if
+ sleep(1)
+ printlog "* Create simple data area on sheet" & iIndex
+ Kontext "RechenleisteCalc"
+ Bereich.TypeKeys "<MOD1 A>"
+ if iIndex = 1 then
+ Bereich.TypeKeys "A1:B2"
+ printlog "* Type 'A1:B2' in Name Box to select area"
+ else
+ Bereich.TypeKeys "A1:AF400"
+ printlog "* Type 'A1:AF400' in Name Box to select area"
+ end if
+ sleep(1)
+ printlog "* Press <RETURN>"
+ Bereich.TypeKeys "<RETURN>"
+ Kontext "DocumentCalc"
+ printlog "* Fill area with '13' by typing 13<SHIFT MOD1 RETURN>"
+ DocumentCalc.TypeKeys "=13<SHIFT MOD1 RETURN>"
+ sleep(1)
+ printlog "* Assign specific name for sheet to avoid language dependencies by Format - Sheet - Rename"
+ FormatSheetRename
+ Kontext "TabelleUmbenennen"
+ select case iIndex
+ case 1 : Tabellenname.SetText sNameSheet1
+ case 2 : Tabellenname.SetText sNameSheet2
+ case 3 : Tabellenname.SetText sNameSheet3
+ end select
+ TabelleUmbenennen.OK
+ sleep(1)
+
+ printlog "* Switch to next sheet by Edit - Sheet - Select"
+ EditSheetSelect
+ Kontext "SelectSheets"
+ if iIndex = 3 then
+ printlog "* At the end return to the first sheet"
+ SheetSelectionBox.Select sNameSheet1
+ else
+ SheetSelectionBox.Select ( iIndex + 1 )
+ end if
+ SelectSheets.OK
+ sleep(1)
+ next iIndex
+
+ printlog "Invoke Style catalog"
+ FormatStylesCatalog
+ Kontext "Vorlagenkatalog"
+ printlog "Switch to Pagestyles"
+ Vorlagen.select ( 2 )
+ sleep(1)
+ printlog "Create three styles using different page scaling features"
+ for iIndex = 1 to 3
+ Kontext "Vorlagenkatalog"
+ printlog "* Click new"
+ Neu.Click
+ Kontext
+ printlog "* (Page format dialog should appear)"
+ printlog "* Select Page 'Organizer'"
+ active.SetPage TabVerwalten
+ printlog "* Close MsgBox when appeared"
+ if Active.Exists(2) then
+ if Active.GetRT = 304 then
+ Printlog Active.GetText
+ Active.Yes
+ end if
+ end if
+ Kontext "TabVerwalten"
+ printlog "* Assign name for each style"
+ select case iIndex
+ case 1 : VorlagenName.setText sNameStyle1
+ case 2 : VorlagenName.setText sNameStyle2
+ case 3 : VorlagenName.setText sNameStyle3
+ end select
+ Kontext
+ printlog "* Select Page 'Sheet'"
+ active.SetPage TabTabelleCalc
+ Kontext "TabTabelleCalc"
+ printlog "* For all three styles use different page scaling features"
+ scalingMode.Select ( iIndex )
+ select case iIndex
+ case 1 : SkalierungProzent.setText "444%"
+ printlog "* Scale size to 444%"
+ printlog "* NOTE: Maximum scale is 400%! Entering 444% should be decreased to 400%."
+ case 2 : ScalePageWidth.setText "3"
+ ScalePageHeight.setText "3"
+ printlog "* Scale output to 3 pages wide and 3 pages high"
+ case 3 : AnzahlMaxSeiten.setText "4"
+ printlog "* Scale output to a total of 4 pages"
+ end select
+ printlog "* Leave page format dialog using OK"
+ TabTabelleCalc.OK
+ next iIndex
+ printlog "Close style catalog using OK"
+ Kontext "Vorlagenkatalog"
+ Vorlagenkatalog.OK
+ sleep(2)
+ printlog "Assign the three styles created to the three sheets in document"
+ for iIndex = 1 to 3
+ printlog "* Select sheet" & iIndex & " by Edit - Sheet - Select"
+ EditSheetSelect
+ Kontext "SelectSheets"
+ SheetSelectionBox.Select ( iIndex )
+ SelectSheets.OK
+ sleep(1)
+ printlog "* Open the stylist if it is not opened"
+ Kontext "Gestalter"
+ if NOT Gestalter.exists(2) then
+ FormatStylist
+ end if
+ printlog "* Assign style" & iIndex & " using the stylist"
+ Kontext "Gestalter"
+ Seitenvorlagen.Click
+ Kontext "Vorlagenliste"
+ Vorlagenliste.TypeKeys "<HOME>"
+ sleep (2)
+ Vorlagenliste.Select ( iIndex )
+ Vorlagenliste.TypeKeys "<RETURN>"
+ next iIndex
+ printlog "Close stylist"
+ Kontext "Gestalter"
+ if Gestalter.exists(2) then
+ FormatStylist
+ end if
+
+ printlog "Save in current default format"
+ if hFileSaveAsWithFilterKill ( sOutputFile , "calc8" ) = FALSE then
+ warnlog "Saving " & sOutputFile & " failed! -> Exiting test!"
+ call hCloseDocument
+ else
+ printlog "... and close"
+ call hCloseDocument
+ sleep(2)
+ printlog "Reopen document"
+ call hFileOpen ( sOutputFile )
+ sleep(2)
+ printlog "Invoke File - Print"
+ FilePrint
+ Kontext "Active"
+ Sleep 1
+ printlog "Check if a MsgBox pops up due to misconfigured printer settings"
+ if Active.Exists(2) then
+ if Active.GetRT = 304 then
+ qaErrorlog "OOPS, are you sure that a printer is configured at all?"
+ try
+ Active.Ok
+ catch
+ Active.Yes
+ endcatch
+ end if
+ end if
+ printlog "Check if print dialog exists"
+ Kontext "Printing"
+ if Printing.Exists(2) then
+ Kontext "TabPrintGeneral"
+ PrintPages.check
+ printlog "Check for string '1-4' in pages textbox"
+ sPagesToPrint = PageRange.getText
+ if sPagesToPrint = "1-4" then
+ printlog " OK, expected number of pages for output"
+ else
+ warnlog "Unexpected number of pages for print output: " & sPagesToPrint & " -> Check this out!"
+ end if
+ Kontext "Printing"
+ Printing.Cancel
+ else
+ qaErrorlog "OOPS, are you sure that a printer is configured at all?"
+ end if
+ printlog "For all sheets ..."
+ for iIndex = 1 to 3
+ printlog "* ... select currently desired one"
+ EditSheetSelect
+ Kontext "SelectSheets"
+ SheetSelectionBox.Select ( iIndex )
+ SelectSheets.OK
+ sleep(1)
+ printlog "* Invoke Format - Page..."
+ FormatPageCalc
+ Kontext
+ printlog "* Select Page 'Sheet'"
+ active.SetPage TabTabelleCalc
+ printlog "* Close MsgBox when appeared"
+ if Active.Exists(2) then
+ if Active.GetRT = 304 then
+ Printlog Active.GetText
+ Active.Yes
+ end if
+ end if
+ Kontext "TabTabelleCalc"
+ if scalingMode.GetSelIndex = iIndex then
+ printlog "* Check if styles for print scaling have be appropriately assign"
+ select case iIndex
+ case 1
+ if SkalierungProzent.GetText <> "400%" then
+ warnlog "Unexpected scaling factor detected -> Check this out!"
+ end if
+ printlog "* Correct scaling mode selected"
+ case 2
+ if ScalePageWidth.GetText <> "3" then
+ warnlog "Unexpected page width detected -> Check this out!"
+ end if
+ if ScalePageHeight.GetText <> "3" then
+ warnlog "Unexpected page height detected -> Check this out!"
+ end if
+ printlog "* Correct scaling mode selected"
+ case 3
+ if AnzahlMaxSeiten.GetText <> "4" then
+ warnlog "Unexpected page height detected -> Check this out!"
+ end if
+ printlog "* Correct scaling mode selected"
+ end select
+ else
+ warnlog "Unexpected scaling mode found -> Check this out!"
+ end if
+ printlog "* Quit dialog"
+ TabTabelleCalc.Cancel
+ next iIndex
+ printlog "Close document"
+ call hCloseDocument
+
+ end if
+endcase
+
diff --git a/testautomation/spreadsheet/optional/includes/so7pp1/c_so7_pp1_ibis.inc b/testautomation/spreadsheet/optional/includes/so7pp1/c_so7_pp1_ibis.inc
new file mode 100644
index 000000000000..186fe00ae9e4
--- /dev/null
+++ b/testautomation/spreadsheet/optional/includes/so7pp1/c_so7_pp1_ibis.inc
@@ -0,0 +1,221 @@
+'encoding UTF-8 Do not remove or change this line!
+'**************************************************************************
+' DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+'
+' Copyright 2000, 2010 Oracle and/or its affiliates.
+'
+' OpenOffice.org - a multi-platform office productivity suite
+'
+' This file is part of OpenOffice.org.
+'
+' OpenOffice.org is free software: you can redistribute it and/or modify
+' it under the terms of the GNU Lesser General Public License version 3
+' only, as published by the Free Software Foundation.
+'
+' OpenOffice.org is distributed in the hope that it will be useful,
+' but WITHOUT ANY WARRANTY; without even the implied warranty of
+' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+' GNU Lesser General Public License version 3 for more details
+' (a copy is included in the LICENSE file that accompanied this code).
+'
+' You should have received a copy of the GNU Lesser General Public License
+' version 3 along with OpenOffice.org. If not, see
+' <http://www.openoffice.org/license.html>
+' for a copy of the LGPLv3 License.
+'
+'/************************************************************************
+'**
+'** owner : oliver.craemer@Sun.COM
+'**
+'** short description : Test IBIS bug fixes
+'**
+'************************************************************************
+' **
+' #1 tIBIS111099 ' Disable design mode of form controls after loading excel file
+' #1 tIBIS111158 ' Lost properties of form controls
+' #1 tIBIS111711 ' Crash when deleting chart in Menu->Window->New Window
+' **
+'\***********************************************************************
+
+testcase tIBIS111099
+
+ Dim testdoc as string
+ testdoc = convertpath(gOfficePath & "user/work/111099.xls")
+ Printlog "Copy testdocument locally"
+ app.FileCopy convertpath(gTesttoolpath & "spreadsheet\optional\input\111099.xls"),gOfficePath + ConvertPath("user/work/111099.xls")
+ printlog " Open the test document"
+ Call hFileOpen(testdoc)
+ Call sMakeReadOnlyDocumentEditable
+ '/// Invoke Control Toolbar
+ '///+ Try to click control 'Push Button'
+ '///+> <ul><li>Click successful - BUG #111099#</li>
+ '///+ <li>Click fails - document opened as expected in non-design mode</li>
+ Call hToolbarSelect("CONTROLS", true)
+ sleep(2)
+ Kontext "FormControls"
+ if SwitchControlDesignMode.IsEnabled then
+ if SwitchControlDesignMode.getState(2) = 0 then
+ printlog "OK, design mode is disabled"
+ else
+ warnlog "#i108315# Document is opened in design mode -> #111099#"
+ end if
+ else
+ printlog "Form controls toolbar was not enabled."
+ end if
+ call hCloseDocument
+endcase
+
+'-------------------------------------------------------------------------
+
+testcase tIBIS111158
+
+ Dim testdoc as string
+ Dim testString as string
+ testdoc = convertpath(gOfficePath & "user/work/111158.xls")
+
+ Printlog "Copy testdocument locally"
+ app.FileCopy convertpath(gTesttoolpath & "spreadsheet\optional\input\111158.xls"),gOfficePath + ConvertPath("user/work/111158.xls")
+ printlog " Open the test document"
+ Call hFileOpen(testdoc)
+ Call sMakeReadOnlyDocumentEditable
+ Kontext "Standardbar"
+ '/// If 'Form Controls' toolbar is not visible: View / Toolbars / Form Controls
+ Call hToolbarSelect("CONTROLS", true)
+ sleep(2)
+ Kontext "FormControls"
+ try
+ if SwitchControlDesignMode.GetState(2) = 0 then
+ '/// Click on 'Design Mode on/off' button on 'Form Controls'-toolbar
+ SwitchControlDesignMode.click
+ sleep(2)
+ end if
+ catch
+ warnlog "Form controls toolbar was not enabled, maybe the doc is writeprotected."
+ Call hToolbarSelect("CONTROLS", false)
+ call hCloseDocument
+ goto endsub
+ endcatch
+ '/// Click on 'Form Design' button on 'Form Controls'-toolbar
+ FormDesignTools.Click
+ sleep(2)
+ Kontext "FormDesignTools"
+ if FormDesignTools.Exists(2) then
+ If ShowFmExplorer.IsEnabled then
+ '/// Show Form Navigator
+ ShowFmExplorer.Click
+ else
+ warnlog "Button was not enabled!"
+ end if
+ else
+ warnlog "'Form Design'-toolbar did not come up."
+ Call hCloseDocument
+ goto endsub
+ end if
+
+'/// Select the first 'ComboxBox' (9th entry from the top)
+'/// Open context menu
+ Kontext "FormularNavigator"
+ Liste.TypeKeys "<HOME>" , true
+ sleep(1)
+ Liste.TypeKeys "<DOWN>" , 9 , true
+ sleep(1)
+ Liste.OpenContextmenu
+ sleep(2)
+ '/// Open 'Properties' (last entry)
+ hMenuSelectNr(5)
+ sleep(2)
+ Kontext "ControlPropertiesDialog"
+ Kontext "ControlPropertiesTabControl"
+ ControlPropertiesTabControl.SetPage TabGeneralControl
+ Kontext "TabGeneralControl"
+ '/// Enter in 'Help URL' as value exactly 'HID:123456'
+ TabGeneralControl.TypeKeys "<TAB>" , true
+ HelpURL.setText "HID:123456"
+ HelpURL.TypeKeys "<RETURN>",true
+ if HelpURL.GetText <> "HID:123456" then
+ warnlog "'HID:123456' has not been accepted as 'Help URL' value."
+ end if
+ '/// Close all disturbing menus
+ Kontext "ControlPropertiesDialog"
+ sleep(1)
+ ControlPropertiesDialog.close
+ sleep(2)
+ Kontext "FormularNavigator"
+ FormularNavigator.close
+ Kontext "FormDesignTools"
+ FormDesignTools.close
+ Kontext "FormControls"
+ '/// Switch back from the design mode
+ SwitchControlDesignMode.click
+ FormControls.close
+ sleep(1)
+ '/// Check for right initial string ('Please select one:')in control
+ Kontext "MSC_Special_Dialog"
+ if MSC_Special_Dialog.Exists(3) then
+ testString = MSC_Special_Dialog.getSelText
+ if testString = "Please select one:" then
+ printlog "OK, the right string was found in control"
+ else
+ warnlog "Wrong string found in Control: " & testString
+ end if
+ else
+ warnlog "The control seems to be not named in the document?! Verify! If Solaris: #i100870#"
+ end if
+ call hCloseDocument
+endcase
+
+'-------------------------------------------------------------------------
+
+testcase tIBIS111711
+printlog "iBIS Task 111711"
+
+ printlog " Create a new document"
+ call hNewDocument
+ printlog " Enter some numbers as content"
+ Kontext "DocumentCalc"
+ DocumentCalc.typekeys "1<RETURN>2<RETURN><UP>"
+ sleep(2)
+
+'/// create a chart from the content
+'/// + NOTE: Do NOT leave the Implace mode
+ InsertChartCalc
+ '/// The Chart wizard occours
+ Kontext "ChartWizard"
+ '/// On the chart wizard press OK button
+ if ChartWizard.Exists(2) then
+ printlog "Create chart"
+ ChartWizard.OK
+ sleep(2)
+ else
+ warnlog "Chart wizard did not occour! Exiting test case."
+ call hCloseDocument
+ goto endsub
+ end if
+'/// Call slot Window->New Window
+ Kontext "DocumentCalc"
+ DocumentCalc.typekeys "<ESCAPE>"
+ WindowNewWindow
+ sleep(2)
+ call gMouseClick(95,95)
+
+'/// Select chart in new window
+ Kontext "DocumentCalc"
+ call fselectFirstOLE
+ sleep(2)
+
+'/// Delete chart in new window ...
+'/// ... and check for crash
+ Kontext "DocumentCalc"
+ try
+ DocumentCalc.typekeys "<DELETE>"
+ sleep (2)
+ printlog "OK, there are still " & GetDocumentCount & " documents open"
+ catch
+ warnlog "Probably the office did crash -> #111711#"
+ call hCloseDocument
+ goto endsub
+ endcatch
+ call hCloseDocument
+endcase
+
+
diff --git a/testautomation/spreadsheet/optional/includes/so7pp1/c_so7_pp1_iz.inc b/testautomation/spreadsheet/optional/includes/so7pp1/c_so7_pp1_iz.inc
new file mode 100644
index 000000000000..e6e8030da3e5
--- /dev/null
+++ b/testautomation/spreadsheet/optional/includes/so7pp1/c_so7_pp1_iz.inc
@@ -0,0 +1,211 @@
+'encoding UTF-8 Do not remove or change this line!
+'**************************************************************************
+' DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+'
+' Copyright 2000, 2010 Oracle and/or its affiliates.
+'
+' OpenOffice.org - a multi-platform office productivity suite
+'
+' This file is part of OpenOffice.org.
+'
+' OpenOffice.org is free software: you can redistribute it and/or modify
+' it under the terms of the GNU Lesser General Public License version 3
+' only, as published by the Free Software Foundation.
+'
+' OpenOffice.org is distributed in the hope that it will be useful,
+' but WITHOUT ANY WARRANTY; without even the implied warranty of
+' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+' GNU Lesser General Public License version 3 for more details
+' (a copy is included in the LICENSE file that accompanied this code).
+'
+' You should have received a copy of the GNU Lesser General Public License
+' version 3 along with OpenOffice.org. If not, see
+' <http://www.openoffice.org/license.html>
+' for a copy of the LGPLv3 License.
+'
+'/************************************************************************
+'**
+'** owner : joerg.sievers@Sun.COM
+'**
+'** short description : Test Issuezilla bug fixes
+'**
+'************************************************************************
+' **
+' #1 tIZ19381 ' I/O error when OLE object is thrown out of undo/redo buffer
+' #1 tIZ21036 ' Crash after shifting cells with paste special
+' **
+'\***********************************************************************
+
+testcase tIZ19381
+ Dim sOutputFile as string
+ Dim i as integer
+
+ sOutputFile = convertpath(gOfficepath & "user/work/i19381.ods")
+ printlog "IssueZilla Task 19381"
+
+ '/// File / New / Spreadsheet
+ call hNewDocument
+ sleep(2)
+ '/// Enter 1 [RETURN]
+ '/// Enter 2 [RETURN]
+ '/// Enter [UP]
+ Kontext "DocumentCalc"
+ DocumentCalc.typekeys "1<RETURN>2<RETURN><UP>"
+ sleep(2)
+ '/// Insert / Chart
+ InsertChartCalc
+ Kontext "ChartWizard"
+ '/// On the chart wizard press OK button
+ if ChartWizard.Exists(2) then
+ printlog "Create chart"
+ ChartWizard.OK
+ sleep(2)
+ else
+ warnlog "Chart wizard did not occour! Exiting test case."
+ call hCloseDocument
+ goto endsub
+ end if
+ Kontext "DocumentCalc"
+ '/// Type [ESCAPE]
+ DocumentCalc.typekeys "<Escape>"
+ sleep(2)
+ '/// File Save As <i>gOfficepath</i>user/work/i19381.ods
+ if NOT hFileSaveAsWithFilterKill (sOutputFile, "calc8") then
+ warnlog "Saving test document localy failed -> Aborting"
+ call hCloseDocument
+ goto endsub
+ end if
+ sleep(2)
+ '/// File / Close
+ call hCloseDocument
+ sleep(2)
+ '/// Open the saved document
+ if hFileOpen(sOutputFile) then
+ Kontext "DocumentCalc"
+ '/// Click into the chart
+ call gMouseClick(95,95)
+ Kontext "DocumentCalc"
+ '/// Press [F5] to open the Navigator
+ '/// Select the first Chart/OLE object in the navigator
+ call fselectFirstOLE
+ '/// Edit / Cut
+ sleep(2)
+ EditCut
+ sleep(2)
+ Kontext "DocumentCalc"
+ '/// Type [ESCAPE] twice
+ DocumentCalc.TypeKeys "<ESCAPE>" , 2
+ '/// Edit / Paste
+ EditPaste
+ sleep(2)
+ Kontext "DocumentCalc"
+ '/// press [CTRL+S] to save the document again
+ DocumentCalc.typekeys "<MOD1 S>"
+ sleep(2)
+ Kontext
+ if Active.exists(2) then
+ if gPlatGroup = "w95" then
+ warnlog "REGRESSION! #i41751# - Saving after Cut&Paste of OLE fails on windows!"
+ else
+ warnlog "OOPS, found unexpected MsgBox -> Check this out!"
+ end if
+ Active.OK
+ call hCloseDocument
+ goto endsub
+ end if
+ Kontext "DocumentCalc"
+ '/// Type [ESCAPE]
+ DocumentCalc.TypeKeys "<ESCAPE>"
+ '/// Go to cell E42
+ call fCalcSelectRange("E42")
+ for i = 1 to 21
+ Kontext "DocumentCalc"
+ '/// Enter 1 and [RETURN] 21 times
+ '///+ as changes to get chart cut/paste out of the undo buffer
+ DocumentCalc.typekeys "1<Return>"
+ next i
+ Kontext "DocumentCalc"
+ '/// Type [CTRL + S] to save the document again
+ DocumentCalc.typekeys "<MOD1 S>"
+ '/// check for error message
+ Kontext
+ if Active.Exists(2) then
+ if Active.GetRT = 304 then
+ printlog Active.GetText
+ warnlog "REGRESSION! Issue 19381 seems to occur again!"
+ Active.OK
+ end if
+ else
+ printlog "No message box is in the way!"
+ end if
+ '/// File / Close
+ call hCloseDocument
+ else
+ warnlog "It was not possible to open the saved document again!"
+ end if
+endcase
+
+'-------------------------------------------------------------------------
+
+testcase tIZ21036
+
+printlog "IssueZilla Task 21036"
+
+'/// open new document
+call hNewDocument
+sleep(2)
+
+'/// select a whole row (e.g. A1:IV1)
+Kontext "DocumentCalc"
+DocumentCalc.typekeys "<SHIFT MOD1 RIGHT>"
+sleep(2)
+
+'/// cut selection
+try
+ EditCut
+catch
+ QAErrorLog "Is this a crash?? Please check it out!"
+ goto endsub
+endcatch
+sleep(2)
+
+'/// go to A2
+Kontext "DocumentCalc"
+call fCalcSelectRange("A2")
+sleep(2)
+Kontext "DocumentCalc"
+'/// call edit->paste special
+EditPasteSpecialCalc
+sleep(2)
+
+'/// check shift cells->right
+Kontext "InhalteEinfuegenCalc"
+NachRechts.Check
+
+'/// OK
+InhalteEinfuegenCalc.OK
+
+'/// confirm MsgBox
+Kontext "Active"
+ if Active.Exists(2) then
+ if Active.GetRT = 304 then
+ printlog Active.GetText
+ Active.OK
+ sleep(2)
+ end if
+ else
+ warnlog "No message box came up!"
+ goto endsub
+ end if
+
+'/// check for crash
+try
+ printlog "OK, there are still " & GetDocumentCount & " documents open"
+catch
+ warnlog "Probably the office did crash -> #I21036#"
+ goto endsub
+endcatch
+
+call hCloseDocument
+endcase
+
diff --git a/testautomation/spreadsheet/optional/includes/solver/c_solver.inc b/testautomation/spreadsheet/optional/includes/solver/c_solver.inc
new file mode 100644
index 000000000000..ba0e77d155be
--- /dev/null
+++ b/testautomation/spreadsheet/optional/includes/solver/c_solver.inc
@@ -0,0 +1,225 @@
+'encoding UTF-8 Do not remove or change this line!
+'**************************************************************************
+' DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+'
+' Copyright 2000, 2010 Oracle and/or its affiliates.
+'
+' OpenOffice.org - a multi-platform office productivity suite
+'
+' This file is part of OpenOffice.org.
+'
+' OpenOffice.org is free software: you can redistribute it and/or modify
+' it under the terms of the GNU Lesser General Public License version 3
+' only, as published by the Free Software Foundation.
+'
+' OpenOffice.org is distributed in the hope that it will be useful,
+' but WITHOUT ANY WARRANTY; without even the implied warranty of
+' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+' GNU Lesser General Public License version 3 for more details
+' (a copy is included in the LICENSE file that accompanied this code).
+'
+' You should have received a copy of the GNU Lesser General Public License
+' version 3 along with OpenOffice.org. If not, see
+' <http://www.openoffice.org/license.html>
+' for a copy of the LGPLv3 License.
+'
+'/***********************************************************************
+'*
+'* owner : oliver.craemer@oracle.com
+'*
+'* short description : Functionality Test - Solver
+'*
+'************************************************************************
+'*
+' #1 tExampleCalculation
+' #1 tExampleCalculation2
+'*
+'\***********************************************************************
+
+testcase tExampleCalculation
+
+ dim sdecimalseperator as string
+
+ sDecimalseperator = GetDecimalSeperator
+
+ printlog " Open testdocument 'gTesttoolPath + spreadsheet\optional\input\Solver_testdoc01.ods'"
+ Call hFileOpen (Convertpath (gTesttoolPath + "spreadsheet\optional\input\Solver_testdoc01.ods" ))
+ printlog " If the file is not editable, click the edit button on standardbar"
+ Call sMakeReadOnlyDocumentEditable
+ printlog " Tools - Solver"
+ ToolsSolver
+ Kontext "Solver"
+ printlog " Set target cell to $E$15"
+ TargetCell.SetText "$E$15"
+ printlog " Set Optimize result to Minimum"
+ OptimizeMinimum.Check
+ printlog " Set 'By changing cells' to $G$13:$G$14"
+ ChangingCells.SetText "$G$13:$G$14"
+ printlog " Set the first cell reference under 'Limiting conditions' to $C$15, the first Operator to '<=' and the first Value to 4"
+ CellReference1.SetText "$C$15"
+ Operator1.Select 1
+ Value1.SetText "4"
+ printlog " Set the second cell reference under 'Limiting conditions' to $D$15, the second Operator to '>=' and the second Value to 10"
+ CellReference2.SetText "$D$15"
+ Operator2.Select 3
+ Value2.SetText "10"
+ printlog " Set the third cell reference under 'Limiting conditions' to $G$15, the third Operator to '=' and the third Value to 300."
+ CellReference3.SetText "$G$15"
+ Operator3.Select 2
+ Value3.SetText "300"
+ printlog " Click on Solve"
+ Solve.Click
+ printlog " A new dialog opens informing you that a result was found."
+ Kontext "SolvingResult"
+ if not SolvingResult.exists then
+ warnlog "Normally there should be a Success dialog, but there is none"
+ Kontext "NoSolution"
+ if NoSolution.exists then
+ NoSolution.OK
+ Kontext "Solver"
+ Solver.Cancel
+ Call hCloseDocument
+ goto endsub
+ else
+ Kontext "Solver"
+ Solver.Cancel
+ Call hCloseDocument
+ goto endsub
+ end if
+ end if
+ printlog " Click on the 'Restore Previous' Button. The Solver dialog is shown again."
+ SolvingResult.Cancel
+ Kontext "Solver"
+ printlog " Press ALT+S . The Solved dialog opens again. Press the Enter key."
+ Solve.Click
+ Kontext "SolvingResult"
+ SolvingResult.OK
+ Kontext "DocumentCalc"
+ printlog " C15 must show 4.0000 mg, D15 must show 18.0000 mg, E15 must show 22.0000 ct, G13 is set to 120, G14 shows 180 and therefore G15 300."
+ call fCalcCompareCellValue ("C15","4" & sDecimalseperator & "0000 mg")
+ call fCalcCompareCellValue ("D15","18" & sDecimalseperator & "0000 mg")
+ call fCalcCompareCellValue ("E15","22" & sDecimalseperator & "0000 ct")
+ call fCalcCompareCellValue ("G13","120")
+ call fCalcCompareCellValue ("G14","180")
+ call fCalcCompareCellValue ("G15","300")
+ printlog " Tools - Solver"
+ ToolsSolver
+ Kontext "Solver"
+ printlog " Change limitatation value 3 from 300 to 500"
+ Value3.SetText "500"
+ printlog " Press ALT+S to solve the problem and keep the results."
+ Solve.Click
+ Kontext "SolvingResult"
+ SolvingResult.OK
+ Kontext "DocumentCalc"
+ printlog " The results should be :C15 must show 4.0000 mg, D15 must show 51.3333 mg, E15 must show 68.6667 ct, G13 is set to 520, G14 shows -20 and therefore G15 500"
+ call fCalcCompareCellValue ("C15","4" & sDecimalseperator & "0000 mg")
+ call fCalcCompareCellValue ("D15","51" & sDecimalseperator & "3333 mg")
+ call fCalcCompareCellValue ("E15","68" & sDecimalseperator & "6667 ct")
+ call fCalcCompareCellValue ("G13","520")
+ call fCalcCompareCellValue ("G14","-20")
+ call fCalcCompareCellValue ("G15","500")
+ printlog " So the solution found is correct but not usefull. Let's limit the lemonade to positive values by adding a new limitation."
+ printlog " Tools - Solver"
+ ToolsSolver
+ kontext "Solver"
+ printlog " Set the fourth cell reference under 'Limiting conditions' to $G$14, the fourth Operator to '>=' and the fourth Value to 0."
+ CellReference4.SetText "$G$14"
+ Operator4.Select 3
+ Value4.SetText "0"
+ printlog " Click on Solve."
+ Solve.Click
+ printlog " The No Solution dialog opens, telling you that the model is not solvable with the given limiting conditions."
+ Kontext "NoSolution"
+ if not NoSolution.exists then
+ warnlog "Normally the NoSolution dialog appears, but there is none"
+ end if
+ printlog " Click on Ok at this dialog, the Solver dialog should be shown."
+ NoSolution.OK
+ Kontext "Solver"
+ Solver.Close
+ printlog " Close document"
+ Call hCloseDocument
+
+endcase
+
+'-----------------------------------------------------------
+
+testcase tExampleCalculation2
+
+ printlog " Open testdocument 'gTesttoolPath + spreadsheet\optional\input\stest_large.ods'"
+ Call hFileOpen (Convertpath (gTesttoolPath + "spreadsheet\optional\input\stest_large.ods" ))
+ printlog " If the file is not editable, click the edit button on standardbar"
+ Call sMakeReadOnlyDocumentEditable
+ printlog " Tools - Solver"
+ ToolsSolver
+ Kontext "Solver"
+ printlog " Target Cell: $Y$2"
+ TargetCell.SetText "$Y$2"
+ printlog " Optimize to: Maximum"
+ OptimizeMaximum.Check
+ printlog " Changing cells: $B$5:$B$134"
+ ChangingCells.SetText "$B$5:$B$134"
+ printlog " Limiting Conditions: Cell reference: $D$2:$W$2 Operator : <= Value: $D$3:$W$3"
+ CellReference1.SetText "$D$2:$W$2"
+ Operator1.Select 1
+ Value1.SetText "$D$3:$W$3"
+ printlog " Copy the following String to the second cell reference input line: $D$2:$W$2 <= $D$3:$W$3"
+ CellReference2.SetText "$D$2:$W$2"
+ Operator1.Select 2
+ Value2.SetText "$D$3:$W$3"
+ printlog " Click on Solve"
+ Solve.Click
+ printlog " You get a new Warning dialog talking about Invalid condition."
+ Kontext "NoSolution"
+ if not NoSolution.exists then
+ warnlog "Normally there should be a No Solution dialog"
+ end if
+ NoSolution.OK
+ Kontext "Solver"
+ printlog " Click on the remove Button next to the second Value field to remove the faulty condition."
+ Remove2.Click
+ if Value2 = "$D$3:$W$3" then
+ warnlog "The condition was not removed"
+ end if
+ printlog " Click on Options button, the Options dialog opens"
+ Options.Click
+ Kontext "SolverOptions"
+ if not SolverOptions.exists then
+ warnlog "The Options dialog is not open"
+ end if
+ printlog " Tag 'Assume variables as integer'"
+ SolverSettings.Select (1)
+ SolverSettings.TypeKeys "<SPACE>"
+ printlog " Tag 'Assume variables not negative'"
+ SolverSettings.Select (2)
+ SolverSettings.TypeKeys "<SPACE>"
+ printlog " Select SolvingTime"
+ SolverSettings.Select (5)
+ printlog " Click on Edit button to open the Editdialog"
+ SolverSettingsEdit.Click
+ Kontext "SolverEditSetting"
+ printlog " Set time to 10 and close editdialog by OK"
+ SolverNumeric.SetText "10"
+ SolverEditSetting.OK
+ Kontext "SolverOptions"
+ printlog " Click OK on SolverOptionsdialog"
+ SolverOptions.OK
+ Kontext "Solver"
+ printlog " Click on Solve"
+ Solve.Click
+ printlog " A new dialog named Solving... opens telling you about the time limit"
+ sleep (15)
+ printlog " After that a new dialog pops up saying 'No Solution was found. The time limit was reached.'"
+ Kontext "NoSolution"
+ printlog " Click the Ok button to close the No Solution dialog."
+ NoSolution.OK
+ printlog " Click close to leave the Solver dialog."
+ Kontext "Solver"
+ Solver.Close
+ printlog " Close document"
+ Call hCloseDocument
+
+endcase
+
+
diff --git a/testautomation/spreadsheet/optional/includes/validity/c_validity.inc b/testautomation/spreadsheet/optional/includes/validity/c_validity.inc
new file mode 100644
index 000000000000..8eaf0401afeb
--- /dev/null
+++ b/testautomation/spreadsheet/optional/includes/validity/c_validity.inc
@@ -0,0 +1,378 @@
+'encoding UTF-8 Do not remove or change this line!
+'**************************************************************************
+' DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+'
+' Copyright 2000, 2010 Oracle and/or its affiliates.
+'
+' OpenOffice.org - a multi-platform office productivity suite
+'
+' This file is part of OpenOffice.org.
+'
+' OpenOffice.org is free software: you can redistribute it and/or modify
+' it under the terms of the GNU Lesser General Public License version 3
+' only, as published by the Free Software Foundation.
+'
+' OpenOffice.org is distributed in the hope that it will be useful,
+' but WITHOUT ANY WARRANTY; without even the implied warranty of
+' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+' GNU Lesser General Public License version 3 for more details
+' (a copy is included in the LICENSE file that accompanied this code).
+'
+' You should have received a copy of the GNU Lesser General Public License
+' version 3 along with OpenOffice.org. If not, see
+' <http://www.openoffice.org/license.html>
+' for a copy of the LGPLv3 License.
+'
+'/************************************************************************
+'**
+'** owner : oliver.craemer@Sun.COM
+'**
+'** short description : Complete test for data validity
+'**
+'************************************************************************
+' **
+' #1 tValidity_Check_Message
+' #1 tValidity_Check_Excel
+' **
+'\***********************************************************************
+
+testcase tValidity_Check_Message
+
+ printlog "This test checks, if an error messgae appears, when a wrong content is inserted into the appropriate cells"
+
+ dim sInputFile as string
+ dim sOutputFile as string
+ dim sMType as string
+ dim sInfoStr as string
+ dim iCount as integer
+
+ sInputFile = convertpath(gTesttoolPath & "spreadsheet/optional/input/validity.ods")
+ sOutputFile = convertpath (gOfficepath & "user/work/validity.ods.ods)"
+
+ printlog " Open document <i>gTesttoolPath</i>spreadsheet/optional/input/validity.ods"
+ call hFileOpen (sInputFile)
+ printlog " Save the document under <i>gOfficePath</i>user/work/validity.ods"
+ if NOT hFileSaveAsWithFilter ( sOutputFile, "calc8" ) then
+ warnlog "Saving test document localy failed -> Aborting"
+ call hCloseDocument
+ goto endsub
+ endif
+
+ printlog " Do the following operations (see values in table) with every of the 4 sheets."
+ printlog " Goto first cell and insert the correct value"
+ printlog " Press RETURN"
+ printlog " No warning or information message should appear"
+ printlog " Enter the incorrect value"
+ printlog " Press RETURN"
+ printlog " A warning or information message should appear"
+ for iCount = 1 to 4
+ select case iCount
+ case 1 : sMType = "Stop" : sInfoStr = "First"
+ case 2 : sMType = "Warning" : sInfoStr = "Second"
+ case 3 : sMType = "Information" : sInfoStr = "Third"
+ case 4 : sMType = "Macro" : sInfoStr = "Macro"
+ end select
+
+ call fCalcSelectSheet(sMType)
+ printlog " *** " & sInfoStr & " it is checked, if the " & sMType & " messages appears, if wrong contents are inserted into the appropriate cells"
+ '///+<UL>
+ '///+<LI>Goto first cell and insert the <i>correct value</i></LI>
+ '///+<LI>Press RETURN</LI>
+ '///+<LI><UL><LI>No warning or information message should appear</LI></UL></LI>
+ '///+<LI>Enter the <i>incorrect value</I>
+ '///+<LI>Press RETURN</LI>
+ '///+<LI><UL><LI>A warning or information message should appear</LI></UL></LI>
+ '///+<LI><TABLE BORDER=1>
+ '///+ <TR><TH>Cell address</TH><TH>correct value</TH><TH>incorrect value</TH></TR>
+ '///+ <TR><TD>B4</TD><TD>3</TD><TD>8</TD></TR>
+ call check_message(sMType, "B4", "3", "8")
+ '///+ <TR><TD>B5</TD><TD>9</TD><TD>10</TD></TR>
+ call check_message(sMType, "B5", "9", "10")
+ '///+ <TR><TD>B6</TD><TD>28</TD><TD>25</TD></TR>
+ call check_message(sMType, "B6", "28", "25")
+ '///+ <TR><TD>B7</TD><TD>10</TD><TD>12</TD></TR>
+ call check_message(sMType, "B7", "10", "12")
+ '///+ <TR><TD>B8</TD><TD>11</TD><TD>9</TD></TR>
+ call check_message(sMType, "B8", "11", "9")
+ '///+ <TR><TD>B9</TD><TD>5</TD><TD>3</TD></TR>
+ call check_message(sMType, "B9", "5", "3")
+ '///+ <TR><TD>B10</TD><TD>1</TD><TD>6</TD></TR>
+ call check_message(sMType, "B10", "1", "6")
+ '///+ <TR><TD>B11</TD><TD>1</TD><TD>6</TD></TR>
+ call check_message(sMType, "B11", "1", "6")
+ '///+ <TR><TD>B17</TD><TD>3,14</TD><TD>3,15</TD></TR>
+ call check_message(sMType, "B17", "3,14", "3,15")
+ '///+ <TR><TD>B18</TD><TD>10,14</TD><TD>10,16</TD></TR>
+ call check_message(sMType, "B18", "10,14", "10,16")
+ '///+ <TR><TD>B19</TD><TD>25,10</TD><TD>25,09</TD></TR>
+ call check_message(sMType, "B19", "25,10", "25,09")
+ '///+ <TR><TD>B20</TD><TD>10,5</TD><TD>10,7</TD></TR>
+ call check_message(sMType, "B20", "10,5", "10,7")
+ '///+ <TR><TD>B21</TD><TD>11,9</TD><TD>10</TD></TR>
+ call check_message(sMType, "B21", "11,9", "10")
+ '///+ <TR><TD>B22</TD><TD>3,145</TD><TD>3,14</TD></TR>
+ call check_message(sMType, "B22", "3,145", "3,14")
+ '///+ <TR><TD>B23</TD><TD>1,45</TD><TD>1,38</TD></TR>
+ call check_message(sMType, "B23", "1,45", "1,38")
+ '///+ <TR><TD>B24</TD><TD>2,03</TD><TD>2,15</TD></TR>
+ call check_message(sMType, "B24", "2,03", "2,15")
+ '///+ <TR><TD>E4</TD><TD>13.12.99</TD><TD>13.11.99</TD></TR>
+ call check_message(sMType, "E4", "13.12.99", "13.11.99")
+ '///+ <TR><TD>E5</TD><TD>12.12.99</TD><TD>13.12.99</TD></TR>
+ call check_message(sMType, "E5", "12.12.99", "13.12.99")
+ '///+ <TR><TD>E6</TD><TD>14.12.99</TD><TD>13.12.99</TD></TR>
+ call check_message(sMType, "E6", "14.12.99", "13.12.99")
+ '///+ <TR><TD>E7</TD><TD>13.12.99</TD><TD>14.12.99</TD></TR>
+ call check_message(sMType, "E7", "13.12.99", "14.12.99")
+ '///+ <TR><TD>E8</TD><TD>13.12.99</TD><TD>12.12.99</TD></TR>
+ call check_message(sMType, "E8", "13.12.99", "12.12.99")
+ '///+ <TR><TD>E9</TD><TD>13.11.99</TD><TD>13.12.99</TD></TR>
+ call check_message(sMType, "E9", "13.11.99", "13.12.99")
+ '///+ <TR><TD>E10</TD><TD>23.12.99</TD><TD>12.12.99</TD></TR>
+ call check_message(sMType, "E10", "23.12.99", "12.12.99")
+ '///+ <TR><TD>E11</TD><TD>24.12.99</TD><TD>23.12.99</TD></TR>
+ call check_message(sMType, "E11", "24.12.99", "23.12.99")
+ '///+ <TR><TD>E17</TD><TD>13:15</TD><TD>13:16</TD></TR>
+ call check_message(sMType, "E17", "13:15", "13:16")
+ '///+ <TR><TD>E18</TD><TD>10:15</TD><TD>14:16</TD></TR>
+ call check_message(sMType, "E18", "10:15", "14:16")
+ '///+ <TR><TD>E19</TD><TD>23:10</TD><TD>12:09</TD></TR>
+ call check_message(sMType, "E19", "23:10", "12:09")
+ '///+ <TR><TD>E20</TD><TD>13:15</TD><TD>13:16</TD></TR>
+ call check_message(sMType, "E20", "13:15", "13:16")
+ '///+ <TR><TD>E21</TD><TD>13:15</TD><TD>13:14</TD></TR>
+ call check_message(sMType, "E21", "13:15", "13:14")
+ '///+ <TR><TD>E22</TD><TD>13:16</TD><TD>13:15</TD></TR>
+ call check_message(sMType, "E22", "13:16", "13:15")
+ '///+ <TR><TD>E23</TD><TD>13:15</TD><TD>23:13</TD></TR>
+ call check_message(sMType, "E23", "13:15", "23:13")
+ '///+ <TR><TD>E24</TD><TD>12:59</TD><TD>13:00</TD></TR>
+ call check_message(sMType, "E24", "12:59", "13:00")
+ '///+ <TR><TD>H4</TD><TD>abc</TD><TD>abcd</TD></TR>
+ call check_message(sMType, "H4", "abc", "abcd")
+ '///+ <TR><TD>H5</TD><TD>abcdefgrd</TD><TD>aderfgtzjm</TD></TR>
+ call check_message(sMType, "H5", "abcdefgrd", "aderfgtzjm")
+ '///+ <TR><TD>H6</TD><TD>rftgzhujikolmnbvcxyaswqepk</TD><TD>ftgzhnujikm,lopredswqayx</TD></TR>
+ call check_message(sMType, "H6", "rftgzhujikolmnbvcxyaswqepk", "ftgzhnujikm,lopredswqayx")
+ '///+ <TR><TD>H7</TD><TD>asweqrfvbg</TD><TD>edcvfrtgbnh</TD></TR>
+ call check_message(sMType, "H7", "asweqrfvbg", "edcvfrtgbnh")
+ '///+ <TR><TD>H8</TD><TD>edcswxyaqtgb</TD><TD>ujnmkipztr</TD></TR>
+ call check_message(sMType, "H8", "edcswxyaqtgb", "ujnmkipztr")
+ '///+ <TR><TD>H9</TD><TD>sdxc</TD><TD>tgb</TD></TR>
+ call check_message(sMType, "H9", "sdxc", "tgb")
+ '///+ <TR><TD>H10</TD><TD>rfvbj</TD><TD>dfcvgb</TD></TR>
+ call check_message(sMType, "H10", "rfvbj", "dfcvgb")
+ '///+ <TR><TD>H11</TD><TD>g</TD><TD>we</TD></TR>
+ call check_message(sMType, "H11", "g", "we")
+ '///+ <TR><TH>New featurs OpenOffice 2.0</TH></TR>
+ '///+ <TR><TD>B30</TD><TD>February</TD><TD>January</TD></TR>
+ call check_message(sMType, "B30", "February", "January")
+ '///+ <TR><TD>B31</TD><TD>May</TD><TD>February</TD></TR>
+ call check_message(sMType, "B31", "May", "February")
+ '///+ <TR><TD>B32</TD><TD>June</TD><TD>January</TD></TR>
+ call check_message(sMType, "B32", "June", "January")
+ '///+ <TR><TD>B33</TD><TD>August</TD><TD>November</TD></TR>
+ call check_message(sMType, "B33", "August", "November")
+ '///+ <TR><TD>B34</TD><TD>September</TD><TD>December</TD></TR>
+ call check_message(sMType, "B34", "September", "December")
+ '///+ <TR><TD>B35</TD><TD>October</TD><TD>March</TD></TR>
+ call check_message(sMType, "B35", "October", "March")
+ '///+ <TR><TD>B36</TD><TD>July</TD><TD>August</TD></TR>
+ call check_message(sMType, "B36", "July", "August")
+ '///+ <TR><TD>B37</TD><TD>April</TD><TD>October</TD></TR>
+ call check_message(sMType, "B37", "April", "October")
+ '///+ <TR><TD>B38</TD><TD>Name03</TD><TD>Name07</TD></TR>
+ call check_message(sMType, "B38", "Name03", "Name07")
+ '///+ <TR><TD>E30</TD><TD>alpha</TD><TD>omega</TD></TR>
+ call check_message(sMType, "E30", "alpha", "omega")
+ '///+ <TR><TD>E31</TD><TD>beta</TD><TD>zeta</TD></TR>
+ call check_message(sMType, "E31", "beta", "zeta")
+ '///+ <TR><TD>E32</TD><TD>gamma</TD><TD>psi</TD></TR>
+ call check_message(sMType, "E32", "gamma", "psi")
+ '///+ <TR><TD>E33</TD><TD>delta</TD><TD>pi/2</TD></TR>
+ call check_message(sMType, "E33", "delta", "pi/2")
+ '///+ </TABLE></LI></UL>
+ next iCount
+ '/// Close the document
+ printlog "Close the document"
+ call hCloseDocument
+
+endcase
+'
+'-------------------------------------------------------------------------------
+'
+testcase tValidity_Check_Excel
+'/// This test checks, if an error messgae appears, when a wrong content is inserted into the appropriate cells
+
+ dim sInputFile as String
+ dim sOutputFile as String
+ dim sMType as String
+ dim iCount as integer
+ dim sInfoStr as String
+ dim sdecimalseperator as string
+ sDecimalseperator = GetDecimalSeperator
+
+ sInputFile = convertpath(gTesttoolPath & "spreadsheet/optional/input/validity.ods")
+ sOutputFile = convertpath(gOfficePath & "user/work/validity.xls")
+
+ '/// Open <i>gTesttoolPath</i>/calc/special/input/validity.ods
+ printlog "Open <i>gTesttoolPath</i>/calc/special/input/validity.ods"
+ call hFileOpen (sInputFile)
+ Kontext "SecurityWarning"
+ '/// If security warning occours click on 'Enable Macros'.
+ if SecurityWarning.exists(2) then
+ SecurityWarning.OK
+ endif
+ sleep (2)
+ '/// Save the document under <i>gOfficePath</i>user/work/validity.xls (MS Excel 97 format)
+ if NOT hFileSaveAsWithFilterKill ( sOutputFile, "MS Excel 97" ) then
+ warnlog "Saving test document localy failed -> Aborting"
+ call hCloseDocument
+ goto endsub
+ endif
+ sleep (2)
+ '/// Close the document
+ call hCloseDocument
+ sleep (2)
+ '/// Open the exported document
+ call hFileOpen ( sOutputFile )
+ sleep (2)
+ printlog " Do the following operations (see values in table) with every of the 3 sheets."
+ printlog " Goto first cell and insert the correct value"
+ printlog " Press RETURN"
+ printlog " No warning or information message should appear"
+ printlog " Enter the incorrect value"
+ printlog " Press RETURN"
+ printlog " A warning or information message should appear"
+ for iCount = 1 to 3
+ select case iCount
+ case 1 : sMType = "Stop" : sInfoStr = "First"
+ case 2 : sMType = "Warning" : sInfoStr = "Second"
+ case 3 : sMType = "Information" : sInfoStr = "Third"
+ end select
+ '/// Do the following operations (see values in table) with every of the 3 sheets.
+ call fCalcSelectSheet(sMType)
+ printlog " *** " & sInfoStr & " it is checked, if the " & sMType & " messages appears, if wrong contents are " & _
+ "inserted into the appropriate cells"
+'///+<UL>
+'///+<LI>Goto first cell and insert the <i>correct value</i></LI>
+'///+<LI>Press RETURN</LI>
+'///+<LI><UL><LI>No warning or information message should appear</LI></UL></LI>
+'///+<LI>Enter the <i>incorrect value</I>
+'///+<LI>Press RETURN</LI>
+'///+<LI><UL><LI>A warning or information message should appear</LI></UL></LI>
+'///+<LI><TABLE BORDER=1>
+'///+ <TR><TH>Cell address</TH><TH>correct value</TH><TH>incorrect value</TH></TR>
+'///+ <TR><TD>B4</TD><TD>3</TD><TD>8</TD></TR>
+ call check_message(sMType, "B4", "3", "8")
+'///+ <TR><TD>B5</TD><TD>9</TD><TD>10</TD></TR>
+ call check_message(sMType, "B5", "9", "10")
+'///+ <TR><TD>B6</TD><TD>28</TD><TD>25</TD></TR>
+ call check_message(sMType, "B6", "28", "25")
+'///+ <TR><TD>B7</TD><TD>10</TD><TD>12</TD></TR>
+ call check_message(sMType, "B7", "10", "12")
+'///+ <TR><TD>B8</TD><TD>11</TD><TD>9</TD></TR>
+ call check_message(sMType, "B8", "11", "9")
+'///+ <TR><TD>B9</TD><TD>5</TD><TD>3</TD></TR>
+ call check_message(sMType, "B9", "5", "3")
+'///+ <TR><TD>B10</TD><TD>1</TD><TD>6</TD></TR>
+ call check_message(sMType, "B10", "1", "6")
+'///+ <TR><TD>B11</TD><TD>1</TD><TD>6</TD></TR>
+ call check_message(sMType, "B11", "1", "6")
+'///+ <TR><TD>B17</TD><TD>3,14</TD><TD>3,15</TD></TR>
+ call check_message(sMType, "B17", "3" & sdecimalseperator & "14", "3" & sdecimalseperator & "15")
+'///+ <TR><TD>B18</TD><TD>10,14</TD><TD>10,16</TD></TR>
+ call check_message(sMType, "B18", "10" & sdecimalseperator & "14", "10" & sdecimalseperator & "16")
+'///+ <TR><TD>B19</TD><TD>25,10</TD><TD>25,09</TD></TR>
+ call check_message(sMType, "B19", "25" & sdecimalseperator & "10", "25" & sdecimalseperator & "09")
+'///+ <TR><TD>B20</TD><TD>10,5</TD><TD>10,7</TD></TR>
+ call check_message(sMType, "B20", "10" & sdecimalseperator & "5", "10" & sdecimalseperator & "7")
+'///+ <TR><TD>B21</TD><TD>11,9</TD><TD>10</TD></TR>
+ call check_message(sMType, "B21", "11" & sdecimalseperator & "9", "10")
+'///+ <TR><TD>B22</TD><TD>3,145</TD><TD>3,14</TD></TR>
+ call check_message(sMType, "B22", "3" & sdecimalseperator & "145", "3" & sdecimalseperator & "14")
+'///+ <TR><TD>B23</TD><TD>1,45</TD><TD>1,38</TD></TR>
+ call check_message(sMType, "B23", "1" & sdecimalseperator & "45", "1" & sdecimalseperator & "38")
+'///+ <TR><TD>B24</TD><TD>2,03</TD><TD>2,15</TD></TR>
+ call check_message(sMType, "B24", "2" & sdecimalseperator & "03", "2" & sdecimalseperator & "15")
+'///+ <TR><TD>E4</TD><TD>13.12.99</TD><TD>13.11.99</TD></TR>
+ call check_message(sMType, "E4", "13.12.99", "13.11.99")
+'///+ <TR><TD>E5</TD><TD>12.12.99</TD><TD>13.12.99</TD></TR>
+ call check_message(sMType, "E5", "12.12.99", "13.12.99")
+'///+ <TR><TD>E6</TD><TD>14.12.99</TD><TD>13.12.99</TD></TR>
+ call check_message(sMType, "E6", "14.12.99", "13.12.99")
+'///+ <TR><TD>E7</TD><TD>13.12.99</TD><TD>14.12.99</TD></TR>
+ call check_message(sMType, "E7", "13.12.99", "14.12.99")
+'///+ <TR><TD>E8</TD><TD>13.12.99</TD><TD>12.12.99</TD></TR>
+ call check_message(sMType, "E8", "13.12.99", "12.12.99")
+'///+ <TR><TD>E9</TD><TD>13.11.99</TD><TD>13.12.99</TD></TR>
+ call check_message(sMType, "E9", "13.11.99", "13.12.99")
+'///+ <TR><TD>E10</TD><TD>23.12.99</TD><TD>12.12.99</TD></TR>
+ call check_message(sMType, "E10", "23.12.99", "12.12.99")
+'///+ <TR><TD>E11</TD><TD>24.12.99</TD><TD>23.12.99</TD></TR>
+ call check_message(sMType, "E11", "24.12.99", "23.12.99")
+'///+ <TR><TD>E17</TD><TD>13:15</TD><TD>13:16</TD></TR>
+ call check_message(sMType, "E17", "13:15", "13:16")
+'///+ <TR><TD>E18</TD><TD>10:15</TD><TD>14:16</TD></TR>
+ call check_message(sMType, "E18", "10:15", "14:16")
+'///+ <TR><TD>E19</TD><TD>23:10</TD><TD>12:09</TD></TR>
+ call check_message(sMType, "E19", "23:10", "12:09")
+'///+ <TR><TD>E20</TD><TD>13:15</TD><TD>13:16</TD></TR>
+ call check_message(sMType, "E20", "13:15", "13:16")
+'///+ <TR><TD>E21</TD><TD>13:15</TD><TD>13:15</TD></TR>
+ call check_message(sMType, "E21", "13:15", "13:14")
+'///+ <TR><TD>E22</TD><TD>13:16</TD><TD>13:15</TD></TR>
+ call check_message(sMType, "E22", "13:16", "13:15")
+'///+ <TR><TD>E23</TD><TD>13:15</TD><TD>23:13</TD></TR>
+ call check_message(sMType, "E23", "13:15", "23:13")
+'///+ <TR><TD>E24</TD><TD>12:59</TD><TD>13:00</TD></TR>
+ call check_message(sMType, "E24", "12:59", "13:00")
+'///+ <TR><TD>H4</TD><TD>abc</TD><TD>abcd</TD></TR>
+ call check_message(sMType, "H4", "abc", "abcd")
+'///+ <TR><TD>H5</TD><TD>abcdefgrd</TD><TD>aderfgtzjm</TD></TR>
+ call check_message(sMType, "H5", "abcdefgrd", "aderfgtzjm")
+'///+ <TR><TD>H6</TD><TD>rftgzhujikolmnbvcxyaswqepk</TD><TD>ftgzhnujikm,lopredswqayx</TD></TR>
+ call check_message(sMType, "H6", "rftgzhujikolmnbvcxyaswqepk", "ftgzhnujikm,lopredswqayx")
+'///+ <TR><TD>H7</TD><TD>asweqrfvbg</TD><TD>edcvfrtgbnh</TD></TR>
+ call check_message(sMType, "H7", "asweqrfvbg", "edcvfrtgbnh")
+'///+ <TR><TD>H8</TD><TD>edcswxyaqtgb</TD><TD>ujnmkipztr</TD></TR>
+ call check_message(sMType, "H8", "edcswxyaqtgb", "ujnmkipztr")
+'///+ <TR><TD>H9</TD><TD>sdxc</TD><TD>tgb</TD></TR>
+ call check_message(sMType, "H9", "sdxc", "tgb")
+'///+ <TR><TD>H10</TD><TD>rfvbj</TD><TD>dfcvgb</TD></TR>
+ call check_message(sMType, "H10", "rfvbj", "dfcvgb")
+'///+ <TR><TD>H11</TD><TD>g</TD><TD>we</TD></TR>
+ call check_message(sMType, "H11", "g", "we")
+'///+ <TR><TH>New featurs OpenOffice 2.0</TH></TR>we</TD></TR>
+'///+ <TR><TD>B30</TD><TD>February</TD><TD>January</TD></TR>
+ call check_message(sMType, "B30", "February", "January")
+'///+ <TR><TD>B31</TD><TD>May</TD><TD>February</TD></TR>
+ call check_message(sMType, "B31", "May", "February")
+'///+ <TR><TD>B32</TD><TD>June</TD><TD>January</TD></TR>
+ call check_message(sMType, "B32", "June", "January")
+'///+ <TR><TD>B33</TD><TD>August</TD><TD>November</TD></TR>
+ call check_message(sMType, "B33", "August", "November")
+'///+ <TR><TD>B34</TD><TD>September</TD><TD>December</TD></TR>
+ call check_message(sMType, "B34", "September", "December")
+'///+ <TR><TD>B35</TD><TD>October</TD><TD>March</TD></TR>
+ call check_message(sMType, "B35", "October", "March")
+'///+ <TR><TD>B36</TD><TD>July</TD><TD>August</TD></TR>
+ call check_message(sMType, "B36", "July", "August")
+'///+ <TR><TD>B37</TD><TD>April</TD><TD>October</TD></TR>
+ call check_message(sMType, "B37", "April", "October")
+'///+ <TR><TD>B38</TD><TD>Name03</TD><TD>Name07</TD></TR>
+ call check_message(sMType, "B38", "Name03", "Name07")
+'///+ <TR><TD>E30</TD><TD>alpha</TD><TD>omega</TD></TR>
+ call check_message(sMType, "E30", "alpha", "omega")
+'///+ <TR><TD>E31</TD><TD>beta</TD><TD>zeta</TD></TR>
+ call check_message(sMType, "E31", "beta", "zeta")
+'///+ <TR><TD>E32</TD><TD>gamma</TD><TD>psi</TD></TR>
+ call check_message(sMType, "E32", "gamma", "psi")
+'///+ <TR><TD>E33</TD><TD>delta</TD><TD>pi/2</TD></TR>
+ call check_message(sMType, "E33", "delta", "pi/2")
+'///+ </TABLE></LI></UL>
+ next iCount
+'/// File / Close
+ call hCloseDocument
+endcase
+
diff --git a/testautomation/spreadsheet/optional/input/111099.xls b/testautomation/spreadsheet/optional/input/111099.xls
new file mode 100755
index 000000000000..753a985f7128
--- /dev/null
+++ b/testautomation/spreadsheet/optional/input/111099.xls
Binary files differ
diff --git a/testautomation/spreadsheet/optional/input/111158.xls b/testautomation/spreadsheet/optional/input/111158.xls
new file mode 100755
index 000000000000..f1bb2f1091ab
--- /dev/null
+++ b/testautomation/spreadsheet/optional/input/111158.xls
Binary files differ
diff --git a/testautomation/spreadsheet/optional/input/Solver_testdoc01.ods b/testautomation/spreadsheet/optional/input/Solver_testdoc01.ods
new file mode 100644
index 000000000000..26bf86b60170
--- /dev/null
+++ b/testautomation/spreadsheet/optional/input/Solver_testdoc01.ods
Binary files differ
diff --git a/testautomation/spreadsheet/optional/input/arrayconstants.xls b/testautomation/spreadsheet/optional/input/arrayconstants.xls
new file mode 100755
index 000000000000..871ffd9e784c
--- /dev/null
+++ b/testautomation/spreadsheet/optional/input/arrayconstants.xls
Binary files differ
diff --git a/testautomation/spreadsheet/optional/input/datapilot.ods b/testautomation/spreadsheet/optional/input/datapilot.ods
new file mode 100755
index 000000000000..8adf6a96f0d5
--- /dev/null
+++ b/testautomation/spreadsheet/optional/input/datapilot.ods
Binary files differ
diff --git a/testautomation/spreadsheet/optional/input/getpivotdata2.xls b/testautomation/spreadsheet/optional/input/getpivotdata2.xls
new file mode 100755
index 000000000000..5f7c3ff3146d
--- /dev/null
+++ b/testautomation/spreadsheet/optional/input/getpivotdata2.xls
Binary files differ
diff --git a/testautomation/spreadsheet/optional/input/loadsave/bugdocs/1024.ods b/testautomation/spreadsheet/optional/input/loadsave/bugdocs/1024.ods
new file mode 100755
index 000000000000..e980bcaa2025
--- /dev/null
+++ b/testautomation/spreadsheet/optional/input/loadsave/bugdocs/1024.ods
Binary files differ
diff --git a/testautomation/spreadsheet/optional/input/loadsave/common/csv.csv b/testautomation/spreadsheet/optional/input/loadsave/common/csv.csv
new file mode 100755
index 000000000000..6c5fa855037e
--- /dev/null
+++ b/testautomation/spreadsheet/optional/input/loadsave/common/csv.csv
@@ -0,0 +1,7 @@
+20.3.2006,"23,67 K?","Uzt","546,4",
+"03/20/06","24,67 €","Äüß","34,67%",
+20.3.2006,"$25,67","Uzt","1,00E+023",
+,,,,
+,,,,"Dies ist ein „gequoteter Text“ im Text"
+,,,,
+,,,,"„Alles gequotet“"
diff --git a/testautomation/spreadsheet/optional/input/loadsave/common/dbase.dbf b/testautomation/spreadsheet/optional/input/loadsave/common/dbase.dbf
new file mode 100755
index 000000000000..c6713303ce44
--- /dev/null
+++ b/testautomation/spreadsheet/optional/input/loadsave/common/dbase.dbf
Binary files differ
diff --git a/testautomation/spreadsheet/optional/input/loadsave/common/dbase.dbt b/testautomation/spreadsheet/optional/input/loadsave/common/dbase.dbt
new file mode 100755
index 000000000000..e69de29bb2d1
--- /dev/null
+++ b/testautomation/spreadsheet/optional/input/loadsave/common/dbase.dbt
diff --git a/testautomation/spreadsheet/optional/input/loadsave/corel/qpro6.wb2 b/testautomation/spreadsheet/optional/input/loadsave/corel/qpro6.wb2
new file mode 100755
index 000000000000..66895b892166
--- /dev/null
+++ b/testautomation/spreadsheet/optional/input/loadsave/corel/qpro6.wb2
Binary files differ
diff --git a/testautomation/spreadsheet/optional/input/loadsave/lotus/123toexcel.xls b/testautomation/spreadsheet/optional/input/loadsave/lotus/123toexcel.xls
new file mode 100755
index 000000000000..711c5dc97b37
--- /dev/null
+++ b/testautomation/spreadsheet/optional/input/loadsave/lotus/123toexcel.xls
Binary files differ
diff --git a/testautomation/spreadsheet/optional/input/loadsave/lotus/lotus123.123 b/testautomation/spreadsheet/optional/input/loadsave/lotus/lotus123.123
new file mode 100755
index 000000000000..85e203799a68
--- /dev/null
+++ b/testautomation/spreadsheet/optional/input/loadsave/lotus/lotus123.123
Binary files differ
diff --git a/testautomation/spreadsheet/optional/input/loadsave/lotus/lotuswk1.wk1 b/testautomation/spreadsheet/optional/input/loadsave/lotus/lotuswk1.wk1
new file mode 100755
index 000000000000..275107c6f532
--- /dev/null
+++ b/testautomation/spreadsheet/optional/input/loadsave/lotus/lotuswk1.wk1
Binary files differ
diff --git a/testautomation/spreadsheet/optional/input/loadsave/lotus/lotuswks.wks b/testautomation/spreadsheet/optional/input/loadsave/lotus/lotuswks.wks
new file mode 100755
index 000000000000..16e61fde7b09
--- /dev/null
+++ b/testautomation/spreadsheet/optional/input/loadsave/lotus/lotuswks.wks
Binary files differ
diff --git a/testautomation/spreadsheet/optional/input/loadsave/microsoft/dif.DIF b/testautomation/spreadsheet/optional/input/loadsave/microsoft/dif.DIF
new file mode 100755
index 000000000000..d9b7e707d3c2
--- /dev/null
+++ b/testautomation/spreadsheet/optional/input/loadsave/microsoft/dif.DIF
@@ -0,0 +1,110 @@
+TABLE
+0,1
+""
+VECTORS
+0,11
+""
+TUPLES
+0,4
+""
+DATA
+0,0
+""
+-1,0
+BOT
+1,0
+"ALPHA1"
+1,0
+"PCK1"
+1,0
+"PCK2"
+1,0
+"ALPHA2"
+1,0
+"ALPHA3"
+1,0
+"BIN1"
+1,0
+"ALPHA4"
+1,0
+"ZON1"
+1,0
+"ZON2"
+1,0
+"ALPHA5"
+1,0
+"HEX1"
+-1,0
+BOT
+1,0
+"aaa"
+0,12
+V
+0,12,34
+V
+1,0
+"bbb"
+1,0
+"ccc"
+0,12
+V
+1,0
+"ddd"
+0,12
+V
+0,12,34
+V
+1,0
+"eee"
+1,0
+"F1F2"
+-1,0
+BOT
+1,0
+"zzz"
+0,45
+V
+0,45,67
+V
+1,0
+"uuu"
+1,0
+"vvv"
+0,34
+V
+1,0
+"qqq"
+0,34
+V
+0,34,56
+V
+1,0
+"rrr"
+1,0
+"F4F5"
+-1,0
+BOT
+1,0
+""
+0,67
+V
+0,67,89
+V
+1,0
+"„„„"
+1,0
+"?á%"
+0,78
+V
+1,0
+"(0)"
+0,56
+V
+0,78,9
+V
+1,0
+"!”t"
+1,0
+"F8F9"
+-1,0
+EOD
diff --git a/testautomation/spreadsheet/optional/input/loadsave/microsoft/excel2.xls b/testautomation/spreadsheet/optional/input/loadsave/microsoft/excel2.xls
new file mode 100755
index 000000000000..e6c865d56d06
--- /dev/null
+++ b/testautomation/spreadsheet/optional/input/loadsave/microsoft/excel2.xls
Binary files differ
diff --git a/testautomation/spreadsheet/optional/input/loadsave/microsoft/excel3.xls b/testautomation/spreadsheet/optional/input/loadsave/microsoft/excel3.xls
new file mode 100755
index 000000000000..a851d9ff9018
--- /dev/null
+++ b/testautomation/spreadsheet/optional/input/loadsave/microsoft/excel3.xls
Binary files differ
diff --git a/testautomation/spreadsheet/optional/input/loadsave/microsoft/excel4.xls b/testautomation/spreadsheet/optional/input/loadsave/microsoft/excel4.xls
new file mode 100755
index 000000000000..eaa9d3a5722c
--- /dev/null
+++ b/testautomation/spreadsheet/optional/input/loadsave/microsoft/excel4.xls
Binary files differ
diff --git a/testautomation/spreadsheet/optional/input/loadsave/microsoft/excel95.xls b/testautomation/spreadsheet/optional/input/loadsave/microsoft/excel95.xls
new file mode 100755
index 000000000000..6b8d7ce11532
--- /dev/null
+++ b/testautomation/spreadsheet/optional/input/loadsave/microsoft/excel95.xls
Binary files differ
diff --git a/testautomation/spreadsheet/optional/input/loadsave/microsoft/excel95tmpl.xlt b/testautomation/spreadsheet/optional/input/loadsave/microsoft/excel95tmpl.xlt
new file mode 100755
index 000000000000..6ddedc2f3d7c
--- /dev/null
+++ b/testautomation/spreadsheet/optional/input/loadsave/microsoft/excel95tmpl.xlt
Binary files differ
diff --git a/testautomation/spreadsheet/optional/input/loadsave/microsoft/excel97.xls b/testautomation/spreadsheet/optional/input/loadsave/microsoft/excel97.xls
new file mode 100755
index 000000000000..26bc753837c1
--- /dev/null
+++ b/testautomation/spreadsheet/optional/input/loadsave/microsoft/excel97.xls
Binary files differ
diff --git a/testautomation/spreadsheet/optional/input/loadsave/microsoft/excel97tmpl.xlt b/testautomation/spreadsheet/optional/input/loadsave/microsoft/excel97tmpl.xlt
new file mode 100755
index 000000000000..39126c3670e7
--- /dev/null
+++ b/testautomation/spreadsheet/optional/input/loadsave/microsoft/excel97tmpl.xlt
Binary files differ
diff --git a/testautomation/spreadsheet/optional/input/loadsave/microsoft/excelxml.xml b/testautomation/spreadsheet/optional/input/loadsave/microsoft/excelxml.xml
new file mode 100755
index 000000000000..1c739493cd5b
--- /dev/null
+++ b/testautomation/spreadsheet/optional/input/loadsave/microsoft/excelxml.xml
@@ -0,0 +1,254 @@
+<?xml version="1.0"?>
+<?mso-application progid="Excel.Sheet"?>
+<Workbook xmlns="urn:schemas-microsoft-com:office:spreadsheet"
+ xmlns:o="urn:schemas-microsoft-com:office:office"
+ xmlns:x="urn:schemas-microsoft-com:office:excel"
+ xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet"
+ xmlns:html="http://www.w3.org/TR/REC-html40">
+ <DocumentProperties xmlns="urn:schemas-microsoft-com:office:office">
+ <Author>Gavin Lu</Author>
+ <LastAuthor>Gavin Lu</LastAuthor>
+ <Created>2003-07-07T08:07:10Z</Created>
+ <Company>Sun China Engineering &amp; Research Institute</Company>
+ <Version>11.5329</Version>
+ </DocumentProperties>
+ <ExcelWorkbook xmlns="urn:schemas-microsoft-com:office:excel">
+ <WindowHeight>9000</WindowHeight>
+ <WindowWidth>13860</WindowWidth>
+ <WindowTopX>240</WindowTopX>
+ <WindowTopY>75</WindowTopY>
+ <ProtectStructure>False</ProtectStructure>
+ <ProtectWindows>False</ProtectWindows>
+ </ExcelWorkbook>
+ <Styles>
+ <Style ss:ID="Default" ss:Name="Normal">
+ <Alignment ss:Vertical="Center"/>
+ <Borders/>
+ <Font ss:FontName="宋体" x:CharSet="134" ss:Size="12"/>
+ <Interior/>
+ <NumberFormat/>
+ <Protection/>
+ </Style>
+ <Style ss:ID="s21" ss:Name="Hyperlink">
+ <Font ss:FontName="宋体" x:CharSet="134" ss:Size="12" ss:Color="#0000FF"
+ ss:Underline="Single"/>
+ </Style>
+ <Style ss:ID="s22">
+ <Alignment ss:Horizontal="Left" ss:Vertical="Center"/>
+ </Style>
+ <Style ss:ID="s23">
+ <Alignment ss:Horizontal="Right" ss:Vertical="Center"/>
+ </Style>
+ <Style ss:ID="s24">
+ <Alignment ss:Horizontal="Center" ss:Vertical="Center"/>
+ </Style>
+ <Style ss:ID="s25">
+ <Alignment ss:Horizontal="Left" ss:Vertical="Center" ss:Indent="1"/>
+ </Style>
+ <Style ss:ID="s26">
+ <Alignment ss:Vertical="Top"/>
+ </Style>
+ <Style ss:ID="s27">
+ <Alignment ss:Vertical="Center"/>
+ </Style>
+ <Style ss:ID="s28">
+ <Alignment ss:Vertical="Bottom"/>
+ </Style>
+ <Style ss:ID="s29">
+ <Alignment ss:Horizontal="Center" ss:Vertical="Center" ss:Rotate="-42"/>
+ <Font ss:FontName="宋体" x:CharSet="134" ss:Size="28"/>
+ </Style>
+ <Style ss:ID="s30">
+ <Alignment ss:Vertical="Center" ss:VerticalText="1"/>
+ </Style>
+ <Style ss:ID="s31">
+ <Font ss:FontName="Broadway" x:Family="Swiss" ss:Size="22" ss:Shadow="1"/>
+ </Style>
+ <Style ss:ID="s32">
+ <Alignment ss:Vertical="Center" ss:WrapText="1"/>
+ </Style>
+ <Style ss:ID="s33">
+ <Alignment ss:Horizontal="Center" ss:Vertical="Center"/>
+ <Borders>
+ <Border ss:Position="Bottom" ss:LineStyle="Continuous" ss:Weight="3"
+ ss:Color="#0000FF"/>
+ <Border ss:Position="Left" ss:LineStyle="Continuous" ss:Weight="1"
+ ss:Color="#FF0000"/>
+ <Border ss:Position="Right" ss:LineStyle="Double" ss:Weight="3"
+ ss:Color="#000000"/>
+ <Border ss:Position="Top" ss:LineStyle="DashDot" ss:Weight="2"
+ ss:Color="#99CC00"/>
+ </Borders>
+ </Style>
+ <Style ss:ID="s34">
+ <Font ss:FontName="Arial Black" x:Family="Swiss" ss:Size="22" ss:Bold="1"
+ ss:Outline="1"/>
+ </Style>
+ <Style ss:ID="s35">
+ <Font ss:FontName="Arial Black" x:Family="Swiss" ss:Size="12"/>
+ </Style>
+ <Style ss:ID="s37">
+ <Alignment ss:Horizontal="Center" ss:Vertical="Center"/>
+ <Font ss:FontName="Courier New" x:Family="Modern" ss:Size="18"/>
+ </Style>
+ <Style ss:ID="s38">
+ <Alignment ss:Horizontal="Center" ss:Vertical="Center"/>
+ <Font ss:FontName="宋体" x:CharSet="134" ss:Size="12" ss:Bold="1"/>
+ </Style>
+ <Style ss:ID="s39">
+ <Alignment ss:Horizontal="Center" ss:Vertical="Center"/>
+ <Font ss:FontName="Blackadder ITC" x:Family="Decorative" ss:Size="20"
+ ss:Italic="1"/>
+ </Style>
+ <Style ss:ID="s40">
+ <Font ss:FontName="Forte" x:Family="Script" ss:Size="16" ss:Underline="Single"/>
+ </Style>
+ <Style ss:ID="s41">
+ <Alignment ss:Horizontal="Center" ss:Vertical="Center"/>
+ <Font ss:FontName="Bodoni MT Black" x:Family="Roman" ss:Size="12"
+ ss:Color="#FFCC00" ss:Underline="Double"/>
+ </Style>
+ <Style ss:ID="s42">
+ <Font ss:FontName="MS Reference Sans Serif" x:Family="Swiss" ss:Size="12"
+ ss:StrikeThrough="1"/>
+ </Style>
+ <Style ss:ID="s43">
+ <Font ss:FontName="Perpetua Titling MT" x:Family="Roman" ss:Size="12"
+ ss:VerticalAlign="Superscript"/>
+ </Style>
+ <Style ss:ID="s44">
+ <Font ss:FontName="Rockwell Extra Bold" x:Family="Roman" ss:Size="12"
+ ss:VerticalAlign="Subscript"/>
+ </Style>
+ <Style ss:ID="s47" ss:Parent="s21">
+ <Font ss:FontName="宋体" x:CharSet="134" ss:Size="12" ss:Color="#0000FF"
+ ss:VerticalAlign="Subscript" ss:Underline="Single"/>
+ </Style>
+ <Style ss:ID="s49">
+ <Alignment ss:Horizontal="Center" ss:Vertical="Center"/>
+ <Font ss:FontName="宋体" x:CharSet="134" ss:Size="12" ss:Color="#FF0000"/>
+ <Interior ss:Color="#99CC00" ss:Pattern="Solid"/>
+ </Style>
+ <Style ss:ID="s51">
+ <Alignment ss:Horizontal="Center" ss:Vertical="Center"/>
+ <Font ss:FontName="Courier New" x:Family="Modern" ss:Size="12"
+ ss:VerticalAlign="Subscript"/>
+ </Style>
+ </Styles>
+ <Worksheet ss:Name="Sheet1">
+ <Table ss:ExpandedColumnCount="8" ss:ExpandedRowCount="7" x:FullColumns="1"
+ x:FullRows="1" ss:DefaultColumnWidth="54" ss:DefaultRowHeight="14.25">
+ <Column ss:Index="2" ss:AutoFitWidth="0" ss:Width="104.25"/>
+ <Column ss:AutoFitWidth="0" ss:Width="63"/>
+ <Column ss:AutoFitWidth="0" ss:Width="75"/>
+ <Column ss:AutoFitWidth="0" ss:Width="135.75"/>
+ <Column ss:AutoFitWidth="0" ss:Width="63.75"/>
+ <Column ss:AutoFitWidth="0" ss:Width="99.75"/>
+ <Row ss:AutoFitHeight="0"/>
+ <Row ss:AutoFitHeight="0">
+ <Cell ss:Index="2" ss:StyleID="s22"><Data ss:Type="String">left</Data></Cell>
+ <Cell ss:StyleID="s23"><Data ss:Type="String">right</Data></Cell>
+ <Cell ss:StyleID="s24"><Data ss:Type="String">center</Data></Cell>
+ <Cell ss:StyleID="s25"><Data ss:Type="String">Indent</Data></Cell>
+ </Row>
+ <Row ss:AutoFitHeight="0" ss:Height="122.25">
+ <Cell ss:Index="2" ss:StyleID="s26"><Data ss:Type="String">top</Data></Cell>
+ <Cell ss:StyleID="s27"><Data ss:Type="String">middle</Data></Cell>
+ <Cell ss:StyleID="s28"><Data ss:Type="String">bottom</Data></Cell>
+ <Cell ss:StyleID="s29"><Data ss:Type="String">Rotate</Data></Cell>
+ <Cell ss:StyleID="s30"><Data ss:Type="String">vertical</Data></Cell>
+ <Cell ss:StyleID="s31"><Data ss:Type="String">shadow</Data></Cell>
+ </Row>
+ <Row ss:AutoFitHeight="0" ss:Height="74.25">
+ <Cell><Data ss:Type="String">Notes</Data><Comment ss:Author="Guang Gavin Lu"><ss:Data
+ xmlns="http://www.w3.org/TR/REC-html40"><B><Font html:Face="Tahoma"
+ x:CharSet="134" x:Family="Swiss" html:Size="8" html:Color="#000000">Guang Gavin Lu:</Font></B><Font
+ html:Face="Tahoma" x:CharSet="134" x:Family="Swiss" html:Size="8"
+ html:Color="#000000">&#10;&#10;</Font><B><Font html:Face="Tahoma"
+ x:CharSet="134" x:Family="Swiss" html:Size="8" html:Color="#000000">Yes</Font><Font
+ html:Face="Tahoma" x:CharSet="134" x:Family="Swiss" html:Size="8"
+ html:Color="#FF6600">, T</Font></B><Font html:Face="Rockwell"
+ x:Family="Roman" html:Size="16" html:Color="#FF6600">h</Font><B><Font
+ html:Face="Rockwell" x:Family="Roman" html:Size="16" html:Color="#FF0000">is's</Font><Font
+ html:Face="Rockwell" x:Family="Roman" html:Size="16" html:Color="#0000FF"> a formated comments</Font></B><Font
+ html:Face="Rockwell" x:Family="Roman" html:Size="16" html:Color="#0000FF">. </Font><B><U><Font
+ html:Face="Tahoma" x:CharSet="134" x:Family="Swiss" html:Size="8"
+ html:Color="#0000FF">:( </Font><Font html:Face="Tahoma" x:CharSet="134"
+ x:Family="Swiss" html:Size="8" html:Color="#FF6600">Too complexive. Righ</Font></U></B><Font
+ html:Face="Tahoma" x:CharSet="134" x:Family="Swiss" html:Size="8"
+ html:Color="#FF6600">t?</Font></ss:Data></Comment></Cell>
+ <Cell ss:StyleID="s32"><Data ss:Type="String">WrapWrapWrapWrapWrapWrapWrapWrapWrapWrapWrapWrapWrap</Data></Cell>
+ <Cell ss:Index="5" ss:StyleID="s33"><Data ss:Type="String">borders</Data></Cell>
+ <Cell ss:Index="7" ss:StyleID="s34"><Data ss:Type="String">Outline</Data></Cell>
+ </Row>
+ <Row ss:AutoFitHeight="0" ss:Height="50.25">
+ <Cell ss:Index="2" ss:StyleID="s35"><Data ss:Type="String">Arial Black12</Data></Cell>
+ <Cell ss:MergeAcross="1" ss:StyleID="s37"><Data ss:Type="String">Courier New18</Data></Cell>
+ <Cell ss:StyleID="s38"><Data ss:Type="String">Black</Data></Cell>
+ <Cell ss:StyleID="s39"><Data ss:Type="String">Italy20</Data></Cell>
+ <Cell ss:StyleID="s40"><Data ss:Type="String">Underline16</Data></Cell>
+ <Cell ss:StyleID="s41"><Data ss:Type="String">Under2</Data></Cell>
+ </Row>
+ <Row ss:AutoFitHeight="0" ss:Height="37.5">
+ <Cell ss:Index="2" ss:StyleID="s42"><Data ss:Type="String">strikethrough</Data></Cell>
+ <Cell ss:StyleID="s43"><Data ss:Type="String">superscript</Data></Cell>
+ <Cell ss:StyleID="s44"><Data ss:Type="String">subscript</Data></Cell>
+ <Cell ss:StyleID="s21" ss:HRef="http://www.sun.com/"><Data ss:Type="String">Link to www.sun.com</Data></Cell>
+ <Cell ss:StyleID="s47" ss:HRef="http://www.sun.com/"><Data ss:Type="String">sub_Link</Data></Cell>
+ </Row>
+ <Row ss:AutoFitHeight="0" ss:Height="38.25">
+ <Cell ss:Index="2" ss:MergeAcross="1" ss:StyleID="s49"><Data ss:Type="String">Green Back Red Fore</Data></Cell>
+ <Cell ss:Index="5" ss:MergeAcross="2" ss:StyleID="s51"><ss:Data
+ ss:Type="String" xmlns="http://www.w3.org/TR/REC-html40"><Sub>Low<Font
+ html:Color="#0000FF">er</Font></Sub><B><Font html:Face="Arial"
+ x:Family="Swiss" html:Color="#0000FF">Ar</Font><Font html:Face="Arial"
+ x:Family="Swiss">ail</Font><U><Font html:Color="#FF0000">Courier New</Font></U></B><I><S><Font
+ html:Face="Times New Roman" x:Family="Roman">Times </Font><Font
+ html:Face="Times New Roman" x:Family="Roman" html:Color="#99CC00">New</Font><Font
+ html:Face="Times New Roman" x:Family="Roman"> Rom</Font><Font
+ html:Face="Times New Roman" x:Family="Roman" html:Color="#0000FF">an</Font></S></I><Sup><Font
+ html:Face="Times" x:Family="Roman" html:Color="#0000FF">U</Font><Font
+ html:Face="Times" x:Family="Roman" html:Color="#800000">p</Font><Font
+ html:Face="Times" x:Family="Roman">per</Font></Sup></ss:Data></Cell>
+ </Row>
+ </Table>
+ <WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel">
+ <Unsynced/>
+ <Print>
+ <ValidPrinterInfo/>
+ <PaperSizeIndex>9</PaperSizeIndex>
+ <HorizontalResolution>600</HorizontalResolution>
+ <VerticalResolution>600</VerticalResolution>
+ </Print>
+ <Selected/>
+ <Panes>
+ <Pane>
+ <Number>3</Number>
+ <ActiveRow>6</ActiveRow>
+ <ActiveCol>4</ActiveCol>
+ <RangeSelection>R7C5:R7C7</RangeSelection>
+ </Pane>
+ </Panes>
+ <ProtectObjects>False</ProtectObjects>
+ <ProtectScenarios>False</ProtectScenarios>
+ </WorksheetOptions>
+ </Worksheet>
+ <Worksheet ss:Name="Sheet2">
+ <Table ss:ExpandedColumnCount="0" ss:ExpandedRowCount="0" x:FullColumns="1"
+ x:FullRows="1" ss:DefaultColumnWidth="54" ss:DefaultRowHeight="14.25"/>
+ <WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel">
+ <Unsynced/>
+ <ProtectObjects>False</ProtectObjects>
+ <ProtectScenarios>False</ProtectScenarios>
+ </WorksheetOptions>
+ </Worksheet>
+ <Worksheet ss:Name="Sheet3">
+ <Table ss:ExpandedColumnCount="0" ss:ExpandedRowCount="0" x:FullColumns="1"
+ x:FullRows="1" ss:DefaultColumnWidth="54" ss:DefaultRowHeight="14.25"/>
+ <WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel">
+ <Unsynced/>
+ <ProtectObjects>False</ProtectObjects>
+ <ProtectScenarios>False</ProtectScenarios>
+ </WorksheetOptions>
+ </Worksheet>
+</Workbook>
diff --git a/testautomation/spreadsheet/optional/input/loadsave/microsoft/ms_excel_2007_binary.xlsb b/testautomation/spreadsheet/optional/input/loadsave/microsoft/ms_excel_2007_binary.xlsb
new file mode 100755
index 000000000000..60f70ab061f7
--- /dev/null
+++ b/testautomation/spreadsheet/optional/input/loadsave/microsoft/ms_excel_2007_binary.xlsb
Binary files differ
diff --git a/testautomation/spreadsheet/optional/input/loadsave/microsoft/ms_excel_2007_xml.xlsx b/testautomation/spreadsheet/optional/input/loadsave/microsoft/ms_excel_2007_xml.xlsx
new file mode 100755
index 000000000000..11c4621a8393
--- /dev/null
+++ b/testautomation/spreadsheet/optional/input/loadsave/microsoft/ms_excel_2007_xml.xlsx
Binary files differ
diff --git a/testautomation/spreadsheet/optional/input/loadsave/microsoft/ms_excel_2007_xml_macroenabled.xlsm b/testautomation/spreadsheet/optional/input/loadsave/microsoft/ms_excel_2007_xml_macroenabled.xlsm
new file mode 100755
index 000000000000..94759c1001e3
--- /dev/null
+++ b/testautomation/spreadsheet/optional/input/loadsave/microsoft/ms_excel_2007_xml_macroenabled.xlsm
Binary files differ
diff --git a/testautomation/spreadsheet/optional/input/loadsave/microsoft/ms_excel_2007_xml_template.xltx b/testautomation/spreadsheet/optional/input/loadsave/microsoft/ms_excel_2007_xml_template.xltx
new file mode 100755
index 000000000000..a676771c02a6
--- /dev/null
+++ b/testautomation/spreadsheet/optional/input/loadsave/microsoft/ms_excel_2007_xml_template.xltx
Binary files differ
diff --git a/testautomation/spreadsheet/optional/input/loadsave/microsoft/ms_excel_2007_xml_template_macroenabled.xltm b/testautomation/spreadsheet/optional/input/loadsave/microsoft/ms_excel_2007_xml_template_macroenabled.xltm
new file mode 100755
index 000000000000..b53d780e52d0
--- /dev/null
+++ b/testautomation/spreadsheet/optional/input/loadsave/microsoft/ms_excel_2007_xml_template_macroenabled.xltm
Binary files differ
diff --git a/testautomation/spreadsheet/optional/input/loadsave/microsoft/sylk.slk b/testautomation/spreadsheet/optional/input/loadsave/microsoft/sylk.slk
new file mode 100755
index 000000000000..b6175a6fc66a
--- /dev/null
+++ b/testautomation/spreadsheet/optional/input/loadsave/microsoft/sylk.slk
@@ -0,0 +1 @@
+ID;PWXL;N;E P;PGeneral P;P0 P;P0.00 P;P#,##0 P;P#,##0.00 P;P#,##0_);;\(#,##0\) P;P#,##0_);;[Red]\(#,##0\) P;P#,##0.00_);;\(#,##0.00\) P;P#,##0.00_);;[Red]\(#,##0.00\) P;P"$"#,##0_);;\("$"#,##0\) P;P"$"#,##0_);;[Red]\("$"#,##0\) P;P"$"#,##0.00_);;\("$"#,##0.00\) P;P"$"#,##0.00_);;[Red]\("$"#,##0.00\) P;P0% P;P0.00% P;P0.00E+00 P;P#\ ?/? P;P#\ ??/?? P;Pm/d/yy P;Pd\-mmm\-yy P;Pd\-mmm P;Pmmm\-yy P;Ph:mm\ AM/PM P;Ph:mm:ss\ AM/PM P;Ph:mm P;Ph:mm:ss P;Pm/d/yy\ h:mm P;P"$"0.00\ ;;\("$"0.00\) P;P\ ;;\ ;;\ ;;\ P;P\ P;FGeneva;M240 P;FGeneva;M240;SB P;FGeneva;M240;SI P;FGeneva;M240;SBI P;EGeneva;M200 P;EGeneva;M200 P;EGeneva;M240 F;P0;DG0G10;SM0;M320;N3 12 B;Y247;X25;D0 0 246 24 O;L;D;V4;K47;G100 0.001 F;W1 1 9 F;W2 2 11 F;W4 4 8 F;W5 6 13 F;W7 7 9 F;W8 8 11 F;W9 9 8 F;W11 12 13 F;W13 13 12 F;W14 15 8 F;W16 19 9 F;W21 21 11 F;W23 23 12 F;W24 24 9 F;W25 25 12 F;P0;FG0C;C14 F;P27;F$2G;C25 NN;NForm_1040;ER44C1:R59C5 NN;NForm_M_1;ER1C20:R15C24 NN;NInstructions;ER1C1:R15C5 NN;NSchedule_A;ER1C7:R15C11 NN;NSchedule_B;ER123C7:R137C11 NN;NSchedule_D;ER1C13:R10C17 F;SM7;Y1;X1 F;SM7;X2 F;P0;FG0C;SM7;X3 C;K1995 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;SM7;X7 F;SM7;X8 F;SM7;X9 C;K"SCHEDULE A - TAXPAYER INFORMATION" F;SM7;X10 F;SM7;X11 F;SM7;X12 F;SM7;X13 F;SM7;X14 F;SM7;X15 C;K"SCHEDULE D - TAXPAYER INFORMATION" F;SM7;X16 F;SM7;X17 F;SM7;X18 F;SM7;X19 F;SM7;X20 F;SM7;X21 C;K"Form M-1 Calculations. This is not the form itself as Minnesota" F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;SM7;Y2;X1 C;K"Calculations for Form 1040 and Schedules A, B, and D and" F;SM7;X2 F;SM7;X3 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;SM7;X7 F;SM7;X8 F;SM7;X9 F;SM7;X10 F;SM7;X11 F;SM7;X12 F;SM7;X13 F;SM7;X14 F;SM7;X15 F;SM7;X16 F;SM7;X17 F;SM7;X18 F;SM7;X19 F;SM7;X20 F;SM7;X21 C;K"requires that their form be submitted or that an approved" F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;SM7;Y3;X1 C;K"Minnesota Form M-1." F;SM7;X2 F;SM7;X3 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;SM7;X7 C;K"Names---------------------->>" F;SM7;X8 F;SM7;X9 F;P0;FG0L;SM7;X10 C;K0;ER[+44]C[-6] F;SM7;X11 F;SM7;X12 F;SM7;X13 C;K"Names---------------------->>" F;SM7;X14 F;SM7;X15 F;P0;FG0L;SM7;X16 C;K0;ER[+44]C[-12] F;SM7;X17 F;SM7;X18 F;SM7;X19 F;SM7;X20 F;SM7;X21 C;K"substitute be submitted and that is beyond the scope of this" F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;SM7;Y4;X1 C;K"These are not the forms themselves as the IRS requires that" F;SM7;X2 F;SM7;X3 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;SM7;X7 F;SM7;X8 F;SM7;X9 F;P0;FG0L;SM7;X10 C;K0;ER[+45]C[-6] F;SM7;X11 F;SM7;X12 F;SM7;X13 F;SM7;X14 F;SM7;X15 F;P0;FG0L;SM7;X16 C;K0;ER[+45]C[-12] F;SM7;X17 F;SM7;X18 F;SM7;X19 F;SM7;X20 F;SM7;X21 C;K"Excel template." F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;SM7;Y5;X1 C;K"their forms be submitted or that approved substitutes be" F;SM7;X2 F;SM7;X3 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;SM7;X7 C;K"Social Security Numbers------->>" F;SM7;X8 F;SM7;X9 F;P0;FG0L;SM7;X10 C;K0;ER[+43]C[-6] F;SM7;X11 F;SM7;X12 F;SM7;X13 C;K"Social Security Numbers------->>" F;SM7;X14 F;SM7;X15 F;P0;FG0L;SM7;X16 C;K0;ER[+43]C[-12] F;SM7;X17 F;SM7;X18 F;SM7;X19 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;SM7;Y6;X1 C;K"submitted and that is beyond the scope of this Excel" F;SM7;X2 F;SM7;X3 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;SM7;X7 F;SM7;X8 F;SM7;X9 F;P0;FG0L;SM7;X10 C;K0;ER[+44]C[-6] F;SM7;X11 F;SM7;X12 F;SM7;X13 F;SM7;X14 F;SM7;X15 F;P0;FG0L;SM7;X16 C;K0;ER[+44]C[-12] F;SM7;X17 F;SM7;X18 F;SM7;X19 F;SM7;X20 F;SM7;X21 F;SM7;X22 C;K"Taxpayer Information" F;SM7;X23 F;SM7;X24 F;SM7;X25 F;SM7;Y7;X1 C;K"spreadsheet. These forms verify all your calculations and follow the" F;SM7;X2 F;SM7;X3 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;SM7;X7 F;SM7;X8 F;SM7;X9 C;K"Medical and Dental Expenses" F;SM7;X10 F;SM7;X11 F;SM7;X12 F;P0;FG0C;SM7;X13 F;SM7;X14 F;P0;FG0C;SM7;X15 F;P0;FG0C;SM7;X16 F;P0;FG0C;SM7;X17 F;P0;FG0C;SM7;X18 F;P0;FG0C;SM7;X19 F;SM7;X20 F;SM7;X21 C;K"Name" F;SM7;X22 C;K0;ER[+40]C[-18] F;SM7;X23 F;SM7;X24 F;SM7;X25 F;SM7;Y8;X1 C;K"format of the IRS forms." F;SM7;X2 F;SM7;X3 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;SM7;X7 C;K"Put numbers in appropriate cell below" F;SM7;X8 F;SM7;X9 F;P0;FG0C;SM7;X10 F;P0;FG0C;SM7;X11 C;K"here:" F;P0;FG0C;SM7;X12 F;P0;FG0C;SM7;X13 C;K"PART I" F;P0;FG0L;SM7;X14 C;K"Short-Term Capital Gains and Losses-1Assets Held One Year" F;P0;FG0C;SM7;X15 F;P0;FG0C;SM7;X16 F;P27;F$2G;SM7;X17 F;P0;FG0C;SM7;X18 F;P0;FG0C;SM7;X19 F;SM7;X20 F;SM7;X21 C;K"Soc Sec No" F;SM7;X22 C;K0;ER[+40]C[-18] F;SM7;X23 F;SM7;X24 F;SM7;X25 F;SM7;Y9;X1 F;SM7;X2 F;SM7;X3 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;SM7;X7 F;SM7;X8 F;SM7;X9 F;P0;FG0C;SM7;X10 F;P0;FG0C;SM7;X11 C;K"\/" F;P0;FG0C;SM7;X12 F;P27;F$2G;SM7;X13 F;P0;FG0L;SM7;X14 C;K"or Less" F;P27;F$2G;SM7;X15 F;P27;F$2G;SM7;X16 F;P27;F$2G;SM7;X17 F;P27;F$2G;SM7;X18 F;P27;F$2G;SM7;X19 F;SM7;X20 F;SM7;X21 C;K"Spouse Name" F;SM7;X22 C;K0;ER[+40]C[-18] F;SM7;X23 F;SM7;X24 F;SM7;X25 F;SM7;Y10;X1 C;K"This Excel template was written by Bill Arsenault." F;SM7;X2 F;SM7;X3 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;P0;FG0C;SM7;X7 C;K"Line 1" F;SM7;X8 C;K"Medical and Dental Expenses---->>" F;SM7;X9 F;SM7;X10 F;P27;F$2G;SM7;X11 F;P27;F$2G;SM7;X12 C;K"<<-----------" F;P27;F$2C;SM7;X13 C;K"Line 1" F;P27;F$2L;SM7;X14 F;P27;F$2G;SM7;X15 F;P27;F$2G;SM7;X16 F;P27;F$2G;SM7;X17 F;P27;F$2G;SM7;X18 F;P27;F$2G;SM7;X19 F;SM7;X20 F;SM7;X21 C;K"Soc Sec No" F;SM7;X22 C;K0;ER[+40]C[-18] F;SM7;X23 F;SM7;X24 F;SM7;X25 F;SM7;Y11;X1 C;K"If you find it useful,please send $5.00 (or whatever you think is fair)" F;SM7;X2 F;SM7;X3 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;P0;FG0C;SM7;X7 C;K"Line 2" F;SM7;X8 C;K"Form 1040, Line 32-->>" F;SM7;X9 F;P27;F$2G;SM7;X10 C;K0;ER[+108]C[-4] F;P27;F$2G;SM7;X11 C;K"<<-----------" F;P27;F$2G;SM7;X12 C;K"-------------" F;P0;FG0C;SM7;X13 C;K"(a) Description" F;SM7;X14 C;K"(b) Date" F;P0;FG0C;SM7;X15 C;K"(c) Date" F;P0;FG0C;SM7;X16 C;K"(d) Sales" F;P0;FG0C;SM7;X17 C;K"(e) Cost or" F;P0;FG0C;SM7;X18 C;K"(f) LOSS" F;P0;FG0C;SM7;X19 C;K"(g) GAIN" F;SM7;X20 F;SM7;X21 C;K"Address" F;SM7;X22 C;K0;ER[+40]C[-18] F;SM7;X23 F;SM7;X24 F;SM7;X25 F;SM7;Y12;X1 C;K"and any suggestions for improvements and your name and address to:" F;SM7;X2 F;SM7;X3 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;P0;FG0C;SM7;X7 C;K"Line 3" F;SM7;X8 C;K"Multiply the Amount on Line 2 by7.5% (.075)." F;SM7;X9 F;SM7;X10 F;SM7;X11 F;P27;F$2G;SM7;X12 C;K"-------------" F;P0;FG0C;SM7;X13 C;K"of Property" F;SM7;X14 C;K"Acquired" F;P0;FG0C;SM7;X15 C;K"Sold" F;P0;FG0C;SM7;X16 C;K"Price" F;P27;F$2C;SM7;X17 C;K"Other Basis" F;P0;FG0C;SM7;X18 F;P27;F$2G;SM7;X19 F;SM7;X20 F;SM7;X21 C;K"City" F;SM7;X22 C;K0;ER[+40]C[-18] F;SM7;X23 F;SM7;X24 F;SM7;X25 F;SM7;Y13;X1 C;K"Payers of this year's shareware fee receive next year's form free." F;SM7;X2 F;SM7;X3 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;SM7;X7 F;SM7;X8 C;K"----------------------------->>" F;SM7;X9 F;SM7;X10 F;P27;F$2G;SM7;X11 C;K0;EROUND(0.075*R[-2]C[-1],2) F;P27;F$2G;SM7;X12 C;K"<<-----------" F;P27;F$2L;SM7;X13 F;P18;FG0C;SM7;X14 F;P18;FG0G;SM7;X15 F;P27;F$2G;SM7;X16 F;P27;F$2G;SM7;X17 F;P27;F$2G;SM7;X18 C;K" ";EIF(RC[-1]>RC[-2],RC[-1]-RC[-2]," ") F;P27;F$2G;SM7;X19 C;K0;EIF(RC[-3]>=RC[-2],RC[-3]-RC[-2]," ") F;SM7;X20 F;SM7;X21 C;K"State" F;SM7;X22 C;K0;ER[+40]C[-18] F;SM7;X23 F;SM7;X24 F;SM7;X25 F;SM7;Y14;X1 F;SM7;X2 F;SM7;X3 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;P0;FG0C;SM7;X7 C;K"Line 4" F;SM7;X8 C;K"Subtract Line 3 from Line 1. If Zero or Less, Enter 0." F;SM7;X9 F;SM7;X10 F;SM7;X11 F;P27;F$2G;SM7;X12 C;K"-------------" F;P27;F$2L;SM7;X13 F;P18;FG0C;SM7;X14 F;P18;FG0G;SM7;X15 F;P27;F$2G;SM7;X16 F;P27;F$2G;SM7;X17 F;P27;F$2G;SM7;X18 C;K" ";EIF(RC[-1]>RC[-2],RC[-1]-RC[-2]," ") F;P27;F$2G;SM7;X19 C;K0;EIF(RC[-3]>=RC[-2],RC[-3]-RC[-2]," ") F;SM7;X20 F;SM7;X21 C;K"Zip" F;SM7;X22 C;K0;ER[+40]C[-18] F;SM7;X23 F;SM7;X24 F;SM7;X25 F;SM7;Y15;X1 F;SM7;X2 C;K"Bill Arsenault" F;SM7;X3 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;SM7;X7 F;SM7;X8 C;K"------------------------------------------->>" F;SM7;X9 F;SM7;X10 F;SM7;X11 F;P27;F$2G;SM7;X12 C;K0;EIF(R[-5]C[-1]-R[-2]C[-1]<=0,0,R[-5]C[-1]-R[-2]C[-1]) F;P27;F$2L;SM7;X13 F;P18;FG0C;SM7;X14 F;P18;FG0G;SM7;X15 F;P27;F$2G;SM7;X16 F;P27;F$2G;SM7;X17 F;P27;F$2G;SM7;X18 C;K" ";EIF(RC[-1]>RC[-2],RC[-1]-RC[-2]," ") F;P27;F$2G;SM7;X19 C;K0;EIF(RC[-3]>=RC[-2],RC[-3]-RC[-2]," ") F;SM7;X20 F;SM7;X21 C;K"County" F;SM7;X22 C;K0;ER[+40]C[-18] F;SM7;X23 F;SM7;X24 F;SM7;X25 F;SM7;Y16;X1 F;SM7;X2 C;K"11403 Keating Ave." F;SM7;X3 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;P0;FG0C;SM7;X7 C;K"Line 4" F;SM7;X8 C;K"This Is Your Total Medical and Dental Expenses." F;SM7;X9 F;SM7;X10 F;SM7;X11 F;SM7;X12 F;P27;F$2C;SM7;X13 C;K"Line 2" F;P18;FG0L;SM7;X14 C;K"Short Term Totals From Line 21" F;P18;FG0G;SM7;X15 F;P27;F$2G;SM7;X16 F;P27;F$2G;SM7;X17 F;P27;F$2G;SM7;X18 F;P27;F$2G;SM7;X19 F;SM7;X20 F;SM7;X21 F;SM7;X22 C;K"Income" F;SM7;X23 F;SM7;X24 F;SM7;X25 F;SM7;Y17;X1 F;SM7;X2 C;K"Burnsville, MN 55337-5610" F;SM7;X3 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;SM7;X7 F;SM7;X8 F;SM7;X9 F;SM7;X10 F;SM7;X11 F;SM7;X12 F;P27;F$2C;SM7;X13 F;P27;F$2G;SM7;X14 C;K" --------" F;P27;F$2G;SM7;X15 C;K" --------" F;P27;F$2G;SM7;X16 C;K0;ER[+51]C F;P27;F$2G;SM7;X17 C;K" ---------" F;P27;F$2G;SM7;X18 C;K0;ER[+51]C F;P27;F$2G;SM7;X19 C;K0;ER[+51]C F;P0;FG0C;SM7;X20 C;K"Line 1" F;SM7;X21 C;K"Federal Taxable Income---------------------->>" F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 C;K""ERROR-FILING STATUS"";ER[+115]C[-19] F;SM7;Y18;X1 F;SM7;X2 F;SM7;X3 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;SM7;X7 F;SM7;X8 C;K"Taxes You Paid" F;SM7;X9 F;SM7;X10 F;SM7;X11 F;SM7;X12 F;P0;FG0C;SM7;X13 C;K"Line 3" F;P0;FG0L;SM7;X14 C;K"Total (add column d)" F;SM7;X15 F;P27;F$2G;SM7;X16 C;K0;ESUM(R[-5]C:R[-3]C)+R[-1]C F;P27;F$2G;SM7;X17 C;K"----------" F;P27;F$2G;SM7;X18 C;K"----------" F;P27;F$2G;SM7;X19 C;K"----------" F;P0;FG0C;SM7;X20 F;SM7;X21 C;K"Line 37(1040) or Line 22(1040A) or Line 6(1040EZ)" F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 C;K"---------------" F;SM7;Y19;X1 C;K"I will notify you of future updates and new items of interest." F;SM7;X2 F;SM7;X3 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;P0;FG0C;SM7;X7 C;K"NOTE:" F;SM7;X8 C;K"SALES TAXES ARE NO LONGER DEDUCTIBLE." F;SM7;X9 F;SM7;X10 F;SM7;X11 F;P27;F$2G;SM7;X12 C;K"-------------" F;P0;FG0C;SM7;X13 C;K"Line 4" F;P0;FG0L;SM7;X14 C;K"Forms 2119,6252,4684,6781,8824----->>" F;SM7;X15 F;SM7;X16 F;SM7;X17 F;P27;F$2G;SM7;X18 F;P27;F$2G;SM7;X19 F;P0;FG0C;SM7;X20 C;K"Line 2" F;SM7;X21 C;K"If You Itemize Deductions: Fill in Amount from the" F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 C;K"---------------" F;SM7;Y20;X1 F;SM7;X2 F;SM7;X3 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;P0;FG0C;SM7;X7 C;K"Line 5" F;SM7;X8 C;K"State and Local Income Taxes--->>" F;SM7;X9 F;SM7;X10 F;P27;F$2G;SM7;X11 F;P27;F$2G;SM7;X12 C;K"<<-----------" F;P0;FG0C;SM7;X13 C;K"Line 5" F;P0;FG0L;SM7;X14 C;K"Short-term partnership gain or (loss)--->>" F;SM7;X15 F;SM7;X16 F;SM7;X17 F;P27;F$2G;SM7;X18 F;P27;F$2G;SM7;X19 F;P0;FG0C;SM7;X20 F;SM7;X21 C;K"Worksheet for Line 2 on Page 8 of the form M-1" F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 C;K"---------------" F;SM7;Y21;X1 C;K"You may copy this spreadsheet and distribute it freely as long as " F;SM7;X2 F;SM7;X3 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;P0;FG0C;SM7;X7 C;K"Line 6" F;SM7;X8 C;K"Real Estate Taxes-------------->>" F;SM7;X9 F;SM7;X10 F;P27;F$2G;SM7;X11 F;P27;F$2G;SM7;X12 C;K"<<-----------" F;P0;FG0C;SM7;X13 C;K"Line 6" F;P0;FG0L;SM7;X14 C;K"Short-term capital loss carryover------>>" F;P27;F$2G;SM7;X15 F;P27;F$2G;SM7;X16 F;P27;F$2G;SM7;X17 F;P27;F$2G;SM7;X18 F;P27;F$2G;SM7;X19 C;K"<<--------" F;P0;FG0C;SM7;X20 F;SM7;X21 C;K"Instructions-------------------------------->>" F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 C;K0;EIF(R[+59]C[-13]=0,0,IF(ISTEXT(R[+101]C[-21]),R[+101]C[-21],MAX(0,MIN(R[+59]C[-13]-R[+101]C[-21],R[-1]C[-14])))) F;SM7;Y22;X1 C;K"this instruction/information section remains unchanged." F;SM7;X2 F;SM7;X3 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;P0;FG0C;SM7;X7 C;K"Line 7" F;SM7;X8 C;K"Personal Property Taxes-------->>" F;SM7;X9 F;SM7;X10 F;P27;F$2G;SM7;X11 F;P27;F$2G;SM7;X12 C;K"<<-----------" F;P0;FG0C;SM7;X13 C;K"Line 7" F;P0;FG0L;SM7;X14 C;K"Add lines 1,2,4-6 in LOSS and GAIN----->>" F;P27;F$2G;SM7;X15 F;P27;F$2G;SM7;X16 F;P27;F$2G;SM7;X17 F;P27;F$2G;SM7;X18 C;K0;E-SUM(R[-9]C:R[-7]C)-R[-5]C-R[-3]C-R[-2]C-R[-1]C F;P27;F$2G;SM7;X19 C;K0;ESUM(R[-9]C:R[-7]C)+R[-5]C+SUM(R[-3]C:R[-2]C) F;P0;FG0C;SM7;X20 C;K"Line 3" F;SM7;X21 C;K"Other Additions to Your Income (See p. 9)------->>" F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;SM7;Y23;X1 F;SM7;X2 F;SM7;X3 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;P0;FG0C;SM7;X7 C;K"Line 8" F;SM7;X8 C;K"Other Taxes. List Type and Amount.>>" F;SM7;X9 F;SM7;X10 F;P27;F$2G;SM7;X11 F;P27;F$2G;SM7;X12 C;K"<<-----------" F;P0;FG0C;SM7;X13 C;K"Line 8" F;P0;FG0L;SM7;X14 C;K"Net short-term gain or (loss), combine line 7------->>" F;SM7;X15 F;SM7;X16 F;SM7;X17 F;SM7;X18 F;P27;F$2G;SM7;X19 C;K0;ER[-1]C[-1]+R[-1]C F;P0;FG0C;SM7;X20 C;K"Line 4" F;SM7;X21 C;K"Add Lines 1, 2 and 3------------------------->>" F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 C;K""ERROR-FILING STATUS"";EIF(ISTEXT(R[-6]C),R[-6]C,R[-6]C+R[-2]C+R[-1]C) F;SM7;Y24;X1 F;SM7;X2 F;SM7;X3 F;SM7;X4 F;SM7;X5 C;K"Thank you," F;SM7;X6 F;SM7;X7 F;SM7;X8 F;SM7;X9 F;SM7;X10 F;P27;F$2G;SM7;X11 F;P27;F$2G;SM7;X12 C;K"<<-----------" F;P27;F$2G;SM7;X13 F;P27;F$2C;SM7;X14 F;P27;F$2G;SM7;X15 F;P27;F$2G;SM7;X16 F;P27;F$2G;SM7;X17 F;P27;F$2G;SM7;X18 F;P27;F$2G;SM7;X19 F;P0;FG0C;SM7;X20 C;K"Line 5" F;SM7;X21 C;K"State Income Tax Refund (Line 10 Form 1040)-->>" F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 C;K0;ER[+59]C[-19] F;SM7;Y25;X1 F;SM7;X2 F;SM7;X3 F;SM7;X4 F;SM7;X5 C;K"Bill" F;SM7;X6 F;P0;FG0C;SM7;X7 C;K"Line 9" F;SM7;X8 C;K"Add the Amounts on Lines 5 Through 8. Enter the Total Here." F;SM7;X9 F;SM7;X10 F;SM7;X11 F;SM7;X12 F;SM7;X13 F;SM7;X14 F;SM7;X15 F;SM7;X16 F;SM7;X17 F;SM7;X18 F;SM7;X19 F;P0;FG0C;SM7;X20 C;K"Line 6" F;SM7;X21 C;K"Other Subtractions from Your Income (See p. 9)->>" F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;SM7;Y26;X1 F;SM7;X2 F;SM7;X3 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;SM7;X7 F;SM7;X8 C;K"------------------------------------------->>" F;SM7;X9 F;SM7;X10 F;P27;F$2G;SM7;X11 F;P27;F$2G;SM7;X12 C;K0;ESUM(R[-6]C[-1]:R[-2]C[-1]) F;P0;FG0C;SM7;X13 C;K"PART II" F;P0;FG0L;SM7;X14 C;K"Long-Term Capital Gains and Losses-1Assets Held More Than" F;P0;FG0C;SM7;X15 F;P0;FG0C;SM7;X16 F;P27;F$2G;SM7;X17 F;P0;FG0C;SM7;X18 F;P0;FG0C;SM7;X19 F;P0;FG0C;SM7;X20 C;K"Line 7" F;SM7;X21 C;K"Add Lines 5 and 6--------------------------->>" F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 C;K0;ER[-2]C+R[-1]C F;SM7;Y27;X1 C;K"To use this template, do the following:" F;SM7;X2 F;SM7;X3 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;P0;FG0C;SM7;X7 C;K"Line 9" F;SM7;X8 C;K"This Is Your Total Taxes You Paid." F;SM7;X9 F;SM7;X10 F;SM7;X11 F;SM7;X12 F;P27;F$2G;SM7;X13 F;P0;FG0L;SM7;X14 C;K"One Year" F;P27;F$2G;SM7;X15 F;P27;F$2G;SM7;X16 F;P27;F$2G;SM7;X17 F;P27;F$2G;SM7;X18 F;P27;F$2G;SM7;X19 F;P0;FG0C;SM7;X20 C;K"Line 8" F;SM7;X21 C;K"Subtract Line 7 from Line 4------------------->>" F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 C;K""ERROR-FILING STATUS"";EIF(ISTEXT(R[-4]C),R[-4]C,R[-4]C-R[-1]C) F;P0;FG0C;SM7;Y28;X1 C;K1 F;SM7;X2 C;K"Duplicate this template, rename the copy, and" F;SM7;X3 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;SM7;X7 F;SM7;X8 F;SM7;X9 F;SM7;X10 F;SM7;X11 F;SM7;X12 F;P27;F$2C;SM7;X13 C;K"Line 9" F;P27;F$2L;SM7;X14 F;P27;F$2G;SM7;X15 F;P27;F$2G;SM7;X16 F;P27;F$2G;SM7;X17 F;P27;F$2G;SM7;X18 F;P27;F$2G;SM7;X19 F;P0;FG0C;SM7;X20 C;K"Line 9" F;SM7;X21 C;K"Tax from the Table on Pages 15 through 19 of the" F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 C;K"---------------" F;P0;FG0C;SM7;Y29;X1 F;SM7;X2 C;K"work only on the copy. This will allow you to" F;SM7;X3 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;SM7;X7 F;SM7;X8 C;K"Interest You Paid" F;SM7;X9 F;SM7;X10 F;SM7;X11 F;SM7;X12 F;P0;FG0C;SM7;X13 C;K"(a) Description" F;SM7;X14 C;K"(b) Date" F;P0;FG0C;SM7;X15 C;K"(c) Date" F;P0;FG0C;SM7;X16 C;K"(d) Sales" F;P0;FG0C;SM7;X17 C;K"(e) Cost or" F;P0;FG0C;SM7;X18 C;K"(f) LOSS" F;P0;FG0C;SM7;X19 C;K"(g) GAIN" F;P0;FG0C;SM7;X20 F;SM7;X21 C;K"Instructions or from Schedule M-1MT, M-1NR, " F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 C;K"---------------" F;P0;FG0C;SM7;Y30;X1 F;SM7;X2 C;K"reuse the original template for more than one person." F;P0;FG0L;SM7;X3 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;P0;FG0C;SM7;X7 C;K"NOTE:" F;SM7;X8 C;K"NEW RULES APPLY TO THE HOME" F;SM7;X9 F;SM7;X10 F;SM7;X11 F;P27;F$2G;SM7;X12 C;K"-------------" F;P0;FG0C;SM7;X13 C;K"of Property" F;SM7;X14 C;K"Acquired" F;P0;FG0C;SM7;X15 C;K"Sold" F;P0;FG0C;SM7;X16 C;K"Price" F;P27;F$2G;SM7;X17 C;K"Other Basis" F;P0;FG0C;SM7;X18 F;P27;F$2G;SM7;X19 F;P0;FG0C;SM7;X20 F;SM7;X21 C;K"M-1LS, or M-1CR---------------------------->>" F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;P0;FG0C;SM7;Y31;X1 C;K2 F;SM7;X2 C;K"Fill in the appropriate numbers and entries in the" F;P0;FG0L;SM7;X3 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;SM7;X7 F;SM7;X8 C;K"MORTGAGE INTEREST DEDUCTION." F;SM7;X9 F;SM7;X10 F;SM7;X11 F;P27;F$2G;SM7;X12 C;K"-------------" F;P27;F$2L;SM7;X13 F;P18;FG0C;SM7;X14 F;P18;FG0G;SM7;X15 F;P27;F$2G;SM7;X16 F;P27;F$2G;SM7;X17 F;P27;F$2G;SM7;X18 C;K" ";EIF(RC[-1]>RC[-2],RC[-1]-RC[-2]," ") F;P27;F$2G;SM7;X19 C;K0;EIF(RC[-3]>=RC[-2],RC[-3]-RC[-2]," ") F;P0;FG0C;SM7;X20 C;K"Line 10" F;SM7;X21 C;K"Nongame Wildlife Fund Contribution------------>>" F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;P0;FG0C;SM7;Y32;X1 F;SM7;X2 C;K"template." F;SM7;X3 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;SM7;X7 F;SM7;X8 C;K"SEE INSTRUCTIONS." F;SM7;X9 F;SM7;X10 F;SM7;X11 F;P27;F$2G;SM7;X12 C;K"-------------" F;P27;F$2L;SM7;X13 F;P18;FG0C;SM7;X14 F;P18;FG0G;SM7;X15 F;P27;F$2G;SM7;X16 F;P27;F$2G;SM7;X17 F;P27;F$2G;SM7;X18 C;K" ";EIF(RC[-1]>RC[-2],RC[-1]-RC[-2]," ") F;P27;F$2G;SM7;X19 C;K0;EIF(RC[-3]>=RC[-2],RC[-3]-RC[-2]," ") F;P0;FG0C;SM7;X20 C;K"Line 11" F;SM7;X21 C;K"Add Lines 9 and 10--------------------------->>" F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 C;K0;ER[-2]C+R[-1]C F;P0;FG0C;SM7;Y33;X1 C;K3 F;SM7;X2 C;K"Watch for "ERROR" messages indicating data entry" F;SM7;X3 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;SM7;X7 F;SM7;X8 F;SM7;X9 F;SM7;X10 F;SM7;X11 F;P27;F$2G;SM7;X12 C;K"-------------" F;P27;F$2L;SM7;X13 F;P18;FG0C;SM7;X14 F;P18;FG0G;SM7;X15 F;P27;F$2G;SM7;X16 F;P27;F$2G;SM7;X17 F;P27;F$2G;SM7;X18 C;K" ";EIF(RC[-1]>RC[-2],RC[-1]-RC[-2]," ") F;P27;F$2G;SM7;X19 C;K0;EIF(RC[-3]>=RC[-2],RC[-3]-RC[-2]," ") F;P0;FG0C;SM7;X20 C;K"Line 12" F;SM7;X21 C;K"Minnesota Income Tax Withheld (from" F;SM7;X22 F;SM7;X23 F;P27;F$2G;SM7;X24 C;K"---------------" F;SM7;X25 C;K"---------------" F;P0;FG0C;SM7;Y34;X1 F;SM7;X2 C;K"errors." F;SM7;X3 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;P0;FG0C;SM7;X7 C;K"Line 10" F;SM7;X8 C;K"Home Mortgage Interest and Points Reported to You on Form 1098." F;SM7;X9 F;SM7;X10 F;SM7;X11 F;P27;F$2G;SM7;X12 F;P27;F$2C;SM7;X13 C;K"Line 10" F;P18;FG0L;SM7;X14 C;K"Long Term Totals From Line 23" F;P18;FG0G;SM7;X15 F;P27;F$2G;SM7;X16 F;P27;F$2G;SM7;X17 F;P27;F$2G;SM7;X18 F;P27;F$2G;SM7;X19 F;P0;FG0C;SM7;X20 F;SM7;X21 C;K"Your 1995 W-2 Forms)------------->>" F;SM7;X22 F;SM7;X23 F;P27;F$2G;SM7;X24 C;K0;ER[-14]C[-13] F;SM7;X25 C;K"<<-------------" F;P0;FG0C;SM7;Y35;X1 C;K4 F;SM7;X2 C;K"Use the Goto command under the Formula menu to move" F;SM7;X3 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;SM7;X7 F;SM7;X8 C;K"----------------------------->>" F;SM7;X9 F;SM7;X10 F;P27;F$2G;SM7;X11 F;P27;F$2G;SM7;X12 C;K"<<-----------" F;P27;F$2C;SM7;X13 F;P27;F$2G;SM7;X14 C;K" --------" F;P27;F$2G;SM7;X15 C;K" --------" F;P27;F$2G;SM7;X16 C;K0;ER[+54]C F;P27;F$2G;SM7;X17 C;K" ---------" F;P27;F$2G;SM7;X18 C;K0;ER[+54]C F;P27;F$2G;SM7;X19 C;K0;ER[+54]C F;P0;FG0C;SM7;X20 C;K"Line 13" F;SM7;X21 C;K"Estimated Tax and Form M-13 Payments You" F;SM7;X22 F;SM7;X23 F;P27;F$2G;SM7;X24 C;K"---------------" F;SM7;X25 C;K"---------------" F;P0;FG0C;SM7;Y36;X1 F;SM7;X2 C;K"around the spreadsheet." F;SM7;X3 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;P0;FG0C;SM7;X7 C;K"Line 11" F;SM7;X8 C;K"Home Mortgage Interest Not Reported to You on Form 1098." F;SM7;X9 F;SM7;X10 F;SM7;X11 F;SM7;X12 F;P0;FG0C;SM7;X13 C;K"Line 11" F;P0;FG0L;SM7;X14 C;K"Total (add column d)" F;SM7;X15 F;P27;F$2G;SM7;X16 C;K0;ESUM(R[-5]C:R[-3]C)+R[-1]C F;P27;F$2G;SM7;X17 C;K"----------" F;P27;F$2G;SM7;X18 C;K"----------" F;P27;F$2G;SM7;X19 C;K"----------" F;P0;FG0C;SM7;X20 F;SM7;X21 C;K"Made for 1995, If Any-------------->>" F;SM7;X22 F;SM7;X23 F;P27;F$2G;SM7;X24 F;SM7;X25 C;K"<<-------------" F;P0;FG0C;SM7;Y37;X1 C;K5 F;SM7;X2 C;K"After completing the data entry, print out this" F;SM7;X3 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;SM7;X7 F;SM7;X8 C;K"(If to individual, show that person's name and address)" F;SM7;X9 F;SM7;X10 F;P27;F$2G;SM7;X11 F;P27;F$2G;SM7;X12 C;K"-------------" F;P0;FG0C;SM7;X13 C;K"Line 12" F;P0;FG0L;SM7;X14 C;K"Forms 4797,2119,2439,6252,4684,6781,8824" F;SM7;X15 F;SM7;X16 F;SM7;X17 F;P27;F$2G;SM7;X18 F;P27;F$2G;SM7;X19 F;P0;FG0C;SM7;X20 C;K"Line 14" F;SM7;X21 C;K"Child and Dependent Care Credit (Attach" F;SM7;X22 F;SM7;X23 F;P27;F$2G;SM7;X24 C;K"---------------" F;SM7;X25 C;K"---------------" F;P0;FG0C;SM7;Y38;X1 F;SM7;X2 C;K"template and copy the verified figures to the" F;SM7;X3 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;SM7;X7 C;K"Name:" F;SM7;X8 F;SM7;X9 C;K"Address:" F;SM7;X10 F;SM7;X11 F;SM7;X12 F;P0;FG0C;SM7;X13 C;K"Line 13" F;P0;FG0L;SM7;X14 C;K"Long-term partnership gain or (loss)--->>" F;SM7;X15 F;SM7;X16 F;SM7;X17 F;P27;F$2G;SM7;X18 F;P27;F$2G;SM7;X19 F;P0;FG0C;SM7;X20 F;SM7;X21 C;K"Schedule M-1CD)------------------>>" F;SM7;X22 F;SM7;X23 F;P27;F$2G;SM7;X24 F;SM7;X25 C;K"<<-------------" F;P0;FG0C;SM7;Y39;X1 F;SM7;X2 C;K"approved IRS forms. Use page ranges appropriate" F;SM7;X3 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;P0;FG0C;SM7;X7 C;K"Line 11" F;SM7;X8 C;K"----------------------------->>" F;SM7;X9 F;SM7;X10 F;P27;F$2G;SM7;X11 F;P27;F$2G;SM7;X12 C;K"<<-----------" F;P0;FG0C;SM7;X13 C;K"Line 14" F;P0;FG0L;SM7;X14 C;K"Capital Gain Distributions------------>>" F;SM7;X15 F;SM7;X16 F;SM7;X17 F;P27;F$2G;SM7;X18 C;K"----------" F;P27;F$2G;SM7;X19 F;P0;FG0C;SM7;X20 C;K"Line 15" F;SM7;X21 C;K"Minnesota Working Family Credit (See" F;SM7;X22 F;SM7;X23 F;P27;F$2G;SM7;X24 C;K"---------------" F;SM7;X25 C;K"---------------" F;P0;FG0C;SM7;Y40;X1 F;SM7;X2 C;K"for your printer." F;SM7;X3 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;P0;FG0C;SM7;X7 C;K"Line 12" F;SM7;X8 C;K"Points Not Reported on Frm 1098-->>" F;SM7;X9 F;SM7;X10 F;P27;F$2G;SM7;X11 F;P27;F$2G;SM7;X12 C;K"<<-----------" F;P0;FG0C;SM7;X13 C;K"Line 15" F;P0;FG0L;SM7;X14 C;K"Long-term capital loss carryover------>>" F;P27;F$2G;SM7;X15 F;P27;F$2G;SM7;X16 F;P27;F$2G;SM7;X17 F;P27;F$2G;SM7;X18 F;P27;F$2G;SM7;X19 C;K"<<--------" F;P0;FG0C;SM7;X20 F;SM7;X21 C;K"Instructions on Page 13)----------->>" F;SM7;X22 F;SM7;X23 F;P27;F$2G;SM7;X24 F;SM7;X25 C;K"<<-------------" F;P0;FG0C;SM7;Y41;X1 C;K6 F;SM7;X2 C;K"Wait for your refund (hopefully)!" F;SM7;X3 F;SM7;X4 F;SM7;X5 F;P1;FI0G;SM7;X6 F;P0;FG0C;SM7;X7 C;K"Line 13" F;SM7;X8 C;K"Investment Interest------------->>" F;SM7;X9 F;SM7;X10 F;P27;F$2G;SM7;X11 F;P27;F$2G;SM7;X12 C;K"<<-----------" F;P0;FG0C;SM7;X13 C;K"Line 16" F;P0;FG0L;SM7;X14 C;K"Add lines 9,10,12-15 in LOSS and GAIN--->>" F;P27;F$2G;SM7;X15 F;P27;F$2G;SM7;X16 F;P27;F$2G;SM7;X17 F;P27;F$2G;SM7;X18 C;K0;E-SUM(R[-10]C:R[-8]C)-R[-6]C-R[-4]C-R[-3]C-R[-1]C F;P27;F$2G;SM7;X19 C;K0;ESUM(R[-10]C:R[-8]C)+R[-6]C+SUM(R[-4]C:R[-2]C) F;P0;FG0C;SM7;X20 C;K"Line 16" F;SM7;X21 C;K"Add Lines 12, 13, 14 and 15------------------->>" F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 C;K0;ER[-7]C[-1]+R[-5]C[-1]+R[-3]C[-1]+R[-1]C[-1] F;P0;FG0C;SM7;Y42;X1 F;SM7;X2 F;SM7;X3 F;SM7;X4 F;SM7;X5 F;P1;FI0G;SM7;X6 F;P0;FG0C;SM7;X7 C;K"Line 14" F;SM7;X8 C;K"Add the Amounts on Lines 10 Through 13. Enter the" F;SM7;X9 F;SM7;X10 F;SM7;X11 F;SM7;X12 F;P0;FG0C;SM7;X13 C;K"Line 17" F;P0;FG0L;SM7;X14 C;K"Net short-term gain or (loss), combine line 16------->>" F;SM7;X15 F;SM7;X16 F;SM7;X17 F;SM7;X18 F;P27;F$2G;SM7;X19 C;K0;ER[-1]C[-1]+R[-1]C F;P0;FG0C;SM7;X20 C;K"Line 17" F;SM7;X21 C;K"If Line 16 Is More than Line 11, Subtract Line 11" F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 C;K"---------------" F;P0;FG0C;SM7;Y43;X1 F;SM7;X2 F;SM7;X3 F;SM7;X4 F;SM7;X5 F;P1;FI0G;SM7;X6 F;SM7;X7 F;SM7;X8 C;K"Total Here.--------------------------------->>" F;SM7;X9 F;SM7;X10 F;P27;F$2G;SM7;X11 F;P27;F$2G;SM7;X12 C;K0;ER[-8]C[-1]+SUM(R[-4]C[-1]:R[-2]C[-1]) F;P0;FG0C;SM7;X13 F;SM7;X14 F;SM7;X15 F;SM7;X16 F;SM7;X17 F;SM7;X18 F;SM7;X19 F;P0;FG0C;SM7;X20 F;SM7;X21 C;K"from Line 16, and Fill in the Amount of Your" F;SM7;X22 F;SM7;X23 F;P27;F$2G;SM7;X24 C;K"---------------" F;SM7;X25 C;K"---------------" F;SM7;Y44;X1 F;SM7;X2 C;K"FORM 1040 - TAXPAYER INFORMATION" F;SM7;X3 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;P0;FG0C;SM7;X7 C;K"Line 14" F;SM7;X8 C;K"This Is Your Total Interest You Paid." F;SM7;X9 F;SM7;X10 F;SM7;X11 F;SM7;X12 F;P0;FG0C;SM7;X13 C;K"PART III" F;P0;FG0L;SM7;X14 C;K"Summary of Parts I and II" F;SM7;X15 F;SM7;X16 F;SM7;X17 F;SM7;X18 F;SM7;X19 F;P0;FG0C;SM7;X20 F;SM7;X21 C;K"REFUND------------------------------------->>" F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 C;K0;EIF(R[-3]C>=R[-12]C,R[-3]C-R[-12]C," ") F;SM7;Y45;X1 F;SM7;X2 F;SM7;X3 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;SM7;X7 F;SM7;X8 F;SM7;X9 F;SM7;X10 F;SM7;X11 F;SM7;X12 F;P0;FG0C;SM7;X13 F;P0;FG0L;SM7;X14 F;SM7;X15 F;SM7;X16 F;SM7;X17 F;SM7;X18 F;SM7;X19 F;P0;FG0C;SM7;X20 C;K"Line 18" F;SM7;X21 C;K"If Line 11 Is More than Line 16, Subtract Line 16" F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 C;K"---------------" F;SM7;Y46;X1 F;SM7;X2 C;K"Label" F;SM7;X3 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;SM7;X7 F;SM7;X8 C;K"Gifts to Charity" F;SM7;X9 F;SM7;X10 F;SM7;X11 F;SM7;X12 F;P0;FG0C;SM7;X13 C;K"Line 18" F;P27;F$2L;SM7;X14 C;K"Combine Lines 8 and 17-------------------------->>" F;P27;F$2G;SM7;X15 F;P27;F$2G;SM7;X16 F;P27;F$2G;SM7;X17 F;P27;F$2G;SM7;X18 F;P11;F$2G;SM7;X19 C;K0;ER[-23]C+R[-4]C F;P0;FG0C;SM7;X20 F;SM7;X21 C;K"from Line 11, and Fill in the Amount of" F;SM7;X22 F;SM7;X23 F;P27;F$2G;SM7;X24 C;K"---------------" F;SM7;X25 C;K"---------------" F;SM7;Y47;X1 C;K"Name-------------------------->>" F;SM7;X2 F;SM7;X3 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;P0;FG0C;SM7;X7 C;K"Line 15" F;SM7;X8 C;K"Contributions by Cash or Check->>" F;SM7;X9 F;SM7;X10 F;P27;F$2G;SM7;X11 F;P27;F$2G;SM7;X12 C;K"<<-----------" F;P0;FG0C;SM7;X13 C;K"Line 19" F;P27;F$2L;SM7;X14 C;K"Maximum Loss---------------------------------->>" F;P27;F$2G;SM7;X15 F;P27;F$2G;SM7;X16 F;P27;F$2G;SM7;X17 F;P27;F$2G;SM7;X18 F;P27;F$2G;SM7;X19 C;K" ";EIF(R[-1]C<0,MAX(R[-1]C,-3000+1500*R[+16]C[-18])," ") F;P0;FG0C;SM7;X20 F;SM7;X21 C;K"TAX YOU OWE------------------------------->>" F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 C;K" ";EIF(R[-15]C>R[-6]C,R[-15]C-R[-6]C," ") F;SM7;Y48;X1 C;K"Social Security Number---------->>" F;SM7;X2 F;SM7;X3 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;P0;FG0C;SM7;X7 C;K"Line 16" F;SM7;X8 C;K"Other than Cash (Attach Form 8283 if over $500.)" F;SM7;X9 F;SM7;X10 F;SM7;X11 F;P27;F$2G;SM7;X12 C;K"-------------" F;SM7;X13 F;SM7;X14 F;SM7;X15 F;SM7;X16 F;SM7;X17 F;SM7;X18 F;SM7;X19 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;P0;FG0G;SM7;X25 F;SM7;Y49;X1 C;K"Spouse's Name------------------>>" F;SM7;X2 F;SM7;X3 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;P0;FG0C;SM7;X7 F;SM7;X8 C;K"----------------------------->>" F;SM7;X9 F;SM7;X10 F;P27;F$2G;SM7;X11 F;P27;F$2G;SM7;X12 C;K"<<-----------" F;P0;FG0C;SM7;X13 C;K"PART IV" F;P0;FG0L;SM7;X14 C;K"Short-Term Capital Gains and Losses-1Assets Held One Year" F;P0;FG0C;SM7;X15 F;P0;FG0C;SM7;X16 F;P27;F$2G;SM7;X17 F;P0;FG0C;SM7;X18 F;P0;FG0C;SM7;X19 F;SM7;X20 C;K"Estimated Tax?" F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;P0;FG0G;SM7;X25 F;SM7;Y50;X1 C;K"Spouse's Social Security Number-->>" F;SM7;X2 F;SM7;X3 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;P0;FG0C;SM7;X7 C;K"Line 17" F;SM7;X8 C;K"Carryover from Prior Year----->>" F;SM7;X9 F;SM7;X10 F;P27;F$2G;SM7;X11 F;P27;F$2G;SM7;X12 C;K"<<-----------" F;P27;F$2G;SM7;X13 F;P0;FG0L;SM7;X14 C;K"or Less ( Continuation of Part I )" F;P27;F$2G;SM7;X15 F;P27;F$2G;SM7;X16 F;P27;F$2G;SM7;X17 F;P27;F$2G;SM7;X18 F;P27;F$2G;SM7;X19 F;P0;FG0C;SM7;X20 C;K"Line 19" F;SM7;X21 C;K"Amount from Line 17 You Want Applied" F;SM7;X22 F;SM7;X23 F;P27;F$2G;SM7;X24 C;K"---------------" F;SM7;X25 C;K"---------------" F;SM7;Y51;X1 C;K"Address------------------------>>" F;SM7;X2 F;SM7;X3 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;P0;FG0C;SM7;X7 C;K"Line 18" F;SM7;X8 C;K"Add the Amounts on Lines 15 Through 17. Enter the" F;SM7;X9 F;SM7;X10 F;SM7;X11 F;P27;F$2G;SM7;X12 C;K"-------------" F;P27;F$2C;SM7;X13 C;K"Line 20" F;P27;F$2L;SM7;X14 F;P27;F$2G;SM7;X15 F;P27;F$2G;SM7;X16 F;P27;F$2G;SM7;X17 F;P27;F$2G;SM7;X18 F;P27;F$2G;SM7;X19 F;P0;FG0C;SM7;X20 F;SM7;X21 C;K"to 1996 Estimated Tax-------------->>" F;SM7;X22 F;SM7;X23 F;P27;F$2G;SM7;X24 F;SM7;X25 C;K"<<-------------" F;SM7;Y52;X1 C;K"City--------------------------->>" F;SM7;X2 F;SM7;X3 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;SM7;X7 F;SM7;X8 C;K"Total Here.--------------------------------->>" F;SM7;X9 F;SM7;X10 F;P27;F$2G;SM7;X11 F;P27;F$2G;SM7;X12 C;K0;ER[-5]C[-1]+R[-3]C[-1]+R[-2]C[-1] F;P0;FG0C;SM7;X13 C;K"(a) Description" F;SM7;X14 C;K"(b) Date" F;P0;FG0C;SM7;X15 C;K"(c) Date" F;P0;FG0C;SM7;X16 C;K"(d) Sales" F;P0;FG0C;SM7;X17 C;K"(e) Cost or" F;P0;FG0C;SM7;X18 C;K"(f) LOSS" F;P0;FG0C;SM7;X19 C;K"(g) GAIN" F;P0;FG0C;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;P27;F$2G;SM7;X24 C;K"---------------" F;SM7;X25 C;K"---------------" F;SM7;Y53;X1 C;K"State-------------------------->>" F;SM7;X2 F;P0;FG0L;SM7;X3 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;P0;FG0C;SM7;X7 C;K"Line 18" F;SM7;X8 C;K"This Is Your Total Gifts to Charity" F;SM7;X9 F;SM7;X10 F;SM7;X11 F;SM7;X12 F;P0;FG0C;SM7;X13 C;K"of Property" F;SM7;X14 C;K"Acquired" F;P0;FG0C;SM7;X15 C;K"Sold" F;P0;FG0C;SM7;X16 C;K"Price" F;P27;F$2C;SM7;X17 C;K"Other Basis" F;P0;FG0C;SM7;X18 F;P27;F$2G;SM7;X19 F;P0;FG0C;SM7;X20 C;K"Line 20" F;SM7;X21 C;K"Penalty for 1995 Underpayment (from" F;SM7;X22 F;SM7;X23 F;P27;F$2G;SM7;X24 C;K"---------------" F;SM7;X25 C;K"---------------" F;SM7;Y54;X1 C;K"Zip---------------------------->>" F;SM7;X2 F;P0;FG0L;SM7;X3 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;SM7;X7 F;SM7;X8 F;SM7;X9 F;SM7;X10 F;SM7;X11 F;SM7;X12 F;P27;F$2L;SM7;X13 F;P18;FG0C;SM7;X14 F;P18;FG0G;SM7;X15 F;P27;F$2G;SM7;X16 F;P27;F$2G;SM7;X17 F;P27;F$2G;SM7;X18 C;K" ";EIF(RC[-1]>RC[-2],RC[-1]-RC[-2]," ") F;P27;F$2G;SM7;X19 C;K0;EIF(RC[-3]>=RC[-2],RC[-3]-RC[-2]," ") F;SM7;X20 F;SM7;X21 C;K"Your Schedule M-15)--------------->>" F;SM7;X22 F;SM7;X23 F;P27;F$2G;SM7;X24 F;SM7;X25 C;K"<<-------------" F;SM7;Y55;X1 C;K"County------------------------->>" F;SM7;X2 F;P0;FG0L;SM7;X3 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;SM7;X7 F;SM7;X8 C;K"Casualty and Theft Losses" F;SM7;X9 F;SM7;X10 F;SM7;X11 F;SM7;X12 F;P27;F$2L;SM7;X13 F;P18;FG0C;SM7;X14 F;P18;FG0G;SM7;X15 F;P27;F$2G;SM7;X16 F;P27;F$2G;SM7;X17 F;P27;F$2G;SM7;X18 C;K" ";EIF(RC[-1]>RC[-2],RC[-1]-RC[-2]," ") F;P27;F$2G;SM7;X19 C;K0;EIF(RC[-3]>=RC[-2],RC[-3]-RC[-2]," ") F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;SM7;Y56;X1 F;SM7;X2 F;SM7;X3 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;P0;FG0C;SM7;X7 C;K"Line 19" F;SM7;X8 C;K"Casualty and Theft Losses (Attach Form 4684)-->>" F;SM7;X9 F;SM7;X10 F;SM7;X11 F;P27;F$2G;SM7;X12 F;P27;F$2L;SM7;X13 F;P18;FG0C;SM7;X14 F;P18;FG0G;SM7;X15 F;P27;F$2G;SM7;X16 F;P27;F$2G;SM7;X17 F;P27;F$2G;SM7;X18 C;K" ";EIF(RC[-1]>RC[-2],RC[-1]-RC[-2]," ") F;P27;F$2G;SM7;X19 C;K0;EIF(RC[-3]>=RC[-2],RC[-3]-RC[-2]," ") F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;SM7;Y57;X1 F;SM7;X2 C;K"Filing Status" F;SM7;X3 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;P0;FG0C;SM7;X7 C;K"Line 19" F;SM7;X8 C;K"This Is Your Total Casualty and Theft Losses" F;SM7;X9 F;SM7;X10 F;SM7;X11 F;SM7;X12 F;P27;F$2L;SM7;X13 F;P18;FG0C;SM7;X14 F;P18;FG0G;SM7;X15 F;P27;F$2G;SM7;X16 F;P27;F$2G;SM7;X17 F;P27;F$2G;SM7;X18 C;K" ";EIF(RC[-1]>RC[-2],RC[-1]-RC[-2]," ") F;P27;F$2G;SM7;X19 C;K0;EIF(RC[-3]>=RC[-2],RC[-3]-RC[-2]," ") F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;SM7;Y58;X1 C;K"Put "1" in appropriate cell below" F;SM7;X2 F;SM7;X3 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;SM7;X7 F;SM7;X8 F;SM7;X9 F;SM7;X10 F;SM7;X11 F;SM7;X12 F;P0;FG0L;SM7;X13 F;P18;FG0C;SM7;X14 F;P18;FG0G;SM7;X15 F;P27;F$2G;SM7;X16 F;P27;F$2G;SM7;X17 F;P27;F$2G;SM7;X18 C;K" ";EIF(RC[-1]>RC[-2],RC[-1]-RC[-2]," ") F;P27;F$2G;SM7;X19 C;K0;EIF(RC[-3]>=RC[-2],RC[-3]-RC[-2]," ") F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;P0;FG0C;SM7;Y59;X1 C;K"here:" F;SM7;X2 F;SM7;X3 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;SM7;X7 F;SM7;X8 C;K"Job Expenses and Most Other Miscellaneous Deductions" F;SM7;X9 F;SM7;X10 F;SM7;X11 F;SM7;X12 F;P0;FG0L;SM7;X13 F;P18;FG0C;SM7;X14 F;P18;FG0G;SM7;X15 F;P27;F$2G;SM7;X16 F;P27;F$2G;SM7;X17 F;P27;F$2G;SM7;X18 C;K" ";EIF(RC[-1]>RC[-2],RC[-1]-RC[-2]," ") F;P27;F$2G;SM7;X19 C;K0;EIF(RC[-3]>=RC[-2],RC[-3]-RC[-2]," ") F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;P0;FG0C;SM7;Y60;X1 C;K"\/" F;SM7;X2 F;SM7;X3 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;P0;FG0C;SM7;X7 C;K"Line 20" F;SM7;X8 C;K"Unreimbursed Employee Expenses (Attach Form 2106 or 2106-EZ)" F;SM7;X9 F;SM7;X10 F;SM7;X11 F;P27;F$2G;SM7;X12 F;P0;FG0L;SM7;X13 F;P18;FG0C;SM7;X14 F;P18;FG0G;SM7;X15 F;P27;F$2G;SM7;X16 F;P27;F$2G;SM7;X17 F;P27;F$2G;SM7;X18 C;K" ";EIF(RC[-1]>RC[-2],RC[-1]-RC[-2]," ") F;P27;F$2G;SM7;X19 C;K0;EIF(RC[-3]>=RC[-2],RC[-3]-RC[-2]," ") F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;P0;FG0C;SM7;Y61;X1 F;SM7;X2 C;K"Single" F;SM7;X3 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;P0;FG0C;SM7;X7 F;SM7;X8 C;K"----------------------------->>" F;SM7;X9 F;SM7;X10 F;P27;F$2G;SM7;X11 F;P27;F$2G;SM7;X12 C;K"<<-----------" F;P0;FG0L;SM7;X13 F;P18;FG0C;SM7;X14 F;P18;FG0G;SM7;X15 F;P27;F$2G;SM7;X16 F;P27;F$2G;SM7;X17 F;P27;F$2G;SM7;X18 C;K" ";EIF(RC[-1]>RC[-2],RC[-1]-RC[-2]," ") F;P27;F$2G;SM7;X19 C;K0;EIF(RC[-3]>=RC[-2],RC[-3]-RC[-2]," ") F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;P0;FG0C;SM7;Y62;X1 F;SM7;X2 C;K"Married Filing Joint Return" F;SM7;X3 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;P0;FG0C;SM7;X7 C;K"Line 21" F;SM7;X8 C;K"Tax Preparation Fees--------->>" F;SM7;X9 F;SM7;X10 F;P27;F$2G;SM7;X11 F;P27;F$2G;SM7;X12 C;K"<<-----------" F;P27;F$2L;SM7;X13 F;P18;FG0C;SM7;X14 F;P18;FG0G;SM7;X15 F;P27;F$2G;SM7;X16 F;P27;F$2G;SM7;X17 F;P27;F$2G;SM7;X18 C;K" ";EIF(RC[-1]>RC[-2],RC[-1]-RC[-2]," ") F;P27;F$2G;SM7;X19 C;K0;EIF(RC[-3]>=RC[-2],RC[-3]-RC[-2]," ") F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;P0;FG0C;SM7;Y63;X1 F;SM7;X2 C;K"Married Filing Separate Return" F;SM7;X3 F;SM7;X4 F;SM7;X5 F;P1;FI0G;SM7;X6 F;P0;FG0C;SM7;X7 C;K"Line 22" F;SM7;X8 C;K"Other Expenses--------------->>" F;SM7;X9 F;SM7;X10 F;P27;F$2G;SM7;X11 F;P27;F$2G;SM7;X12 C;K"<<-----------" F;P27;F$2L;SM7;X13 F;P18;FG0C;SM7;X14 F;P18;FG0G;SM7;X15 F;P27;F$2G;SM7;X16 F;P27;F$2G;SM7;X17 F;P27;F$2G;SM7;X18 C;K" ";EIF(RC[-1]>RC[-2],RC[-1]-RC[-2]," ") F;P27;F$2G;SM7;X19 C;K0;EIF(RC[-3]>=RC[-2],RC[-3]-RC[-2]," ") F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;P0;FG0C;SM7;Y64;X1 F;SM7;X2 C;K"Head of Household" F;SM7;X3 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;SM7;X7 C;K"(List Type and Amount)" F;SM7;X8 F;SM7;X9 F;SM7;X10 F;P27;F$2G;SM7;X11 F;P27;F$2G;SM7;X12 C;K"<<-----------" F;P27;F$2L;SM7;X13 F;P18;FG0C;SM7;X14 F;P18;FG0G;SM7;X15 F;P27;F$2G;SM7;X16 F;P27;F$2G;SM7;X17 F;P27;F$2G;SM7;X18 C;K" ";EIF(RC[-1]>RC[-2],RC[-1]-RC[-2]," ") F;P27;F$2G;SM7;X19 C;K0;EIF(RC[-3]>=RC[-2],RC[-3]-RC[-2]," ") F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;P0;FG0C;SM7;Y65;X1 F;SM7;X2 C;K"Qualifying Widow(er) with Dependent Child" F;SM7;X3 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;P0;FG0C;SM7;X7 C;K"Line 23" F;SM7;X8 C;K"Add Lines 20 to 22.----------->>" F;SM7;X9 F;SM7;X10 F;P27;F$2G;SM7;X11 C;K0;ESUM(R[-4]C:R[-1]C) F;P27;F$2G;SM7;X12 C;K"<<-----------" F;P27;F$2L;SM7;X13 F;P18;FG0C;SM7;X14 F;P18;FG0G;SM7;X15 F;P27;F$2G;SM7;X16 F;P27;F$2G;SM7;X17 F;P27;F$2G;SM7;X18 C;K" ";EIF(RC[-1]>RC[-2],RC[-1]-RC[-2]," ") F;P27;F$2G;SM7;X19 C;K0;EIF(RC[-3]>=RC[-2],RC[-3]-RC[-2]," ") F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;SM7;Y66;X1 C;K"ERROR-FILING STATUS";EIF(SUM(R[-5]C:R[-1]C)<>1,"ERROR-FILING STATUS"," ") F;SM7;X2 F;SM7;X3 F;SM7;X4 F;SM7;X5 F;P1;FI0G;SM7;X6 C;K"";EIF(SUM(R[-5]C[-5]:R[-1]C[-5])>1,"ERROR-FILING STATUS","") F;P0;FG0C;SM7;X7 C;K"Line 24" F;SM7;X8 C;K"Form 1040, Line 32-->>" F;SM7;X9 F;P27;F$2G;SM7;X10 C;K0;ER[+53]C[-4] F;P27;F$2G;SM7;X11 C;K"<<-----------" F;P27;F$2G;SM7;X12 C;K"-------------" F;SM7;X13 C;K"Line 21" F;P0;FG0L;SM7;X14 C;K"Short Term Totals. Add Columns (d), (f), and (g)." F;SM7;X15 F;SM7;X16 F;SM7;X17 F;SM7;X18 F;SM7;X19 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;SM7;Y67;X1 F;SM7;X2 C;K"Exemptions" F;SM7;X3 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;P0;FG0C;SM7;X7 C;K"Line 25" F;SM7;X8 C;K"Multiply the Amount on Line 24 by 2% (.02). Enter " F;SM7;X9 F;SM7;X10 F;SM7;X11 F;P27;F$2G;SM7;X12 C;K"-------------" F;SM7;X13 F;P0;FG0L;SM7;X14 C;K"Enter Here and on Line 2." F;SM7;X15 F;SM7;X16 F;SM7;X17 F;SM7;X18 F;SM7;X19 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;SM7;Y68;X1 C;K"Put "1 or number" in appropriate cell below here:" F;SM7;X2 F;SM7;X3 F;P0;FG0C;SM7;X4 F;SM7;X5 F;SM7;X6 F;P0;FG0C;SM7;X7 F;SM7;X8 C;K"the Result Here.--------------->>" F;SM7;X9 F;SM7;X10 F;P27;F$2G;SM7;X11 C;K0;EROUND(R[-2]C[-1]*0.02,2) F;P27;F$2G;SM7;X12 C;K"<<-----------" F;SM7;X13 F;P27;F$2G;SM7;X14 C;K" --------" F;P27;F$2G;SM7;X15 C;K" --------" F;P27;F$2G;SM7;X16 C;K0;ESUM(R[-14]C:R[-3]C) F;P27;F$2G;SM7;X17 C;K" ---------" F;P27;F$2G;SM7;X18 C;K0;ESUM(R[-14]C:R[-3]C) F;P27;F$2G;SM7;X19 C;K0;ESUM(R[-14]C:R[-3]C) F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;SM7;Y69;X1 F;SM7;X2 F;SM7;X3 F;P0;FG0C;SM7;X4 C;K"\/" F;SM7;X5 F;SM7;X6 F;P0;FG0C;SM7;X7 C;K"Line 26" F;SM7;X8 C;K"Subtract Line 25 from Line 23. Enter the Result Here (but not" F;SM7;X9 F;SM7;X10 F;SM7;X11 F;SM7;X12 F;SM7;X13 F;SM7;X14 F;SM7;X15 F;SM7;X16 F;SM7;X17 F;SM7;X18 F;SM7;X19 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;P0;FG0C;SM7;Y70;X1 C;K"Line 6a" F;SM7;X2 F;SM7;X3 C;K"Yourself" F;P1;FI0C;SM7;X4 F;SM7;X5 C;K"(1 or blank)" F;SM7;X6 F;SM7;X7 F;SM7;X8 C;K"less than zero)----------------------------->>" F;SM7;X9 F;SM7;X10 F;SM7;X11 F;P27;F$2G;SM7;X12 C;K0;EIF(R[-5]C[-1]>R[-2]C[-1],R[-5]C[-1]-R[-2]C[-1],0) F;P0;FG0C;SM7;X13 C;K"PART V" F;P0;FG0L;SM7;X14 C;K"Long-Term Capital Gains and Losses-1Assets Held More Than" F;P0;FG0C;SM7;X15 F;P0;FG0C;SM7;X16 F;P27;F$2G;SM7;X17 F;P0;FG0C;SM7;X18 F;P0;FG0C;SM7;X19 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;P0;FG0C;SM7;Y71;X1 C;K"Line 6b" F;SM7;X2 F;SM7;X3 C;K"Spouse" F;P1;FI0C;SM7;X4 F;SM7;X5 C;K"(1 or blank)" F;SM7;X6 F;P0;FG0C;SM7;X7 C;K"Line 26" F;SM7;X8 C;K"This Is Your Total Job Expenses and Most Other Miscellaneous Deductions" F;SM7;X9 F;SM7;X10 F;SM7;X11 F;SM7;X12 F;P27;F$2G;SM7;X13 F;P0;FG0L;SM7;X14 C;K"One Year ( Continuation of Part II )" F;P27;F$2G;SM7;X15 F;P27;F$2G;SM7;X16 F;P27;F$2G;SM7;X17 F;P27;F$2G;SM7;X18 F;P27;F$2G;SM7;X19 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;P0;FG0C;SM7;Y72;X1 C;K"Line 6c" F;SM7;X2 F;SM7;X3 C;K"Dependents" F;P1;FI0C;SM7;X4 F;SM7;X5 C;K"(number or blank)" F;SM7;X6 F;SM7;X7 F;SM7;X8 F;SM7;X9 F;SM7;X10 F;SM7;X11 F;SM7;X12 F;P27;F$2C;SM7;X13 C;K"Line 22" F;P27;F$2L;SM7;X14 F;P27;F$2G;SM7;X15 F;P27;F$2G;SM7;X16 F;P27;F$2G;SM7;X17 F;P27;F$2G;SM7;X18 F;P27;F$2G;SM7;X19 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;P0;FG0C;SM7;Y73;X1 C;K"Line 6e" F;SM7;X2 C;K"Total Number of Exemptions Claimed----------->>" F;SM7;X3 F;P1;FI0G;SM7;X4 F;SM7;X5 F;SM7;X6 C;K0;ESUM(R[-3]C[-2]:R[-1]C[-2]) F;SM7;X7 F;SM7;X8 C;K"Other Miscellaneous Deductions" F;SM7;X9 F;SM7;X10 F;SM7;X11 F;SM7;X12 F;P0;FG0C;SM7;X13 C;K"(a) Description" F;SM7;X14 C;K"(b) Date" F;P0;FG0C;SM7;X15 C;K"(c) Date" F;P0;FG0C;SM7;X16 C;K"(d) Sales" F;P0;FG0C;SM7;X17 C;K"(e) Cost or" F;P0;FG0C;SM7;X18 C;K"(f) LOSS" F;P0;FG0C;SM7;X19 C;K"(g) GAIN" F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;SM7;Y74;X1 F;SM7;X2 F;SM7;X3 F;SM7;X4 F;P1;FI0G;SM7;X5 F;SM7;X6 F;P0;FG0C;SM7;X7 C;K"Line 27" F;SM7;X8 C;K"Other-from List on Page A-5. List Type & Amount.>>" F;SM7;X9 F;SM7;X10 F;P27;F$2G;SM7;X11 F;P27;F$2G;SM7;X12 F;P0;FG0C;SM7;X13 C;K"of Property" F;SM7;X14 C;K"Acquired" F;P0;FG0C;SM7;X15 C;K"Sold" F;P0;FG0C;SM7;X16 C;K"Price" F;P27;F$2C;SM7;X17 C;K"Other Basis" F;P0;FG0C;SM7;X18 F;P27;F$2G;SM7;X19 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;SM7;Y75;X1 F;SM7;X2 F;SM7;X3 F;SM7;X4 F;P1;FI0G;SM7;X5 F;SM7;X6 F;SM7;X7 F;SM7;X8 F;SM7;X9 F;SM7;X10 F;P27;F$2G;SM7;X11 F;P27;F$2G;SM7;X12 F;P27;F$2L;SM7;X13 F;P18;FG0C;SM7;X14 F;P18;FG0G;SM7;X15 F;P27;F$2G;SM7;X16 F;P27;F$2G;SM7;X17 F;P27;F$2G;SM7;X18 C;K" ";EIF(RC[-1]>RC[-2],RC[-1]-RC[-2]," ") F;P27;F$2G;SM7;X19 C;K0;EIF(RC[-3]>=RC[-2],RC[-3]-RC[-2]," ") F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;P0;FG0C;SM7;Y76;X1 F;SM7;X2 C;K"Income" F;SM7;X3 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;P0;FG0C;SM7;X7 F;SM7;X8 C;K"Total Itemized Deductions" F;SM7;X9 F;SM7;X10 F;SM7;X11 F;SM7;X12 F;P27;F$2L;SM7;X13 F;P18;FG0C;SM7;X14 F;P18;FG0G;SM7;X15 F;P27;F$2G;SM7;X16 F;P27;F$2G;SM7;X17 F;P27;F$2G;SM7;X18 C;K" ";EIF(RC[-1]>RC[-2],RC[-1]-RC[-2]," ") F;P27;F$2G;SM7;X19 C;K0;EIF(RC[-3]>=RC[-2],RC[-3]-RC[-2]," ") F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;SM7;Y77;X1 C;K"Put numbers in appropriate cell below" F;SM7;X2 F;SM7;X3 F;P0;FG0C;SM7;X4 F;P0;FG0L;SM7;X5 C;K" here: or" F;P0;FG0C;SM7;X6 C;K"here:" F;P0;FG0C;SM7;X7 C;K"Line 28" F;SM7;X8 C;K"Add the Amounts on Lines 4, 9, 14, 18, 19, 26, and 27." F;SM7;X9 F;SM7;X10 F;SM7;X11 F;SM7;X12 F;P27;F$2L;SM7;X13 F;P18;FG0C;SM7;X14 F;P18;FG0G;SM7;X15 F;P27;F$2G;SM7;X16 F;P27;F$2G;SM7;X17 F;P27;F$2G;SM7;X18 C;K" ";EIF(RC[-1]>RC[-2],RC[-1]-RC[-2]," ") F;P27;F$2G;SM7;X19 C;K0;EIF(RC[-3]>=RC[-2],RC[-3]-RC[-2]," ") F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;SM7;Y78;X1 F;SM7;X2 F;SM7;X3 F;P0;FG0C;SM7;X4 F;P0;FG0C;SM7;X5 C;K"\/" F;P0;FG0C;SM7;X6 C;K"\/" F;SM7;X7 F;SM7;X8 C;K"Enter the Total Here. Then Enter on Form 1040," F;SM7;X9 F;SM7;X10 F;SM7;X11 F;P27;F$2G;SM7;X12 C;K"-------------" F;P27;F$2L;SM7;X13 F;P18;FG0C;SM7;X14 F;P18;FG0G;SM7;X15 F;P27;F$2G;SM7;X16 F;P27;F$2G;SM7;X17 F;P27;F$2G;SM7;X18 C;K" ";EIF(RC[-1]>RC[-2],RC[-1]-RC[-2]," ") F;P27;F$2G;SM7;X19 C;K0;EIF(RC[-3]>=RC[-2],RC[-3]-RC[-2]," ") F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;P0;FG0C;SM7;Y79;X1 C;K"Line 7" F;SM7;X2 C;K"Wages, Salaries, Tips, etc.------------------->>" F;SM7;X3 F;SM7;X4 F;SM7;X5 F;P27;F$2G;SM7;X6 F;SM7;X7 F;SM7;X8 C;K"Line 34, the LARGER of This Total or Your Standard" F;SM7;X9 F;SM7;X10 F;SM7;X11 F;P27;F$2G;SM7;X12 F;P0;FG0L;SM7;X13 F;P18;FG0C;SM7;X14 F;P18;FG0G;SM7;X15 F;P27;F$2G;SM7;X16 F;P27;F$2G;SM7;X17 F;P27;F$2G;SM7;X18 C;K" ";EIF(RC[-1]>RC[-2],RC[-1]-RC[-2]," ") F;P27;F$2G;SM7;X19 C;K0;EIF(RC[-3]>=RC[-2],RC[-3]-RC[-2]," ") F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;P0;FG0C;SM7;Y80;X1 C;K"Line 8a" F;SM7;X2 C;K"Taxable Interest Income--------------------->>" F;SM7;X3 F;SM7;X4 F;SM7;X5 F;P27;F$2G;SM7;X6 C;K0;ER[+74]C[+6] F;SM7;X7 F;SM7;X8 C;K"Deduction from Page 23 of the Instructions----->>" F;SM7;X9 F;SM7;X10 F;SM7;X11 F;P27;F$2G;SM7;X12 C;K0;EIF(OR(AND(R[+39]C[-6]>114700,R[-17]C[-11]<>1),AND(R[+39]C[-6]>57350,R[-17]C[-11]=1)),"See P. A-5",R[-65]C+R[-54]C+R[-37]C+R[-28]C+R[-24]C+R[-10]C+R[-6]C) F;P0;FG0L;SM7;X13 F;P18;FG0C;SM7;X14 F;P18;FG0G;SM7;X15 F;P27;F$2G;SM7;X16 F;P27;F$2G;SM7;X17 F;P27;F$2G;SM7;X18 C;K" ";EIF(RC[-1]>RC[-2],RC[-1]-RC[-2]," ") F;P27;F$2G;SM7;X19 C;K0;EIF(RC[-3]>=RC[-2],RC[-3]-RC[-2]," ") F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;P0;FG0C;SM7;Y81;X1 C;K"Line 8b" F;SM7;X2 C;K"Tax Exempt Interest Income---->>" F;SM7;X3 F;SM7;X4 F;P27;F$2G;SM7;X5 F;P27;F$2G;SM7;X6 C;K"<<-----------" F;P0;FG0C;SM7;X7 C;K"Line 28" F;SM7;X8 C;K"This Is Your Total Itemized Deductions" F;SM7;X9 F;SM7;X10 F;SM7;X11 F;SM7;X12 F;P0;FG0L;SM7;X13 F;P18;FG0C;SM7;X14 F;P18;FG0G;SM7;X15 F;P27;F$2G;SM7;X16 F;P27;F$2G;SM7;X17 F;P27;F$2G;SM7;X18 C;K" ";EIF(RC[-1]>RC[-2],RC[-1]-RC[-2]," ") F;P27;F$2G;SM7;X19 C;K0;EIF(RC[-3]>=RC[-2],RC[-3]-RC[-2]," ") F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;P0;FG0C;SM7;Y82;X1 C;K"Line 9" F;SM7;X2 C;K"Dividend Income----------------------------->>" F;SM7;X3 F;SM7;X4 F;SM7;X5 F;P27;F$2G;SM7;X6 C;K0;ER[+99]C[+6] F;SM7;X7 F;SM7;X8 F;SM7;X9 F;SM7;X10 F;SM7;X11 F;SM7;X12 F;P0;FG0L;SM7;X13 F;P18;FG0C;SM7;X14 F;P18;FG0G;SM7;X15 F;P27;F$2G;SM7;X16 F;P27;F$2G;SM7;X17 F;P27;F$2G;SM7;X18 C;K" ";EIF(RC[-1]>RC[-2],RC[-1]-RC[-2]," ") F;P27;F$2G;SM7;X19 C;K0;EIF(RC[-3]>=RC[-2],RC[-3]-RC[-2]," ") F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;P0;FG0C;SM7;Y83;X1 C;K"Line 10" F;SM7;X2 C;K"Taxable Refunds of State & Local Income Taxes->>" F;SM7;X3 F;SM7;X4 F;SM7;X5 F;P27;F$2G;SM7;X6 F;SM7;X7 F;SM7;X8 C;K"See Page A-5 if Form 1040, Line 32 is more than $114,700" F;SM7;X9 F;SM7;X10 F;SM7;X11 F;SM7;X12 F;P27;F$2L;SM7;X13 F;P18;FG0C;SM7;X14 F;P18;FG0G;SM7;X15 F;P27;F$2G;SM7;X16 F;P27;F$2G;SM7;X17 F;P27;F$2G;SM7;X18 C;K" ";EIF(RC[-1]>RC[-2],RC[-1]-RC[-2]," ") F;P27;F$2G;SM7;X19 C;K0;EIF(RC[-3]>=RC[-2],RC[-3]-RC[-2]," ") F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;P0;FG0C;SM7;Y84;X1 C;K"Line 11" F;SM7;X2 C;K"Alimony Received--------------------------->>" F;SM7;X3 F;SM7;X4 F;SM7;X5 F;P27;F$2G;SM7;X6 F;SM7;X7 F;SM7;X8 C;K"(more than $57,3500 if married filing separately)." F;SM7;X9 F;SM7;X10 F;SM7;X11 F;SM7;X12 F;P27;F$2L;SM7;X13 F;P18;FG0C;SM7;X14 F;P18;FG0G;SM7;X15 F;P27;F$2G;SM7;X16 F;P27;F$2G;SM7;X17 F;P27;F$2G;SM7;X18 C;K" ";EIF(RC[-1]>RC[-2],RC[-1]-RC[-2]," ") F;P27;F$2G;SM7;X19 C;K0;EIF(RC[-3]>=RC[-2],RC[-3]-RC[-2]," ") F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;P0;FG0C;SM7;Y85;X1 C;K"Line 12" F;SM7;X2 C;K"Business Income or (Loss)-------------------->>" F;SM7;X3 F;SM7;X4 F;SM7;X5 F;P27;F$2G;SM7;X6 F;SM7;X7 F;SM7;X8 F;SM7;X9 F;SM7;X10 F;SM7;X11 F;SM7;X12 F;P27;F$2L;SM7;X13 F;P18;FG0C;SM7;X14 F;P18;FG0G;SM7;X15 F;P27;F$2G;SM7;X16 F;P27;F$2G;SM7;X17 F;P27;F$2G;SM7;X18 C;K" ";EIF(RC[-1]>RC[-2],RC[-1]-RC[-2]," ") F;P27;F$2G;SM7;X19 C;K0;EIF(RC[-3]>=RC[-2],RC[-3]-RC[-2]," ") F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;P0;FG0C;SM7;Y86;X1 C;K"Line 13" F;SM7;X2 C;K"Capital Gain or (Loss)------------------------>>" F;SM7;X3 F;SM7;X4 F;SM7;X5 F;P27;F$2G;SM7;X6 C;K0;EIF(R[-40]C[+13]>=0,R[-40]C[+13],R[-39]C[+13]) F;SM7;X7 F;SM7;X8 F;SM7;X9 F;SM7;X10 F;SM7;X11 F;SM7;X12 F;P27;F$2L;SM7;X13 F;P18;FG0C;SM7;X14 F;P18;FG0G;SM7;X15 F;P27;F$2G;SM7;X16 F;P27;F$2G;SM7;X17 F;P27;F$2G;SM7;X18 C;K" ";EIF(RC[-1]>RC[-2],RC[-1]-RC[-2]," ") F;P27;F$2G;SM7;X19 C;K0;EIF(RC[-3]>=RC[-2],RC[-3]-RC[-2]," ") F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;P0;FG0C;SM7;Y87;X1 C;K"Line 14" F;SM7;X2 C;K"Other Gains or (Losses)----------------------->>" F;SM7;X3 F;SM7;X4 F;SM7;X5 F;P27;F$2G;SM7;X6 F;SM7;X7 F;SM7;X8 F;SM7;X9 F;SM7;X10 F;SM7;X11 F;SM7;X12 F;SM7;X13 C;K"Line 23" F;P0;FG0L;SM7;X14 C;K"Short Term Totals. Add Columns (d), (f), and (g)." F;SM7;X15 F;SM7;X16 F;SM7;X17 F;SM7;X18 F;SM7;X19 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;P0;FG0C;SM7;Y88;X1 C;K"Line 15a" F;SM7;X2 C;K"Total IRA Distributions-------->>" F;SM7;X3 F;SM7;X4 F;P27;F$2G;SM7;X5 F;P27;F$2G;SM7;X6 C;K"<<-----------" F;SM7;X7 F;SM7;X8 F;SM7;X9 F;SM7;X10 F;SM7;X11 F;SM7;X12 F;SM7;X13 F;P0;FG0L;SM7;X14 C;K"Enter Here and on Line 10." F;SM7;X15 F;SM7;X16 F;SM7;X17 F;SM7;X18 F;SM7;X19 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;P0;FG0C;SM7;Y89;X1 C;K"Line 15b" F;SM7;X2 C;K"Taxable Amount----------------------------->>" F;SM7;X3 F;SM7;X4 F;SM7;X5 F;P27;F$2G;SM7;X6 F;SM7;X7 F;SM7;X8 F;SM7;X9 F;SM7;X10 F;SM7;X11 F;SM7;X12 F;SM7;X13 F;P27;F$2G;SM7;X14 C;K" --------" F;P27;F$2G;SM7;X15 C;K" --------" F;P27;F$2G;SM7;X16 C;K0;ESUM(R[-14]C:R[-3]C) F;P27;F$2G;SM7;X17 C;K" ---------" F;P27;F$2G;SM7;X18 C;K0;ESUM(R[-14]C:R[-3]C) F;P27;F$2G;SM7;X19 C;K0;ESUM(R[-14]C:R[-3]C) F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;P0;FG0C;SM7;Y90;X1 C;K"Line 16a" F;SM7;X2 C;K"Total Pensions and Annuities--->>" F;SM7;X3 F;SM7;X4 F;P27;F$2G;SM7;X5 F;P27;F$2G;SM7;X6 C;K"<<-----------" F;SM7;X7 F;SM7;X8 F;SM7;X9 F;SM7;X10 F;SM7;X11 F;SM7;X12 F;P27;F$2G;SM7;X13 F;P27;F$2C;SM7;X14 F;P27;F$2G;SM7;X15 F;P27;F$2G;SM7;X16 F;P27;F$2G;SM7;X17 F;P27;F$2G;SM7;X18 F;P27;F$2G;SM7;X19 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;P0;FG0C;SM7;Y91;X1 C;K"Line 16b" F;SM7;X2 C;K"Taxable Amount----------------------------->>" F;SM7;X3 F;SM7;X4 F;SM7;X5 F;P27;F$2G;SM7;X6 F;SM7;X7 F;SM7;X8 F;SM7;X9 F;SM7;X10 F;SM7;X11 F;SM7;X12 F;P27;F$2G;SM7;X13 F;P27;F$2C;SM7;X14 F;P27;F$2G;SM7;X15 F;P27;F$2G;SM7;X16 F;P27;F$2G;SM7;X17 F;P27;F$2G;SM7;X18 F;P27;F$2G;SM7;X19 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;P0;FG0C;SM7;Y92;X1 C;K"Line 17" F;SM7;X2 C;K"Rents, Royalties,Partnerships, etc.----------->>" F;SM7;X3 F;SM7;X4 F;SM7;X5 F;P27;F$2G;SM7;X6 F;SM7;X7 F;SM7;X8 F;SM7;X9 F;SM7;X10 F;SM7;X11 F;SM7;X12 F;P27;F$2G;SM7;X13 F;P27;F$2C;SM7;X14 F;P27;F$2G;SM7;X15 F;P27;F$2G;SM7;X16 F;P27;F$2G;SM7;X17 F;P27;F$2G;SM7;X18 F;P27;F$2G;SM7;X19 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;P0;FG0C;SM7;Y93;X1 C;K"Line 18" F;SM7;X2 C;K"Farm Income or (Loss)---------------------->>" F;SM7;X3 F;SM7;X4 F;SM7;X5 F;P27;F$2G;SM7;X6 F;SM7;X7 F;SM7;X8 F;SM7;X9 F;SM7;X10 F;SM7;X11 F;SM7;X12 F;P27;F$2G;SM7;X13 F;P27;F$2C;SM7;X14 F;P27;F$2G;SM7;X15 F;P27;F$2G;SM7;X16 F;P27;F$2G;SM7;X17 F;P27;F$2G;SM7;X18 F;P27;F$2G;SM7;X19 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;P0;FG0C;SM7;Y94;X1 C;K"Line 19" F;SM7;X2 C;K"Unemployment Compensation Insurance-------->>" F;SM7;X3 F;SM7;X4 F;SM7;X5 F;P27;F$2G;SM7;X6 F;SM7;X7 F;SM7;X8 F;SM7;X9 F;SM7;X10 F;SM7;X11 F;SM7;X12 F;P27;F$2G;SM7;X13 F;P27;F$2C;SM7;X14 F;P27;F$2G;SM7;X15 F;P27;F$2G;SM7;X16 F;P27;F$2G;SM7;X17 F;P27;F$2G;SM7;X18 F;P27;F$2G;SM7;X19 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;P0;FG0C;SM7;Y95;X1 C;K"Line 20a" F;SM7;X2 C;K"Social Security Benefits-------->>" F;SM7;X3 F;SM7;X4 F;P27;F$2G;SM7;X5 F;P27;F$2G;SM7;X6 C;K"<<-----------" F;SM7;X7 F;SM7;X8 F;SM7;X9 F;SM7;X10 F;SM7;X11 F;SM7;X12 F;P27;F$2G;SM7;X13 F;P27;F$2C;SM7;X14 F;P27;F$2G;SM7;X15 F;P27;F$2G;SM7;X16 F;P27;F$2G;SM7;X17 F;P27;F$2G;SM7;X18 F;P27;F$2G;SM7;X19 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;P0;FG0C;SM7;Y96;X1 C;K"Line 20b" F;SM7;X2 C;K"Taxable Amount, If Any---------------------->>" F;SM7;X3 F;SM7;X4 F;SM7;X5 F;P27;F$2G;SM7;X6 F;SM7;X7 F;SM7;X8 F;SM7;X9 F;SM7;X10 F;SM7;X11 F;SM7;X12 F;SM7;X13 F;SM7;X14 F;SM7;X15 F;SM7;X16 F;SM7;X17 F;SM7;X18 F;SM7;X19 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;P0;FG0C;SM7;Y97;X1 C;K"Line 21" F;SM7;X2 C;K"Other Income (List Type and Amount)---------->>" F;SM7;X3 F;SM7;X4 F;SM7;X5 F;P27;F$2G;SM7;X6 F;SM7;X7 F;SM7;X8 F;SM7;X9 F;SM7;X10 F;SM7;X11 F;SM7;X12 F;P27;F$2G;SM7;X13 F;P27;F$2C;SM7;X14 F;P27;F$2G;SM7;X15 F;P27;F$2G;SM7;X16 F;P27;F$2G;SM7;X17 F;P27;F$2G;SM7;X18 F;P27;F$2G;SM7;X19 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;P0;FG0C;SM7;Y98;X1 C;K"Line 22" F;SM7;X2 C;K"Add the Amounts Shown for Lines 7 thru 21---->>" F;SM7;X3 F;SM7;X4 F;SM7;X5 F;P27;F$2G;SM7;X6 C;K0;ESUM(R[-19]C:R[-1]C) F;SM7;X7 F;SM7;X8 F;SM7;X9 F;SM7;X10 F;SM7;X11 F;SM7;X12 F;SM7;X13 F;SM7;X14 F;SM7;X15 F;SM7;X16 F;SM7;X17 F;SM7;X18 F;SM7;X19 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;P0;FG0C;SM7;Y99;X1 C;K"Line 22" F;SM7;X2 C;K"This Is Your Total Income." F;SM7;X3 F;SM7;X4 F;SM7;X5 F;P2;FF2G;SM7;X6 F;SM7;X7 F;SM7;X8 F;SM7;X9 F;SM7;X10 F;SM7;X11 F;SM7;X12 F;SM7;X13 F;SM7;X14 F;SM7;X15 F;SM7;X16 F;SM7;X17 F;SM7;X18 F;SM7;X19 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;P0;FG0C;SM7;Y100;X1 F;SM7;X2 F;SM7;X3 F;SM7;X4 F;SM7;X5 F;P2;FF2G;SM7;X6 F;SM7;X7 F;SM7;X8 F;SM7;X9 F;SM7;X10 F;SM7;X11 F;SM7;X12 F;SM7;X13 F;SM7;X14 F;SM7;X15 F;SM7;X16 F;SM7;X17 F;SM7;X18 F;SM7;X19 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;P0;FG0C;SM7;Y101;X1 F;SM7;X2 C;K"Adjustments to Income" F;SM7;X3 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;SM7;X7 F;SM7;X8 F;SM7;X9 F;SM7;X10 F;SM7;X11 F;SM7;X12 F;SM7;X13 F;SM7;X14 F;SM7;X15 F;SM7;X16 F;SM7;X17 F;SM7;X18 F;SM7;X19 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;P0;FG0C;SM7;Y102;X1 C;K"Line 23a" F;SM7;X2 C;K"Your IRA Deduction------------>>" F;SM7;X3 F;SM7;X4 F;P27;F$2G;SM7;X5 F;P27;F$2G;SM7;X6 C;K"<<-----------" F;SM7;X7 F;SM7;X8 F;SM7;X9 F;SM7;X10 F;SM7;X11 F;SM7;X12 F;P27;F$2G;SM7;X13 F;P27;F$2C;SM7;X14 F;P27;F$2G;SM7;X15 F;P27;F$2G;SM7;X16 F;P27;F$2G;SM7;X17 F;P27;F$2G;SM7;X18 F;P27;F$2G;SM7;X19 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;P0;FG0C;SM7;Y103;X1 C;K"Line 23b" F;SM7;X2 C;K"Spouse's IRA Deduction--------->>" F;SM7;X3 F;SM7;X4 F;P27;F$2G;SM7;X5 F;P27;F$2G;SM7;X6 C;K"<<-----------" F;SM7;X7 F;SM7;X8 F;SM7;X9 F;SM7;X10 F;SM7;X11 F;SM7;X12 F;P27;F$2G;SM7;X13 F;P27;F$2C;SM7;X14 F;P27;F$2G;SM7;X15 F;P27;F$2G;SM7;X16 F;P27;F$2G;SM7;X17 F;P27;F$2G;SM7;X18 F;P27;F$2G;SM7;X19 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;P0;FG0C;SM7;Y104;X1 C;K"Line 24" F;SM7;X2 C;K"Moving Expenses (3903 or 3903-F)-->>" F;SM7;X3 F;SM7;X4 F;P27;F$2G;SM7;X5 F;P27;F$2G;SM7;X6 C;K"<<-----------" F;SM7;X7 F;SM7;X8 F;SM7;X9 F;SM7;X10 F;SM7;X11 F;SM7;X12 F;P27;F$2G;SM7;X13 F;P27;F$2C;SM7;X14 F;P27;F$2G;SM7;X15 F;P27;F$2G;SM7;X16 F;P27;F$2G;SM7;X17 F;P27;F$2G;SM7;X18 F;P27;F$2G;SM7;X19 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;P0;FG0C;SM7;Y105;X1 C;K"Line 25" F;SM7;X2 C;K"One-half of Self-employment Tax>>" F;SM7;X3 F;SM7;X4 F;P27;F$2G;SM7;X5 F;P27;F$2G;SM7;X6 C;K"<<-----------" F;SM7;X7 F;SM7;X8 F;SM7;X9 F;SM7;X10 F;SM7;X11 F;SM7;X12 F;P27;F$2G;SM7;X13 F;P27;F$2C;SM7;X14 F;P27;F$2G;SM7;X15 F;P27;F$2G;SM7;X16 F;P27;F$2G;SM7;X17 F;P27;F$2G;SM7;X18 F;P27;F$2G;SM7;X19 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;P0;FG0C;SM7;Y106;X1 C;K"Line 26" F;SM7;X2 C;K"Self-Employed Health Insurance->>" F;SM7;X3 F;SM7;X4 F;P27;F$2G;SM7;X5 F;P27;F$2G;SM7;X6 C;K"<<-----------" F;SM7;X7 F;SM7;X8 F;SM7;X9 F;SM7;X10 F;SM7;X11 F;SM7;X12 F;P27;F$2G;SM7;X13 F;P27;F$2C;SM7;X14 F;P27;F$2G;SM7;X15 F;P27;F$2G;SM7;X16 F;P27;F$2G;SM7;X17 F;P27;F$2G;SM7;X18 F;P27;F$2G;SM7;X19 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;P0;FG0C;SM7;Y107;X1 C;K"Line 27" F;SM7;X2 C;K"Keogh Plan&Self-Employed SEP-->>" F;SM7;X3 F;SM7;X4 F;P27;F$2G;SM7;X5 F;P27;F$2G;SM7;X6 C;K"<<-----------" F;SM7;X7 F;SM7;X8 F;SM7;X9 F;SM7;X10 F;SM7;X11 F;SM7;X12 F;P27;F$2G;SM7;X13 F;P27;F$2C;SM7;X14 F;P27;F$2G;SM7;X15 F;P27;F$2G;SM7;X16 F;P27;F$2G;SM7;X17 F;P27;F$2G;SM7;X18 F;P27;F$2G;SM7;X19 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;P0;FG0C;SM7;Y108;X1 C;K"Line 28" F;SM7;X2 C;K"Early Savings Withdrawal Penalty>>" F;SM7;X3 F;SM7;X4 F;P27;F$2G;SM7;X5 F;P27;F$2G;SM7;X6 C;K"<<-----------" F;SM7;X7 F;SM7;X8 F;SM7;X9 F;SM7;X10 F;SM7;X11 F;SM7;X12 F;P27;F$2G;SM7;X13 F;P27;F$2C;SM7;X14 F;P27;F$2G;SM7;X15 F;P27;F$2G;SM7;X16 F;P27;F$2G;SM7;X17 F;P27;F$2G;SM7;X18 F;P27;F$2G;SM7;X19 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;P0;FG0C;SM7;Y109;X1 C;K"Line 29" F;SM7;X2 C;K"Alimony Paid------------------>>" F;SM7;X3 F;SM7;X4 F;P27;F$2G;SM7;X5 F;P27;F$2G;SM7;X6 C;K"<<-----------" F;SM7;X7 F;SM7;X8 F;SM7;X9 F;SM7;X10 F;SM7;X11 F;SM7;X12 F;P27;F$2G;SM7;X13 F;P27;F$2C;SM7;X14 F;P27;F$2G;SM7;X15 F;P27;F$2G;SM7;X16 F;P27;F$2G;SM7;X17 F;P27;F$2G;SM7;X18 F;P27;F$2G;SM7;X19 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;P0;FG0C;SM7;Y110;X1 F;SM7;X2 C;K"Recipient's SSN---------------->>" F;SM7;X3 F;SM7;X4 F;P27;F$2G;SM7;X5 F;P27;F$2G;SM7;X6 C;K"<<-----------" F;SM7;X7 F;SM7;X8 F;SM7;X9 F;SM7;X10 F;SM7;X11 F;SM7;X12 F;P27;F$2G;SM7;X13 F;P27;F$2C;SM7;X14 F;P27;F$2G;SM7;X15 F;P27;F$2G;SM7;X16 F;P27;F$2G;SM7;X17 F;P27;F$2G;SM7;X18 F;P27;F$2G;SM7;X19 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;P0;FG0C;SM7;Y111;X1 C;K"Line 30" F;SM7;X2 C;K"Add Lines 23a through 29---------------------->>" F;SM7;X3 F;SM7;X4 F;SM7;X5 F;P27;F$2G;SM7;X6 C;K0;ESUM(R[-9]C[-1]:R[-2]C[-1]) F;SM7;X7 F;SM7;X8 F;SM7;X9 F;SM7;X10 F;SM7;X11 F;SM7;X12 F;SM7;X13 F;SM7;X14 F;SM7;X15 F;SM7;X16 F;SM7;X17 F;SM7;X18 F;SM7;X19 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;P0;FG0C;SM7;Y112;X1 C;K"Line 30" F;SM7;X2 C;K"These Are Your Total Adjustments to Income." F;SM7;X3 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;SM7;X7 F;SM7;X8 F;SM7;X9 F;SM7;X10 F;SM7;X11 F;SM7;X12 F;SM7;X13 F;SM7;X14 F;SM7;X15 F;SM7;X16 F;SM7;X17 F;SM7;X18 F;SM7;X19 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;P0;FG0C;SM7;Y113;X1 F;SM7;X2 F;SM7;X3 F;SM7;X4 F;SM7;X5 F;P2;FF2G;SM7;X6 F;SM7;X7 F;SM7;X8 F;SM7;X9 F;SM7;X10 F;SM7;X11 F;SM7;X12 F;SM7;X13 F;SM7;X14 F;SM7;X15 F;SM7;X16 F;SM7;X17 F;SM7;X18 F;SM7;X19 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;P0;FG0C;SM7;Y114;X1 F;SM7;X2 C;K"Adjusted Gross Income" F;SM7;X3 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;SM7;X7 F;SM7;X8 F;SM7;X9 F;SM7;X10 F;SM7;X11 F;SM7;X12 F;SM7;X13 F;SM7;X14 F;SM7;X15 F;SM7;X16 F;SM7;X17 F;SM7;X18 F;SM7;X19 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;P0;FG0C;SM7;Y115;X1 C;K"Line 31" F;SM7;X2 C;K"Subtract Line 30 from Line 22----------------->>" F;SM7;X3 F;SM7;X4 F;SM7;X5 F;P27;F$2G;SM7;X6 C;K0;EIF(R[-17]C-R[-4]C<0,0,R[-17]C-R[-4]C) F;SM7;X7 F;SM7;X8 F;SM7;X9 F;SM7;X10 F;SM7;X11 F;SM7;X12 F;SM7;X13 F;SM7;X14 F;SM7;X15 F;SM7;X16 F;SM7;X17 F;SM7;X18 F;SM7;X19 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;P0;FG0C;SM7;Y116;X1 C;K"Line 31" F;SM7;X2 C;K"This Is Your Adjusted Gross Income." F;SM7;X3 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;SM7;X7 F;SM7;X8 F;SM7;X9 F;SM7;X10 F;SM7;X11 F;SM7;X12 F;SM7;X13 F;SM7;X14 F;SM7;X15 F;SM7;X16 F;SM7;X17 F;SM7;X18 F;SM7;X19 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;P0;FG0C;SM7;Y117;X1 F;SM7;X2 F;SM7;X3 F;SM7;X4 F;SM7;X5 F;P27;F$2G;SM7;X6 F;SM7;X7 F;SM7;X8 F;SM7;X9 F;SM7;X10 F;SM7;X11 F;SM7;X12 F;P27;F$2G;SM7;X13 F;P27;F$2C;SM7;X14 F;P27;F$2G;SM7;X15 F;P27;F$2G;SM7;X16 F;P27;F$2G;SM7;X17 F;P27;F$2G;SM7;X18 F;P27;F$2G;SM7;X19 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;P0;FG0C;SM7;Y118;X1 F;SM7;X2 C;K"Tax Computation" F;SM7;X3 F;SM7;X4 F;SM7;X5 F;P27;F$2G;SM7;X6 F;SM7;X7 F;SM7;X8 F;SM7;X9 F;SM7;X10 F;SM7;X11 F;SM7;X12 F;SM7;X13 F;SM7;X14 F;SM7;X15 F;SM7;X16 F;SM7;X17 F;SM7;X18 F;SM7;X19 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;P0;FG0C;SM7;Y119;X1 C;K"Line 32" F;SM7;X2 C;K"Amount from Line 31------------------------->>" F;SM7;X3 F;SM7;X4 F;SM7;X5 F;P27;F$2G;SM7;X6 C;K0;ER[-4]C F;SM7;X7 F;SM7;X8 F;SM7;X9 F;SM7;X10 F;SM7;X11 F;SM7;X12 F;P27;F$2G;SM7;X13 F;P27;F$2C;SM7;X14 F;P27;F$2G;SM7;X15 F;P27;F$2G;SM7;X16 F;P27;F$2G;SM7;X17 F;P27;F$2G;SM7;X18 F;P27;F$2G;SM7;X19 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;P0;FG0C;SM7;Y120;X1 C;K"Line 33a" F;SM7;X2 C;K"Enter "1" if item applies to you:" F;SM7;X3 F;SM7;X4 F;SM7;X5 F;P27;F$2G;SM7;X6 C;K"-------------" F;SM7;X7 F;SM7;X8 F;SM7;X9 F;SM7;X10 F;SM7;X11 F;SM7;X12 F;P27;F$2G;SM7;X13 F;P27;F$2C;SM7;X14 F;P27;F$2G;SM7;X15 F;P27;F$2G;SM7;X16 F;P27;F$2G;SM7;X17 F;P27;F$2G;SM7;X18 F;P27;F$2G;SM7;X19 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;P0;FG0C;SM7;Y121;X1 F;SM7;X2 F;P0;FG0C;SM7;X3 C;K"here:" F;P0;FG0C;SM7;X4 C;K"and" F;P0;FG0C;SM7;X5 C;K"here:" F;P27;F$2G;SM7;X6 C;K"-------------" F;SM7;X7 F;SM7;X8 F;SM7;X9 F;SM7;X10 F;SM7;X11 F;SM7;X12 F;SM7;X13 F;SM7;X14 F;SM7;X15 F;SM7;X16 F;SM7;X17 F;SM7;X18 F;SM7;X19 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;P0;FG0C;SM7;Y122;X1 F;SM7;X2 F;P0;FG0C;SM7;X3 C;K"\/" F;P28;FG0G;SM7;X4 C;K""ERROR-FILING STATUS"";ELOOKUP(R[-61]C[-3]*5+R[-60]C[-3]*10+R[-59]C[-3]*15+R[-58]C[-3]*20+R[-57]C[-3]*25+R[+3]C[+1],R[+94]C[-3]:R[+124]C[-2]) F;P0;FG0C;SM7;X5 C;K"\/" F;P27;F$2G;SM7;X6 C;K"-------------" F;SM7;X7 F;SM7;X8 F;SM7;X9 F;SM7;X10 F;SM7;X11 F;SM7;X12 F;P27;F$2G;SM7;X13 F;P27;F$2C;SM7;X14 F;P27;F$2G;SM7;X15 F;P27;F$2G;SM7;X16 F;P27;F$2G;SM7;X17 F;P27;F$2G;SM7;X18 F;P27;F$2G;SM7;X19 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;P0;FG0C;SM7;Y123;X1 C;K"Self" F;SM7;X2 C;K"65 or over>>" F;P0;FG0C;SM7;X3 F;SM7;X4 C;K"Blind->>" F;P0;FG0C;SM7;X5 F;P27;F$2G;SM7;X6 C;K"-------------" F;SM7;X7 F;SM7;X8 F;SM7;X9 C;K"SCHEDULE B - TAXPAYER INFORMATION" F;SM7;X10 F;SM7;X11 F;SM7;X12 F;P27;F$2G;SM7;X13 F;P27;F$2C;SM7;X14 F;P27;F$2G;SM7;X15 F;P27;F$2G;SM7;X16 F;P27;F$2G;SM7;X17 F;P27;F$2G;SM7;X18 F;P27;F$2G;SM7;X19 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;P0;FG0C;SM7;Y124;X1 C;K"Spouse" F;SM7;X2 C;K"65 or over>>" F;P0;FG0C;SM7;X3 F;SM7;X4 C;K"Blind->>" F;P0;FG0C;SM7;X5 F;P27;F$2G;SM7;X6 C;K"-------------" F;SM7;X7 F;SM7;X8 F;SM7;X9 F;SM7;X10 F;SM7;X11 F;SM7;X12 F;SM7;X13 F;SM7;X14 F;SM7;X15 F;SM7;X16 F;SM7;X17 F;SM7;X18 F;SM7;X19 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;P0;FG0C;SM7;Y125;X1 C;K"Line 33a" F;SM7;X2 C;K"Add Number of Boxes with "1"---->>" F;SM7;X3 F;SM7;X4 F;SM7;X5 C;K0;ER[-2]C[-2]+R[-1]C[-2]+R[-2]C+R[-1]C F;P27;F$2G;SM7;X6 C;K"-------------" F;SM7;X7 C;K"Names---------------------->>" F;SM7;X8 F;SM7;X9 F;SM7;X10 C;K0;ER[-78]C[-6] F;SM7;X11 F;SM7;X12 F;SM7;X13 F;SM7;X14 F;SM7;X15 F;SM7;X16 F;SM7;X17 F;SM7;X18 F;SM7;X19 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;P0;FG0C;SM7;Y126;X1 C;K"Line 33b" F;SM7;X2 C;K""1" If Dependent on Another Return>" F;SM7;X3 F;SM7;X4 F;SM7;X5 F;P27;F$2G;SM7;X6 C;K"<<-----------" F;SM7;X7 F;SM7;X8 F;SM7;X9 F;SM7;X10 C;K0;ER[-77]C[-6] F;SM7;X11 F;SM7;X12 F;P27;F$2G;SM7;X13 F;P27;F$2C;SM7;X14 F;P27;F$2G;SM7;X15 F;P27;F$2G;SM7;X16 F;P27;F$2G;SM7;X17 F;P27;F$2G;SM7;X18 F;P27;F$2G;SM7;X19 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;P0;FG0C;SM7;Y127;X1 C;K"Line 33c" F;SM7;X2 C;K""1" If Married Filing a Separate Return and Spouse" F;SM7;X3 F;SM7;X4 F;SM7;X5 F;P27;F$2G;SM7;X6 C;K"-------------" F;SM7;X7 C;K"Social Security Numbers------->>" F;SM7;X8 F;SM7;X9 F;SM7;X10 C;K0;ER[-79]C[-6] F;SM7;X11 F;SM7;X12 F;SM7;X13 F;SM7;X14 F;SM7;X15 F;SM7;X16 F;SM7;X17 F;SM7;X18 F;SM7;X19 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;SM7;Y128;X1 C;K"Itemizes Deductions or Dual-Status Alien--->>" F;SM7;X2 F;SM7;X3 F;SM7;X4 F;SM7;X5 F;P27;F$2G;SM7;X6 C;K"<<-----------" F;SM7;X7 F;SM7;X8 F;SM7;X9 F;SM7;X10 C;K0;ER[-78]C[-6] F;SM7;X11 F;SM7;X12 F;SM7;X13 F;SM7;X14 F;SM7;X15 F;SM7;X16 F;SM7;X17 F;SM7;X18 F;SM7;X19 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;P0;FG0C;SM7;Y129;X1 C;K"Line 34" F;SM7;X2 C;K"Standard Deduction or Itemized Deductions----->>" F;SM7;X3 F;SM7;X4 F;SM7;X5 F;P27;F$2G;SM7;X6 C;K""ERROR-FILING STATUS"";EIF(R[-1]C[-1]=1,0,IF(R[-3]C[-1]=1,"See P. 23",IF(ISTEXT(R[-7]C[-2]),R[-7]C[-2],MAX(R[-49]C[+6],R[-7]C[-2])))) F;SM7;X7 F;SM7;X8 F;SM7;X9 C;K"Part I Interest Income" F;SM7;X10 F;SM7;X11 F;SM7;X12 F;SM7;X13 F;SM7;X14 F;SM7;X15 F;SM7;X16 F;SM7;X17 F;SM7;X18 F;SM7;X19 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;P0;FG0C;SM7;Y130;X1 C;K"Line 35" F;SM7;X2 C;K"Subtract Line 34 from Line 32---------------->>" F;SM7;X3 F;SM7;X4 F;SM7;X5 F;P27;F$2G;SM7;X6 C;K""ERROR-FILING STATUS"";EIF(ISTEXT(R[-1]C),R[-1]C,R[-11]C-R[-1]C) F;P0;FG0C;SM7;X7 C;K"Line 1" F;SM7;X8 C;K"Interest Income. (List Name of Payer - If Any Interest" F;SM7;X9 F;SM7;X10 F;P27;F$2G;SM7;X11 F;P27;F$2G;SM7;X12 C;K"-------------" F;SM7;X13 F;SM7;X14 F;SM7;X15 F;SM7;X16 F;SM7;X17 F;SM7;X18 F;SM7;X19 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;P0;FG0C;SM7;Y131;X1 C;K"Line 36" F;SM7;X2 C;K"Multiply $2500 by Line 6e-------------------->>" F;SM7;X3 F;SM7;X4 F;SM7;X5 F;P27;F$2G;SM7;X6 C;K0;EIF(R[-12]C>86025,"See P. 23",2500*R[-58]C) F;SM7;X7 F;SM7;X8 C;K"Income Is from Seller-Financed Mortgages, See" F;SM7;X9 F;SM7;X10 F;P27;F$2G;SM7;X11 F;P27;F$2G;SM7;X12 C;K"-------------" F;SM7;X13 F;SM7;X14 F;SM7;X15 F;SM7;X16 F;SM7;X17 F;SM7;X18 F;SM7;X19 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;P0;FG0C;SM7;Y132;X1 C;K"Line 37" F;SM7;X2 C;K"Taxable Income. Subtract Line 36 from Line 35.->>" F;SM7;X3 F;SM7;X4 F;SM7;X5 F;P27;F$2G;SM7;X6 C;K""ERROR-FILING STATUS"";EIF(ISTEXT(R[-2]C),R[-2]C,IF(R[-2]C-R[-1]C<0,0,R[-2]C-R[-1]C)) F;SM7;X7 F;SM7;X8 C;K"Instructions and List That Interest First.)" F;SM7;X9 F;SM7;X10 F;P27;F$2G;SM7;X11 F;P27;F$2G;SM7;X12 C;K"-------------" F;SM7;X13 F;SM7;X14 F;SM7;X15 F;SM7;X16 F;SM7;X17 F;SM7;X18 F;SM7;X19 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;P0;FG0C;SM7;Y133;X1 C;K"Line 38" F;SM7;X2 C;K"Enter Tax---------------------------------->>" F;SM7;X3 F;SM7;X4 F;SM7;X5 F;P27;F$2G;SM7;X6 F;SM7;X7 F;SM7;X8 F;SM7;X9 F;SM7;X10 F;P27;F$2G;SM7;X11 F;P27;F$2G;SM7;X12 C;K"<<-----------" F;SM7;X13 F;SM7;X14 F;SM7;X15 F;SM7;X16 F;SM7;X17 F;SM7;X18 F;SM7;X19 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;P0;FG0C;SM7;Y134;X1 F;P0;FG0C;SM7;X2 C;K"Tax Table" F;P0;FG0C;SM7;X3 F;P0;FG0C;SM7;X4 C;K"Sch. D" F;P0;FG0C;SM7;X5 F;P27;F$2G;SM7;X6 C;K"-------------" F;SM7;X7 F;SM7;X8 F;SM7;X9 F;SM7;X10 F;P27;F$2G;SM7;X11 F;P27;F$2G;SM7;X12 C;K"<<-----------" F;SM7;X13 F;SM7;X14 F;SM7;X15 F;SM7;X16 F;SM7;X17 F;SM7;X18 F;SM7;X19 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;P0;FG0C;SM7;Y135;X1 F;P0;FG0C;SM7;X2 C;K"Tax Rate Sch." F;P0;FG0C;SM7;X3 F;P0;FG0C;SM7;X4 C;K8615 F;P0;FG0C;SM7;X5 F;P27;F$2G;SM7;X6 C;K"-------------" F;P0;FG0C;SM7;X7 F;SM7;X8 F;SM7;X9 F;SM7;X10 F;P27;F$2G;SM7;X11 F;P27;F$2G;SM7;X12 C;K"<<-----------" F;P0;FG0C;SM7;X13 F;SM7;X14 F;P0;FG0C;SM7;X15 F;P0;FG0C;SM7;X16 F;P0;FG0C;SM7;X17 F;P0;FG0C;SM7;X18 F;P0;FG0C;SM7;X19 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;P0;FG0C;SM7;Y136;X1 C;K"Line 39" F;SM7;X2 C;K"Additional Taxes (Form 4970 or Form 4972)---->>" F;SM7;X3 F;SM7;X4 F;SM7;X5 F;P27;F$2G;SM7;X6 F;SM7;X7 F;SM7;X8 F;SM7;X9 F;SM7;X10 F;P27;F$2G;SM7;X11 F;P27;F$2G;SM7;X12 C;K"<<-----------" F;SM7;X13 F;SM7;X14 F;SM7;X15 F;SM7;X16 F;SM7;X17 F;SM7;X18 F;SM7;X19 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;P0;FG0C;SM7;Y137;X1 C;K"Line 40" F;SM7;X2 C;K"Add Lines 38 and 39-------------------------->>" F;SM7;X3 F;SM7;X4 F;SM7;X5 F;P27;F$2G;SM7;X6 C;K0;ER[-4]C+R[-1]C F;SM7;X7 F;SM7;X8 F;SM7;X9 F;SM7;X10 F;P27;F$2G;SM7;X11 F;P27;F$2G;SM7;X12 C;K"<<-----------" F;SM7;X13 F;SM7;X14 F;SM7;X15 F;SM7;X16 F;SM7;X17 F;SM7;X18 F;SM7;X19 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;P0;FG0C;SM7;Y138;X1 F;P0;FG0L;SM7;X2 F;SM7;X3 F;SM7;X4 F;SM7;X5 F;P27;F$2G;SM7;X6 F;SM7;X7 F;SM7;X8 F;SM7;X9 F;SM7;X10 F;P27;F$2G;SM7;X11 F;P27;F$2G;SM7;X12 C;K"<<-----------" F;SM7;X13 F;SM7;X14 F;SM7;X15 F;SM7;X16 F;SM7;X17 F;SM7;X18 F;SM7;X19 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;P0;FG0C;SM7;Y139;X1 F;SM7;X2 C;K"Credits" F;SM7;X3 F;SM7;X4 F;SM7;X5 F;P27;F$2G;SM7;X6 F;SM7;X7 F;SM7;X8 F;SM7;X9 F;SM7;X10 F;P27;F$2G;SM7;X11 F;P27;F$2G;SM7;X12 C;K"<<-----------" F;SM7;X13 F;SM7;X14 F;SM7;X15 F;SM7;X16 F;SM7;X17 F;SM7;X18 F;SM7;X19 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;P0;FG0C;SM7;Y140;X1 C;K"Line 41" F;SM7;X2 C;K"Credit for Child&Dependent Care->>" F;SM7;X3 F;SM7;X4 F;P27;F$2G;SM7;X5 F;P27;F$2G;SM7;X6 C;K"<<-----------" F;SM7;X7 F;SM7;X8 F;SM7;X9 F;SM7;X10 F;P27;F$2G;SM7;X11 F;P27;F$2G;SM7;X12 C;K"<<-----------" F;SM7;X13 F;SM7;X14 F;SM7;X15 F;SM7;X16 F;SM7;X17 F;SM7;X18 F;SM7;X19 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;P0;FG0C;SM7;Y141;X1 C;K"Line 42" F;SM7;X2 C;K"Credit for Elderly&Disabled----->>" F;SM7;X3 F;SM7;X4 F;P27;F$2G;SM7;X5 F;P27;F$2G;SM7;X6 C;K"<<-----------" F;SM7;X7 F;SM7;X8 F;SM7;X9 F;SM7;X10 F;P27;F$2G;SM7;X11 F;P27;F$2G;SM7;X12 C;K"<<-----------" F;SM7;X13 F;SM7;X14 F;SM7;X15 F;SM7;X16 F;SM7;X17 F;SM7;X18 F;SM7;X19 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;P0;FG0C;SM7;Y142;X1 C;K"Line 43" F;SM7;X2 C;K"Foreign Tax Credit (Form 1116)-->>" F;SM7;X3 F;SM7;X4 F;SM7;X5 F;P27;F$2G;SM7;X6 C;K"<<-----------" F;SM7;X7 F;SM7;X8 F;SM7;X9 F;SM7;X10 F;P27;F$2G;SM7;X11 F;P27;F$2G;SM7;X12 C;K"<<-----------" F;P0;FG0C;SM7;X13 F;SM7;X14 F;P0;FG0C;SM7;X15 F;P0;FG0C;SM7;X16 F;P0;FG0C;SM7;X17 F;P0;FG0C;SM7;X18 F;P0;FG0C;SM7;X19 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;P0;FG0C;SM7;Y143;X1 C;K"Line 44" F;SM7;X2 C;K"Other Credits (See P. 25)-------->>" F;SM7;X3 F;SM7;X4 F;SM7;X5 F;P27;F$2G;SM7;X6 C;K"<<-----------" F;SM7;X7 F;SM7;X8 F;SM7;X9 F;SM7;X10 F;P27;F$2G;SM7;X11 F;P27;F$2G;SM7;X12 C;K"<<-----------" F;SM7;X13 F;SM7;X14 F;SM7;X15 F;SM7;X16 F;SM7;X17 F;SM7;X18 F;SM7;X19 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;P0;FG0C;SM7;Y144;X1 F;SM7;X2 C;K" Forms 3800, and others (specify)" F;SM7;X3 F;SM7;X4 F;P27;F$2G;SM7;X5 C;K"---------------" F;P27;F$2G;SM7;X6 C;K"-------------" F;SM7;X7 F;SM7;X8 F;SM7;X9 F;SM7;X10 F;P27;F$2G;SM7;X11 F;P27;F$2G;SM7;X12 C;K"<<-----------" F;SM7;X13 F;SM7;X14 F;SM7;X15 F;SM7;X16 F;SM7;X17 F;SM7;X18 F;SM7;X19 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;P0;FG0C;SM7;Y145;X1 C;K"Line 45" F;SM7;X2 C;K"Add Lines 41 thru 44.------------------------>>" F;SM7;X3 F;SM7;X4 F;SM7;X5 F;P27;F$2G;SM7;X6 C;K0;ER[-5]C[-1]+R[-4]C[-1]+R[-3]C[-1]+R[-2]C[-1] F;SM7;X7 F;SM7;X8 F;SM7;X9 F;SM7;X10 F;P27;F$2G;SM7;X11 F;P27;F$2G;SM7;X12 C;K"<<-----------" F;SM7;X13 F;SM7;X14 F;SM7;X15 F;SM7;X16 F;SM7;X17 F;SM7;X18 F;SM7;X19 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;P0;FG0C;SM7;Y146;X1 C;K"Line 46" F;SM7;X2 C;K"Subtract Line 45 from Line 40.---------------->>" F;SM7;X3 F;SM7;X4 F;SM7;X5 F;P27;F$2G;SM7;X6 C;K0;EIF(R[-9]C-R[-1]C<0,0,R[-9]C-R[-1]C) F;SM7;X7 F;SM7;X8 F;SM7;X9 F;SM7;X10 F;P27;F$2G;SM7;X11 F;P27;F$2G;SM7;X12 C;K"<<-----------" F;SM7;X13 F;SM7;X14 F;SM7;X15 F;SM7;X16 F;SM7;X17 F;SM7;X18 F;SM7;X19 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;P0;FG0C;SM7;Y147;X1 F;SM7;X2 F;SM7;X3 F;SM7;X4 F;SM7;X5 F;P27;F$2G;SM7;X6 F;SM7;X7 F;SM7;X8 F;SM7;X9 F;SM7;X10 F;P27;F$2G;SM7;X11 F;P27;F$2G;SM7;X12 C;K"<<-----------" F;SM7;X13 F;SM7;X14 F;SM7;X15 F;SM7;X16 F;SM7;X17 F;SM7;X18 F;SM7;X19 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;P0;FG0C;SM7;Y148;X1 F;SM7;X2 C;K"Other Taxes" F;SM7;X3 F;SM7;X4 F;SM7;X5 F;P27;F$2G;SM7;X6 F;SM7;X7 F;SM7;X8 F;SM7;X9 F;SM7;X10 F;P27;F$2G;SM7;X11 F;P27;F$2G;SM7;X12 C;K"<<-----------" F;SM7;X13 F;SM7;X14 F;SM7;X15 F;SM7;X16 F;SM7;X17 F;SM7;X18 F;SM7;X19 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;P0;FG0C;SM7;Y149;X1 C;K"Line 47" F;SM7;X2 C;K"Self Employment Tax (Schedule SE)------------>>" F;SM7;X3 F;SM7;X4 F;SM7;X5 F;P27;F$2G;SM7;X6 F;SM7;X7 F;SM7;X8 F;SM7;X9 F;SM7;X10 F;P27;F$2G;SM7;X11 F;P27;F$2G;SM7;X12 C;K"<<-----------" F;SM7;X13 F;SM7;X14 F;SM7;X15 F;SM7;X16 F;SM7;X17 F;SM7;X18 F;SM7;X19 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;P0;FG0C;SM7;Y150;X1 C;K"Line 48" F;SM7;X2 C;K"Alternative Minimum Tax (Form 6251)--------->>" F;SM7;X3 F;SM7;X4 F;SM7;X5 F;P27;F$2G;SM7;X6 F;P0;FG0C;SM7;X7 C;K"Line 2" F;SM7;X8 C;K"Add the Amounts on Lines 1. Enter the Total-->>" F;SM7;X9 F;SM7;X10 F;SM7;X11 F;P27;F$2G;SM7;X12 C;K0;ESUM(R[-17]C[-1]:R[-1]C[-1]) F;SM7;X13 F;SM7;X14 F;SM7;X15 F;SM7;X16 F;SM7;X17 F;SM7;X18 F;SM7;X19 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;P0;FG0C;SM7;Y151;X1 C;K"Line 49" F;SM7;X2 C;K"Recapture Taxes (Forms 4255, 8611, or 8828)--->>" F;SM7;X3 F;SM7;X4 F;SM7;X5 F;P27;F$2G;SM7;X6 F;P0;FG0C;SM7;X7 C;K"Line 3" F;SM7;X8 C;K"Enter the Excludable Savings Bond Interest, If Any," F;SM7;X9 F;SM7;X10 F;SM7;X11 F;P27;F$2G;SM7;X12 C;K"-------------" F;SM7;X13 F;SM7;X14 F;SM7;X15 F;SM7;X16 F;SM7;X17 F;SM7;X18 F;SM7;X19 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;P0;FG0C;SM7;Y152;X1 C;K"Line 50" F;SM7;X2 C;K"Social Security Tax on Unreported Tip Income--->>" F;SM7;X3 F;SM7;X4 F;SM7;X5 F;P27;F$2G;SM7;X6 F;P0;FG0C;SM7;X7 F;SM7;X8 C;K"from Form 8815--------------------------->>" F;SM7;X9 F;SM7;X10 F;SM7;X11 F;P27;F$2G;SM7;X12 F;SM7;X13 F;SM7;X14 F;SM7;X15 F;SM7;X16 F;SM7;X17 F;SM7;X18 F;SM7;X19 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;P0;FG0C;SM7;Y153;X1 C;K"Line 51" F;SM7;X2 C;K"Tax on an IRA or a Qualified Retirement Plan---->>" F;SM7;X3 F;SM7;X4 F;SM7;X5 F;P27;F$2G;SM7;X6 F;P0;FG0C;SM7;X7 C;K"Line 4" F;SM7;X8 C;K"Subtract Line 3 from Line 2. Enter the Result Here" F;SM7;X9 F;SM7;X10 F;SM7;X11 F;P27;F$2G;SM7;X12 C;K"-------------" F;SM7;X13 F;SM7;X14 F;SM7;X15 F;SM7;X16 F;SM7;X17 F;SM7;X18 F;SM7;X19 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;P0;FG0C;SM7;Y154;X1 C;K"Line 52" F;SM7;X2 C;K"Advance Earned Income Credit Pymnts from W-2-->>" F;SM7;X3 F;SM7;X4 F;SM7;X5 F;P27;F$2G;SM7;X6 F;SM7;X7 F;SM7;X8 C;K"and on Form 1040, Line 8a------------------>>" F;SM7;X9 F;SM7;X10 F;SM7;X11 F;P27;F$2G;SM7;X12 C;K0;ER[-4]C-R[-2]C F;SM7;X13 F;SM7;X14 F;SM7;X15 F;SM7;X16 F;SM7;X17 F;SM7;X18 F;SM7;X19 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;P0;FG0C;SM7;Y155;X1 C;K"Line 53" F;SM7;X2 C;K"Household Employment Taxes (Schedule H)------->>" F;SM7;X3 F;SM7;X4 F;SM7;X5 F;P27;F$2G;SM7;X6 F;SM7;X7 F;SM7;X8 F;SM7;X9 C;K"End of Part I Interest Income" F;SM7;X10 F;SM7;X11 F;SM7;X12 F;SM7;X13 F;SM7;X14 F;SM7;X15 F;SM7;X16 F;SM7;X17 F;SM7;X18 F;SM7;X19 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;P0;FG0C;SM7;Y156;X1 C;K"Line 54" F;SM7;X2 C;K"Add Lines 46 through 53---------------------->>" F;SM7;X3 F;SM7;X4 F;SM7;X5 F;P27;F$2G;SM7;X6 C;K0;ER[-10]C+SUM(R[-7]C:R[-1]C) F;SM7;X7 F;SM7;X8 F;SM7;X9 F;SM7;X10 F;SM7;X11 F;SM7;X12 F;SM7;X13 F;SM7;X14 F;SM7;X15 F;SM7;X16 F;SM7;X17 F;SM7;X18 F;SM7;X19 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;P0;FG0C;SM7;Y157;X1 C;K"Line 54" F;SM7;X2 C;K"This Is Your Total Tax." F;SM7;X3 F;SM7;X4 F;SM7;X5 F;P27;F$2G;SM7;X6 F;SM7;X7 F;SM7;X8 F;SM7;X9 C;K"Part II Dividend Income" F;SM7;X10 F;SM7;X11 F;SM7;X12 F;SM7;X13 F;SM7;X14 F;SM7;X15 F;SM7;X16 F;SM7;X17 F;SM7;X18 F;SM7;X19 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;P0;FG0C;SM7;Y158;X1 F;SM7;X2 F;SM7;X3 F;SM7;X4 F;SM7;X5 F;P27;F$2G;SM7;X6 F;P0;FG0C;SM7;X7 C;K"Line 5" F;SM7;X8 C;K"Dividend Income (List Name of Payer - Include on This Line Capital" F;SM7;X9 F;SM7;X10 F;SM7;X11 F;SM7;X12 F;SM7;X13 F;SM7;X14 F;SM7;X15 F;SM7;X16 F;SM7;X17 F;SM7;X18 F;SM7;X19 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;P0;FG0C;SM7;Y159;X1 F;SM7;X2 C;K"Payments" F;SM7;X3 F;SM7;X4 F;SM7;X5 F;P27;F$2G;SM7;X6 F;SM7;X7 F;SM7;X8 C;K"Gain Distributions, Nontaxable Distributions, etc.)" F;SM7;X9 F;SM7;X10 F;SM7;X11 F;P27;F$2G;SM7;X12 C;K"-------------" F;SM7;X13 F;SM7;X14 F;SM7;X15 F;SM7;X16 F;SM7;X17 F;SM7;X18 F;SM7;X19 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;P0;FG0C;SM7;Y160;X1 C;K"Line 55" F;SM7;X2 C;K"Federal Income Tax Withheld---->>" F;SM7;X3 F;SM7;X4 F;P27;F$2G;SM7;X5 F;P27;F$2G;SM7;X6 C;K"<<-----------" F;SM7;X7 F;SM7;X8 F;SM7;X9 F;SM7;X10 F;P27;F$2G;SM7;X11 F;P27;F$2G;SM7;X12 C;K"<<-----------" F;SM7;X13 F;SM7;X14 F;SM7;X15 F;SM7;X16 F;SM7;X17 F;SM7;X18 F;SM7;X19 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;P0;FG0C;SM7;Y161;X1 C;K"Line 56" F;SM7;X2 C;K"1995 Estimated Tax Payments & Amount Applied" F;SM7;X3 F;SM7;X4 F;SM7;X5 F;P27;F$2G;SM7;X6 C;K"-------------" F;SM7;X7 F;SM7;X8 F;SM7;X9 F;SM7;X10 F;P27;F$2G;SM7;X11 F;P27;F$2G;SM7;X12 C;K"<<-----------" F;SM7;X13 F;SM7;X14 F;SM7;X15 F;SM7;X16 F;SM7;X17 F;SM7;X18 F;SM7;X19 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;P0;FG0C;SM7;Y162;X1 F;SM7;X2 C;K"from 1994 Return-------------->>" F;SM7;X3 F;SM7;X4 F;P27;F$2G;SM7;X5 F;P27;F$2G;SM7;X6 C;K"<<-----------" F;SM7;X7 F;SM7;X8 F;SM7;X9 F;SM7;X10 F;P27;F$2G;SM7;X11 F;P27;F$2G;SM7;X12 C;K"<<-----------" F;SM7;X13 F;SM7;X14 F;SM7;X15 F;SM7;X16 F;SM7;X17 F;SM7;X18 F;SM7;X19 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;P0;FG0C;SM7;Y163;X1 C;K"Line 57" F;SM7;X2 C;K"Earned Income Credit----------->>" F;SM7;X3 F;SM7;X4 F;P27;F$2G;SM7;X5 F;P27;F$2G;SM7;X6 C;K"<<-----------" F;SM7;X7 F;SM7;X8 F;SM7;X9 F;SM7;X10 F;P27;F$2G;SM7;X11 F;P27;F$2G;SM7;X12 C;K"<<-----------" F;SM7;X13 F;SM7;X14 F;SM7;X15 F;SM7;X16 F;SM7;X17 F;SM7;X18 F;SM7;X19 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;P0;FG0C;SM7;Y164;X1 C;K"Line 58" F;SM7;X2 C;K"Amount Paid with Form 4868---->>" F;SM7;X3 F;SM7;X4 F;P27;F$2G;SM7;X5 F;P27;F$2G;SM7;X6 C;K"<<-----------" F;SM7;X7 F;SM7;X8 F;SM7;X9 F;SM7;X10 F;P27;F$2G;SM7;X11 F;P27;F$2G;SM7;X12 C;K"<<-----------" F;SM7;X13 F;SM7;X14 F;SM7;X15 F;SM7;X16 F;SM7;X17 F;SM7;X18 F;SM7;X19 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;P0;FG0C;SM7;Y165;X1 C;K"Line 59" F;SM7;X2 C;K"Excess Social Security or RRTA-->>" F;SM7;X3 F;SM7;X4 F;P27;F$2G;SM7;X5 F;P27;F$2G;SM7;X6 C;K"<<-----------" F;SM7;X7 F;SM7;X8 F;SM7;X9 F;SM7;X10 F;P27;F$2G;SM7;X11 F;P27;F$2G;SM7;X12 C;K"<<-----------" F;SM7;X13 F;SM7;X14 F;SM7;X15 F;SM7;X16 F;SM7;X17 F;SM7;X18 F;SM7;X19 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;P0;FG0C;SM7;Y166;X1 C;K"Line 60a" F;SM7;X2 C;K"Other Payments (Form 2439)---->>" F;SM7;X3 F;SM7;X4 F;P27;F$2G;SM7;X5 F;P27;F$2G;SM7;X6 C;K"<<-----------" F;SM7;X7 F;SM7;X8 F;SM7;X9 F;SM7;X10 F;P27;F$2G;SM7;X11 F;P27;F$2G;SM7;X12 C;K"<<-----------" F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;P0;FG0C;SM7;Y167;X1 C;K"Line 60b" F;SM7;X2 C;K"Other Payments (Form 4136)---->>" F;SM7;X3 F;SM7;X4 F;P27;F$2G;SM7;X5 F;P27;F$2G;SM7;X6 C;K"<<-----------" F;SM7;X7 F;SM7;X8 F;SM7;X9 F;SM7;X10 F;P27;F$2G;SM7;X11 F;P27;F$2G;SM7;X12 C;K"<<-----------" F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;P0;FG0C;SM7;Y168;X1 C;K"Line 61" F;SM7;X2 C;K"Add Lines 55 through 60---------------------->>" F;SM7;X3 F;SM7;X4 F;SM7;X5 F;P27;F$2G;SM7;X6 C;K0;ER[-8]C[-1]+SUM(R[-6]C[-1]:R[-1]C[-1]) F;SM7;X7 F;SM7;X8 F;SM7;X9 F;SM7;X10 F;P27;F$2G;SM7;X11 F;SM7;X12 C;K"<<-----------" F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;P0;FG0C;SM7;Y169;X1 C;K"Line 61" F;SM7;X2 C;K"These Are Your Total Payments." F;SM7;X3 F;SM7;X4 F;SM7;X5 F;P27;F$2G;SM7;X6 F;SM7;X7 F;SM7;X8 F;SM7;X9 F;SM7;X10 F;P27;F$2G;SM7;X11 F;SM7;X12 C;K"<<-----------" F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;P0;FG0C;SM7;Y170;X1 F;SM7;X2 F;SM7;X3 F;SM7;X4 F;SM7;X5 F;P27;F$2G;SM7;X6 F;SM7;X7 F;SM7;X8 F;SM7;X9 F;SM7;X10 F;P27;F$2G;SM7;X11 F;SM7;X12 C;K"<<-----------" F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;P0;FG0C;SM7;Y171;X1 F;SM7;X2 C;K"Refund or Amount You Owe" F;SM7;X3 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;SM7;X7 F;SM7;X8 F;SM7;X9 F;SM7;X10 F;P27;F$2G;SM7;X11 F;SM7;X12 C;K"<<-----------" F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;P0;FG0C;SM7;Y172;X1 C;K"Line 62" F;SM7;X2 C;K"If Line 61 More than Line 54, Amount OVERPAID--->>" F;SM7;X3 F;SM7;X4 F;SM7;X5 F;P27;F$2G;SM7;X6 C;K0;EIF(R[-4]C>R[-16]C,R[-4]C-R[-16]C,0) F;SM7;X7 F;SM7;X8 F;SM7;X9 F;SM7;X10 F;P27;F$2G;SM7;X11 F;SM7;X12 C;K"<<-----------" F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;P0;FG0C;SM7;Y173;X1 C;K"Line 63" F;SM7;X2 C;K"Amount of Line 62 to be REFUNDED TO YOU-------->>" F;SM7;X3 F;SM7;X4 F;SM7;X5 F;P27;F$2G;SM7;X6 F;SM7;X7 F;SM7;X8 F;SM7;X9 F;SM7;X10 F;P27;F$2G;SM7;X11 F;SM7;X12 C;K"<<-----------" F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;P0;FG0C;SM7;Y174;X1 C;K"Line 64" F;SM7;X2 C;K"Amount of Line 62 to be APPLIED" F;SM7;X3 F;SM7;X4 F;P27;F$2G;SM7;X5 C;K"-------------" F;P27;F$2G;SM7;X6 C;K"-------------" F;P0;FG0C;SM7;X7 C;K"Line 6" F;SM7;X8 C;K"Add the Amounts on Line 5. Enter the Total--->>" F;SM7;X9 F;SM7;X10 F;P27;F$2G;SM7;X11 F;P27;F$2G;SM7;X12 C;K0;ESUM(R[-14]C[-1]:R[-1]C[-1]) F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;SM7;Y175;X1 F;SM7;X2 C;K" TO YOUR 1996 ESTIMATED TAX--->>" F;SM7;X3 F;SM7;X4 F;P27;F$2G;SM7;X5 C;K0;EIF(R[-3]C[+1]>0,R[-3]C[+1]-R[-2]C[+1],0) F;P27;F$2G;SM7;X6 C;K"<<-----------" F;P0;FG0C;SM7;X7 C;K"Line 7" F;SM7;X8 C;K"Capital Gain Distributions. Enter Here and on" F;SM7;X9 F;SM7;X10 F;P27;F$2G;SM7;X11 F;P27;F$2G;SM7;X12 C;K"-------------" F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;P0;FG0C;SM7;Y176;X1 C;K"Line 65" F;SM7;X2 C;K"If Line 54 More than Line 61, AMOUNT YOU OWE--->>" F;SM7;X3 F;SM7;X4 F;SM7;X5 F;P27;F$2G;SM7;X6 C;K0;EIF(R[-20]C>=R[-8]C,R[-20]C-R[-8]C+R[+1]C[-1],0+R[+1]C[-1]) F;SM7;X7 F;SM7;X8 C;K"Schedule D.-------->>" F;SM7;X9 F;P27;F$2G;SM7;X10 F;SM7;X11 C;K"<<-----------" F;P27;F$2G;SM7;X12 C;K"-------------" F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;P0;FG0C;SM7;Y177;X1 C;K"Line 66" F;SM7;X2 C;K"Estimated Tax Penalty(See p. 33)-->>" F;SM7;X3 F;SM7;X4 F;P27;F$2G;SM7;X5 F;P27;F$2G;SM7;X6 C;K"<<-----------" F;P0;FG0C;SM7;X7 C;K"Line 8" F;SM7;X8 C;K"Nontaxable Distributions. See the Instructions for Form 1040," F;SM7;X9 F;SM7;X10 F;SM7;X11 F;SM7;X12 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;SM7;Y178;X1 F;SM7;X2 F;SM7;X3 F;SM7;X4 F;P27;F$2G;SM7;X5 F;P27;F$2G;SM7;X6 F;SM7;X7 F;SM7;X8 C;K"Line 9.----------->>" F;SM7;X9 F;P27;F$2G;SM7;X10 F;SM7;X11 C;K"<<-----------" F;P27;F$2G;SM7;X12 C;K"-------------" F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;SM7;Y179;X1 F;SM7;X2 F;SM7;X3 F;SM7;X4 F;P27;F$2G;SM7;X5 F;P27;F$2G;SM7;X6 F;P0;FG0C;SM7;X7 C;K"Line 9" F;SM7;X8 C;K"Add the Amounts on Lines 7 and 8. Enter the Total->>" F;SM7;X9 F;SM7;X10 F;SM7;X11 F;P27;F$2G;SM7;X12 C;K0;ER[-3]C[-2]+R[-1]C[-2] F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;SM7;Y180;X1 F;SM7;X2 F;SM7;X3 F;SM7;X4 F;P27;F$2G;SM7;X5 F;P27;F$2G;SM7;X6 F;P0;FG0C;SM7;X7 C;K"Line 10" F;SM7;X8 C;K"Subtract Line 9 from Line 6. Enter the Result Here and on Form" F;SM7;X9 F;SM7;X10 F;SM7;X11 F;SM7;X12 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;SM7;Y181;X1 F;SM7;X2 F;SM7;X3 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;SM7;X7 F;SM7;X8 C;K"1040 , Line 9.------------------------------>>" F;SM7;X9 F;SM7;X10 F;SM7;X11 F;P27;F$2G;SM7;X12 C;K0;ER[-7]C-R[-2]C F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;SM7;Y182;X1 F;SM7;X2 F;SM7;X3 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;SM7;X7 F;SM7;X8 F;SM7;X9 C;K"End of Part II Dividend Income" F;SM7;X10 F;SM7;X11 F;SM7;X12 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;SM7;Y183;X1 F;SM7;X2 F;SM7;X3 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;SM7;X7 F;SM7;X8 F;SM7;X9 F;SM7;X10 F;SM7;X11 F;SM7;X12 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;SM7;Y184;X1 F;SM7;X2 F;SM7;X3 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;SM7;X7 F;SM7;X8 F;SM7;X9 C;K"Part III Foreign Accounts and Foreign Trusts" F;SM7;X10 F;SM7;X11 F;SM7;X12 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;SM7;Y185;X1 F;SM7;X2 F;SM7;X3 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;P0;FG0C;SM7;X7 C;K"Line 11a" F;SM7;X8 C;K"At any time during 1995, did you have an interest in or a" F;SM7;X9 F;SM7;X10 F;SM7;X11 F;SM7;X12 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;SM7;Y186;X1 F;SM7;X2 F;SM7;X3 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;SM7;X7 F;SM7;X8 C;K"signature or other authority over a financial account in a foreign" F;SM7;X9 F;SM7;X10 F;SM7;X11 F;SM7;X12 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;SM7;Y187;X1 F;SM7;X2 F;SM7;X3 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;SM7;X7 F;SM7;X8 C;K"country (such as a bank account, securities account, or other" F;SM7;X9 F;SM7;X10 F;SM7;X11 F;SM7;X12 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;SM7;Y188;X1 F;SM7;X2 F;SM7;X3 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;SM7;X7 F;SM7;X8 C;K"financial account)? (See page B-2 for exceptions and filing" F;SM7;X9 F;SM7;X10 F;SM7;X11 F;SM7;X12 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;SM7;Y189;X1 F;SM7;X2 F;SM7;X3 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;SM7;X7 F;SM7;X8 C;K"requirements for Form TD F 90-22.1)" F;SM7;X9 F;SM7;X10 F;SM7;X11 F;SM7;X12 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;SM7;Y190;X1 F;SM7;X2 F;SM7;X3 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;SM7;X7 F;SM7;X8 F;SM7;X9 F;SM7;X10 F;P0;FG0C;SM7;X11 C;K"YES" F;P0;FG0C;SM7;X12 C;K"NO" F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;SM7;Y191;X1 F;SM7;X2 F;SM7;X3 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;SM7;X7 F;SM7;X8 C;K"Check one Box Here------------>>" F;SM7;X9 F;SM7;X10 F;P0;FG0C;SM7;X11 F;P0;FG0C;SM7;X12 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;SM7;Y192;X1 F;SM7;X2 F;SM7;X3 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;P0;FG0C;SM7;X7 C;K"Line 11b" F;SM7;X8 C;K"If YES, enter the name of the foreign country.-->>" F;SM7;X9 F;SM7;X10 F;SM7;X11 F;SM7;X12 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;SM7;Y193;X1 F;SM7;X2 F;SM7;X3 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;P0;FG0C;SM7;X7 C;K"Line 12" F;SM7;X8 C;K"Were you the grantor of, or transferor to, a foreign trust that" F;SM7;X9 F;SM7;X10 F;SM7;X11 F;SM7;X12 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;SM7;Y194;X1 F;SM7;X2 F;SM7;X3 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;SM7;X7 F;SM7;X8 C;K"existed during 1995, whether or not you have" F;SM7;X9 F;SM7;X10 F;SM7;X11 F;SM7;X12 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;SM7;Y195;X1 F;SM7;X2 F;SM7;X3 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;SM7;X7 F;SM7;X8 C;K"any beneficial interest in it? If YES, you may have to file Forms" F;SM7;X9 F;SM7;X10 F;SM7;X11 F;SM7;X12 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;SM7;Y196;X1 F;SM7;X2 F;SM7;X3 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;SM7;X7 F;SM7;X8 C;K"3520, 3520-A, or 926." F;SM7;X9 F;SM7;X10 F;SM7;X11 F;SM7;X12 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;SM7;Y197;X1 F;SM7;X2 F;SM7;X3 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;SM7;X7 F;SM7;X8 F;SM7;X9 F;SM7;X10 F;P0;FG0C;SM7;X11 C;K"YES" F;P0;FG0C;SM7;X12 C;K"NO" F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;SM7;Y198;X1 F;SM7;X2 F;SM7;X3 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;SM7;X7 F;SM7;X8 C;K"Check one Box Here------------>>" F;SM7;X9 F;SM7;X10 F;P0;FG0C;SM7;X11 F;P0;FG0C;SM7;X12 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;SM7;Y199;X1 F;SM7;X2 F;SM7;X3 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;SM7;X7 F;SM7;X8 F;SM7;X9 C;K"End of Part III Foreign Accounts and Foreign Trusts" F;SM7;X10 F;SM7;X11 F;SM7;X12 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;SM7;Y200;X1 F;SM7;X2 F;SM7;X3 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;SM7;X7 F;SM7;X8 F;SM7;X9 F;SM7;X10 F;SM7;X11 F;SM7;X12 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;SM7;Y201;X1 F;SM7;X2 F;SM7;X3 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;SM7;X7 F;SM7;X8 F;SM7;X9 F;SM7;X10 F;SM7;X11 F;SM7;X12 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;SM7;Y202;X1 F;SM7;X2 F;SM7;X3 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;SM7;X7 F;SM7;X8 F;SM7;X9 F;SM7;X10 F;SM7;X11 F;SM7;X12 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;SM7;Y203;X1 F;SM7;X2 F;SM7;X3 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;SM7;X7 F;SM7;X8 F;SM7;X9 F;SM7;X10 F;SM7;X11 F;SM7;X12 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;SM7;Y204;X1 F;SM7;X2 F;SM7;X3 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;SM7;X7 F;SM7;X8 F;SM7;X9 F;SM7;X10 F;SM7;X11 F;SM7;X12 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;SM7;Y205;X1 F;SM7;X2 F;SM7;X3 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;SM7;X7 F;SM7;X8 F;SM7;X9 F;SM7;X10 F;SM7;X11 F;SM7;X12 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;SM7;Y206;X1 F;SM7;X2 F;SM7;X3 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;SM7;X7 F;SM7;X8 F;SM7;X9 F;SM7;X10 F;SM7;X11 F;SM7;X12 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;SM7;Y207;X1 F;SM7;X2 F;SM7;X3 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;SM7;X7 F;SM7;X8 F;SM7;X9 F;SM7;X10 F;SM7;X11 F;SM7;X12 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;SM7;Y208;X1 F;SM7;X2 F;SM7;X3 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;SM7;X7 F;SM7;X8 F;SM7;X9 F;SM7;X10 F;SM7;X11 F;SM7;X12 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;SM7;Y209;X1 F;SM7;X2 F;SM7;X3 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;SM7;X7 F;SM7;X8 F;SM7;X9 F;SM7;X10 F;SM7;X11 F;SM7;X12 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;SM7;Y210;X1 F;SM7;X2 F;SM7;X3 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;SM7;X7 F;SM7;X8 F;SM7;X9 F;P0;FG0L;SM7;X10 F;SM7;X11 F;SM7;X12 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;SM7;Y211;X1 F;SM7;X2 F;SM7;X3 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;SM7;X7 F;SM7;X8 F;SM7;X9 F;P0;FG0L;SM7;X10 F;SM7;X11 F;SM7;X12 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;SM7;Y212;X1 F;SM7;X2 F;SM7;X3 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;SM7;X7 F;SM7;X8 F;SM7;X9 F;P0;FG0L;SM7;X10 F;SM7;X11 F;SM7;X12 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;SM7;Y213;X1 F;SM7;X2 F;SM7;X3 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;SM7;X7 F;SM7;X8 F;SM7;X9 F;P0;FG0L;SM7;X10 F;SM7;X11 F;SM7;X12 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;SM7;Y214;X1 F;SM7;X2 F;SM7;X3 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;SM7;X7 F;SM7;X8 F;SM7;X9 F;SM7;X10 F;SM7;X11 F;SM7;X12 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;SM7;Y215;X1 C;K"START OF TABLE FOR STANDARD DEDUCTION CALCULATION" F;SM7;X2 F;SM7;X3 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;SM7;X7 F;SM7;X8 F;SM7;X9 F;SM7;X10 F;SM7;X11 F;SM7;X12 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;SM7;Y216;X1 C;K0 F;SM7;X2 C;K""ERROR-FILING STATUS"" F;SM7;X3 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;SM7;X7 F;SM7;X8 F;SM7;X9 F;SM7;X10 F;SM7;X11 F;SM7;X12 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;SM7;Y217;X1 C;K1 F;SM7;X2 C;K""ERROR-FILING STATUS"" F;SM7;X3 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;SM7;X7 F;SM7;X8 F;SM7;X9 F;SM7;X10 F;SM7;X11 F;SM7;X12 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;SM7;Y218;X1 C;K2 F;SM7;X2 C;K""ERROR-FILING STATUS"" F;SM7;X3 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;SM7;X7 F;SM7;X8 F;SM7;X9 F;SM7;X10 F;SM7;X11 F;SM7;X12 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;SM7;Y219;X1 C;K3 F;SM7;X2 C;K""ERROR-FILING STATUS"" F;SM7;X3 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;SM7;X7 F;SM7;X8 F;SM7;X9 F;SM7;X10 F;SM7;X11 F;SM7;X12 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;SM7;Y220;X1 C;K4 F;SM7;X2 C;K""ERROR-FILING STATUS"" F;SM7;X3 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;SM7;X7 F;SM7;X8 F;SM7;X9 F;SM7;X10 F;SM7;X11 F;SM7;X12 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;SM7;Y221;X1 C;K5 F;SM7;X2 C;K3900 F;SM7;X3 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;SM7;X7 F;SM7;X8 F;SM7;X9 F;SM7;X10 F;SM7;X11 F;SM7;X12 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;SM7;Y222;X1 C;K6 F;SM7;X2 C;K4850 F;SM7;X3 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;SM7;X7 F;SM7;X8 F;SM7;X9 F;SM7;X10 F;SM7;X11 F;SM7;X12 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;SM7;Y223;X1 C;K7 F;SM7;X2 C;K5800 F;SM7;X3 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;SM7;X7 F;SM7;X8 F;SM7;X9 F;SM7;X10 F;SM7;X11 F;SM7;X12 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;SM7;Y224;X1 C;K8 F;SM7;X2 C;K""ERROR-LINE 33a"" F;SM7;X3 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;SM7;X7 F;SM7;X8 F;SM7;X9 F;SM7;X10 F;SM7;X11 F;SM7;X12 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;SM7;Y225;X1 C;K9 F;SM7;X2 C;K""ERROR-LINE 33a"" F;SM7;X3 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;SM7;X7 F;SM7;X8 F;SM7;X9 F;SM7;X10 F;SM7;X11 F;SM7;X12 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;SM7;Y226;X1 C;K10 F;SM7;X2 C;K6550 F;SM7;X3 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;SM7;X7 F;SM7;X8 F;SM7;X9 F;SM7;X10 F;SM7;X11 F;SM7;X12 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;SM7;Y227;X1 C;K11 F;SM7;X2 C;K7300 F;SM7;X3 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;SM7;X7 F;SM7;X8 F;SM7;X9 F;SM7;X10 F;SM7;X11 F;SM7;X12 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;SM7;Y228;X1 C;K12 F;SM7;X2 C;K8050 F;SM7;X3 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;SM7;X7 F;SM7;X8 F;SM7;X9 F;SM7;X10 F;SM7;X11 F;SM7;X12 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;SM7;Y229;X1 C;K13 F;SM7;X2 C;K8800 F;SM7;X3 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;SM7;X7 F;SM7;X8 F;SM7;X9 F;SM7;X10 F;SM7;X11 F;SM7;X12 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;SM7;Y230;X1 C;K14 F;SM7;X2 C;K9550 F;SM7;X3 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;SM7;X7 F;SM7;X8 F;SM7;X9 F;SM7;X10 F;SM7;X11 F;SM7;X12 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;SM7;Y231;X1 C;K15 F;SM7;X2 C;K3275 F;SM7;X3 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;SM7;X7 F;SM7;X8 F;SM7;X9 F;SM7;X10 F;SM7;X11 F;SM7;X12 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;SM7;Y232;X1 C;K16 F;SM7;X2 C;K4025 F;SM7;X3 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;SM7;X7 F;SM7;X8 F;SM7;X9 F;SM7;X10 F;SM7;X11 F;SM7;X12 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;SM7;Y233;X1 C;K17 F;SM7;X2 C;K4775 F;SM7;X3 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;SM7;X7 F;SM7;X8 F;SM7;X9 F;SM7;X10 F;SM7;X11 F;SM7;X12 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;SM7;Y234;X1 C;K18 F;SM7;X2 C;K5525 F;SM7;X3 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;SM7;X7 F;SM7;X8 F;SM7;X9 F;SM7;X10 F;SM7;X11 F;SM7;X12 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;SM7;Y235;X1 C;K19 F;SM7;X2 C;K6275 F;SM7;X3 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;SM7;X7 F;SM7;X8 F;SM7;X9 F;SM7;X10 F;SM7;X11 F;SM7;X12 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;SM7;Y236;X1 C;K20 F;SM7;X2 C;K5750 F;SM7;X3 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;SM7;X7 F;SM7;X8 F;SM7;X9 F;SM7;X10 F;SM7;X11 F;SM7;X12 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;SM7;Y237;X1 C;K21 F;SM7;X2 C;K6700 F;SM7;X3 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;SM7;X7 F;SM7;X8 F;SM7;X9 F;SM7;X10 F;SM7;X11 F;SM7;X12 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;SM7;Y238;X1 C;K22 F;SM7;X2 C;K7650 F;SM7;X3 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;SM7;X7 F;SM7;X8 F;SM7;X9 F;SM7;X10 F;SM7;X11 F;SM7;X12 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;SM7;Y239;X1 C;K23 F;SM7;X2 C;K""ERROR-LINE 33a"" F;SM7;X3 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;SM7;X7 F;SM7;X8 F;SM7;X9 F;SM7;X10 F;SM7;X11 F;SM7;X12 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;SM7;Y240;X1 C;K24 F;SM7;X2 C;K""ERROR-LINE 33a"" F;SM7;X3 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;SM7;X7 F;SM7;X8 F;SM7;X9 F;SM7;X10 F;SM7;X11 F;SM7;X12 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;SM7;Y241;X1 C;K25 F;SM7;X2 C;K6550 F;SM7;X3 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;SM7;X7 F;SM7;X8 F;SM7;X9 F;SM7;X10 F;SM7;X11 F;SM7;X12 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;SM7;Y242;X1 C;K26 F;SM7;X2 C;K7300 F;SM7;X3 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;SM7;X7 F;SM7;X8 F;SM7;X9 F;SM7;X10 F;SM7;X11 F;SM7;X12 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;SM7;Y243;X1 C;K27 F;SM7;X2 C;K8050 F;SM7;X3 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;SM7;X7 F;SM7;X8 F;SM7;X9 F;SM7;X10 F;SM7;X11 F;SM7;X12 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;SM7;Y244;X1 C;K28 F;SM7;X2 C;K8800 F;SM7;X3 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;SM7;Y245;X1 C;K29 F;SM7;X2 C;K9550 F;SM7;X3 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;SM7;Y246;X1 C;K30 F;SM7;X2 C;K""ERROR-FILING STATUS"" F;SM7;X3 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 F;SM7;Y247;X1 C;K"END OF TABLE FOR STANDARD DEDUCTION CALCULATION" F;SM7;X2 F;SM7;X3 F;SM7;X4 F;SM7;X5 F;SM7;X6 F;SM7;X20 F;SM7;X21 F;SM7;X22 F;SM7;X23 F;SM7;X24 F;SM7;X25 E \ No newline at end of file
diff --git a/testautomation/spreadsheet/optional/input/loadsave/preselected_filter/rtf.rtf b/testautomation/spreadsheet/optional/input/loadsave/preselected_filter/rtf.rtf
new file mode 100755
index 000000000000..f9faf5e9ef60
--- /dev/null
+++ b/testautomation/spreadsheet/optional/input/loadsave/preselected_filter/rtf.rtf
@@ -0,0 +1,218 @@
+{\rtf1\adeflang1025\ansi\ansicpg1252\uc1\adeff0\deff0\stshfdbch13\stshfloch0\stshfhich0\stshfbi0\deflang1033\deflangfe2052{\fonttbl{\f0\froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\f3\froman\fcharset2\fprq2{\*\panose 05050102010706020507}Symbol;}
+{\f4\fswiss\fcharset0\fprq2{\*\panose 020b0604020202020204}Helvetica;}{\f5\fmodern\fcharset0\fprq1{\*\panose 02070409020205020404}Courier;}{\f13\fnil\fcharset134\fprq2{\*\panose 02010600030101010101}SimSun{\*\falt ??\'a8\'ac?};}
+{\f37\fswiss\fcharset0\fprq2{\*\panose 00000000000000000000}AvantGarde;}{\f89\froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times;}{\f104\fnil\fcharset134\fprq2{\*\panose 02010600030101010101}@SimSun;}
+{\f110\froman\fcharset238\fprq2 Times New Roman CE;}{\f111\froman\fcharset204\fprq2 Times New Roman Cyr;}{\f113\froman\fcharset161\fprq2 Times New Roman Greek;}{\f114\froman\fcharset162\fprq2 Times New Roman Tur;}
+{\f115\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew);}{\f116\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic);}{\f117\froman\fcharset186\fprq2 Times New Roman Baltic;}{\f118\froman\fcharset163\fprq2 Times New Roman (Vietnamese);}
+{\f150\fswiss\fcharset238\fprq2 Helvetica CE;}{\f151\fswiss\fcharset204\fprq2 Helvetica Cyr;}{\f153\fswiss\fcharset161\fprq2 Helvetica Greek;}{\f154\fswiss\fcharset162\fprq2 Helvetica Tur;}{\f155\fbidi \fswiss\fcharset177\fprq2 Helvetica (Hebrew);}
+{\f156\fbidi \fswiss\fcharset178\fprq2 Helvetica (Arabic);}{\f157\fswiss\fcharset186\fprq2 Helvetica Baltic;}{\f158\fswiss\fcharset163\fprq2 Helvetica (Vietnamese);}{\f242\fnil\fcharset0\fprq2 SimSun Western{\*\falt ??\'a8\'ac?};}
+{\f1000\froman\fcharset238\fprq2 Times CE;}{\f1001\froman\fcharset204\fprq2 Times Cyr;}{\f1003\froman\fcharset161\fprq2 Times Greek;}{\f1004\froman\fcharset162\fprq2 Times Tur;}{\f1005\fbidi \froman\fcharset177\fprq2 Times (Hebrew);}
+{\f1006\fbidi \froman\fcharset178\fprq2 Times (Arabic);}{\f1007\froman\fcharset186\fprq2 Times Baltic;}{\f1008\froman\fcharset163\fprq2 Times (Vietnamese);}{\f1152\fnil\fcharset0\fprq2 @SimSun Western;}}{\colortbl;\red0\green0\blue0;\red0\green0\blue255;
+\red0\green255\blue255;\red0\green255\blue0;\red255\green0\blue255;\red255\green0\blue0;\red255\green255\blue0;\red255\green255\blue255;\red0\green0\blue128;\red0\green128\blue128;\red0\green128\blue0;\red128\green0\blue128;\red128\green0\blue0;
+\red128\green128\blue0;\red128\green128\blue128;\red192\green192\blue192;}{\stylesheet{\ql \li0\ri0\widctlpar\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0 \rtlch\fcs1 \af0\afs24\alang1025 \ltrch\fcs0
+\fs24\lang1033\langfe2052\loch\f0\hich\af0\dbch\af13\cgrid\langnp1033\langfenp2052 \snext0 Normal;}{\s1\ql \li0\ri0\sb120\sl-220\slmult0\nowidctlpar\faauto\outlinelevel0\rin0\lin0\itap0 \rtlch\fcs1 \ab\af4\afs22\alang1025 \ltrch\fcs0
+\b\fs22\lang1024\langfe1024\loch\f4\hich\af4\dbch\af13\cgrid\noproof\langnp1033\langfenp2052 \sbasedon0 \snext0 heading 1;}{\*\cs10 \additive \ssemihidden Default Paragraph Font;}{\*
+\ts11\tsrowd\trftsWidthB3\trpaddl108\trpaddr108\trpaddfl3\trpaddft3\trpaddfb3\trpaddfr3\tscellwidthfts0\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv
+\ql \li0\ri0\widctlpar\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0 \rtlch\fcs1 \af0\afs20 \ltrch\fcs0 \fs20\lang1024\langfe1024\loch\f0\hich\af0\dbch\af13\cgrid\langnp1024\langfenp1024 \snext11 \ssemihidden Normal Table;}{
+\s15\ql \li0\ri0\sa120\sl-160\slmult0\nowidctlpar\tx1071\tqc\tx3056\tqr\tx5607\tqdec\tx7592\tx13680\tx14820\tx15960\tx17100\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af4\afs16\alang1025 \ltrch\fcs0
+\fs16\lang1024\langfe1024\loch\f4\hich\af4\dbch\af13\cgrid\noproof\langnp1033\langfenp2052 \snext15 Fu\'dfnotentext;}{\s16\ql \li0\ri0\sl-240\slmult0\nowidctlpar
+\tx1140\tx2280\tx3420\tx4560\tx5700\tx6840\tx7980\tx9120\tx10260\tx11400\tx12540\tx13680\tx14820\tx15960\tx17100\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af4\afs22\alang1025 \ltrch\fcs0
+\fs22\lang1024\langfe1024\loch\f4\hich\af4\dbch\af13\cgrid\noproof\langnp1033\langfenp2052 \snext16 Standardabsatz;}{\*\cs17 \additive \rtlch\fcs1 \af0 \ltrch\fcs0 \super \sbasedon10 \ssemihidden \styrsid205461 endnote reference;}{\*\cs18 \additive
+\rtlch\fcs1 \af0 \ltrch\fcs0 \super \sbasedon10 \ssemihidden \styrsid205461 footnote reference;}{\s19\ql \li0\ri0\widctlpar\tqc\tx4703\tqr\tx9406\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0 \rtlch\fcs1 \af0\afs24\alang1025 \ltrch\fcs0
+\fs24\lang1033\langfe2052\loch\f0\hich\af0\dbch\af13\cgrid\langnp1033\langfenp2052 \sbasedon0 \snext19 \styrsid205461 header;}{\s20\ql \li0\ri0\widctlpar\tqc\tx4703\tqr\tx9406\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0 \rtlch\fcs1
+\af0\afs24\alang1025 \ltrch\fcs0 \fs24\lang1033\langfe2052\loch\f0\hich\af0\dbch\af13\cgrid\langnp1033\langfenp2052 \sbasedon0 \snext20 \styrsid205461 footer;}}{\*\latentstyles\lsdstimax156\lsdlockeddef0}{\*\rsidtbl \rsid205461\rsid9782110}{\*\generator M
+icrosoft Word 11.0.6568;}{\info{\title \'dcberschrift}{\author Oliver Craemer}{\operator Oliver Craemer}{\creatim\yr2006\mo3\dy24\hr14\min21}{\revtim\yr2006\mo3\dy24\hr14\min21}{\version2}{\edmins0}{\nofpages3}{\nofwords433}{\nofchars2469}
+{\*\company Star Office Entwicklungs GmbH}{\nofcharsws2897}{\vern24579}}\paperw11906\paperh16838\margl1134\margr1134\margt1764\margb1701\ltrsect \widowctrl\ftnbj\aenddoc\noxlattoyen\expshrtn\noultrlspc\dntblnsbdb\nospaceforul\hyphcaps0\horzdoc\dghspace120
+\dgvspace120\dghorigin1701\dgvorigin1984\dghshow0\dgvshow3\jcompress\viewkind1\viewscale100\nolnhtadjtbl\rsidroot205461 \fet0{\*\ftnsep \ltrpar \pard\plain \ltrpar\ql \li0\ri0\widctlpar\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0 \rtlch\fcs1
+\af0\afs24\alang1025 \ltrch\fcs0 \fs24\lang1033\langfe2052\loch\af0\hich\af0\dbch\af13\cgrid\langnp1033\langfenp2052 {\rtlch\fcs1 \af0 \ltrch\fcs0 \insrsid205461 \chftnsep
+\par }}{\*\ftnsepc \ltrpar \pard\plain \ltrpar\ql \li0\ri0\widctlpar\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0 \rtlch\fcs1 \af0\afs24\alang1025 \ltrch\fcs0 \fs24\lang1033\langfe2052\loch\af0\hich\af0\dbch\af13\cgrid\langnp1033\langfenp2052 {
+\rtlch\fcs1 \af0 \ltrch\fcs0 \insrsid205461 \chftnsepc
+\par }}{\*\aftnsep \ltrpar \pard\plain \ltrpar\ql \li0\ri0\widctlpar\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0 \rtlch\fcs1 \af0\afs24\alang1025 \ltrch\fcs0 \fs24\lang1033\langfe2052\loch\af0\hich\af0\dbch\af13\cgrid\langnp1033\langfenp2052 {
+\rtlch\fcs1 \af0 \ltrch\fcs0 \insrsid205461 \chftnsep
+\par }}{\*\aftnsepc \ltrpar \pard\plain \ltrpar\ql \li0\ri0\widctlpar\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0 \rtlch\fcs1 \af0\afs24\alang1025 \ltrch\fcs0 \fs24\lang1033\langfe2052\loch\af0\hich\af0\dbch\af13\cgrid\langnp1033\langfenp2052 {
+\rtlch\fcs1 \af0 \ltrch\fcs0 \insrsid205461 \chftnsepc
+\par }}\ltrpar \sectd \ltrsect\linex0\headery567\footery931\endnhere\sectdefaultcl\sftnbj {\header \ltrpar \pard\plain \ltrpar\s16\ql \fi1134\li63\ri63\sa60\sl-260\slmult0\nowidctlpar
+\tqr\tx8644\tx11463\tx12603\tx13743\tx14883\tx16023\tx17163\faauto\rin63\lin63\itap0 \rtlch\fcs1 \af4\afs22\alang1025 \ltrch\fcs0 \fs22\lang1024\langfe1024\loch\af4\hich\af4\dbch\af13\cgrid\noproof\langnp1033\langfenp2052 {\rtlch\fcs1 \af4\afs24
+\ltrch\fcs0 \fs24\lang1024\langfe1024\langnp1031\insrsid205461\charrsid205461 \hich\af4\dbch\af13\loch\f4 Dies ist eine Kopfzeile in Helvetica 12 Pt.\tab }{\rtlch\fcs1 \ab\af4\afs24 \ltrch\fcs0
+\b\fs24\lang1024\langfe1024\langnp1031\insrsid205461\charrsid205461 \hich\af4\dbch\af13\loch\f4 Seite }{\field{\*\fldinst {\rtlch\fcs1 \ab\af4\afs24 \ltrch\fcs0 \b\fs24\lang1024\langfe1024\langnp1031\insrsid205461\charrsid205461
+\hich\af4\dbch\af13\loch\f4 page arabic}}{\fldrslt {\rtlch\fcs1 \ab\af4\afs24 \ltrch\fcs0 \b\fs24\lang1024\langfe1024\langnp1031\insrsid9782110 \hich\af4\dbch\af13\loch\f4 2}}}{\rtlch\fcs1 \af4\afs24 \ltrch\fcs0
+\fs24\lang1024\langfe1024\langnp1031\insrsid205461\charrsid205461
+\par }\pard \ltrpar\s16\ql \fi1134\li63\ri63\sa120\sl-240\slmult0\nowidctlpar\tx5670\tqr\tx9576\tx11463\tx12603\tx13743\tx14883\tx16023\tx17163\faauto\rin63\lin63\itap0 {\rtlch\fcs1 \af89 \ltrch\fcs0
+\f89\lang1024\langfe1024\langnp1031\insrsid205461\charrsid205461 \hich\af89\dbch\af13\loch\f89 Das ist die zweite Zeile der Kopfzeile mit einem\tab TAB bei 12\hich\af89\dbch\af13\loch\f89 cm.
+\par }}{\footer \ltrpar \pard\plain \ltrpar\s16\qc \li63\ri63\sl-180\slmult0\nowidctlpar\tx1203\tx2343\tx3483\tx4623\tx5763\tx6903\tx8043\tx9183\tx10323\tx11463\tx12603\tx13743\tx14883\tx16023\tx17163\faauto\rin63\lin63\itap0 \rtlch\fcs1 \af4\afs22\alang1025
+\ltrch\fcs0 \fs22\lang1024\langfe1024\loch\af4\hich\af4\dbch\af13\cgrid\noproof\langnp1033\langfenp2052 {\rtlch\fcs1 \af89\afs16 \ltrch\fcs0 \f89\fs16\insrsid205461 \hich\af89\dbch\af13\loch\f89 \hich\f89 (Das sind zentrierte Fu\'df\loch\f89 zeilen)
+
+\par }}{\*\pnseclvl1\pnucrm\pnqc\pnstart1\pnindent720\pnhang {\pntxta .}}{\*\pnseclvl2\pnucltr\pnqc\pnstart1\pnindent720\pnhang {\pntxta .}}{\*\pnseclvl3\pndec\pnqc\pnstart1\pnindent720\pnhang {\pntxta .}}{\*\pnseclvl4\pnlcltr\pnqc\pnstart1\pnindent720\pnhang
+{\pntxta )}}{\*\pnseclvl5\pndec\pnqc\pnstart1\pnindent720\pnhang {\pntxtb (}{\pntxta )}}{\*\pnseclvl6\pnlcltr\pnqc\pnstart1\pnindent720\pnhang {\pntxtb (}{\pntxta )}}{\*\pnseclvl7\pnlcrm\pnqc\pnstart1\pnindent720\pnhang {\pntxtb (}{\pntxta )}}
+{\*\pnseclvl8\pnlcltr\pnqc\pnstart1\pnindent720\pnhang {\pntxtb (}{\pntxta )}}{\*\pnseclvl9\pnlcrm\pnqc\pnstart1\pnindent720\pnhang {\pntxtb (}{\pntxta )}}\pard\plain \ltrpar\s16\qc \li63\ri63\sa120\sl-840\slmult0\nowidctlpar
+\tx1203\tx2343\tx3483\tx4623\tx5763\tx6903\tx8043\tx9183\tx10323\tx11463\tx12603\tx13743\tx14883\tx16023\tx17163\faauto\rin63\lin63\itap0\pararsid205461 \rtlch\fcs1 \af4\afs22\alang1025 \ltrch\fcs0
+\fs22\lang1024\langfe1024\loch\af4\hich\af4\dbch\af13\cgrid\noproof\langnp1033\langfenp2052 {\rtlch\fcs1 \ab\af4\afs72 \ltrch\fcs0 \b\fs72\lang1024\langfe1024\langnp1031\insrsid205461 \loch\af4\dbch\af13\hich\f4 \'dc\loch\f4 berschrift}{\rtlch\fcs1
+\ab\af4\afs72 \ltrch\fcs0 \b\fs72\lang1024\langfe1024\langnp1031\insrsid205461\charrsid205461 \line }{\rtlch\fcs1 \ab\af4 \ltrch\fcs0 \b\insrsid205461
+\par }\pard \ltrpar\s16\ql \li63\ri63\sl-240\slmult0\nowidctlpar\tx13743\tx14883\tx16023\tx17163\faauto\rin63\lin63\itap0 {\rtlch\fcs1 \af4 \ltrch\fcs0 \insrsid205461
+\par }{\rtlch\fcs1 \af4 \ltrch\fcs0 \lang1024\langfe1024\langnp1031\insrsid205461\charrsid205461 \hich\af4\dbch\af13\loch\f4 Hier werden einige }{\rtlch\fcs1 \ab\ai\af4 \ltrch\fcs0 \b\i\lang1024\langfe1024\langnp1031\insrsid205461\charrsid205461
+\hich\af4\dbch\af13\loch\f4 \hich\f4 Fonts und Schriftgr\'f6\'df\loch\f4 en }{\rtlch\fcs1 \af4 \ltrch\fcs0 \lang1024\langfe1024\langnp1031\insrsid205461\charrsid205461 \hich\af4\dbch\af13\loch\f4 getestet:
+\par }\pard \ltrpar\s16\ql \li63\ri63\sl-480\slmult0\nowidctlpar\tx13743\tx14883\tx16023\tx17163\faauto\rin63\lin63\itap0 {\rtlch\fcs1 \af4\afs48 \ltrch\fcs0 \fs48\lang1024\langfe1024\langnp1031\insrsid205461\charrsid205461 \hich\af4\dbch\af13\loch\f4
+Helvetica 24 Punkte }{\rtlch\fcs1 \af4\afs28 \ltrch\fcs0 \fs28\lang1024\langfe1024\langnp1031\insrsid205461\charrsid205461 \hich\af4\dbch\af13\loch\f4 14 Punkte }{\rtlch\fcs1 \af4\afs20 \ltrch\fcs0
+\fs20\lang1024\langfe1024\langnp1031\insrsid205461\charrsid205461 \hich\af4\dbch\af13\loch\f4 10 Punkte }{\rtlch\fcs1 \af4\afs16 \ltrch\fcs0 \fs16\lang1024\langfe1024\langnp1031\insrsid205461\charrsid205461 \hich\af4\dbch\af13\loch\f4 8 Punkte}{
+\rtlch\fcs1 \af4\afs48 \ltrch\fcs0 \fs48\lang1024\langfe1024\langnp1031\insrsid205461\charrsid205461
+\par }{\rtlch\fcs1 \af37\afs48 \ltrch\fcs0 \f37\fs48\lang1024\langfe1024\langnp1031\insrsid205461\charrsid205461 \hich\af37\dbch\af13\loch\f37 Avantgarde 24 Punkte }{\rtlch\fcs1 \af37\afs28 \ltrch\fcs0
+\f37\fs28\lang1024\langfe1024\langnp1031\insrsid205461\charrsid205461 \hich\af37\dbch\af13\loch\f37 14 Punkte }{\rtlch\fcs1 \af37\afs20 \ltrch\fcs0 \f37\fs20\lang1024\langfe1024\langnp1031\insrsid205461\charrsid205461 \hich\af37\dbch\af13\loch\f37
+10 Punkte }{\rtlch\fcs1 \af37\afs16 \ltrch\fcs0 \f37\fs16\lang1024\langfe1024\langnp1031\insrsid205461\charrsid205461 \hich\af37\dbch\af13\loch\f37 8 Punkte}{\rtlch\fcs1 \af37\afs48 \ltrch\fcs0
+\f37\fs48\lang1024\langfe1024\langnp1031\insrsid205461\charrsid205461
+\par }{\rtlch\fcs1 \af89\afs48 \ltrch\fcs0 \f89\fs48\lang1024\langfe1024\langnp1031\insrsid205461\charrsid205461 \hich\af89\dbch\af13\loch\f89 Times 24 Punkte }{\rtlch\fcs1 \af89\afs28 \ltrch\fcs0
+\f89\fs28\lang1024\langfe1024\langnp1031\insrsid205461\charrsid205461 \hich\af89\dbch\af13\loch\f89 14 Punkte }{\rtlch\fcs1 \af89\afs20 \ltrch\fcs0 \f89\fs20\lang1024\langfe1024\langnp1031\insrsid205461\charrsid205461 \hich\af89\dbch\af13\loch\f89
+10 Punkte }{\rtlch\fcs1 \af89\afs16 \ltrch\fcs0 \f89\fs16\lang1024\langfe1024\langnp1031\insrsid205461\charrsid205461 \hich\af89\dbch\af13\loch\f89 8\hich\af89\dbch\af13\loch\f89 Punkte}{\rtlch\fcs1 \af89\afs48 \ltrch\fcs0
+\f89\fs48\lang1024\langfe1024\langnp1031\insrsid205461\charrsid205461
+\par }{\rtlch\fcs1 \af5\afs48 \ltrch\fcs0 \f5\fs48\lang1024\langfe1024\langnp1031\insrsid205461\charrsid205461 \hich\af5\dbch\af13\loch\f5 Courier 24 Punkte }{\rtlch\fcs1 \af5\afs28 \ltrch\fcs0
+\f5\fs28\lang1024\langfe1024\langnp1031\insrsid205461\charrsid205461 \hich\af5\dbch\af13\loch\f5 14 Punkte }{\rtlch\fcs1 \af5\afs20 \ltrch\fcs0 \f5\fs20\lang1024\langfe1024\langnp1031\insrsid205461\charrsid205461 \hich\af5\dbch\af13\loch\f5 10 Punkte }{
+\rtlch\fcs1 \af5\afs16 \ltrch\fcs0 \f5\fs16\lang1024\langfe1024\langnp1031\insrsid205461\charrsid205461 \hich\af5\dbch\af13\loch\f5 8 Punkte}{\rtlch\fcs1 \af5\afs48 \ltrch\fcs0 \f5\fs48\lang1024\langfe1024\langnp1031\insrsid205461\charrsid205461
+\par }{\rtlch\fcs1 \af3\afs48 \ltrch\fcs0 \f3\fs48\insrsid205461 \loch\af3\dbch\af13\hich\f3 \'53\'79\'6d\'62\'6f\'6c\'20\'32\'34\'20\'50\'75\'6e\'6b\'74\'65\'20}{\rtlch\fcs1 \af3\afs28 \ltrch\fcs0 \f3\fs28\insrsid205461 \loch\af3\dbch\af13\hich\f3 \'31\'34
+\'20\'50\'75\'6e\'6b\'74\'65\'20}{\rtlch\fcs1 \af3\afs20 \ltrch\fcs0 \f3\fs20\insrsid205461 \loch\af3\dbch\af13\hich\f3 \'31\'30\'20\'50\'75\'6e\'6b\'74\'65\'20}{\rtlch\fcs1 \af3\afs16 \ltrch\fcs0 \f3\fs16\insrsid205461 \loch\af3\dbch\af13\hich\f3 \'38
+\'20\'50\'75\'6e\'6b\'74\'65}{\rtlch\fcs1 \af3\afs48 \ltrch\fcs0 \f3\fs48\lang1024\langfe1024\langnp1031\insrsid205461\charrsid205461
+\par }\pard \ltrpar\s16\ql \li63\ri63\sl-240\slmult0\nowidctlpar\tx13743\tx14883\tx16023\tx17163\faauto\rin63\lin63\itap0 {\rtlch\fcs1 \af4 \ltrch\fcs0 \lang1024\langfe1024\langnp1031\insrsid205461\charrsid205461
+\par }\pard \ltrpar\s16\ql \li63\ri63\sl-440\slmult0\nowidctlpar\tx1203\tx2343\tx3483\tx4623\tx5763\tx6903\tx8043\tx9183\tx10323\tx11463\tx12603\tx13743\tx14883\tx16023\tx17163\faauto\rin63\lin63\itap0 {\rtlch\fcs1 \af4 \ltrch\fcs0
+\lang1024\langfe1024\langnp1031\insrsid205461\charrsid205461 \hich\af4\dbch\af13\loch\f4 Auch die Konvertierung verschiedener }{\rtlch\fcs1 \ab\ai\af4 \ltrch\fcs0 \b\i\lang1024\langfe1024\langnp1031\insrsid205461\charrsid205461
+\hich\af4\dbch\af13\loch\f4 Zeichenattribute (Markups)}{\rtlch\fcs1 \af4 \ltrch\fcs0 \lang1024\langfe1024\langnp1031\insrsid205461\charrsid205461 \hich\af4\dbch\af13\loch\f4 \hich\f4 ist m\'f6\loch\f4 glich
+\par \hich\af4\dbch\af13\loch\f4 Helv. normal }{\rtlch\fcs1 \af4 \ltrch\fcs0 \up6\lang1024\langfe1024\langnp1031\insrsid205461\charrsid205461 \hich\af4\dbch\af13\loch\f4 hochgestellt }{\rtlch\fcs1 \af4 \ltrch\fcs0
+\dn6\lang1024\langfe1024\langnp1031\insrsid205461\charrsid205461 \hich\af4\dbch\af13\loch\f4 tiefgestellt }{\rtlch\fcs1 \af4 \ltrch\fcs0 \ul\up6\lang1024\langfe1024\langnp1031\insrsid205461\charrsid205461 \hich\af4\dbch\af13\loch\f4
+hochgestellt/unterstrichen }{\rtlch\fcs1 \af4 \ltrch\fcs0 \uldb\dn6\lang1024\langfe1024\langnp1031\insrsid205461\charrsid205461 \hich\af4\dbch\af13\loch\f4 tiefgestellt\hich\af4\dbch\af13\loch\f4 /doppelt unterstr.}{\rtlch\fcs1 \af4 \ltrch\fcs0
+\lang1024\langfe1024\langnp1031\insrsid205461\charrsid205461
+\par }{\rtlch\fcs1 \ab\af4 \ltrch\fcs0 \b\lang1024\langfe1024\langnp1031\insrsid205461\charrsid205461 \hich\af4\dbch\af13\loch\f4 Helv. fett }{\rtlch\fcs1 \ab\af4 \ltrch\fcs0 \b\up6\lang1024\langfe1024\langnp1031\insrsid205461\charrsid205461
+\hich\af4\dbch\af13\loch\f4 hochgestellt }{\rtlch\fcs1 \ab\af4 \ltrch\fcs0 \b\dn6\lang1024\langfe1024\langnp1031\insrsid205461\charrsid205461 \hich\af4\dbch\af13\loch\f4 tiefgestellt }{\rtlch\fcs1 \ab\af4 \ltrch\fcs0
+\b\ul\up6\lang1024\langfe1024\langnp1031\insrsid205461\charrsid205461 \hich\af4\dbch\af13\loch\f4 hochgestellt/unterstrichen }{\rtlch\fcs1 \ab\af4 \ltrch\fcs0 \b\uldb\dn6\lang1024\langfe1024\langnp1031\insrsid205461\charrsid205461
+\hich\af4\dbch\af13\loch\f4 tiefgestellt/doppelt unterstr.}{\rtlch\fcs1 \ab\af4 \ltrch\fcs0 \b\lang1024\langfe1024\langnp1031\insrsid205461\charrsid205461
+\par }{\rtlch\fcs1 \ai\af4 \ltrch\fcs0 \i\lang1024\langfe1024\langnp1031\insrsid205461\charrsid205461 \hich\af4\dbch\af13\loch\f4 Helv. kursiv }{\rtlch\fcs1 \ai\af4 \ltrch\fcs0 \i\up6\lang1024\langfe1024\langnp1031\insrsid205461\charrsid205461
+\hich\af4\dbch\af13\loch\f4 hochgestellt }{\rtlch\fcs1 \ai\af4 \ltrch\fcs0 \i\dn6\lang1024\langfe1024\langnp1031\insrsid205461\charrsid205461 \hich\af4\dbch\af13\loch\f4 tiefgestellt }{\rtlch\fcs1 \ai\af4 \ltrch\fcs0
+\i\ul\up6\lang1024\langfe1024\langnp1031\insrsid205461\charrsid205461 \hich\af4\dbch\af13\loch\f4 hochgestellt/unterstrichen }{\rtlch\fcs1 \ai\af4 \ltrch\fcs0 \i\uldb\dn6\lang1024\langfe1024\langnp1031\insrsid205461\charrsid205461
+\hich\af4\dbch\af13\loch\f4 tiefgestellt/doppelt unterstr.}{\rtlch\fcs1 \ai\af4 \ltrch\fcs0 \i\lang1024\langfe1024\langnp1031\insrsid205461\charrsid205461
+\par }{\rtlch\fcs1 \ab\ai\af89 \ltrch\fcs0 \b\i\f89\lang1024\langfe1024\langnp1031\insrsid205461\charrsid205461 \hich\af89\dbch\af13\loch\f89 Times. fett+kursiv }{\rtlch\fcs1 \ab\ai\af89 \ltrch\fcs0
+\b\i\f89\up6\lang1024\langfe1024\langnp1031\insrsid205461\charrsid205461 \hich\af89\dbch\af13\loch\f89 hochgestellt }{\rtlch\fcs1 \ab\ai\af89 \ltrch\fcs0 \b\i\f89\dn6\lang1024\langfe1024\langnp1031\insrsid205461\charrsid205461
+\hich\af89\dbch\af13\loch\f89 tiefgestellt }{\rtlch\fcs1 \ab\ai\af89 \ltrch\fcs0 \b\i\f89\ul\up6\lang1024\langfe1024\langnp1031\insrsid205461\charrsid205461 \hich\af89\dbch\af13\loch\f89 hochgestellt/unterstrichen }{\rtlch\fcs1 \ab\ai\af89 \ltrch\fcs0
+\b\i\f89\uldb\dn6\lang1024\langfe1024\langnp1031\insrsid205461\charrsid205461 \hich\af89\dbch\af13\loch\f89 tiefgestellt/doppelt unterstr.}{\rtlch\fcs1 \ab\ai\af89 \ltrch\fcs0 \b\i\f89\lang1024\langfe1024\langnp1031\insrsid205461\charrsid205461
+\par }\pard \ltrpar\s16\ql \li63\ri63\sb240\sl-360\slmult0\nowidctlpar\tx1203\tx2343\tx3483\tx4623\tx5763\tx6903\tx8043\tx9183\tx10323\tx11463\tx12603\tx13743\tx14883\tx16023\tx17163\faauto\rin63\lin63\itap0 {\rtlch\fcs1 \af89 \ltrch\fcs0
+\f89\lang1024\langfe1024\langnp1031\insrsid205461\charrsid205461 \hich\af89\dbch\af13\loch\f89 \hich\f89 Wie man an den vorigen Abs\'e4\loch\f89 \hich\f89 tzen erkennt, werden auch \'c4\loch\f89 nderungen der }{\rtlch\fcs1 \ab\ai\af89 \ltrch\fcs0
+\b\i\f89\lang1024\langfe1024\langnp1031\insrsid205461\charrsid205461 \hich\af89\dbch\af13\loch\f89 \hich\f89 Zeilenabst\'e4\loch\f89 nde}{\rtlch\fcs1 \af89 \ltrch\fcs0 \f89\lang1024\langfe1024\langnp1031\insrsid205461\charrsid205461
+\hich\af89\dbch\af13\loch\f89 korrekt konvertiert (in diesem Absatz: +7 Pt). Auch }{\rtlch\fcs1 \ab\ai\af89 \ltrch\fcs0 \b\i\f89\lang1024\langfe1024\langnp1031\insrsid205461\charrsid205461 \hich\af89\dbch\af13\loch\f89 \hich\f89
+Absatz-Anfangs- und Endabst\'e4\loch\f89 nde}{\rtlch\fcs1 \af89 \ltrch\fcs0 \f89\lang1024\langfe1024\langnp1031\insrsid205461\charrsid205461 \hich\af89\dbch\af13\loch\f89 \hich\f89 werden korrekt ins Zielformat \'fc\hich\af89\dbch\af13\loch\f89
+\hich\f89 bertragen. Der vorangegangene Leerraum wurde nicht durch Eingabe einer Leerzeile, sondern durch einen Anfangsabstand dieses Absatzes von 12 Pt (zus\'e4\loch\f89 tzlich zum Zeilenabstand) erreicht.
+\par }\pard \ltrpar\s16\ql \li63\ri63\sa120\sl-360\slmult0\nowidctlpar\tx13743\tx14883\tx16023\tx17163\faauto\rin63\lin63\itap0 {\rtlch\fcs1 \af4 \ltrch\fcs0 \lang1024\langfe1024\langnp1031\insrsid205461\charrsid205461
+\par }\pard \ltrpar\s16\ql \li63\ri63\sl-240\slmult0\nowidctlpar\tx13743\tx14883\tx16023\tx17163\faauto\rin63\lin63\itap0 {\rtlch\fcs1 \af89 \ltrch\fcs0 \f89\lang1024\langfe1024\langnp1031\insrsid205461\charrsid205461 \hich\af89\dbch\af13\loch\f89 \hich\f89
+Es folgte kein Seitenumbruch, sondern ein \'dc\loch\f89 \hich\f89 berlauf auf die n\'e4\loch\f89 chste Seit\hich\af89\dbch\af13\loch\f89 e.
+\par }{\rtlch\fcs1 \af4 \ltrch\fcs0 \lang1024\langfe1024\langnp1031\insrsid205461\charrsid205461
+\par \hich\af4\dbch\af13\loch\f4 Auf dieser Seite wurden }{\rtlch\fcs1 \ab\ai\af4 \ltrch\fcs0 \b\i\lang1024\langfe1024\langnp1031\insrsid205461\charrsid205461 \hich\af4\dbch\af13\loch\f4 \hich\f4 Fu\'df\loch\f4 noten }{\rtlch\fcs1 \af4 \ltrch\fcs0
+\lang1024\langfe1024\langnp1031\insrsid205461\charrsid205461 \hich\af4\dbch\af13\loch\f4 \hich\f4 eingef\'fc\loch\f4 gt.}{\rtlch\fcs1 \af4 \ltrch\fcs0 \cs18\super\insrsid205461\charrsid205461 \chftn {\footnote \ltrpar \pard\plain \ltrpar
+\s15\ql \li0\ri0\sa120\sl-160\slmult0\nowidctlpar\tx1134\tqc\tx3119\tqr\tx5670\tqdec\tx7654\tx13743\tx14883\tx16023\tx17163\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af4\afs16\alang1025 \ltrch\fcs0
+\fs16\lang1024\langfe1024\loch\af4\hich\af4\dbch\af13\cgrid\noproof\langnp1033\langfenp2052 {\rtlch\fcs1 \af4 \ltrch\fcs0 \cs18\super\insrsid205461\charrsid205461 \chftn }{\rtlch\fcs1 \af4 \ltrch\fcs0
+\lang1024\langfe1024\langnp1031\insrsid205461\charrsid205461 \hich\af4\dbch\af13\loch\f4 \hich\f4 In dieser Fu\'df\loch\f4 note wurden Tabs und unterschiedliche Schriftarten verwendet:
+\par }\pard \ltrpar\s15\ql \li0\ri0\sl-160\slmult0\nowidctlpar\tx1134\tqc\tx3119\tqr\tx5670\tqdec\tx7654\tx13743\tx14883\tx16023\tx17163\faauto\rin0\lin0\itap0 {\rtlch\fcs1 \af4 \ltrch\fcs0 \lang1024\langfe1024\langnp1031\insrsid205461\charrsid205461 \tab
+\hich\af4\dbch\af13\loch\f4 linker Tab\tab zentriert\tab rechter Tab\tab Dezimal: 12,30 DM
+\par \tab \hich\af4\dbch\af13\loch\f4 noch einer\tab auch das ist ein zentrierter Tab\tab Ok.\tab 1234,50
+\par }\pard \ltrpar\s15\ql \li0\ri0\sa120\sl-160\slmult0\nowidctlpar\tx1134\tqc\tx3119\tqr\tx5670\tqdec\tx7654\tx13743\tx14883\tx16023\tx17163\faauto\rin0\lin0\itap0 {\rtlch\fcs1 \af4 \ltrch\fcs0 \lang1024\langfe1024\langnp1031\insrsid205461\charrsid205461
+\tab \hich\af4\dbch\af13\loch\f4 das reicht jetzt.\tab \tab \tab 99
+\par }\pard \ltrpar\s15\ql \li0\ri0\sa120\sl-240\slmult0\nowidctlpar\tx1134\tqc\tx3119\tqr\tx5670\tqdec\tx7654\tx13743\tx14883\tx16023\tx17163\faauto\rin0\lin0\itap0 {\rtlch\fcs1 \af4 \ltrch\fcs0 \lang1024\langfe1024\langnp1031\insrsid205461\charrsid205461
+\hich\af4\dbch\af13\loch\f4 Hier schreiben wir in }{\rtlch\fcs1 \af37\afs20 \ltrch\fcs0 \f37\fs20\lang1024\langfe1024\langnp1031\insrsid205461\charrsid205461 \hich\af37\dbch\af13\loch\f37 Avantgarde 10 Punkte}{\rtlch\fcs1 \af4 \ltrch\fcs0
+\lang1024\langfe1024\langnp1031\insrsid205461\charrsid205461 \hich\af4\dbch\af13\loch\f4 , }{\rtlch\fcs1 \af5\afs24 \ltrch\fcs0 \f5\fs24\lang1024\langfe1024\langnp1031\insrsid205461\charrsid205461 \hich\af5\dbch\af13\loch\f5 Courier 12 Punkte}{
+\rtlch\fcs1 \af4 \ltrch\fcs0 \lang1024\langfe1024\langnp1031\insrsid205461\charrsid205461 \hich\af4\dbch\af13\loch\f4 , }{\rtlch\fcs1 \af89 \ltrch\fcs0 \f89\lang1024\langfe1024\langnp1031\insrsid205461\charrsid205461 \hich\af89\dbch\af13\loch\f89
+Times 8 Punkte.}}}{\rtlch\fcs1 \af4 \ltrch\fcs0 \lang1024\langfe1024\langnp1031\insrsid205461\charrsid205461
+\par
+\par \hich\af4\dbch\af13\loch\f4 Hier testen wir }{\rtlch\fcs1 \ab\ai\af4 \ltrch\fcs0 \b\i\lang1024\langfe1024\langnp1031\insrsid205461\charrsid205461 \loch\af4\dbch\af13\hich\f4 \'dc\loch\f4 berschriften }{\rtlch\fcs1 \af4 \ltrch\fcs0
+\lang1024\langfe1024\langnp1031\insrsid205461\charrsid205461 \hich\af4\dbch\af13\loch\f4 sowie verschiedene }{\rtlch\fcs1 \ab\ai\af4 \ltrch\fcs0 \b\i\lang1024\langfe1024\langnp1031\insrsid205461\charrsid205461 \hich\af4\dbch\af13\loch\f4 \hich\f4
+Absatzausrichtungen und -einz\'fc\loch\f4 ge}{\rtlch\fcs1 \af4 \ltrch\fcs0 \lang1024\langfe1024\langnp1031\insrsid205461\charrsid205461 \hich\af4\dbch\af13\loch\f4 .}{\rtlch\fcs1 \af4 \ltrch\fcs0 \cs18\super\insrsid205461\charrsid205461 \chftn {\footnote
+\ltrpar \pard\plain \ltrpar\s15\ql \li0\ri0\sa120\sl-160\slmult0\nowidctlpar\tx1134\tqc\tx3119\tqr\tx5670\tqdec\tx7654\tx13743\tx14883\tx16023\tx17163\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af4\afs16\alang1025 \ltrch\fcs0
+\fs16\lang1024\langfe1024\loch\af4\hich\af4\dbch\af13\cgrid\noproof\langnp1033\langfenp2052 {\rtlch\fcs1 \af4 \ltrch\fcs0 \cs18\super\insrsid205461\charrsid205461 \chftn }{\rtlch\fcs1 \af4 \ltrch\fcs0
+\lang1024\langfe1024\langnp1031\insrsid205461\charrsid205461 \hich\af4\dbch\af13\loch\f4 \hich\f4 Format der \'dc\loch\f4 berschrift Ebene1: Schrift=Helvetica 14 Pt fett, unterstrichen.}}}{\rtlch\fcs1 \af4 \ltrch\fcs0
+\lang1024\langfe1024\langnp1031\insrsid205461\charrsid205461
+\par }\pard\plain \ltrpar\s1\ql \li63\ri63\sb120\sl-220\slmult0\nowidctlpar\tx1215\tx2367\tx3519\tx4671\tx5823\tx6975\tx8127\tx9279\faauto\outlinelevel0\rin63\lin63\itap0 \rtlch\fcs1 \ab\af4\afs22\alang1025 \ltrch\fcs0
+\b\fs22\lang1024\langfe1024\loch\af4\hich\af4\dbch\af13\cgrid\noproof\langnp1033\langfenp2052 {\rtlch\fcs1 \af4 \ltrch\fcs0 \lang1024\langfe1024\langnp1031\insrsid205461\charrsid205461 \hich\af4\dbch\af13\loch\f4 \hich\f4 Linksb\'fc
+\hich\af4\dbch\af13\loch\f4 ndig mit linkem Einzug von 2 cm:
+\par }\pard\plain \ltrpar\s16\ql \fi-1132\li1197\ri63\sl-240\slmult0\nowidctlpar\tx1203\tx2343\tx3483\tx4623\tx5763\tx6903\tx8043\tx9183\tx10323\tx11463\tx12603\tx13743\tx14883\tx16023\tx17163\faauto\rin63\lin1197\itap0\pararsid205461 \rtlch\fcs1
+\af4\afs22\alang1025 \ltrch\fcs0 \fs22\lang1024\langfe1024\loch\af4\hich\af4\dbch\af13\cgrid\noproof\langnp1033\langfenp2052 {\rtlch\fcs1 \af4 \ltrch\fcs0 \lang1024\langfe1024\langnp1031\insrsid205461\charrsid205461 \hich\af4\dbch\af13\loch\f4
+Nach dem im Juni 1992 unterzeichneten Abkommen mit Digital Equipment hat die SYSTEM}{\rtlch\fcs1 \af4 \ltrch\fcs0 \lang1024\langfe1024\langnp1031\insrsid205461 \hich\af4\dbch\af13\loch\f4 \hich\f4 S in M\'fc\loch\f4
+nchen mal wieder alle Besucher begeistert}{\rtlch\fcs1 \af4 \ltrch\fcs0 \lang1024\langfe1024\langnp1031\insrsid205461\charrsid205461 \hich\af4\dbch\af13\loch\f4 .
+\par }\pard\plain \ltrpar\s1\ql \li63\ri63\sb120\sl-220\slmult0\nowidctlpar\tx1215\tx2367\tx3519\tx4671\tx5823\tx6975\tx8127\tx9279\faauto\outlinelevel0\rin63\lin63\itap0 \rtlch\fcs1 \ab\af4\afs22\alang1025 \ltrch\fcs0
+\b\fs22\lang1024\langfe1024\loch\af4\hich\af4\dbch\af13\cgrid\noproof\langnp1033\langfenp2052 {\rtlch\fcs1 \af4 \ltrch\fcs0 \lang1024\langfe1024\langnp1031\insrsid205461\charrsid205461 \hich\af4\dbch\af13\loch\f4 \hich\f4 Rechtsb\'fc\loch\f4 \hich\f4
+ndig ohne Einz\'fc\loch\f4 ge:
+\par }\pard\plain \ltrpar\s16\qr \li63\ri63\sl-240\slmult0\nowidctlpar\tx13743\tx14883\tx16023\tx17163\faauto\rin63\lin63\itap0\pararsid205461 \rtlch\fcs1 \af4\afs22\alang1025 \ltrch\fcs0
+\fs22\lang1024\langfe1024\loch\af4\hich\af4\dbch\af13\cgrid\noproof\langnp1033\langfenp2052 {\rtlch\fcs1 \af4 \ltrch\fcs0 \lang1024\langfe1024\langnp1031\insrsid205461\charrsid205461 \hich\af4\dbch\af13\loch\f4 Damit unterstreicht }{\rtlch\fcs1 \af4
+\ltrch\fcs0 \lang1024\langfe1024\langnp1031\insrsid205461 \hich\af4\dbch\af13\loch\f4 OpenOffice.org }{\rtlch\fcs1 \af4 \ltrch\fcs0 \lang1024\langfe1024\langnp1031\insrsid205461\charrsid205461 \hich\af4\dbch\af13\loch\f4 seine Rolle als Spezialist f
+\loch\af4\dbch\af13\hich\f4 \'fc\loch\f4 r anspruchsvolle Aufgaben in den Dokumentenverarbeitung und beim Dokumentenaustausch.
+\par }\pard\plain \ltrpar\s1\ql \li63\ri63\sb120\sl-220\slmult0\nowidctlpar\tx1215\tx2367\tx3519\tx4671\tx5823\tx6975\tx8127\tx9279\faauto\outlinelevel0\rin63\lin63\itap0 \rtlch\fcs1 \ab\af4\afs22\alang1025 \ltrch\fcs0
+\b\fs22\lang1024\langfe1024\loch\af4\hich\af4\dbch\af13\cgrid\noproof\langnp1033\langfenp2052 {\rtlch\fcs1 \af4 \ltrch\fcs0 \lang1024\langfe1024\langnp1031\insrsid205461\charrsid205461 \hich\af4\dbch\af13\loch\f4 \hich\f4 Linksb\'fc\loch\f4
+ndig mit Erstzeileneinzug und rechtem Einzug von 5 cm:
+\par }\pard\plain \ltrpar\s16\ql \fi567\li63\ri2897\sl-240\slmult0\nowidctlpar\tx1203\tx2343\tx3483\tx4623\tx5763\tx6903\tx8043\tx9183\tx10323\tx11463\tx12603\tx13743\tx14883\tx16023\tx17163\faauto\rin2897\lin63\itap0\pararsid205461 \rtlch\fcs1
+\af4\afs22\alang1025 \ltrch\fcs0 \fs22\lang1024\langfe1024\loch\af4\hich\af4\dbch\af13\cgrid\noproof\langnp1033\langfenp2052 {\rtlch\fcs1 \af4 \ltrch\fcs0 \lang1024\langfe1024\langnp1031\insrsid205461\charrsid205461 \hich\af4\dbch\af13\loch\f4
+Neben der Anerkennung der geleisteten Entwicklungsarbeit wurde damit auch das gesteckte Ziel erreicht
+\par }\pard\plain \ltrpar\s1\ql \li63\ri63\sb120\sl-220\slmult0\nowidctlpar\tx1215\tx2367\tx3519\tx4671\tx5823\tx6975\tx8127\tx9279\faauto\outlinelevel0\rin63\lin63\itap0 \rtlch\fcs1 \ab\af4\afs22\alang1025 \ltrch\fcs0
+\b\fs22\lang1024\langfe1024\loch\af4\hich\af4\dbch\af13\cgrid\noproof\langnp1033\langfenp2052 {\rtlch\fcs1 \af4 \ltrch\fcs0 \lang1024\langfe1024\langnp1031\insrsid205461\charrsid205461 \hich\af4\dbch\af13\loch\f4 Bloc\hich\af4\dbch\af13\loch\f4
+ksatz mit linkem und rechten Rand:
+\par }\pard\plain \ltrpar\s16\qj \fi-566\li630\ri2897\sl-240\slmult0\nowidctlpar\tx1203\tx2343\tx3483\tx4623\tx5763\tx6903\tx8043\tx9183\tx10323\tx11463\tx12603\tx13743\tx14883\tx16023\tx17163\faauto\rin2897\lin630\itap0\pararsid205461 \rtlch\fcs1
+\af4\afs22\alang1025 \ltrch\fcs0 \fs22\lang1024\langfe1024\loch\af4\hich\af4\dbch\af13\cgrid\noproof\langnp1033\langfenp2052 {\rtlch\fcs1 \af4 \ltrch\fcs0 \lang1024\langfe1024\langnp1031\insrsid205461\charrsid205461 \hich\af4\dbch\af13\loch\f4 Die vielen
+}{\rtlch\fcs1 \af4 \ltrch\fcs0 \lang1024\langfe1024\langnp1031\insrsid205461 \hich\af4\dbch\af13\loch\f4 OpenOffice.org}{\rtlch\fcs1 \af4 \ltrch\fcs0 \lang1024\langfe1024\langnp1031\insrsid205461\charrsid205461 \hich\af4\dbch\af13\loch\f4 Kunden, die }{
+\rtlch\fcs1 \af4 \ltrch\fcs0 \lang1024\langfe1024\langnp1031\insrsid205461 \hich\af4\dbch\af13\loch\f4 die 2.0.2}{\rtlch\fcs1 \af4 \ltrch\fcs0 \lang1024\langfe1024\langnp1031\insrsid205461\charrsid205461 \hich\af4\dbch\af13\loch\f4 \hich\f4
+ schon verwenden, haben auf das richtige Pferd gesetzt! Sie nutzen diese Software bereits in ihrer t\'e4\loch\f4 \hich\f4 glichen Arbeit und k\'f6\loch\f4 nnen auf die direkte Betreuung von }{\rtlch\fcs1 \af4 \ltrch\fcs0
+\lang1024\langfe1024\langnp1031\insrsid205461 \hich\af4\dbch\af13\loch\f4 SUN }{\rtlch\fcs1 \af4 \ltrch\fcs0 \lang1024\langfe1024\langnp1031\insrsid205461\charrsid205461 \hich\af4\dbch\af13\loch\f4 vertrauen.
+\par }\pard\plain \ltrpar\s1\ql \li63\ri63\sb120\sl-220\slmult0\nowidctlpar\tx1215\tx2367\tx3519\tx4671\tx5823\tx6975\tx8127\tx9279\faauto\outlinelevel0\rin63\lin63\itap0 \rtlch\fcs1 \ab\af4\afs22\alang1025 \ltrch\fcs0
+\b\fs22\lang1024\langfe1024\loch\af4\hich\af4\dbch\af13\cgrid\noproof\langnp1033\langfenp2052 {\rtlch\fcs1 \af4 \ltrch\fcs0 \lang1024\langfe1024\langnp1031\insrsid205461\charrsid205461 \hich\af4\dbch\af13\loch\f4
+Blocksatz mit linkem und rechtem Einzug und Erstzeileneinzug:
+\par }\pard\plain \ltrpar\s16\qj \li630\ri1480\sl-240\slmult0\nowidctlpar\tx1203\tx2343\tx3483\tx4623\tx5763\tx6903\tx8043\tx9183\tx10323\tx11463\tx12603\tx13743\tx14883\tx16023\tx17163\faauto\rin1480\lin630\itap0 \rtlch\fcs1 \af4\afs22\alang1025 \ltrch\fcs0
+\fs22\lang1024\langfe1024\loch\af4\hich\af4\dbch\af13\cgrid\noproof\langnp1033\langfenp2052 {\rtlch\fcs1 \af4 \ltrch\fcs0 \lang1024\langfe1024\langnp1031\insrsid205461\charrsid205461 \hich\af4\dbch\af13\loch\f4 .}{\rtlch\fcs1 \af4 \ltrch\fcs0
+\cs18\super\insrsid205461\charrsid205461 \chftn {\footnote \ltrpar \pard\plain \ltrpar\s15\ql \li0\ri0\sa120\sl-160\slmult0\nowidctlpar\tx1134\tqc\tx3119\tqr\tx5670\tqdec\tx7654\tx13743\tx14883\tx16023\tx17163\faauto\rin0\lin0\itap0 \rtlch\fcs1
+\af4\afs16\alang1025 \ltrch\fcs0 \fs16\lang1024\langfe1024\loch\af4\hich\af4\dbch\af13\cgrid\noproof\langnp1033\langfenp2052 {\rtlch\fcs1 \af4 \ltrch\fcs0 \cs18\super\insrsid205461\charrsid205461 \chftn }{\rtlch\fcs1 \af4 \ltrch\fcs0
+\lang1024\langfe1024\langnp1031\insrsid205461\charrsid205461 \hich\af4\dbch\af13\loch\f4 \hich\f4 Au\'df\loch\f4 er dem rechten Einzug wurde ein Erstzeileneinzug von 1 cm gesetzt.}}}{\rtlch\fcs1 \af4 \ltrch\fcs0
+\lang1024\langfe1024\langnp1031\insrsid205461\charrsid205461
+\par }\pard \ltrpar\s16\ql \li63\ri63\sl-240\slmult0\nowidctlpar\tx13743\tx14883\tx16023\tx17163\faauto\rin63\lin63\itap0 {\rtlch\fcs1 \af4 \ltrch\fcs0 \lang1024\langfe1024\langnp1031\insrsid205461\charrsid205461
+\par \hich\af4\dbch\af13\loch\f4 Die Konvertierung von }{\rtlch\fcs1 \ab\ai\af4 \ltrch\fcs0 \b\i\lang1024\langfe1024\langnp1031\insrsid205461\charrsid205461 \hich\af4\dbch\af13\loch\f4 Seitennummern }{\rtlch\fcs1 \af4 \ltrch\fcs0
+\lang1024\langfe1024\langnp1031\insrsid205461\charrsid205461 \hich\af4\dbch\af13\loch\f4 (Paginierung) ist an den Kopfzeilen ersichtlich. }{\rtlch\fcs1 \ab\af4 \ltrch\fcs0 \b\lang1024\langfe1024\langnp1031\insrsid205461\charrsid205461
+\hich\af4\dbch\af13\loch\f4 Tabulatoren}{\rtlch\fcs1 \af4 \ltrch\fcs0 \lang1024\langfe1024\langnp1031\insrsid205461\charrsid205461 \hich\af4\dbch\af13\loch\f4 werden ebenfalls korre\hich\af4\dbch\af13\loch\f4 \hich\f4 kt konvertiert, wie an den Fu\'df
+\loch\f4 noten unten zu sehen ist.
+\par
+\par \hich\af4\dbch\af13\loch\f4 Es folgt ein }{\rtlch\fcs1 \ab\ai\af4 \ltrch\fcs0 \b\i\lang1024\langfe1024\langnp1031\insrsid205461\charrsid205461 \hich\af4\dbch\af13\loch\f4 fester Seitenumbruch}{\rtlch\fcs1 \af4 \ltrch\fcs0
+\lang1024\langfe1024\langnp1031\insrsid205461\charrsid205461 \hich\af4\dbch\af13\loch\f4 :
+\par }\pard\plain \ltrpar\s1\ql \li63\ri63\sb240\sa120\sl-280\slmult0\nowidctlpar\tx1215\tx2367\tx3519\tx4671\tx5823\tx6975\tx8127\tx9279\faauto\outlinelevel0\rin63\lin63\itap0 \rtlch\fcs1 \ab\af4\afs22\alang1025 \ltrch\fcs0
+\b\fs22\lang1024\langfe1024\loch\af4\hich\af4\dbch\af13\cgrid\noproof\langnp1033\langfenp2052 {\rtlch\fcs1 \af4 \ltrch\fcs0 \lang1024\langfe1024\langnp1031\insrsid205461\charrsid205461 \page }{\rtlch\fcs1 \af4\afs28 \ltrch\fcs0
+\fs28\ul\lang1024\langfe1024\langnp1031\insrsid205461\charrsid205461 \hich\af4\dbch\af13\loch\f4 Tabellen
+\par }\pard\plain \ltrpar\s16\ql \li63\ri63\sl-240\slmult0\nowidctlpar\tx13743\tx14883\tx16023\tx17163\faauto\rin63\lin63\itap0 \rtlch\fcs1 \af4\afs22\alang1025 \ltrch\fcs0
+\fs22\lang1024\langfe1024\loch\af4\hich\af4\dbch\af13\cgrid\noproof\langnp1033\langfenp2052 {\rtlch\fcs1 \af4 \ltrch\fcs0 \lang1024\langfe1024\langnp1031\insrsid205461 \hich\af4\dbch\af13\loch\f4 \hich\f4 Laberdies\'fc\loch\f4 lz}{\rtlch\fcs1 \af4
+\ltrch\fcs0 \lang1024\langfe1024\langnp1031\insrsid205461\charrsid205461 \hich\af4\dbch\af13\loch\f4 :
+\par }\pard \ltrpar\s16\ql \li63\ri63\sb240\sl20\slmult0\nowidctlpar\tx13743\tx14883\tx16023\tx17163\faauto\rin63\lin63\itap0 {\rtlch\fcs1 \af4\afs2 \ltrch\fcs0 \fs2\lang1024\langfe1024\langnp1031\insrsid205461\charrsid205461
+\par \ltrrow}\trowd \irow0\irowband0\ltrrow\ts11\trqc\trrh600\trleft-3\trftsWidth1 \clvertalt\clbrdrt\brdrs\brdrw5 \clbrdrl\brdrs\brdrw5 \clbrdrb\brdrs\brdrw5 \clbrdrr\brdrs\brdrw5 \cltxlrtb\clftsWidth3\clwWidth3259\clshdrawnil \cellx3256\clvertalt\clbrdrt
+\brdrs\brdrw5 \clbrdrl\brdrs\brdrw5 \clbrdrb\brdrs\brdrw5 \clbrdrr\brdrs\brdrw5 \cltxlrtb\clftsWidth3\clwWidth1831\clshdrawnil \cellx5087\clvertalt\clbrdrt\brdrs\brdrw5 \clbrdrl\brdrs\brdrw5 \clbrdrb\brdrs\brdrw5 \clbrdrr\brdrs\brdrw5
+\cltxlrtb\clftsWidth3\clwWidth2279\clshdrawnil \cellx7366\pard \ltrpar\s16\ql \li120\ri120\sb120\sa120\sl240\slmult0\nowidctlpar\intbl
+\tx1203\tx2343\tx3483\tx4623\tx5763\tx6903\tx8043\tx9183\tx10323\tx11463\tx12603\tx13743\tx14883\tx16023\tx17163\faauto\rin120\lin120 {\rtlch\fcs1 \af4 \ltrch\fcs0 \lang1024\langfe1024\langnp1031\insrsid205461\charrsid205461 \hich\af4\dbch\af13\loch\f4
+Das ist die erste Spalte\cell }{\rtlch\fcs1 \af4 \ltrch\fcs0 \insrsid205461 \hich\af4\dbch\af13\loch\f4 die 2. Spalte\cell \hich\af4\dbch\af13\loch\f4 und die dritte\cell }\pard\plain \ltrpar
+\ql \li0\ri0\widctlpar\intbl\aspalpha\aspnum\faauto\adjustright\rin0\lin0 \rtlch\fcs1 \af0\afs24\alang1025 \ltrch\fcs0 \fs24\lang1033\langfe2052\loch\af0\hich\af0\dbch\af13\cgrid\langnp1033\langfenp2052 {\rtlch\fcs1 \af0 \ltrch\fcs0 \insrsid205461
+\trowd \irow0\irowband0\ltrrow\ts11\trqc\trrh600\trleft-3\trftsWidth1 \clvertalt\clbrdrt\brdrs\brdrw5 \clbrdrl\brdrs\brdrw5 \clbrdrb\brdrs\brdrw5 \clbrdrr\brdrs\brdrw5 \cltxlrtb\clftsWidth3\clwWidth3259\clshdrawnil \cellx3256\clvertalt\clbrdrt
+\brdrs\brdrw5 \clbrdrl\brdrs\brdrw5 \clbrdrb\brdrs\brdrw5 \clbrdrr\brdrs\brdrw5 \cltxlrtb\clftsWidth3\clwWidth1831\clshdrawnil \cellx5087\clvertalt\clbrdrt\brdrs\brdrw5 \clbrdrl\brdrs\brdrw5 \clbrdrb\brdrs\brdrw5 \clbrdrr\brdrs\brdrw5
+\cltxlrtb\clftsWidth3\clwWidth2279\clshdrawnil \cellx7366\row \ltrrow}\pard\plain \ltrpar\s16\ql \li120\ri120\sb360\sa360\sl240\slmult0\nowidctlpar\intbl
+\tx1203\tx2343\tx3483\tx4623\tx5763\tx6903\tx8043\tx9183\tx10323\tx11463\tx12603\tx13743\tx14883\tx16023\tx17163\faauto\rin120\lin120 \rtlch\fcs1 \af4\afs22\alang1025 \ltrch\fcs0
+\fs22\lang1024\langfe1024\loch\af4\hich\af4\dbch\af13\cgrid\noproof\langnp1033\langfenp2052 {\rtlch\fcs1 \af4 \ltrch\fcs0 \lang1024\langfe1024\langnp1031\insrsid205461\charrsid205461 \hich\af4\dbch\af13\loch\f4
+Absatzabszand 1 zl oben und unten, Ausrichtung links\cell }\pard \ltrpar\s16\qr \li120\ri120\sb120\sa120\sl240\slmult0\nowidctlpar\intbl
+\tx1203\tx2343\tx3483\tx4623\tx5763\tx6903\tx8043\tx9183\tx10323\tx11463\tx12603\tx13743\tx14883\tx16023\tx17163\faauto\rin120\lin120 {\rtlch\fcs1 \ab\af89 \ltrch\fcs0 \b\f89\lang1024\langfe1024\langnp1031\insrsid205461\charrsid205461
+\hich\af89\dbch\af13\loch\f89 \hich\f89 Dieser Absatz wurde rechtsb\'fc\hich\af89\dbch\af13\loch\f89 ndig ausgerichtet.\cell }\pard \ltrpar\s16\ql \li120\ri120\sb120\sa120\sl380\slmult0\nowidctlpar\intbl
+\tx1203\tx2343\tx3483\tx4623\tx5763\tx6903\tx8043\tx9183\tx10323\tx11463\tx12603\tx13743\tx14883\tx16023\tx17163\faauto\rin120\lin120 {\rtlch\fcs1 \af4\afs36 \ltrch\fcs0 \fs36\lang1024\langfe1024\langnp1031\insrsid205461\charrsid205461
+\hich\af4\dbch\af13\loch\f4 \hich\f4 Ein Absatz in 18 Punkte Schriftgr\'f6\'df\loch\f4 e\cell }\pard\plain \ltrpar\ql \li0\ri0\widctlpar\intbl\aspalpha\aspnum\faauto\adjustright\rin0\lin0 \rtlch\fcs1 \af0\afs24\alang1025 \ltrch\fcs0
+\fs24\lang1033\langfe2052\loch\af0\hich\af0\dbch\af13\cgrid\langnp1033\langfenp2052 {\rtlch\fcs1 \af0\afs36 \ltrch\fcs0 \fs36\lang1031\langfe2052\langnp1031\insrsid205461\charrsid205461 \trowd \irow1\irowband1\ltrrow
+\ts11\trqc\trrh600\trleft-3\trftsWidth1 \clvertalt\clbrdrt\brdrs\brdrw5 \clbrdrl\brdrs\brdrw5 \clbrdrb\brdrs\brdrw5 \clbrdrr\brdrs\brdrw5 \cltxlrtb\clftsWidth3\clwWidth3259\clshdrawnil \cellx3256\clvertalt\clbrdrt\brdrs\brdrw5 \clbrdrl\brdrs\brdrw5
+\clbrdrb\brdrs\brdrw5 \clbrdrr\brdrs\brdrw5 \cltxlrtb\clftsWidth3\clwWidth1831\clshdrawnil \cellx5087\clvertalt\clbrdrt\brdrs\brdrw5 \clbrdrl\brdrs\brdrw5 \clbrdrb\brdrs\brdrw5 \clbrdrr\brdrs\brdrw5 \cltxlrtb\clftsWidth3\clwWidth2279\clshdrawnil
+\cellx7366\row \ltrrow}\pard\plain \ltrpar\s16\qj \fi567\li687\ri120\sb120\sa120\sl240\slmult0\nowidctlpar\intbl\tx1203\tx2343\tx3483\tx4623\tx5763\tx6903\tx8043\tx9183\tx10323\tx11463\tx12603\tx13743\tx14883\tx16023\tx17163\faauto\rin120\lin687
+\rtlch\fcs1 \af4\afs22\alang1025 \ltrch\fcs0 \fs22\lang1024\langfe1024\loch\af4\hich\af4\dbch\af13\cgrid\noproof\langnp1033\langfenp2052 {\rtlch\fcs1 \af4 \ltrch\fcs0 \lang1024\langfe1024\langnp1031\insrsid205461\charrsid205461
+\hich\af4\dbch\af13\loch\f4 Ein Absatz in Blocksatz mit einem linken Einzug von 1 cm und Erstzeileneinzug von 2 cm.\cell }\pard \ltrpar\s16\ql \li120\ri120\sb120\sa120\sl240\slmult0\nowidctlpar\intbl
+\tx1203\tx2343\tx3483\tx4623\tx5763\tx6903\tx8043\tx9183\tx10323\tx11463\tx12603\tx13743\tx14883\tx16023\tx17163\faauto\rin120\lin120 {\rtlch\fcs1 \ai\af5 \ltrch\fcs0 \i\f5\lang1024\langfe1024\langnp1031\insrsid205461\charrsid205461 \line }{\rtlch\fcs1
+\ai\af5 \ltrch\fcs0 \i\f5\insrsid205461 \hich\af5\dbch\af13\loch\f5 Noch ein Absatz.\cell }\pard \ltrpar\s16\qc \li120\ri120\sb120\sa120\sl240\slmult0\nowidctlpar\intbl
+\tx1203\tx2343\tx3483\tx4623\tx5763\tx6903\tx8043\tx9183\tx10323\tx11463\tx12603\tx13743\tx14883\tx16023\tx17163\faauto\rin120\lin120 {\rtlch\fcs1 \af4 \ltrch\fcs0 \lang1024\langfe1024\langnp1031\insrsid205461\charrsid205461 \hich\af4\dbch\af13\loch\f4
+Ein in der Spalte zentrierter Absatz.\cell }\pard\plain \ltrpar\ql \li0\ri0\widctlpar\intbl\aspalpha\aspnum\faauto\adjustright\rin0\lin0 \rtlch\fcs1 \af0\afs24\alang1025 \ltrch\fcs0
+\fs24\lang1033\langfe2052\loch\af0\hich\af0\dbch\af13\cgrid\langnp1033\langfenp2052 {\rtlch\fcs1 \af0 \ltrch\fcs0 \lang1031\langfe2052\langnp1031\insrsid205461\charrsid205461 \trowd \irow2\irowband2\ltrrow\ts11\trqc\trrh600\trleft-3\trftsWidth1 \clvertalt
+\clbrdrt\brdrs\brdrw5 \clbrdrl\brdrs\brdrw5 \clbrdrb\brdrs\brdrw5 \clbrdrr\brdrs\brdrw5 \cltxlrtb\clftsWidth3\clwWidth3259\clshdrawnil \cellx3256\clvertalt\clbrdrt\brdrs\brdrw5 \clbrdrl\brdrs\brdrw5 \clbrdrb\brdrs\brdrw5 \clbrdrr\brdrs\brdrw5
+\cltxlrtb\clftsWidth3\clwWidth1831\clshdrawnil \cellx5087\clvertalt\clbrdrt\brdrs\brdrw5 \clbrdrl\brdrs\brdrw5 \clbrdrb\brdrs\brdrw5 \clbrdrr\brdrs\brdrw5 \cltxlrtb\clftsWidth3\clwWidth2279\clshdrawnil \cellx7366\row \ltrrow}\pard\plain \ltrpar
+\s16\ql \li120\ri120\sb120\sa120\sl240\slmult0\nowidctlpar\intbl\tx1203\tx2343\tx3483\tx4623\tx5763\tx6903\tx8043\tx9183\tx10323\tx11463\tx12603\tx13743\tx14883\tx16023\tx17163\faauto\rin120\lin120 \rtlch\fcs1 \af4\afs22\alang1025 \ltrch\fcs0
+\fs22\lang1024\langfe1024\loch\af4\hich\af4\dbch\af13\cgrid\noproof\langnp1033\langfenp2052 {\rtlch\fcs1 \ab\af4 \ltrch\fcs0 \b\lang1024\langfe1024\langnp1031\insrsid205461\charrsid205461 \hich\af4\dbch\af13\loch\f4 \hich\f4
+Hier schreiben wir noch einmal linksb\'fc\loch\f4 ndig und fett.\cell }{\rtlch\fcs1 \af4 \ltrch\fcs0 \lang1024\langfe1024\langnp1031\insrsid205461\charrsid205461 \hich\af4\dbch\af13\loch\f4 Hier beginnt die zweite Spalte.\cell }{\rtlch\fcs1 \af4
+\ltrch\fcs0 \insrsid205461 \hich\af4\dbch\af13\loch\f4 Und hier die dritte.\cell }\pard\plain \ltrpar\ql \li0\ri0\widctlpar\intbl\aspalpha\aspnum\faauto\adjustright\rin0\lin0 \rtlch\fcs1 \af0\afs24\alang1025 \ltrch\fcs0
+\fs24\lang1033\langfe2052\loch\af0\hich\af0\dbch\af13\cgrid\langnp1033\langfenp2052 {\rtlch\fcs1 \af0 \ltrch\fcs0 \insrsid205461 \trowd \irow3\irowband3\lastrow \ltrrow\ts11\trqc\trrh600\trleft-3\trftsWidth1 \clvertalt\clbrdrt\brdrs\brdrw5 \clbrdrl
+\brdrs\brdrw5 \clbrdrb\brdrs\brdrw5 \clbrdrr\brdrs\brdrw5 \cltxlrtb\clftsWidth3\clwWidth3259\clshdrawnil \cellx3256\clvertalt\clbrdrt\brdrs\brdrw5 \clbrdrl\brdrs\brdrw5 \clbrdrb\brdrs\brdrw5 \clbrdrr\brdrs\brdrw5
+\cltxlrtb\clftsWidth3\clwWidth1831\clshdrawnil \cellx5087\clvertalt\clbrdrt\brdrs\brdrw5 \clbrdrl\brdrs\brdrw5 \clbrdrb\brdrs\brdrw5 \clbrdrr\brdrs\brdrw5 \cltxlrtb\clftsWidth3\clwWidth2279\clshdrawnil \cellx7366\row }\pard \ltrpar
+\ql \li63\ri63\sa240\sl-240\slmult0\nowidctlpar\tx13743\tx14883\tx16023\tx17163\faauto\rin63\lin63\itap0 {\rtlch\fcs1 \af4\afs22 \ltrch\fcs0 \f4\fs22\lang1024\langfe1024\noproof\insrsid205461
+\par }\pard\plain \ltrpar\s16\ql \li63\ri63\sl-240\slmult0\nowidctlpar\tx992\tx1134\tx13743\tx14883\tx16023\tx17163\faauto\rin63\lin63\itap0 \rtlch\fcs1 \af4\afs22\alang1025 \ltrch\fcs0
+\fs22\lang1024\langfe1024\loch\af4\hich\af4\dbch\af13\cgrid\noproof\langnp1033\langfenp2052 {\rtlch\fcs1 \af4 \ltrch\fcs0 \insrsid205461
+\par }\pard \ltrpar\s16\ql \li63\ri63\sl-300\slmult0\nowidctlpar\tx992\tx1134\tx13743\tx14883\tx16023\tx17163\faauto\rin63\lin63\itap0\pararsid205461 {\rtlch\fcs1 \ab\af5\afs28 \ltrch\fcs0 \b\f5\fs28\lang1024\langfe1024\langnp1031\insrsid205461
+\hich\af5\dbch\af13\loch\f5 Das ist das Ende.}{\rtlch\fcs1 \ab\af5\afs28 \ltrch\fcs0 \b\f5\fs28\lang1024\langfe1024\langnp1031\insrsid205461\charrsid205461
+\par }} \ No newline at end of file
diff --git a/testautomation/spreadsheet/optional/input/loadsave/preselected_filter/txt.txt b/testautomation/spreadsheet/optional/input/loadsave/preselected_filter/txt.txt
new file mode 100755
index 000000000000..9c26e9a88bb0
--- /dev/null
+++ b/testautomation/spreadsheet/optional/input/loadsave/preselected_filter/txt.txt
@@ -0,0 +1,7 @@
+20.3.2006,"23,67 K?","Uzt","546,4",
+"03/20/06","24,67 €","Äüß","34,67%",
+20.3.2006,"$25,67","Uzt","1,00E+023",
+,,,,
+,,,,"Dies ist ein „gequoteter Text“ im Text"
+,,,,
+,,,,"„Alles gequotet“"
diff --git a/testautomation/spreadsheet/optional/input/loadsave/sun/so1.sdc b/testautomation/spreadsheet/optional/input/loadsave/sun/so1.sdc
new file mode 100755
index 000000000000..67b2d37cb84e
--- /dev/null
+++ b/testautomation/spreadsheet/optional/input/loadsave/sun/so1.sdc
Binary files differ
diff --git a/testautomation/spreadsheet/optional/input/loadsave/sun/so3.sdc b/testautomation/spreadsheet/optional/input/loadsave/sun/so3.sdc
new file mode 100755
index 000000000000..d734f7dafd65
--- /dev/null
+++ b/testautomation/spreadsheet/optional/input/loadsave/sun/so3.sdc
Binary files differ
diff --git a/testautomation/spreadsheet/optional/input/loadsave/sun/so3tmpl.vor b/testautomation/spreadsheet/optional/input/loadsave/sun/so3tmpl.vor
new file mode 100755
index 000000000000..7eec0636c8b2
--- /dev/null
+++ b/testautomation/spreadsheet/optional/input/loadsave/sun/so3tmpl.vor
Binary files differ
diff --git a/testautomation/spreadsheet/optional/input/loadsave/sun/so4.sdc b/testautomation/spreadsheet/optional/input/loadsave/sun/so4.sdc
new file mode 100755
index 000000000000..a08ea82454b6
--- /dev/null
+++ b/testautomation/spreadsheet/optional/input/loadsave/sun/so4.sdc
Binary files differ
diff --git a/testautomation/spreadsheet/optional/input/loadsave/sun/so4tmpl.vor b/testautomation/spreadsheet/optional/input/loadsave/sun/so4tmpl.vor
new file mode 100755
index 000000000000..29b085ffa4ee
--- /dev/null
+++ b/testautomation/spreadsheet/optional/input/loadsave/sun/so4tmpl.vor
Binary files differ
diff --git a/testautomation/spreadsheet/optional/input/loadsave/sun/so5.sdc b/testautomation/spreadsheet/optional/input/loadsave/sun/so5.sdc
new file mode 100755
index 000000000000..ca5766b9fc07
--- /dev/null
+++ b/testautomation/spreadsheet/optional/input/loadsave/sun/so5.sdc
Binary files differ
diff --git a/testautomation/spreadsheet/optional/input/loadsave/sun/so5tmpl.vor b/testautomation/spreadsheet/optional/input/loadsave/sun/so5tmpl.vor
new file mode 100755
index 000000000000..a3374b63d7c8
--- /dev/null
+++ b/testautomation/spreadsheet/optional/input/loadsave/sun/so5tmpl.vor
Binary files differ
diff --git a/testautomation/spreadsheet/optional/input/loadsave/sun/so7.sxc b/testautomation/spreadsheet/optional/input/loadsave/sun/so7.sxc
new file mode 100755
index 000000000000..321f3709944a
--- /dev/null
+++ b/testautomation/spreadsheet/optional/input/loadsave/sun/so7.sxc
Binary files differ
diff --git a/testautomation/spreadsheet/optional/input/loadsave/sun/so7tmpl.stc b/testautomation/spreadsheet/optional/input/loadsave/sun/so7tmpl.stc
new file mode 100755
index 000000000000..dba709440926
--- /dev/null
+++ b/testautomation/spreadsheet/optional/input/loadsave/sun/so7tmpl.stc
Binary files differ
diff --git a/testautomation/spreadsheet/optional/input/loadsave/sun/so8.ods b/testautomation/spreadsheet/optional/input/loadsave/sun/so8.ods
new file mode 100755
index 000000000000..3b3aea22305f
--- /dev/null
+++ b/testautomation/spreadsheet/optional/input/loadsave/sun/so8.ods
Binary files differ
diff --git a/testautomation/spreadsheet/optional/input/loadsave/sun/so8tmpl.ots b/testautomation/spreadsheet/optional/input/loadsave/sun/so8tmpl.ots
new file mode 100755
index 000000000000..0d1f161ed757
--- /dev/null
+++ b/testautomation/spreadsheet/optional/input/loadsave/sun/so8tmpl.ots
Binary files differ
diff --git a/testautomation/spreadsheet/optional/input/loadsave/tableimport/HTML_Doc_Numberformats_in_table.html b/testautomation/spreadsheet/optional/input/loadsave/tableimport/HTML_Doc_Numberformats_in_table.html
new file mode 100755
index 000000000000..443969296969
--- /dev/null
+++ b/testautomation/spreadsheet/optional/input/loadsave/tableimport/HTML_Doc_Numberformats_in_table.html
@@ -0,0 +1,107 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<HTML>
+<HEAD>
+ <META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=windows-1252">
+ <TITLE></TITLE>
+ <META NAME="GENERATOR" CONTENT="StarOffice 8 (Win32)">
+ <META NAME="CREATED" CONTENT="16010101;0">
+ <META NAME="CHANGED" CONTENT="16010101;0">
+</HEAD>
+<BODY LANG="fr-FR" DIR="LTR">
+<P>HTML Document for testing Import compatibility of HTML and RTF
+clipboard content and also the Link to external Data and/or Insert
+Sheet from File.</P>
+<BR>
+<BR>
+<TABLE WIDTH=100% BORDER=1 CELLPADDING=4 CELLSPACING=3>
+ <COL WIDTH=128*>
+ <COL WIDTH=128*>
+ <TR VALIGN=TOP>
+ <TD WIDTH=50%>
+ <P>Number english</P>
+ </TD>
+ <TD WIDTH=50%>
+ <P>Number German</P>
+ </TD>
+ </TR>
+ <TR VALIGN=TOP>
+ <TD WIDTH=50%>
+ <P>1.1</P>
+ </TD>
+ <TD WIDTH=50%>
+ <P>1,2</P>
+ </TD>
+ </TR>
+ <TR VALIGN=TOP>
+ <TD WIDTH=50%>
+ <P>1.12</P>
+ </TD>
+ <TD WIDTH=50%>
+ <P>1,12</P>
+ </TD>
+ </TR>
+ <TR VALIGN=TOP>
+ <TD WIDTH=50%>
+ <P>3.45</P>
+ </TD>
+ <TD WIDTH=50%>
+ <P>3,45</P>
+ </TD>
+ </TR>
+ <TR VALIGN=TOP>
+ <TD WIDTH=50%>
+ <P>13.12</P>
+ </TD>
+ <TD WIDTH=50%>
+ <P>13,12</P>
+ </TD>
+ </TR>
+ <TR VALIGN=TOP>
+ <TD WIDTH=50%>
+ <P>1,234.45</P>
+ </TD>
+ <TD WIDTH=50%>
+ <P>1.234,45</P>
+ </TD>
+ </TR>
+ <TR VALIGN=TOP>
+ <TD WIDTH=50%>
+ <P>123,456,789.66</P>
+ </TD>
+ <TD WIDTH=50%>
+ <P>123.456.789,66</P>
+ </TD>
+ </TR>
+ <TR VALIGN=TOP>
+ <TD WIDTH=50%>
+ <P>1.000</P>
+ </TD>
+ <TD WIDTH=50%>
+ <P>1,000</P>
+ </TD>
+ </TR>
+ <TR VALIGN=TOP>
+ <TD WIDTH=50%>
+ <P><BR>
+ </P>
+ </TD>
+ <TD WIDTH=50%>
+ <P><BR>
+ </P>
+ </TD>
+ </TR>
+ <TR VALIGN=TOP>
+ <TD WIDTH=50%>
+ <P><BR>
+ </P>
+ </TD>
+ <TD WIDTH=50%>
+ <P><BR>
+ </P>
+ </TD>
+ </TR>
+</TABLE>
+<P><BR><BR>
+</P>
+</BODY>
+</HTML>
diff --git a/testautomation/spreadsheet/optional/input/loadsave/tableimport/HTML_Doc_Numberformats_in_table.rtf b/testautomation/spreadsheet/optional/input/loadsave/tableimport/HTML_Doc_Numberformats_in_table.rtf
new file mode 100755
index 000000000000..7ddf67b8b0dc
--- /dev/null
+++ b/testautomation/spreadsheet/optional/input/loadsave/tableimport/HTML_Doc_Numberformats_in_table.rtf
@@ -0,0 +1,62 @@
+{\rtf1\ansi\deff0\adeflang1025
+{\fonttbl{\f0\froman\fprq2\fcharset0 Thorndale{\*\falt Times New Roman};}{\f1\froman\fprq2\fcharset0 Thorndale{\*\falt Times New Roman};}{\f2\fswiss\fprq2\fcharset0 Albany{\*\falt Arial};}{\f3\froman\fprq2\fcharset0 Thorndale{\*\falt Times New Roman};}{\f4\fnil\fprq2\fcharset0 Andale Sans UI{\*\falt Arial Unicode MS};}{\f5\fnil\fprq2\fcharset0 HG Mincho Light J{\*\falt msmincho};}{\f6\fnil\fprq2\fcharset0 Lucidasans;}{\f7\fnil\fprq2\fcharset0 Arial Unicode MS;}{\f8\fnil\fprq0\fcharset0 Lucidasans;}}
+{\colortbl;\red0\green0\blue0;\red0\green0\blue128;\red128\green128\blue128;}
+{\stylesheet{\s1\cf0\aspalpha\ql\rtlch\af6\afs24\lang255\ltrch\dbch\af4\langfe255\hich\f0\fs24\lang1036\loch\f0\fs24\lang1036\snext1 Normal;}
+{\s2\sa283\cf0\aspalpha\ql\rtlch\af6\afs24\lang255\ltrch\dbch\af4\langfe255\hich\f0\fs24\lang1036\loch\f0\fs24\lang1036\sbasedon1\snext2 Body Text;}
+{\s3\sb240\sa283\keepn\cf0\aspalpha\ql\rtlch\af7\afs28\lang255\ltrch\dbch\af5\langfe255\hich\f2\fs28\lang1036\loch\f2\fs28\lang1036\sbasedon1\snext2 Heading;}
+{\s4\sb240\sa283\keepn\cf0\aspalpha\ql\rtlch\af7\afs48\lang255\ab\ltrch\dbch\af5\langfe255\hich\f0\fs48\lang1036\b\loch\f0\fs48\lang1036\b\sbasedon3\snext2 heading 1;}
+{\s5\sa283\cf0\aspalpha\ql\rtlch\af8\afs24\lang255\ltrch\dbch\af4\langfe255\hich\f0\fs24\lang1036\loch\f0\fs24\lang1036\sbasedon2\snext5 List;}
+{\s6\cf0\tqc\tx4818\tqr\tx9637\aspalpha\ql\rtlch\af6\afs24\lang255\ltrch\dbch\af4\langfe255\hich\f0\fs24\lang1036\loch\f0\fs24\lang1036\sbasedon1\snext6 header;}
+{\s7\cf0\tqc\tx4818\tqr\tx9637\aspalpha\ql\rtlch\af6\afs24\lang255\ltrch\dbch\af4\langfe255\hich\f0\fs24\lang1036\loch\f0\fs24\lang1036\sbasedon1\snext7 footer;}
+{\s8\sa283\cf0\aspalpha\ql\rtlch\af6\afs24\lang255\ltrch\dbch\af4\langfe255\hich\f0\fs24\lang1036\loch\f0\fs24\lang1036\sbasedon2\snext8 Table Contents;}
+{\s9\sa283\cf0\qc\aspalpha\rtlch\af6\afs24\lang255\ab\ltrch\dbch\af4\langfe255\hich\f0\fs24\lang1036\b\loch\f0\fs24\lang1036\b\sbasedon8\snext9 Table Heading;}
+{\s10\sb120\sa120\cf0\aspalpha\ql\rtlch\af8\afs24\lang255\ai\ltrch\dbch\af4\langfe255\hich\f0\fs24\lang1036\i\loch\f0\fs24\lang1036\i\sbasedon1\snext10 caption;}
+{\s11\cf0\aspalpha\ql\rtlch\af6\afs24\lang255\ltrch\dbch\af4\langfe255\hich\f0\fs24\lang1036\i\loch\f0\fs24\lang1036\i\sbasedon1\snext11 envelope return;}
+{\s12\cf0\aspalpha\ql\rtlch\af8\afs24\lang255\ltrch\dbch\af4\langfe255\hich\f0\fs24\lang1036\loch\f0\fs24\lang1036\sbasedon1\snext12 Index;}
+{\s13\sa283\brdrb\brdrdb\brdrw15\brdrcf3\brsp0{\*\brdrb\brdlncol3\brdlnin1\brdlnout1\brdlndist20}\brsp0\cf0\aspalpha\ql\rtlch\af6\afs24\lang255\ltrch\dbch\af4\langfe255\hich\f0\fs12\lang1036\loch\f0\fs12\lang1036\sbasedon1\snext2 Horizontal Line;}
+{\*\cs15\cf0\rtlch\af6\afs24\lang255\ltrch\dbch\af4\langfe255\hich\f0\fs24\lang1036\loch\f0\fs24\lang1036 Footnote Symbol;}
+{\*\cs16\cf2\ul\ulc0\rtlch\af6\afs24\lang255\ltrch\dbch\af4\langfe255\hich\f0\fs24\lang1036\loch\f0\fs24\lang1036 Internet link;}
+{\*\cs17\cf0\rtlch\af6\afs24\lang255\ltrch\dbch\af4\langfe255\hich\f0\fs24\lang1036\loch\f0\fs24\lang1036 Endnote Symbol;}
+}
+{\info{\creatim\yr2006\mo6\dy22\hr13\min28}{\revtim\yr1601\mo1\dy1\hr0\min0}{\printim\yr1601\mo1\dy1\hr0\min0}{\comment StarWriter}{\vern6800}}\deftab1134
+{\*\pgdsctbl
+{\pgdsc0\pgdscuse195\pgwsxn2147483647\pghsxn2147483647\marglsxn1134\margrsxn1134\margtsxn1134\margbsxn1134\pgdscnxt0 Standard;}
+{\pgdsc1\pgdscuse195\pgwsxn2147483647\pghsxn2147483647\marglsxn1134\margrsxn567\margtsxn567\margbsxn567\pgdscnxt1 HTML;}
+{\pgdsc2\pgdscuse195\pgwsxn2147483647\pghsxn2147483647\marglsxn1134\margrsxn1134\margtsxn1134\margbsxn1134\pgdscnxt2 Endnote;}}
+{\*\pgdscno1}\paperh16837\paperw11905\margl1134\margr567\margt567\margb567\sectd\sbknone\pgwsxn2147483647\pghsxn2147483647\marglsxn1134\margrsxn567\margtsxn567\margbsxn567\ftnbj\ftnstart1\ftnrstcont\ftnnar\aenddoc\aftnrstcont\aftnstart1\aftnnrlc
+\pard\plain \ltrpar\s2\cf0\aspalpha\sa283\ql\rtlch\af6\afs24\lang255\ltrch\dbch\af4\langfe255\hich\f0\fs24\lang1036\loch\f0\fs24\lang1036 {\rtlch \ltrch\loch\f0\fs24\lang1036\i0\b0 HTML Document for testing Import compatibility of HTML and RTF clipboard content and also the Link to external Data and/or Insert Sheet from File.}
+\par \pard\plain \ltrpar\s2\cf0\aspalpha\sa283\ql\rtlch\af6\afs24\lang255\ltrch\dbch\af4\langfe255\hich\f0\fs24\lang1036\loch\f0\fs24\lang1036
+\par \pard\plain \ltrpar\s2\cf0\aspalpha\sa283\ql\rtlch\af6\afs24\lang255\ltrch\dbch\af4\langfe255\hich\f0\fs24\lang1036\loch\f0\fs24\lang1036
+\par \pard\plain \ltrpar\s2\cf0\aspalpha\sa283\ql\rtlch\af6\afs24\lang255\ltrch\dbch\af4\langfe255\hich\f0\fs24\lang1036\loch\f0\fs24\lang1036
+\par \trowd\trql\trpaddft3\trpaddt60\trpaddfl3\trpaddl60\trpaddfb3\trpaddb60\trpaddfr3\trpaddr60\clbrdrt\brdrdb\brdrw15\brdrcf3\clbrdrl\brdrdb\brdrw15\brdrcf3\clbrdrb\brdrdb\brdrw15\brdrcf3\cellx6435\clbrdrt\brdrdb\brdrw15\brdrcf3\clbrdrl\brdrdb\brdrw15\brdrcf3\clbrdrb\brdrdb\brdrw15\brdrcf3\clbrdrr\brdrdb\brdrw15\brdrcf3\cellx12871
+\pard\intbl\pard\plain \intbl\ltrpar\s8\cf0\aspalpha\sa283\ql\rtlch\af6\afs24\lang255\ltrch\dbch\af4\langfe255\hich\f0\fs24\lang1036\loch\f0\fs24\lang1036 {\rtlch \ltrch\loch\f0\fs24\lang1036\i0\b0 Number english}
+\cell\pard\plain \intbl\ltrpar\s8\cf0\aspalpha\sa283\ql\rtlch\af6\afs24\lang255\ltrch\dbch\af4\langfe255\hich\f0\fs24\lang1036\loch\f0\fs24\lang1036 {\rtlch \ltrch\loch\f0\fs24\lang1036\i0\b0 Number German}
+\cell\row\pard \trowd\trql\trpaddft3\trpaddt60\trpaddfl3\trpaddl60\trpaddfb3\trpaddb60\trpaddfr3\trpaddr60\clbrdrl\brdrdb\brdrw15\brdrcf3\clbrdrb\brdrdb\brdrw15\brdrcf3\cellx6435\clbrdrl\brdrdb\brdrw15\brdrcf3\clbrdrb\brdrdb\brdrw15\brdrcf3\clbrdrr\brdrdb\brdrw15\brdrcf3\cellx12871
+\pard\intbl\pard\plain \intbl\ltrpar\s8\cf0\aspalpha\sa283\ql\rtlch\af6\afs24\lang255\ltrch\dbch\af4\langfe255\hich\f0\fs24\lang1036\loch\f0\fs24\lang1036 {\rtlch \ltrch\loch\f0\fs24\lang1036\i0\b0 1.1}
+\cell\pard\plain \intbl\ltrpar\s8\cf0\aspalpha\sa283\ql\rtlch\af6\afs24\lang255\ltrch\dbch\af4\langfe255\hich\f0\fs24\lang1036\loch\f0\fs24\lang1036 {\rtlch \ltrch\loch\f0\fs24\lang1036\i0\b0 1,2}
+\cell\row\pard \trowd\trql\trpaddft3\trpaddt60\trpaddfl3\trpaddl60\trpaddfb3\trpaddb60\trpaddfr3\trpaddr60\clbrdrl\brdrdb\brdrw15\brdrcf3\clbrdrb\brdrdb\brdrw15\brdrcf3\cellx6435\clbrdrl\brdrdb\brdrw15\brdrcf3\clbrdrb\brdrdb\brdrw15\brdrcf3\clbrdrr\brdrdb\brdrw15\brdrcf3\cellx12871
+\pard\intbl\pard\plain \intbl\ltrpar\s8\cf0\aspalpha\sa283\ql\rtlch\af6\afs24\lang255\ltrch\dbch\af4\langfe255\hich\f0\fs24\lang1036\loch\f0\fs24\lang1036 {\rtlch \ltrch\loch\f0\fs24\lang1036\i0\b0 1.12}
+\cell\pard\plain \intbl\ltrpar\s8\cf0\aspalpha\sa283\ql\rtlch\af6\afs24\lang255\ltrch\dbch\af4\langfe255\hich\f0\fs24\lang1036\loch\f0\fs24\lang1036 {\rtlch \ltrch\loch\f0\fs24\lang1036\i0\b0 1,12}
+\cell\row\pard \trowd\trql\trpaddft3\trpaddt60\trpaddfl3\trpaddl60\trpaddfb3\trpaddb60\trpaddfr3\trpaddr60\clbrdrl\brdrdb\brdrw15\brdrcf3\clbrdrb\brdrdb\brdrw15\brdrcf3\cellx6435\clbrdrl\brdrdb\brdrw15\brdrcf3\clbrdrb\brdrdb\brdrw15\brdrcf3\clbrdrr\brdrdb\brdrw15\brdrcf3\cellx12871
+\pard\intbl\pard\plain \intbl\ltrpar\s8\cf0\aspalpha\sa283\ql\rtlch\af6\afs24\lang255\ltrch\dbch\af4\langfe255\hich\f0\fs24\lang1036\loch\f0\fs24\lang1036 {\rtlch \ltrch\loch\f0\fs24\lang1036\i0\b0 3.45}
+\cell\pard\plain \intbl\ltrpar\s8\cf0\aspalpha\sa283\ql\rtlch\af6\afs24\lang255\ltrch\dbch\af4\langfe255\hich\f0\fs24\lang1036\loch\f0\fs24\lang1036 {\rtlch \ltrch\loch\f0\fs24\lang1036\i0\b0 3,45}
+\cell\row\pard \trowd\trql\trpaddft3\trpaddt60\trpaddfl3\trpaddl60\trpaddfb3\trpaddb60\trpaddfr3\trpaddr60\clbrdrl\brdrdb\brdrw15\brdrcf3\clbrdrb\brdrdb\brdrw15\brdrcf3\cellx6435\clbrdrl\brdrdb\brdrw15\brdrcf3\clbrdrb\brdrdb\brdrw15\brdrcf3\clbrdrr\brdrdb\brdrw15\brdrcf3\cellx12871
+\pard\intbl\pard\plain \intbl\ltrpar\s8\cf0\aspalpha\sa283\ql\rtlch\af6\afs24\lang255\ltrch\dbch\af4\langfe255\hich\f0\fs24\lang1036\loch\f0\fs24\lang1036 {\rtlch \ltrch\loch\f0\fs24\lang1036\i0\b0 13.12}
+\cell\pard\plain \intbl\ltrpar\s8\cf0\aspalpha\sa283\ql\rtlch\af6\afs24\lang255\ltrch\dbch\af4\langfe255\hich\f0\fs24\lang1036\loch\f0\fs24\lang1036 {\rtlch \ltrch\loch\f0\fs24\lang1036\i0\b0 13,12}
+\cell\row\pard \trowd\trql\trpaddft3\trpaddt60\trpaddfl3\trpaddl60\trpaddfb3\trpaddb60\trpaddfr3\trpaddr60\clbrdrl\brdrdb\brdrw15\brdrcf3\clbrdrb\brdrdb\brdrw15\brdrcf3\cellx6435\clbrdrl\brdrdb\brdrw15\brdrcf3\clbrdrb\brdrdb\brdrw15\brdrcf3\clbrdrr\brdrdb\brdrw15\brdrcf3\cellx12871
+\pard\intbl\pard\plain \intbl\ltrpar\s8\cf0\aspalpha\sa283\ql\rtlch\af6\afs24\lang255\ltrch\dbch\af4\langfe255\hich\f0\fs24\lang1036\loch\f0\fs24\lang1036 {\rtlch \ltrch\loch\f0\fs24\lang1036\i0\b0 1,234.45}
+\cell\pard\plain \intbl\ltrpar\s8\cf0\aspalpha\sa283\ql\rtlch\af6\afs24\lang255\ltrch\dbch\af4\langfe255\hich\f0\fs24\lang1036\loch\f0\fs24\lang1036 {\rtlch \ltrch\loch\f0\fs24\lang1036\i0\b0 1.234,45}
+\cell\row\pard \trowd\trql\trpaddft3\trpaddt60\trpaddfl3\trpaddl60\trpaddfb3\trpaddb60\trpaddfr3\trpaddr60\clbrdrl\brdrdb\brdrw15\brdrcf3\clbrdrb\brdrdb\brdrw15\brdrcf3\cellx6435\clbrdrl\brdrdb\brdrw15\brdrcf3\clbrdrb\brdrdb\brdrw15\brdrcf3\clbrdrr\brdrdb\brdrw15\brdrcf3\cellx12871
+\pard\intbl\pard\plain \intbl\ltrpar\s8\cf0\aspalpha\sa283\ql\rtlch\af6\afs24\lang255\ltrch\dbch\af4\langfe255\hich\f0\fs24\lang1036\loch\f0\fs24\lang1036 {\rtlch \ltrch\loch\f0\fs24\lang1036\i0\b0 123,456,789.66}
+\cell\pard\plain \intbl\ltrpar\s8\cf0\aspalpha\sa283\ql\rtlch\af6\afs24\lang255\ltrch\dbch\af4\langfe255\hich\f0\fs24\lang1036\loch\f0\fs24\lang1036 {\rtlch \ltrch\loch\f0\fs24\lang1036\i0\b0 123.456.789,66}
+\cell\row\pard \trowd\trql\trpaddft3\trpaddt60\trpaddfl3\trpaddl60\trpaddfb3\trpaddb60\trpaddfr3\trpaddr60\clbrdrl\brdrdb\brdrw15\brdrcf3\clbrdrb\brdrdb\brdrw15\brdrcf3\cellx6435\clbrdrl\brdrdb\brdrw15\brdrcf3\clbrdrb\brdrdb\brdrw15\brdrcf3\clbrdrr\brdrdb\brdrw15\brdrcf3\cellx12871
+\pard\intbl\pard\plain \intbl\ltrpar\s8\cf0\aspalpha\sa283\ql\rtlch\af6\afs24\lang255\ltrch\dbch\af4\langfe255\hich\f0\fs24\lang1036\loch\f0\fs24\lang1036 {\rtlch \ltrch\loch\f0\fs24\lang1036\i0\b0 1.000}
+\cell\pard\plain \intbl\ltrpar\s8\cf0\aspalpha\sa283\ql\rtlch\af6\afs24\lang255\ltrch\dbch\af4\langfe255\hich\f0\fs24\lang1036\loch\f0\fs24\lang1036 {\rtlch \ltrch\loch\f0\fs24\lang1036\i0\b0 1,000}
+\cell\row\pard \trowd\trql\trpaddft3\trpaddt60\trpaddfl3\trpaddl60\trpaddfb3\trpaddb60\trpaddfr3\trpaddr60\clbrdrl\brdrdb\brdrw15\brdrcf3\clbrdrb\brdrdb\brdrw15\brdrcf3\cellx6435\clbrdrl\brdrdb\brdrw15\brdrcf3\clbrdrb\brdrdb\brdrw15\brdrcf3\clbrdrr\brdrdb\brdrw15\brdrcf3\cellx12871
+\pard\intbl\pard\plain \intbl\ltrpar\s8\cf0\aspalpha\sa283\ql\rtlch\af6\afs24\lang255\ltrch\dbch\af4\langfe255\hich\f0\fs24\lang1036\loch\f0\fs24\lang1036
+\cell\pard\plain \intbl\ltrpar\s8\cf0\aspalpha\sa283\ql\rtlch\af6\afs24\lang255\ltrch\dbch\af4\langfe255\hich\f0\fs24\lang1036\loch\f0\fs24\lang1036
+\cell\row\pard \trowd\trql\trpaddft3\trpaddt60\trpaddfl3\trpaddl60\trpaddfb3\trpaddb60\trpaddfr3\trpaddr60\clbrdrl\brdrdb\brdrw15\brdrcf3\clbrdrb\brdrdb\brdrw15\brdrcf3\cellx6435\clbrdrl\brdrdb\brdrw15\brdrcf3\clbrdrb\brdrdb\brdrw15\brdrcf3\clbrdrr\brdrdb\brdrw15\brdrcf3\cellx12871
+\pard\intbl\pard\plain \intbl\ltrpar\s8\cf0\aspalpha\sa283\ql\rtlch\af6\afs24\lang255\ltrch\dbch\af4\langfe255\hich\f0\fs24\lang1036\loch\f0\fs24\lang1036
+\cell\pard\plain \intbl\ltrpar\s8\cf0\aspalpha\sa283\ql\rtlch\af6\afs24\lang255\ltrch\dbch\af4\langfe255\hich\f0\fs24\lang1036\loch\f0\fs24\lang1036
+\cell\row\pard \pard\plain \ltrpar\s2\cf0\aspalpha\sa283\ql\rtlch\af6\afs24\lang255\ltrch\dbch\af4\langfe255\hich\f0\fs24\lang1036\loch\f0\fs24\lang1036
+\par }
diff --git a/testautomation/spreadsheet/optional/input/namedrange.sxc b/testautomation/spreadsheet/optional/input/namedrange.sxc
new file mode 100755
index 000000000000..b15a51636dfd
--- /dev/null
+++ b/testautomation/spreadsheet/optional/input/namedrange.sxc
Binary files differ
diff --git a/testautomation/spreadsheet/optional/input/printrange.sxc b/testautomation/spreadsheet/optional/input/printrange.sxc
new file mode 100755
index 000000000000..1d00ac5c34af
--- /dev/null
+++ b/testautomation/spreadsheet/optional/input/printrange.sxc
Binary files differ
diff --git a/testautomation/spreadsheet/optional/input/printrange.xls b/testautomation/spreadsheet/optional/input/printrange.xls
new file mode 100755
index 000000000000..146464e4bed6
--- /dev/null
+++ b/testautomation/spreadsheet/optional/input/printrange.xls
Binary files differ
diff --git a/testautomation/spreadsheet/optional/input/printranges_3defined.ods b/testautomation/spreadsheet/optional/input/printranges_3defined.ods
new file mode 100755
index 000000000000..0681f52491fd
--- /dev/null
+++ b/testautomation/spreadsheet/optional/input/printranges_3defined.ods
Binary files differ
diff --git a/testautomation/spreadsheet/optional/input/stest_large.ods b/testautomation/spreadsheet/optional/input/stest_large.ods
new file mode 100644
index 000000000000..cd915a77e5b7
--- /dev/null
+++ b/testautomation/spreadsheet/optional/input/stest_large.ods
Binary files differ
diff --git a/testautomation/spreadsheet/optional/input/validity.ods b/testautomation/spreadsheet/optional/input/validity.ods
new file mode 100755
index 000000000000..aced256e948b
--- /dev/null
+++ b/testautomation/spreadsheet/optional/input/validity.ods
Binary files differ