'encoding UTF-8 Do not remove or change this line! '************************************************************************* ' ' Licensed to the Apache Software Foundation (ASF) under one ' or more contributor license agreements. See the NOTICE file ' distributed with this work for additional information ' regarding copyright ownership. The ASF licenses this file ' to you under the Apache License, Version 2.0 (the ' "License"); you may not use this file except in compliance ' with the License. You may obtain a copy of the License at ' ' http://www.apache.org/licenses/LICENSE-2.0 ' ' Unless required by applicable law or agreed to in writing, ' software distributed under the License is distributed on an ' "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY ' KIND, either express or implied. See the License for the ' specific language governing permissions and limitations ' under the License. ' '************************************************************************* '* '* short description : Continue Chart resource test - Menu FORMAT '* '************************************************************************ '* ' #1 tFormatXAxisMainGrid ' #1 tFormatYAxisMainGrid ' #1 tFormatZAxisMainGrid ' #1 tFormatXAxisMinorGrid ' #1 tFormatYAxisMinorGrid ' #1 tFormatZAxisMinorGrid ' #1 tFormatAllAxesGrids ' #1 tFormatLegend ' #1 tFormatChartWall ' #1 tFormatChartFloor ' #1 tFormatChartArea ' #1 tFormatChartType ' #1 tFormatDataRanges ' #1 tFormat3DView '* '\************************************************************************ testcase tFormatXAxisMainGrid '///Dialog test after invoking Format::Grid::X Axis Main Grid '/// endcase '------------------------------------------------------------- testcase tFormatYAxisMainGrid '///Dialog test after invoking Format::Grid::Y Axis Main Grid '/// endcase '------------------------------------------------------------- testcase tFormatZAxisMainGrid '///Dialog test after invoking Format::Grid::Z Axis Main Grid '/// endcase ' '------------------------------------------------------------------------------- ' testcase tFormatXAxisMinorGrid '///Dialog test after invoking Format::Grid::X Axis Minor Grid '/// Load simple chart document if fLoadVerySimpleChartAndSaveLocal() > 0 then warnlog "Loading test document seems to have failed -> Check this out!" goto endsub endif '/// Select chart using navigator call fSelectFirstOLE '/// Invoke Edit::Object::Edit to enter Inplace Mode EditObjectEdit sleep(1) '/// Invoke Format::Chart Type if fInvokeChartTypeDialog() > 0 then warnlog "Something went wrong trying to invoke the Chart Types dialog -> Check this out! (Previous log may help you)" Call hCloseDocument goto endsub endif '/// Change Chart type to xy chart if fSetChartType( "xy" ) > 0 then warnlog "Something went wrong setting chart type to xy chart -> Check this out! (Previous log may help you)" Call hCloseDocument goto endsub endif '/// Close Chart Type dialog if fCloseChartTypeDialogOK() > 0 then warnlog "Something went wrong trying to close the Chart Type dialog -> Check this out! (Previous log may help you)" Call hCloseDocument goto endsub endif '/// Invoke Insert::Grids if fInvokeGridsDialog() > 0 then warnlog "Something went wrong trying to invoke the Grids dialog -> Check this out! (Previous log may help you)" Call hCloseDocument goto endsub endif Kontext "InsertGridsDialog" '/// Check Minor Grid X Axis if fSetGrid( MinorGridXAxis , TRUE ) > 0 then warnlog "Something went wrong enabling Minor Grid Y Axis -> Check this out! (Previous log may help you)" Call hCloseDocument goto endsub endif '/// Close Grids dialog if fCloseGridsDialogOK() > 0 then warnlog "Something went wrong trying to close the Grids dialog -> Check this out! (Previous log may help you)" Call hCloseDocument goto endsub endif '/// Invoke Format::Grid::X Axis Minor Grid FormatGridXAxisMinorGrid '/// Check if tab-page Line exists Kontext "TabFormatChartLine" call DialogTest ( TabFormatChartLine ) '/// Close dialog TabFormatChartLine.Cancel '/// Close document Kontext "DocumentCalc" DocumentCalc.TypeKeys "" Call hCloseDocument endcase ' '------------------------------------------------------------------------------- ' testcase tFormatYAxisMinorGrid '///Dialog test after invoking Format::Grid::Y Axis Minor Grid '/// endcase ' '------------------------------------------------------------------------------- ' testcase tFormatAllAxesGrids '///Dialog test after invoking Format::Grid::All Grids '/// endcase '------------------------------------------------------------- testcase tFormatLegend '///Dialog test after invoking Format::Legend '/// endcase '------------------------------------------------------------- testcase tFormatChartWall '///Dialog test after invoking Format::Chart Wall '/// endcase '------------------------------------------------------------- testcase tFormatChartFloor '///Dialog test after invoking Format::Chart Floor '/// endcase '------------------------------------------------------------- testcase tFormatChartArea '///Dialog test after invoking Format::Chart Area '/// endcase '------------------------------------------------------------- testcase tFormatChartType '///Dialog test after invoking Format::Chart Type '/// endcase '------------------------------------------------------------- testcase tFormatDataRanges '///Dialog test after invoking Format::Data Ranges '/// endcase '------------------------------------------------------------- testcase tFormat3DView '///Dialog test after invoking Format::3D View '/// endcase '------------------------------------------------------------- '