1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
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/.
9 * This file incorporates work covered by the following license notice:
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 .
21 module com
{ module sun
{ module star
{ module chart
{
24 /** A TimeIncrement describes how tickmarks are positioned on the scale of a date-time axis.
27 published
struct TimeIncrement
29 /** if the any contains a struct of type ::com::sun::star::chart::TimeInterval
30 this is used as a fixed distance value for the major tickmarks. Otherwise, if the any is empty or contains an
31 incompatible type, the distance between major tickmarks is calculated automatically by the application.
33 any MajorTimeInterval
;
35 /** if the any contains a struct of type ::com::sun::star::chart::TimeInterval
36 this is used as a fixed distance value for the minor tickmarks. Otherwise, if the any is empty or contains an
37 incompatible type, the distance between minor tickmarks is calculated automatically by the application.
39 any MinorTimeInterval
;
41 /** if the any contains a constant of type ::com::sun::star::chart::TimeUnit
42 this is the smallest time unit that is displayed on the date-time axis.
43 Otherwise, if the any is empty or contains an incompatible type,
44 the resolution is chosen automatically by the application.
52 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */