summaryrefslogtreecommitdiff
path: root/sc/source/ui/inc/scuiautofmt.hxx
blob: f57f428485c19fd16ed6ea687ce6ff7b23e720ca (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
/* -*- 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 SCUI_AUTOFMT_HXX
#define SCUI_AUTOFMT_HXX
#include "autofmt.hxx"

class ScAutoFormatDlg : public ModalDialog
{
public:
    ScAutoFormatDlg(Window* pParent,
                    ScAutoFormat* pAutoFormat,
                    const ScAutoFormatData* pSelFormatData,
                    ScViewData *pViewData);

    sal_uInt16 GetIndex() const { return nIndex; }
    OUString GetCurrFormatName();

private:
    ListBox*        m_pLbFormat;
    ScAutoFmtPreview* m_pWndPreview;
    OKButton*       m_pBtnOk;
    CancelButton*   m_pBtnCancel;
    PushButton*     m_pBtnAdd;
    PushButton*     m_pBtnRemove;
    PushButton*     m_pBtnRename;
    CheckBox*       m_pBtnNumFormat;
    CheckBox*       m_pBtnBorder;
    CheckBox*       m_pBtnFont;
    CheckBox*       m_pBtnPattern;
    CheckBox*       m_pBtnAlignment;
    CheckBox*       m_pBtnAdjust;
    OUString        aStrTitle;
    OUString        aStrLabel;
    OUString        aStrClose;
    OUString        aStrDelTitle;
    OUString        aStrDelMsg;
    OUString        aStrRename;


    ScAutoFormat*           pFormat;
    const ScAutoFormatData* pSelFmtData;
    sal_uInt16                  nIndex;
    bool                    bCoreDataChanged;
    bool                    bFmtInserted;

    void Init           ();
    void UpdateChecks   ();

    DECL_LINK( CheckHdl, Button * );
    DECL_LINK( AddHdl, void * );
    DECL_LINK( RemoveHdl, void * );
    DECL_LINK( SelFmtHdl, void * );
    DECL_LINK( CloseHdl, PushButton * );
    DECL_LINK( DblClkHdl, void * );
    DECL_LINK( RenameHdl, void *);

};
#endif

/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
draw an ellipse segment, hold down <emph>Shift</emph> while you drag.</ahelp></paragraph>
+ <paragraph id="par_id3149106" role="paragraph"><ahelp hid=".uno:CircleCut">Draws a filled shape that is defined by the arc of a circle and a diameter line in the current document. To draw a circle segment, drag a circle to the size you want, and then click to define the starting point of the diameter line. Move your pointer to where you want to place the endpoint of the diameter line and click. You do not need to click on the circle. To draw an ellipse segment, hold down <emph>Shift</emph> while you drag.</ahelp></paragraph>
</tablecell>
</tablerow>
</table>
-<bookmark xml-lang="en-US" branch="hid/.uno:DrawText" id="bm_id8730699" localize="false"/>
+<bookmark branch="hid/.uno:DrawText" id="bm_id8730699" localize="false"/>
<h2 id="hd_id3145150"><variable id="textbox_title">Text Box</variable></h2>
<table id="tbl_id3150297">
<tablerow>
<tablecell>
- <paragraph xml-lang="en-US" id="par_id3145790" role="paragraph"><image id="img_id3155608" src="cmd/sc_texttoolbox.png" width="0.1665in" height="0.1665in"><alt xml-lang="en-US" id="alt_id3155608">Icon</alt></image></paragraph>
+ <paragraph id="par_id3145790" role="paragraph"><image id="img_id3155608" src="cmd/lc_text.svg" width="1cm" height="1cm"><alt id="alt_id3155608">Icon Text Box</alt></image></paragraph>
</tablecell>
<tablecell>
- <paragraph xml-lang="en-US" id="par_id3154657" role="paragraph"><variable id="textbox_text"><ahelp hid=".uno:DrawText">Draws a text box with horizontal text direction where you drag in the current document. Drag a text box to the size you want anywhere in the document, and then type or paste your text. Rotate the text box to get rotated text.</ahelp></variable></paragraph>
+ <paragraph id="par_id3154657" role="paragraph"><variable id="textbox_text"><ahelp hid=".uno:DrawText">Draws a text box with horizontal text direction where you drag in the current document. Drag a text box to the size you want anywhere in the document, and then type or paste your text. Rotate the text box to get rotated text.</ahelp></variable></paragraph>
</tablecell>
</tablerow>
</table>
-<bookmark xml-lang="en-US" branch="hid/.uno:Text_Marquee" id="bm_id9847340" localize="false"/>
+<bookmark branch="hid/.uno:Text_Marquee" id="bm_id9847340" localize="false"/>
<h2 id="hd_id3158214">Text Animation</h2>
<table id="tbl_id3150979">
<tablerow>
<tablecell>
- <paragraph xml-lang="en-US" id="par_id3150380" role="paragraph"><image id="img_id3152580" src="cmd/sc_text_marquee.png" width="0.1665in" height="0.1665in"><alt xml-lang="en-US" id="alt_id3152580">Icon</alt></image></paragraph>
+ <paragraph id="par_id3150380" role="paragraph"><image id="img_id3152580" src="cmd/lc_text_marquee.svg" width="1cm" height="1cm"><alt id="alt_id3152580">Icon Text Animation</alt></image></paragraph>
</tablecell>
<tablecell>
- <paragraph xml-lang="en-US" id="par_id3150826" role="paragraph"><ahelp hid=".uno:Text_Marquee" visibility="hidden">Inserts animated text with horizontal text direction into the current document. Drag a text box, and then type or paste your text. To assign an animation effect, choose <emph>Format - Text - Text Animation</emph>.</ahelp> <variable id="lauftext">Inserts animated text with horizontal text direction into the current document.</variable></paragraph>
+ <paragraph id="par_id3150826" role="paragraph"><ahelp hid=".uno:Text_Marquee" visibility="hidden">Inserts animated text with horizontal text direction into the current document. Drag a text box, and then type or paste your text. To assign an animation effect, choose <emph>Format - Text - Text Animation</emph>.</ahelp> <variable id="lauftext">Inserts animated text with horizontal text direction into the current document.</variable></paragraph>
</tablecell>
</tablerow>
</table>
-<bookmark xml-lang="en-US" branch="hid/.uno:DrawCaption" id="bm_id3229321" localize="false"/>
+<bookmark branch="hid/.uno:DrawCaption" id="bm_id3229321" localize="false"/>
<h2 id="hd_id3149966">Callouts</h2>
<table id="tbl_id3153793">
<tablerow>
<tablecell>
- <paragraph xml-lang="en-US" id="par_id3153781" role="paragraph"><image id="img_id3145256" src="cmd/sc_drawcaption.png" width="0.1665in" height="0.1665in"><alt xml-lang="en-US" id="alt_id3145256">Icon</alt></image></paragraph>
+ <paragraph id="par_id3153781" role="paragraph"><image id="img_id3145256" src="cmd/lc_drawcaption.svg" width="1cm" height="1cm"><alt id="alt_id3145256">Icon Callouts</alt></image></paragraph>
</tablecell>
<tablecell>
- <paragraph xml-lang="en-US" id="par_id3151274" role="paragraph"><ahelp hid=".uno:DrawCaption">Draws a line that ends in a rectangular callout with horizontal text direction from where you drag in the current document. Drag a handle of the callout to resize the callout. To add text, click the edge of the callout, and then type or paste your text. To change a rectangular callout to a rounded callout, drag the largest corner handle when the pointer changes to a hand.</ahelp></paragraph>
+ <paragraph id="par_id3151274" role="paragraph"><ahelp hid=".uno:DrawCaption">Draws a line that ends in a rectangular callout with horizontal text direction from where you drag in the current document. Drag a handle of the callout to resize the callout. To add text, click the edge of the callout, and then type or paste your text. To change a rectangular callout to a rounded callout, drag the largest corner handle when the pointer changes to a hand.</ahelp></paragraph>
</tablecell>
</tablerow>
</table>
@@ -239,46 +239,49 @@
<embed href="text/shared/00/00000404.xhp#sycallouts"/>
<embed href="text/shared/02/stars.xhp#stars"/>
<embed href="text/shared/00/00000404.xhp#systars"/>
-<h2 id="par_idN10E50"><link href="text/shared/01/05270000.xhp">Points</link></h2>
-<paragraph xml-lang="en-US" id="par_idN10E60" role="paragraph">Enables you to edit points on your drawing.</paragraph>
+
+<embed href="text/shared/01/05270000.xhp#edit_points"/>
+<embed href="text/shared/00/00040502.xhp#syedit_points"/>
+
<embed href="text/shared/02/fontwork.xhp#fontwork"/>
<embed href="text/shared/00/00000404.xhp#syfontworkgallery"/>
<h2 id="par_idN10E75"><link href="text/shared/01/04140000.xhp">From File</link></h2>
<embed href="text/shared/01/04140000.xhp#grafiktext"/>
<embed href="text/shared/00/00000404.xhp#syimage"/>
-<h2 id="par_idN10E95"><link href="text/sdraw/01/3dsettings_toolbar.xhp">Extrusion On/Off</link></h2>
-<paragraph xml-lang="en-US" id="par_idN10EA5" role="paragraph">Switches the 3D effects on and off for the selected objects.</paragraph>
+
+<embed href="text/sdraw/01/3dsettings_toolbar.xhp#extrusiononoff"/>
+
<embed href="text/shared/00/00000007.xhp#asia"/>
<section id="legasia">
-<bookmark xml-lang="en-US" branch="hid/.uno:VerticalCaption" id="bm_id1434672" localize="false"/>
+<bookmark branch="hid/.uno:VerticalCaption" id="bm_id1434672" localize="false"/>
<h2 id="hd_id3149735">Vertical Callouts</h2>
<table id="tbl_id3154585">
<tablerow>
<tablecell>
- <paragraph xml-lang="en-US" id="par_id3156068" role="paragraph"><image id="img_id3154818" src="cmd/sc_verticalcaption.png" width="0.1665in" height="0.1665in"><alt xml-lang="en-US" id="alt_id3154818">Icon</alt></image></paragraph>
+ <paragraph id="par_id3156068" role="paragraph"><image id="img_id3154818" src="cmd/lc_verticalcaption.svg" width="1cm" height="1cm"><alt id="alt_id3154818">Icon Vertical Callouts</alt></image></paragraph>
</tablecell>
<tablecell>
- <paragraph xml-lang="en-US" id="par_id3150492" role="paragraph"><ahelp hid=".uno:VerticalCaption">Draws a line that ends in a rectangular callout with vertical text direction from where you drag in the current document. Drag a handle of the callout to resize the callout. To add text, click the edge of the callout, and then type or paste your text. To change a rectangular callout to a rounded callout, drag the largest corner handle when the pointer changes to a hand. Only available when Asian language support is enabled.</ahelp></paragraph>
+ <paragraph id="par_id3150492" role="paragraph"><ahelp hid=".uno:VerticalCaption">Draws a line that ends in a rectangular callout with vertical text direction from where you drag in the current document. Drag a handle of the callout to resize the callout. To add text, click the edge of the callout, and then type or paste your text. To change a rectangular callout to a rounded callout, drag the largest corner handle when the pointer changes to a hand. Only available when Asian language support is enabled.</ahelp></paragraph>
</tablecell>
</tablerow>
</table>
</section>
<section id="textasia">
-<bookmark xml-lang="en-US" branch="hid/.uno:VerticalText" id="bm_id5245755" localize="false"/>
+<bookmark branch="hid/.uno:VerticalText" id="bm_id5245755" localize="false"/>
<h2 id="hd_id3166437">Vertical Text</h2>
<table id="tbl_id3148751">
<tablerow>
<tablecell>
- <paragraph xml-lang="en-US" id="par_id3146929" role="paragraph"><image id="img_id3154372" src="cmd/sc_verticaltext.png" width="0.1665in" height="0.1665in"><alt xml-lang="en-US" id="alt_id3154372">Icon</alt></image></paragraph>
+ <paragraph id="par_id3146929" role="paragraph"><image id="img_id3154372" src="cmd/lc_verticaltext.svg" width="1cm" height="1cm"><alt id="alt_id3154372">Icon Vertical Text</alt></image></paragraph>
</tablecell>
<tablecell>
- <paragraph xml-lang="en-US" id="par_id3152989" role="paragraph"><ahelp hid=".uno:VerticalText">Draws a text box with vertical text direction where you click or drag in the current document. Click anywhere in the document, and then type or paste your text. You can also move the cursor to where you want to add the text, drag a text box, and then type or paste your text. Only available when Asian language support is enabled.</ahelp></paragraph>
+ <paragraph id="par_id3152989" role="paragraph"><ahelp hid=".uno:VerticalText">Draws a text box with vertical text direction where you click or drag in the current document. Click anywhere in the document, and then type or paste your text. You can also move the cursor to where you want to add the text, drag a text box, and then type or paste your text. Only available when Asian language support is enabled.</ahelp></paragraph>
</tablecell>
</tablerow>
</table>
</section>
<section id="relatedtopics">
-<paragraph xml-lang="en-US" id="par_id3155555" role="paragraph"><link href="text/shared/guide/insert_graphic_drawit.xhp">Tips for working with the <emph>Drawing</emph> bar</link>.</paragraph>
+<paragraph id="par_id3155555" role="paragraph"><link href="text/shared/guide/insert_graphic_drawit.xhp">Tips for working with the <emph>Drawing</emph> bar</link>.</paragraph>
</section>
</body>
</helpdocument>
diff --git a/source/text/simpress/main0202.xhp b/source/text/simpress/main0202.xhp
index 5dd7f2e86c..2e59f4e215 100644
--- a/source/text/simpress/main0202.xhp
+++ b/source/text/simpress/main0202.xhp
@@ -68,7 +68,6 @@
<embed href="text/shared/01/05210100.xhp#sytext"/>
<embed href="text/shared/00/00000004.xhp#syarea_style"/>
-
<embed href="text/shared/01/05210600.xhp#syshadow"/>
<embed href="text/shared/02/05020000.xhp#arrow_style"/>
<embed href="text/shared/02/05020000.xhp#syarrow_style"/>
@@ -78,7 +77,6 @@
<embed href="text/simpress/02/10030000.xhp#transformations"/>
-
<embed href="text/shared/02/01230000.xhp#stylist"/>
<embed href="text/shared/02/01230000.xhp#systylist"/>
diff --git a/source/text/simpress/main0210.xhp b/source/text/simpress/main0210.xhp