Line data Source code
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 : #ifndef INCLUDED_SVX_SXMLHITM_HXX
20 : #define INCLUDED_SVX_SXMLHITM_HXX
21 :
22 : #include <svx/svddef.hxx>
23 : #include <svx/sdmetitm.hxx>
24 :
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 : // #=======================#
38 :
39 : // Abstand der Masslinie zur Bezugskante (Norm=8mm)
40 : // laesst sich auch draggen an den beiden Handles
41 : // die auf den Pfeilspitzen liegen
42 0 : class SdrMeasureLineDistItem: public SdrMetricItem {
43 : public:
44 0 : SdrMeasureLineDistItem(long nVal=0): SdrMetricItem(SDRATTR_MEASURELINEDIST,nVal) {}
45 : SdrMeasureLineDistItem(SvStream& rIn): SdrMetricItem(SDRATTR_MEASURELINEDIST,rIn) {}
46 : };
47 :
48 : // Ueberhang der Masshilfslinien an der Masslinie (Norm=2mm)
49 0 : class SdrMeasureHelplineOverhangItem: public SdrMetricItem {
50 : public:
51 0 : SdrMeasureHelplineOverhangItem(long nVal=0): SdrMetricItem(SDRATTR_MEASUREHELPLINEOVERHANG,nVal) {}
52 : SdrMeasureHelplineOverhangItem(SvStream& rIn): SdrMetricItem(SDRATTR_MEASUREHELPLINEOVERHANG,rIn) {}
53 : };
54 :
55 : // Abstand der der Masshilfslinienenden zur Bezugskante
56 : // Damit die Masshilfslinien nicht das Objekt beruehren
57 0 : class SdrMeasureHelplineDistItem: public SdrMetricItem {
58 : public:
59 0 : SdrMeasureHelplineDistItem(long nVal=0): SdrMetricItem(SDRATTR_MEASUREHELPLINEDIST,nVal) {}
60 : SdrMeasureHelplineDistItem(SvStream& rIn): SdrMetricItem(SDRATTR_MEASUREHELPLINEDIST,rIn) {}
61 : };
62 :
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 0 : class SdrMeasureHelpline1LenItem: public SdrMetricItem {
67 : public:
68 0 : SdrMeasureHelpline1LenItem(long nVal=0): SdrMetricItem(SDRATTR_MEASUREHELPLINE1LEN,nVal) {}
69 : SdrMeasureHelpline1LenItem(SvStream& rIn): SdrMetricItem(SDRATTR_MEASUREHELPLINE1LEN,rIn) {}
70 : };
71 0 : class SdrMeasureHelpline2LenItem: public SdrMetricItem {
72 : public:
73 0 : SdrMeasureHelpline2LenItem(long nVal=0): SdrMetricItem(SDRATTR_MEASUREHELPLINE2LEN,nVal) {}
74 : SdrMeasureHelpline2LenItem(SvStream& rIn): SdrMetricItem(SDRATTR_MEASUREHELPLINE2LEN,rIn) {}
75 : };
76 :
77 : #endif
78 :
79 : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|