1 'encoding UTF-8 Do not remove or change this line!
2 '**************************************************************************
3 '* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 '* Copyright 2008 by Sun Microsystems, Inc.
7 '* OpenOffice.org - a multi-platform office productivity suite
9 '* $RCSfile: ch2_updt_calc.bas,v $
13 '* last change: $Author: jsi $ $Date: 2008-06-13 14:27:01 $
15 '* This file is part of OpenOffice.org.
17 '* OpenOffice.org is free software: you can redistribute it and/or modify
18 '* it under the terms of the GNU Lesser General Public License version 3
19 '* only, as published by the Free Software Foundation.
21 '* OpenOffice.org is distributed in the hope that it will be useful,
22 '* but WITHOUT ANY WARRANTY; without even the implied warranty of
23 '* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24 '* GNU Lesser General Public License version 3 for more details
25 '* (a copy is included in the LICENSE file that accompanied this code).
27 '* You should have received a copy of the GNU Lesser General Public License
28 '* version 3 along with OpenOffice.org. If not, see
29 '* <http://www.openoffice.org/license.html>
30 '* for a copy of the LGPLv3 License.
32 '/************************************************************************
34 '* owner : oliver.craemer@sun.com
36 '* short description : Resource Test for all chart specific menues
38 '\************************************************************************************************
41 use
"chart2\tools\ch_tools_common.inc"
42 use
"chart2\tools\ch_tools_chart_type.inc"
43 use
"chart2\tools\ch_tools_titles.inc"
44 use
"chart2\tools\ch_tools_axes.inc"
45 use
"chart2\tools\ch_tools_grids.inc"
46 use
"chart2\tools\ch_tools_legend.inc"
47 use
"chart2\tools\ch_tools_data_labels.inc"
48 use
"chart2\tools\ch_tools_statistics.inc"
49 use
"chart2\tools\ch_tools_tab_pages.inc"
50 use
"chart2\tools\ch_tools_select.inc"
51 use
"chart2\required\includes\ch2_wizard.inc"
52 use
"chart2\required\includes\ch2_file.inc"
53 use
"chart2\required\includes\ch2_view.inc"
54 use
"chart2\required\includes\ch2_insert_ctl.inc"
55 use
"chart2\required\includes\ch2_insert.inc"
56 use
"chart2\required\includes\ch2_format.inc"
57 use
"chart2\required\includes\ch2_format1.inc"
58 use
"chart2\required\includes\ch2_window.inc"
59 use
"chart2\required\includes\ch2_toolbars.inc"
60 use
"chart2\required\includes\ch2_menu.inc"
61 use
"chart2\required\includes\ch2_ole.inc"
63 Call hStatusIn("Chart2", "ch2_updt_calc.bas")
65 printlog
"----------------------------------------"
66 printlog
"C h a r t 2 i n S p r e a d s h e e t"
67 printlog
" U p d a t e t e s t"
68 printlog
"----------------------------------------"
69 printLog
Chr(13) + "----------- Chart2 Wizard ------------"
71 printLog
Chr(13) + "----------- Chart2 Menu ------------"
73 printLog
Chr(13) + "---------- Chart2 File Menu ----------"
83 printLog
Chr(13) + "---------- Chart2 View Menu -----------"
85 Call tViewToolbarsCustomize
87 printLog
Chr(13) + "-------- Chart2 Insert Menu ----------"
92 call tInsertDataLabels
93 call tInsertTrendLines
94 call tInsertMeanValueLines
95 call tInsertYErrorBars
96 call tInsertSpecialCharacter
97 printLog
Chr(13) + "-------- Chart2 CTL Features ----------"
98 call tTitleTextDirection
99 call tLegendTextDirection
100 call tXAxisTextDirection
101 call tDataSeriesTextDirection
102 call tEquationTextDirection
103 call tDataPointTextDirection
104 printlog
Chr(13) + "--------- Chart2 Format Menu ---------"
105 call tFormatObjectProperties
106 call tFormatObjectPropertiesPieChart
107 call tFormatPositonAndSize
108 call tFormatArrangement
109 Call tFormatTitleMaintitle
110 Call tFormatTitleSubtitle
111 Call tFormatTitleXAxistitle
112 Call tFormatTitleYAxistitle
113 Call tFormatTitleZAxistitle
114 Call tFormatTitleAllTitles
115 Call tFormatAxisXAxis
116 Call tFormatAxisYAxis
117 Call tFormatAxisZAxis
118 Call tFormatAxisSecondaryXAxis
119 Call tFormatAxisSecondaryYAxis
120 Call tFormatAxisAllAxes
121 Call tFormatXAxisMainGrid
122 Call tFormatYAxisMainGrid
123 Call tFormatZAxisMainGrid
124 call tFormatXAxisMinorGrid
125 Call tFormatYAxisMinorGrid
126 Call tFormatAllAxesGrids
128 Call tFormatChartWall
129 Call tFormatChartFloor
130 Call tFormatChartArea
131 Call tFormatChartType
132 call tFormatDataRanges
134 printlog
Chr(13) + "--------- Chart2 Window Menu ---------"
135 Call tWindowNewWindowAndClose
136 printLog
Chr(13) + "---------- Chart2 Toolbars -----------"
138 printLog
Chr(13) + "--------- Chart2 as OLE object ---------"
139 Call tChartOLE("WRITER")
140 Call tChartOLE("CALC")
141 Call tChartOLE("IMPRESS")
142 Call tChartOLE("DRAW")
143 Call tChartOLE("HTML")
144 Call tChartOLE("MASTERDOCUMENT")
149 '-------------------------------------------------------------------------------
152 use
"global\system\includes\master.inc"
153 use
"global\system\includes\gvariabl.inc"
154 use
"global\tools\includes\optional\t_set_standard_controls.inc"
156 gApplication
= "CALC"