update credits
[LibreOffice.git] / include / svx / sxmlhitm.hxx
blob29e46cd616c3e40162ee34839a705aaaba7dbe57
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
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 .
19 #ifndef _SXMLHITM_HXX
20 #define _SXMLHITM_HXX
22 #include <svx/svddef.hxx>
23 #include <svx/sdmetitm.hxx>
25 /*************************************************************************/
26 /* Measure */
27 /*************************************************************************/
28 // ___
29 // | 100,00km | 2mm = SdrMeasureHelplineOverhangItem
30 // |<--------------------->|---
31 // | | 8mm = SdrMeasureLineDistItem
32 // | |
33 // #=============# |---
34 // # # | SdrMeasureHelpline1/2LenItem
35 // # #=========#---
36 // # Zu bemassendes Objekt #
37 // #=======================#
39 // Abstand der Masslinie zur Bezugskante (Norm=8mm)
40 // laesst sich auch draggen an den beiden Handles
41 // die auf den Pfeilspitzen liegen
42 class SdrMeasureLineDistItem: public SdrMetricItem {
43 public:
44 SdrMeasureLineDistItem(long nVal=0): SdrMetricItem(SDRATTR_MEASURELINEDIST,nVal) {}
45 SdrMeasureLineDistItem(SvStream& rIn): SdrMetricItem(SDRATTR_MEASURELINEDIST,rIn) {}
48 // Ueberhang der Masshilfslinien an der Masslinie (Norm=2mm)
49 class SdrMeasureHelplineOverhangItem: public SdrMetricItem {
50 public:
51 SdrMeasureHelplineOverhangItem(long nVal=0): SdrMetricItem(SDRATTR_MEASUREHELPLINEOVERHANG,nVal) {}
52 SdrMeasureHelplineOverhangItem(SvStream& rIn): SdrMetricItem(SDRATTR_MEASUREHELPLINEOVERHANG,rIn) {}
55 // Abstand der der Masshilfslinienenden zur Bezugskante
56 // Damit die Masshilfslinien nicht das Objekt beruehren
57 class SdrMeasureHelplineDistItem: public SdrMetricItem {
58 public:
59 SdrMeasureHelplineDistItem(long nVal=0): SdrMetricItem(SDRATTR_MEASUREHELPLINEDIST,nVal) {}
60 SdrMeasureHelplineDistItem(SvStream& rIn): SdrMetricItem(SDRATTR_MEASUREHELPLINEDIST,rIn) {}
63 // Ueberlaenge der Hilfslinien ueber die Bezugskante
64 // laesst sich auch draggen an den beiden runden Handles,
65 // die sich default unter den beiden Referenzpunkten befinden
66 class SdrMeasureHelpline1LenItem: public SdrMetricItem {
67 public:
68 SdrMeasureHelpline1LenItem(long nVal=0): SdrMetricItem(SDRATTR_MEASUREHELPLINE1LEN,nVal) {}
69 SdrMeasureHelpline1LenItem(SvStream& rIn): SdrMetricItem(SDRATTR_MEASUREHELPLINE1LEN,rIn) {}
71 class SdrMeasureHelpline2LenItem: public SdrMetricItem {
72 public:
73 SdrMeasureHelpline2LenItem(long nVal=0): SdrMetricItem(SDRATTR_MEASUREHELPLINE2LEN,nVal) {}
74 SdrMeasureHelpline2LenItem(SvStream& rIn): SdrMetricItem(SDRATTR_MEASUREHELPLINE2LEN,rIn) {}
77 #endif
79 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */