summaryrefslogtreecommitdiff
path: root/include/svtools/roadmap.hxx
blob: d36a1a3165bb1e2b2b3b4f97ed3e9ae1554623f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
 * This file is part of the LibreOffice project.
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 *
 * This file incorporates work covered by the following license notice:
 *
 *   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 .
 */
#ifndef _SVTOOLS_ROADMAP_HXX
#define _SVTOOLS_ROADMAP_HXX

#include "svtools/svtdllapi.h"
#include <vcl/ctrl.hxx>
#include <vcl/imgctrl.hxx>

#include "svtools/hyperlabel.hxx"




class Bitmap;
//.........................................................................
namespace svt
{
//.........................................................................

    struct RoadmapTypes
    {
    public:
        typedef sal_Int16 ItemId;
        typedef sal_Int32 ItemIndex;
    };

    class RoadmapImpl;
    class RoadmapItem;

    //=====================================================================
    //= Roadmap
    //=====================================================================
    class SVT_DLLPUBLIC ORoadmap : public Control, public RoadmapTypes
    {
    protected:
        RoadmapImpl*    m_pImpl;
        // Window overridables
        void            Paint( const Rectangle& _rRect );
        void            implInit();

    public:
        ORoadmap( Window* _pParent, WinBits _nWinStyle = 0 );
        ~ORoadmap( );

        void            SetRoadmapBitmap( const BitmapEx& maBitmap, sal_Bool _bInvalidate = sal_True );

        void            EnableRoadmapItem( ItemId _nItemId, sal_Bool _bEnable, ItemIndex _nStartIndex = 0  );

        void            ChangeRoadmapItemLabel( ItemId _nID, const OUString& sLabel, ItemIndex _nStartIndex = 0 );
        void            ChangeRoadmapItemID( ItemId _nID, ItemId _NewID, ItemIndex _nStartIndex = 0  );

        void            SetRoadmapInteractive( sal_Bool _bInteractive );
        sal_Bool        IsRoadmapInteractive();

        void            SetRoadmapComplete( sal_Bool _bComplete );
        sal_Bool        IsRoadmapComplete() const;

        ItemIndex       GetItemCount() const;
        ItemId          GetItemID( ItemIndex _nIndex ) const;

        void            InsertRoadmapItem( ItemIndex _Index, const OUString& _RoadmapItem, ItemId _nUniqueId, sal_Bool _bEnabled = sal_True );
        void            ReplaceRoadmapItem( ItemIndex _Index, const OUString& _RoadmapItem, ItemId _nUniqueId, sal_Bool _bEnabled );
        void            DeleteRoadmapItem( ItemIndex _nIndex );

        ItemId          GetCurrentRoadmapItemID() const;
        sal_Bool        SelectRoadmapItemByID( ItemId _nItemID );

        void            SetItemSelectHdl( const Link& _rHdl );
        Link            GetItemSelectHdl( ) const;
        virtual void    DataChanged( const DataChangedEvent& rDCEvt );
        virtual void    GetFocus();


    protected:
        long            PreNotify( NotifyEvent& rNEvt );

    protected:
        /// called when an item has been selected by any means
        virtual void    Select();

    private:
        DECL_LINK(ImplClickHdl, HyperLabel*);

        RoadmapItem*         GetByIndex( ItemIndex _nItemIndex );
        const RoadmapItem*   GetByIndex( ItemIndex _nItemIndex ) const;

        RoadmapItem*         GetByID( ItemId _nID, ItemIndex _nStartIndex = 0  );
        const RoadmapItem*   GetByID( ItemId _nID, ItemIndex _nStartIndex = 0  ) const;
        RoadmapItem*            GetPreviousHyperLabel( ItemIndex _Index);

        void                        DrawHeadline();
        void                        DeselectOldRoadmapItems();
        ItemId                      GetNextAvailableItemId( ItemIndex _NewIndex );
        ItemId                      GetPreviousAvailableItemId( ItemIndex _NewIndex );
        RoadmapItem*                GetByPointer(Window* pWindow);
        RoadmapItem*                InsertHyperLabel( ItemIndex _Index, const OUString& _aStr, ItemId _RMID, sal_Bool _bEnabled = sal_True  );
        void                        UpdatefollowingHyperLabels( ItemIndex _Index );
    };

//.........................................................................
}   // namespace svt
//.........................................................................

#endif

/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
t order."
+msgid "If you have numbered paragraphs and use <menuitem>Move Item Down</menuitem>, then the numbers are adjusted automatically to the current order."
msgstr ""
#. vAAGh
@@ -12382,6 +12400,15 @@ msgctxt ""
msgid "The <menuitem>Move Item Down</menuitem> command is always active. This function can also be called by pressing <switchinline select=\"sys\"><caseinline select=\"MAC\"><keycode>Command</keycode></caseinline><defaultinline><keycode>Ctrl</keycode></defaultinline></switchinline>+<keycode>Alt</keycode>+<keycode>Down Arrow</keycode>."
msgstr ""
+#. Cdq5E
+#: 06110000.xhp
+msgctxt ""
+"06110000.xhp\n"
+"par_id315840546832\n"
+"help.text"
+msgid "If you have numbered paragraphs and use <menuitem>Move Down</menuitem>, then the numbers are adjusted automatically to the current order."
+msgstr ""
+
#. MWkW9
#: 06110000.xhp
msgctxt ""
@@ -12400,6 +12427,15 @@ msgctxt ""
msgid "The <menuitem>Move Down</menuitem> command is always active. This function can also be called by pressing <keycode>Alt+Shift+Down Arrow</keycode>."
msgstr ""
+#. g4SQD
+#: 06110000.xhp
+msgctxt ""
+"06110000.xhp\n"
+"par_id154054632\n"
+"help.text"
+msgid "If you have numbered paragraphs and use <menuitem>Move Down</menuitem>, then the numbers are adjusted automatically to the current order."
+msgstr ""
+
#. UDTXi
#: 06110000.xhp
msgctxt ""
@@ -12409,13 +12445,13 @@ msgctxt ""
msgid "<image id=\"img_id3153577\" src=\"cmd/lc_movedown.svg\" width=\"1cm\" height=\"1cm\"><alt id=\"alt_id3153577\">Icon Move Down</alt></image>"
msgstr ""
-#. ei9C8
+#. J9Dbh
#: 06110000.xhp
msgctxt ""
"06110000.xhp\n"
"par_id3145212\n"
"help.text"
-msgid "Move <switchinline select=\"appl\"><caseinline select=\"WRITER\">Item</caseinline></switchinline> Down"
+msgid "<switchinline select=\"appl\"><caseinline select=\"WRITER\">Move Item Down</caseinline><defaultinline>Move Down</defaultinline></switchinline>"
msgstr ""
#. ZvBbZ
diff --git a/source/ta/helpcontent2/source/text/swriter/01.po b/source/ta/helpcontent2/source/text/swriter/01.po
index fba29606574..a893d4ac7dc 100644
--- a/source/ta/helpcontent2/source/text/swriter/01.po
+++ b/source/ta/helpcontent2/source/text/swriter/01.po
@@ -3,7 +3,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: https://bugs.libreoffice.org/enter_bug.cgi?product=LibreOffice&bug_status=UNCONFIRMED&component=UI\n"
-"POT-Creation-Date: 2022-04-26 13:58+0200\n"
+"POT-Creation-Date: 2022-05-04 12:42+0200\n"
"PO-Revision-Date: 2019-08-08 13:12+0000\n"
"Last-Translator: serval2412 <serval2412@yahoo.fr>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -18322,13 +18322,13 @@ msgctxt ""
msgid "to"
msgstr ""
-#. WCoTF
+#. gbkWP
#: 05060100.xhp
msgctxt ""
"05060100.xhp\n"
"par_id3155075\n"
"help.text"
-msgid "<ahelp hid=\".\">Select the reference point for the selected vertical alignment option.</ahelp> The following options are available:"
+msgid "<ahelp hid=\".\">Select the region or reference point for the vertical alignment.</ahelp> The object can be positioned in relation to the following regions or reference points:"
msgstr ""
#. 5GxHP
@@ -18376,13 +18376,13 @@ msgctxt ""
msgid "<emph>Character:</emph> the object is positioned considering the vertical space used by the character."
msgstr ""
-#. 76CzL
+#. DLwXg
#: 05060100.xhp
msgctxt ""
"05060100.xhp\n"
"par_id631629212021233\n"
"help.text"
-msgid "<emph>Line of text:</emph> the object is positioned considering the height of the line of text where the anchor is placed."
+msgid "<menuitem>Line of text</menuitem>: available only for \"To character\" anchoring, the object is positioned considering the height of the line of text where the anchor is placed."
msgstr ""
#. ywYwM
@@ -18403,6 +18403,24 @@ msgctxt ""
msgid "<emph>Row:</emph> available only for \"As character\" anchoring, this option will position the object considering the height of the row where the anchor is placed."
msgstr ""
+#. hVev7
+#: 05060100.xhp
+msgctxt ""
+"05060100.xhp\n"
+"par_id450625620317357\n"
+"help.text"
+msgid "<menuitem>Entire frame</menuitem>: available only for \"To frame\" anchoring, the outer edges of the frame."
+msgstr ""
+
+#. CvCAa
+#: 05060100.xhp
+msgctxt ""
+"05060100.xhp\n"
+"par_id341625620317835\n"
+"help.text"
+msgid "<menuitem>Frame text area</menuitem>: available only for \"To frame\" anchoring, the text area of the frame."
+msgstr ""
+
#. bQXrs
#: 05060100.xhp
msgctxt ""
@@ -22813,13 +22831,13 @@ msgctxt ""
msgid "For example, if you apply a character style with 15pt font size to a selection in a paragraph with character property of 12pt font size, the selection is set to 15pt, while the rest of the paragraph remains with 12pt font size."
msgstr ""
-#. STs3B
+#. N2WWD
#: 05130002.xhp
msgctxt ""
"05130002.xhp\n"
"par_id751610803325140\n"
"help.text"
-msgid "The <emph>Default Character Style</emph> is actually the set of character properties of the current paragraph style. Use the Default Character Style to reset the character properties of the selection to those of the paragraph style. You cannot customize the Default Character Style."
+msgid "<emph>No Character Style</emph> is actually the set of character properties of the current paragraph style. Choose No Character Style to reset the character properties of the selection to those of the paragraph style. You cannot customize No Character Style."
msgstr ""
#. KT4mr
diff --git a/source/ta/helpcontent2/source/text/swriter/02.po b/source/ta/helpcontent2/source/text/swriter/02.po
index 82480f86fb5..a85b3920fa4 100644
--- a/source/ta/helpcontent2/source/text/swriter/02.po
+++ b/source/ta/helpcontent2/source/text/swriter/02.po