LibreOffice Module sc (master) 1
vbaaxis.cxx
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2/*
3 * This file is part of the LibreOffice project.
4 *
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 *
9 * This file incorporates work covered by the following license notice:
10 *
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18 */
19
20#include "vbaaxis.hxx"
21#include <ooo/vba/excel/XlAxisCrosses.hpp>
22#include <ooo/vba/excel/XlAxisType.hpp>
23#include <ooo/vba/excel/XlScaleType.hpp>
24#include <utility>
25#include "vbaaxistitle.hxx"
26#include "vbachart.hxx"
27using namespace ::com::sun::star;
28using namespace ::ooo::vba;
29using namespace ::ooo::vba::excel::XlAxisCrosses;
30using namespace ::ooo::vba::excel::XlAxisType;
31using namespace ::ooo::vba::excel::XlScaleType;
32
33constexpr OUStringLiteral ORIGIN(u"Origin");
34constexpr OUStringLiteral AUTOORIGIN(u"AutoOrigin");
35constexpr OUStringLiteral VBA_MIN(u"Max");
36constexpr OUStringLiteral VBA_MAX(u"Min");
39{
40 ScVbaChart* pChart = static_cast< ScVbaChart* >( moChartParent.get() );
41 if ( !pChart )
42 throw uno::RuntimeException("Can't access parent chart impl" );
43 return pChart;
44}
45
46bool
48{
49 if ( getType() == xlCategory )
50 {
51 DebugHelper::basicexception(ERRCODE_BASIC_METHOD_FAILED, {});
52 }
53 return true;
54}
55
56ScVbaAxis::ScVbaAxis( const uno::Reference< XHelperInterface >& xParent,
57 const uno::Reference< uno::XComponentContext > & xContext,
58 uno::Reference< beans::XPropertySet > _xPropertySet,
59 sal_Int32 _nType, sal_Int32 _nGroup )
60 : ScVbaAxis_BASE( xParent, xContext ),
61 mxPropertySet(std::move( _xPropertySet )),
62 mnType( _nType ), mnGroup( _nGroup ),
63 maShapeHelper( uno::Reference< drawing::XShape >( mxPropertySet, uno::UNO_QUERY ) ),
64 bCrossesAreCustomized( false )
65{
66 moChartParent.set( xParent, uno::UNO_QUERY_THROW );
67 setType(_nType);
68 setCrosses(xlAxisCrossesAutomatic);
69}
70
71void SAL_CALL
73{
74 uno::Reference< lang::XComponent > xComponent( mxPropertySet, uno::UNO_QUERY_THROW );
75 xComponent->dispose();
76}
77
78 uno::Reference< ::ooo::vba::excel::XAxisTitle > SAL_CALL
80{
81 uno::Reference< excel::XAxisTitle > xAxisTitle;
82 try
83 {
84 ScVbaChart* pChart = getChartPtr();
85
86 if (getHasTitle() )
87 {
88 int nType = getType();
89 switch(nType)
90 {
91 case xlCategory:
92 xAxisTitle = new ScVbaAxisTitle(this, mxContext, pChart->xAxisXSupplier->getXAxisTitle());
93 break;
94 case xlSeriesAxis:
95 xAxisTitle = new ScVbaAxisTitle(this, mxContext, pChart->xAxisZSupplier->getZAxisTitle());
96 break;
97 default: // xlValue:
98 xAxisTitle = new ScVbaAxisTitle(this, mxContext, pChart->xAxisYSupplier->getYAxisTitle());
99 break;
100 }
101 }
102 }
103 catch (const uno::Exception& e)
104 {
105 DebugHelper::basicexception(e);
106 }
107 return xAxisTitle;
108
109}
110
111void SAL_CALL
112ScVbaAxis::setDisplayUnit( ::sal_Int32 /*DisplayUnit*/ )
113{
114 DebugHelper::basicexception(ERRCODE_BASIC_NOT_IMPLEMENTED, {});
115}
116
117::sal_Int32 SAL_CALL
119{
120 DebugHelper::basicexception(ERRCODE_BASIC_NOT_IMPLEMENTED, {});
121 return -1;
122}
123
124void SAL_CALL
125ScVbaAxis::setCrosses( ::sal_Int32 _nCrosses )
126{
127 try
128 {
129 double fNum = 0.0;
130 switch (_nCrosses)
131 {
132 case xlAxisCrossesAutomatic: //Microsoft Excel sets the axis crossing point.
133 mxPropertySet->setPropertyValue(AUTOORIGIN, uno::Any( true ) );
134 bCrossesAreCustomized = false;
135 return;
136 case xlAxisCrossesMinimum: // The axis crosses at the minimum value.
137 mxPropertySet->getPropertyValue(VBA_MIN) >>= fNum;
138 setCrossesAt( fNum );
139 bCrossesAreCustomized = false;
140 break;
141 case xlAxisCrossesMaximum: // The axis crosses at the maximum value.
142 mxPropertySet->getPropertyValue(VBA_MAX) >>= fNum;
143 setCrossesAt(fNum);
144 bCrossesAreCustomized = false;
145 break;
146 default: //xlAxisCrossesCustom
148 break;
149 }
150 mxPropertySet->setPropertyValue(AUTOORIGIN, uno::Any(false) );
151 }
152 catch (const uno::Exception&)
153 {
154 DebugHelper::basicexception(ERRCODE_BASIC_METHOD_FAILED, {});
155 }
156}
157::sal_Int32 SAL_CALL
159{
160 sal_Int32 nCrosses = xlAxisCrossesCustom;
161 try
162 {
163 bool bisAutoOrigin = false;
164 mxPropertySet->getPropertyValue(AUTOORIGIN) >>= bisAutoOrigin;
165 if (bisAutoOrigin)
166 nCrosses = xlAxisCrossesAutomatic;
167 else
168 {
170 nCrosses = xlAxisCrossesCustom;
171 else
172 {
173 double forigin = 0.0;
174 mxPropertySet->getPropertyValue(ORIGIN) >>= forigin;
175 double fmin = 0.0;
176 mxPropertySet->getPropertyValue(VBA_MIN) >>= fmin;
177 if (forigin == fmin)
178 nCrosses = xlAxisCrossesMinimum;
179 else
180 nCrosses = xlAxisCrossesMaximum;
181 }
182 }
183 }
184 catch (uno::Exception& )
185 {
186 DebugHelper::basicexception(ERRCODE_BASIC_METHOD_FAILED, {} );
187 }
188 return nCrosses;
189}
190
191 void SAL_CALL
192ScVbaAxis::setCrossesAt( double _fCrossesAt )
193{
194 try
195 {
196 setMaximumScaleIsAuto( false );
197 setMinimumScaleIsAuto( false );
198 mxPropertySet->setPropertyValue(ORIGIN, uno::Any(_fCrossesAt));
199 }
200 catch (const uno::Exception& e)
201 {
202 DebugHelper::basicexception(e);
203 }
204}
205
206 double SAL_CALL
208{
209 double fCrosses = 0.0;
210 try
211 {
212 mxPropertySet->getPropertyValue(ORIGIN) >>= fCrosses;
213 }
214 catch (uno::Exception& )
215 {
216 DebugHelper::basicexception(ERRCODE_BASIC_METHOD_FAILED, {});
217 }
218 return fCrosses;
219}
220
221void SAL_CALL
222ScVbaAxis::setType( ::sal_Int32 _nType )
223{
224 mnType = _nType;
225}
226
227::sal_Int32 SAL_CALL
229{
230 return mnType;
231}
232
233void SAL_CALL
235{
236 try
237 {
238 ScVbaChart* pChart = getChartPtr();
239 sal_Int32 nType = getType();
240 switch(nType)
241 {
242 case xlCategory:
243 pChart->mxDiagramPropertySet->setPropertyValue("HasXAxisTitle", uno::Any(_bHasTitle));
244 break;
245 case xlSeriesAxis:
246 pChart->mxDiagramPropertySet->setPropertyValue("HasZAxisTitle", uno::Any(_bHasTitle));
247 break;
248 default: // xlValue:
249 pChart->mxDiagramPropertySet->setPropertyValue("HasYAxisTitle", uno::Any(_bHasTitle));
250 }
251
252 }
253 catch (const uno::Exception& e)
254 {
255 DebugHelper::basicexception(e);
256 }
257}
258
259 sal_Bool SAL_CALL
261{
262 bool bHasTitle = false;
263 try
264 {
265 ScVbaChart* pChart = getChartPtr();
266 int nType = getType();
267 switch(nType)
268 {
269 case xlCategory:
270 pChart->mxDiagramPropertySet->getPropertyValue("HasXAxisTitle") >>= bHasTitle;
271 break;
272 case xlSeriesAxis:
273 pChart->mxDiagramPropertySet->getPropertyValue("HasZAxisTitle") >>= bHasTitle;
274 break;
275 default: // xlValue:
276 pChart->mxDiagramPropertySet->getPropertyValue("HasYAxisTitle") >>= bHasTitle;
277 }
278 }
279 catch (const uno::Exception& e)
280 {
281 DebugHelper::basicexception(e);
282 }
283 return bHasTitle;
284}
285
286void SAL_CALL
287ScVbaAxis::setMinorUnit( double _fMinorUnit )
288{
289 try
290 {
291 if (isValueAxis())
292 mxPropertySet->setPropertyValue("StepHelp", uno::Any(_fMinorUnit));
293 }
294 catch (uno::Exception& )
295 {
296 DebugHelper::basicexception(ERRCODE_BASIC_METHOD_FAILED, {});
297 }
298}
299
300double SAL_CALL
302{
303 double fMinor = 1.0;
304 try
305 {
306 if (isValueAxis())
307 mxPropertySet->getPropertyValue("StepHelp") >>= fMinor;
308 }
309 catch (uno::Exception& )
310 {
311 DebugHelper::basicexception(ERRCODE_BASIC_METHOD_FAILED, {});
312 }
313 return fMinor;
314}
315
316void SAL_CALL
318{
319 try
320 {
321 if (isValueAxis())
322 mxPropertySet->setPropertyValue("AutoStepHelp", uno::Any(_bMinorUnitIsAuto));
323 }
324 catch (uno::Exception& )
325 {
326 DebugHelper::basicexception(ERRCODE_BASIC_METHOD_FAILED, {} );
327 }
328}
329
330 sal_Bool SAL_CALL
332{
333 bool bIsAuto = false;
334 try
335 {
336 if (isValueAxis())
337 {
338 mxPropertySet->getPropertyValue("AutoStepHelp") >>= bIsAuto;
339 }
340 }
341 catch (const uno::Exception&)
342 {
343 DebugHelper::basicexception(ERRCODE_BASIC_METHOD_FAILED, {});
344 }
345 return bIsAuto;
346}
347
348void SAL_CALL
350{
351 DebugHelper::basicexception(ERRCODE_BASIC_NOT_IMPLEMENTED, {});
352}
353
354sal_Bool SAL_CALL
356{
357 DebugHelper::basicexception(ERRCODE_BASIC_NOT_IMPLEMENTED, {});
358 return false;
359}
360
361void SAL_CALL
362ScVbaAxis::setMajorUnit( double _fMajorUnit )
363{
364 try
365 {
366 if (isValueAxis())
367 {
368 mxPropertySet->setPropertyValue("StepMain", uno::Any(_fMajorUnit));
369 }
370 }
371 catch (const uno::Exception&)
372 {
373 DebugHelper::basicexception(ERRCODE_BASIC_METHOD_FAILED, {});
374 }
375}
376
377double SAL_CALL
379{
380 double fMax = 1.0;
381 try
382 {
383 if (isValueAxis())
384 mxPropertySet->getPropertyValue("StepMain") >>= fMax;
385 }
386 catch (const uno::Exception&)
387 {
388 DebugHelper::basicexception(ERRCODE_BASIC_METHOD_FAILED, {} );
389 }
390 return fMax;
391}
392
393void SAL_CALL
395{
396 try
397 {
398 if (isValueAxis())
399 {
400 mxPropertySet->setPropertyValue("AutoStepMain", uno::Any( _bMajorUnitIsAuto ));
401 }
402 }
403 catch (const uno::Exception&)
404 {
405 DebugHelper::basicexception(ERRCODE_BASIC_METHOD_FAILED, {});
406 }
407}
408
409sal_Bool SAL_CALL
411{
412 bool bIsAuto = false;
413 try
414 {
415 if (isValueAxis())
416 {
417 mxPropertySet->getPropertyValue("AutoStepMain") >>= bIsAuto;
418 }
419 }
420 catch (const uno::Exception&)
421 {
422 DebugHelper::basicexception(ERRCODE_BASIC_METHOD_FAILED, {});
423 }
424 return bIsAuto;
425}
426
427void SAL_CALL
428ScVbaAxis::setMaximumScale( double _fMaximumScale )
429{
430 try
431 {
432 if ( isValueAxis() )
433 {
434 mxPropertySet->setPropertyValue("Max", uno::Any(_fMaximumScale));
435 }
436 }
437 catch (const uno::Exception&)
438 {
439 DebugHelper::basicexception(ERRCODE_BASIC_METHOD_FAILED, {});
440 }
441}
442
443double SAL_CALL
445{
446 double fMax = 1.0;
447 try
448 {
449 if (isValueAxis())
450 {
451 mxPropertySet->getPropertyValue("Max") >>= fMax;
452 }
453 }
454 catch (const uno::Exception&)
455 {
456 DebugHelper::basicexception(ERRCODE_BASIC_METHOD_FAILED, {});
457 }
458 return fMax;
459
460}
461
462void SAL_CALL
464{
465 try
466 {
467 if ( isValueAxis() )
468 mxPropertySet->setPropertyValue("AutoMax", uno::Any( _bMaximumScaleIsAuto ));
469
470 }
471 catch (const uno::Exception&)
472 {
473 DebugHelper::basicexception(ERRCODE_BASIC_METHOD_FAILED, {});
474 }
475}
476
477sal_Bool SAL_CALL
479{
480 bool bIsAuto = false;
481 try
482 {
483 if (isValueAxis())
484 mxPropertySet->getPropertyValue("AutoMax") >>= bIsAuto;
485 }
486 catch (const uno::Exception&)
487 {
488 DebugHelper::basicexception( ERRCODE_BASIC_METHOD_FAILED, {} );
489 }
490 return bIsAuto;
491}
492
493void SAL_CALL
494ScVbaAxis::setMinimumScale( double _fMinimumScale )
495{
496 try
497 {
498 if (isValueAxis())
499 mxPropertySet->setPropertyValue("Min", uno::Any( _fMinimumScale ) );
500 }
501 catch ( uno::Exception& )
502 {
503 DebugHelper::basicexception(ERRCODE_BASIC_METHOD_FAILED, {} );
504 }
505}
506
507double SAL_CALL
509{
510 double fMin = 0.0;
511 try
512 {
513 if (isValueAxis())
514 mxPropertySet->getPropertyValue("Min") >>= fMin;
515 }
516 catch (const uno::Exception& e)
517 {
518 DebugHelper::basicexception(e);
519 }
520 return fMin;
521}
522
523void SAL_CALL
525{
526 try
527 {
528 if (isValueAxis())
529 {
530 mxPropertySet->setPropertyValue("AutoMin", uno::Any(_bMinimumScaleIsAuto));
531 }
532 }
533 catch (const uno::Exception&)
534 {
535 DebugHelper::basicexception(ERRCODE_BASIC_METHOD_FAILED, {});
536 }
537}
538
539sal_Bool SAL_CALL
541{
542 bool bIsAuto = false;
543 try
544 {
545 if (isValueAxis())
546 {
547 mxPropertySet->getPropertyValue("AutoMin") >>= bIsAuto;
548 }
549 }
550 catch (const uno::Exception&)
551 {
552 DebugHelper::basicexception(ERRCODE_BASIC_METHOD_FAILED, {});
553 }
554 return bIsAuto;
555}
556
557::sal_Int32 SAL_CALL
559{
560 return mnGroup;
561}
562
563void SAL_CALL
564ScVbaAxis::setScaleType( ::sal_Int32 _nScaleType )
565{
566 try
567 {
568 if (isValueAxis())
569 {
570 switch (_nScaleType)
571 {
572 case xlScaleLinear:
573 mxPropertySet->setPropertyValue("Logarithmic", uno::Any( false ) );
574 break;
575 case xlScaleLogarithmic:
576 mxPropertySet->setPropertyValue("Logarithmic", uno::Any( true ) );
577 break;
578 default:
579 // According to MS the parameter is ignored and no Error is thrown
580 break;
581 }
582 }
583 }
584 catch (const uno::Exception&)
585 {
586 DebugHelper::basicexception(ERRCODE_BASIC_METHOD_FAILED, {});
587 }
588}
589
590::sal_Int32 SAL_CALL
592{
593 sal_Int32 nScaleType = xlScaleLinear;
594 try
595 {
596 if (isValueAxis())
597 {
598 bool bisLogarithmic = false;
599 mxPropertySet->getPropertyValue( "Logarithmic" ) >>= bisLogarithmic;
600 if (bisLogarithmic)
601 nScaleType = xlScaleLogarithmic;
602 else
603 nScaleType = xlScaleLinear;
604 }
605 }
606 catch (const uno::Exception&)
607 {
608 DebugHelper::basicexception(ERRCODE_BASIC_METHOD_FAILED, {});
609 }
610 return nScaleType;
611}
612
613double SAL_CALL
615{
616 return maShapeHelper.getHeight();
617}
618
619void SAL_CALL ScVbaAxis::setHeight( double height )
620{
621 maShapeHelper.setHeight( height );
622}
623double SAL_CALL ScVbaAxis::getWidth( )
624{
625 return maShapeHelper.getWidth( );
626}
627void SAL_CALL ScVbaAxis::setWidth( double width )
628{
629 maShapeHelper.setWidth( width );
630}
631double SAL_CALL ScVbaAxis::getTop( )
632{
633 return maShapeHelper.getTop( );
634}
635void SAL_CALL ScVbaAxis::setTop( double top )
636{
637 maShapeHelper.setTop( top );
638}
639double SAL_CALL ScVbaAxis::getLeft( )
640{
641 return maShapeHelper.getLeft( );
642}
643void SAL_CALL ScVbaAxis::setLeft( double left )
644{
645 maShapeHelper.setLeft( left );
646}
647
648OUString
650{
651 return "ScVbaAxis";
652}
653
654uno::Sequence< OUString >
656{
657 static uno::Sequence< OUString > const aServiceNames
658 {
659 "ooo.vba.excel.Axis"
660 };
661 return aServiceNames;
662}
663
664/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
css::uno::Reference< css::uno::XComponentContext > mxContext
virtual void SAL_CALL setMinorUnitIsAuto(sal_Bool MinorUnitIsAuto) override
Definition: vbaaxis.cxx:317
virtual ::sal_Int32 SAL_CALL getType() override
Definition: vbaaxis.cxx:228
virtual void SAL_CALL setScaleType(::sal_Int32 ScaleType) override
Definition: vbaaxis.cxx:564
virtual OUString getServiceImplName() override
Definition: vbaaxis.cxx:649
sal_Int32 mnType
Definition: vbaaxis.hxx:31
virtual ::sal_Int32 SAL_CALL getDisplayUnit() override
Definition: vbaaxis.cxx:118
virtual double SAL_CALL getMajorUnit() override
Definition: vbaaxis.cxx:378
virtual sal_Bool SAL_CALL getHasTitle() override
Definition: vbaaxis.cxx:260
virtual sal_Bool SAL_CALL getMaximumScaleIsAuto() override
Definition: vbaaxis.cxx:478
ScVbaAxis(const css::uno::Reference< ov::XHelperInterface > &xParent, const css::uno::Reference< css::uno::XComponentContext > &xContext, css::uno::Reference< css::beans::XPropertySet > _xPropertySet, sal_Int32 _nType, sal_Int32 _nGroup)
Definition: vbaaxis.cxx:56
virtual void SAL_CALL setHasTitle(sal_Bool HasTitle) override
Definition: vbaaxis.cxx:234
virtual void SAL_CALL setMajorUnitIsAuto(sal_Bool MajorUnitIsAuto) override
Definition: vbaaxis.cxx:394
virtual double SAL_CALL getCrossesAt() override
Definition: vbaaxis.cxx:207
virtual double SAL_CALL getHeight() override
Definition: vbaaxis.cxx:614
virtual ::sal_Int32 SAL_CALL getScaleType() override
Definition: vbaaxis.cxx:591
virtual void SAL_CALL setMinorUnit(double MinorUnit) override
Definition: vbaaxis.cxx:287
virtual void SAL_CALL setLeft(double left) override
Definition: vbaaxis.cxx:643
sal_Int32 mnGroup
Definition: vbaaxis.hxx:32
css::uno::Reference< ov::excel::XChart > moChartParent
Definition: vbaaxis.hxx:29
virtual void SAL_CALL setHeight(double height) override
Definition: vbaaxis.cxx:619
virtual void SAL_CALL setType(::sal_Int32 Type) override
Definition: vbaaxis.cxx:222
virtual double SAL_CALL getTop() override
Definition: vbaaxis.cxx:631
virtual void SAL_CALL setCrosses(::sal_Int32 Crosses) override
Definition: vbaaxis.cxx:125
virtual double SAL_CALL getMaximumScale() override
Definition: vbaaxis.cxx:444
virtual css::uno::Reference< ::ooo::vba::excel::XAxisTitle > SAL_CALL getAxisTitle() override
Definition: vbaaxis.cxx:79
virtual void SAL_CALL setMinimumScale(double MinimumScale) override
Definition: vbaaxis.cxx:494
virtual void SAL_CALL setCrossesAt(double CrossesAt) override
Definition: vbaaxis.cxx:192
virtual sal_Bool SAL_CALL getMinimumScaleIsAuto() override
Definition: vbaaxis.cxx:540
virtual double SAL_CALL getLeft() override
Definition: vbaaxis.cxx:639
bool bCrossesAreCustomized
Definition: vbaaxis.hxx:35
virtual void SAL_CALL setTop(double top) override
Definition: vbaaxis.cxx:635
virtual void SAL_CALL setMaximumScaleIsAuto(sal_Bool MaximumScaleIsAuto) override
Definition: vbaaxis.cxx:463
virtual ::sal_Int32 SAL_CALL getAxisGroup() override
Definition: vbaaxis.cxx:558
bool isValueAxis()
Definition: vbaaxis.cxx:47
virtual void SAL_CALL setReversePlotOrder(sal_Bool ReversePlotOrder) override
Definition: vbaaxis.cxx:349
virtual sal_Bool SAL_CALL getMinorUnitIsAuto() override
Definition: vbaaxis.cxx:331
css::uno::Reference< css::beans::XPropertySet > mxPropertySet
Definition: vbaaxis.hxx:30
virtual sal_Bool SAL_CALL getMajorUnitIsAuto() override
Definition: vbaaxis.cxx:410
virtual void SAL_CALL Delete() override
Definition: vbaaxis.cxx:72
virtual css::uno::Sequence< OUString > getServiceNames() override
Definition: vbaaxis.cxx:655
virtual sal_Bool SAL_CALL getReversePlotOrder() override
Definition: vbaaxis.cxx:355
ScVbaChart * getChartPtr()
Definition: vbaaxis.cxx:38
virtual void SAL_CALL setDisplayUnit(::sal_Int32 DisplayUnit) override
Definition: vbaaxis.cxx:112
virtual double SAL_CALL getWidth() override
Definition: vbaaxis.cxx:623
virtual double SAL_CALL getMinorUnit() override
Definition: vbaaxis.cxx:301
virtual ::sal_Int32 SAL_CALL getCrosses() override
Definition: vbaaxis.cxx:158
virtual void SAL_CALL setWidth(double width) override
Definition: vbaaxis.cxx:627
virtual double SAL_CALL getMinimumScale() override
Definition: vbaaxis.cxx:508
ov::ShapeHelper maShapeHelper
Definition: vbaaxis.hxx:33
virtual void SAL_CALL setMaximumScale(double MaximumScale) override
Definition: vbaaxis.cxx:428
virtual void SAL_CALL setMajorUnit(double MajorUnit) override
Definition: vbaaxis.cxx:362
virtual void SAL_CALL setMinimumScaleIsAuto(sal_Bool MinimumScaleIsAuto) override
Definition: vbaaxis.cxx:524
css::uno::Reference< css::beans::XPropertySet > mxDiagramPropertySet
Definition: vbachart.hxx:41
css::uno::Reference< css::chart::XAxisXSupplier > xAxisXSupplier
Definition: vbachart.hxx:43
css::uno::Reference< css::chart::XAxisZSupplier > xAxisZSupplier
Definition: vbachart.hxx:45
css::uno::Reference< css::chart::XAxisYSupplier > xAxisYSupplier
Definition: vbachart.hxx:44
OString top
Sequence< OUString > aServiceNames
Reference< XPropertySet > _xPropertySet
Reference
QPRO_FUNC_TYPE nType
Definition: qproform.cxx:398
sal_Int32 mnType
#define ERRCODE_BASIC_METHOD_FAILED
#define ERRCODE_BASIC_NOT_IMPLEMENTED
unsigned char sal_Bool
constexpr OUStringLiteral ORIGIN(u"Origin")
constexpr OUStringLiteral VBA_MIN(u"Max")
constexpr OUStringLiteral VBA_MAX(u"Min")
constexpr OUStringLiteral AUTOORIGIN(u"AutoOrigin")
sal_uInt64 left