summaryrefslogtreecommitdiff
path: root/helpcontent2/source/text/shared/01/05260100.xhp
blob: a60ec64928bf7ba9aa93f4c70afa29deabad2b60 (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
<?xml version="1.0" encoding="UTF-8"?>
<helpdocument version="1.0">
	
<!--
***********************************************************************
 *
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
 * 
 * Copyright 2000, 2010 Oracle and/or its affiliates.
 *
 * OpenOffice.org - a multi-platform office productivity suite
 *
 * This file is part of OpenOffice.org.
 *
 * OpenOffice.org is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License version 3
 * only, as published by the Free Software Foundation.
 *
 * OpenOffice.org is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Lesser General Public License version 3 for more details
 * (a copy is included in the LICENSE file that accompanied this code).
 *
 * You should have received a copy of the GNU Lesser General Public License
 * version 3 along with OpenOffice.org.  If not, see
 * <http://www.openoffice.org/license.html>
 * for a copy of the LGPLv3 License.
 *
 ************************************************************************
 -->
 
	
<meta>
<topic id="textshared0105260100xml" indexer="include">
<title id="tit" xml-lang="en-US">To Page</title>
<filename>/text/shared/01/05260100.xhp</filename>
</topic>
</meta>
<body>
<section id="anderseite">
<bookmark xml-lang="en-US" branch="hid/SID_ANCHOR_PAGE" id="bm_id4556654" localize="false"/>
<bookmark xml-lang="en-US" branch="hid/.uno:SetAnchorToPage" id="bm_id3156045" localize="false"/>
<bookmark xml-lang="en-US" branch="hid/FN_TOOL_ANKER_PAGE" id="bm_id0801200803434125" localize="false"/>
<paragraph role="heading" id="hd_id3150278" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/shared/01/05260100.xhp" name="To Page">To Page</link></paragraph>
<paragraph role="paragraph" id="par_id3150756" xml-lang="en-US" l10n="U" oldref="2"><ahelp hid=".uno:SetAnchorToPage">Anchors the selected item to the current page.</ahelp></paragraph>
</section>
<paragraph role="paragraph" id="par_id3149987" xml-lang="en-US" l10n="U" oldref="4">The anchored item remains on the current page even if you insert or delete text.</paragraph>
<section id="howtoget">
<embed href="text/shared/00/00040501.xhp#anseite"/>
</section>
<paragraph role="paragraph" id="par_id3152821" xml-lang="en-US" l10n="U" oldref="3">The anchor icon is displayed at the top left corner of the page.</paragraph>
</body>
</helpdocument>
on> LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/vcl/source/treelist/viewdataentry.cxx
AgeCommit message (Collapse)Author
2019-05-09loplugin:unusedmethodsNoel Grandin
Change-Id: I7b4d2e5e611935284e2902b0089950768dfb7717 Reviewed-on: https://gerrit.libreoffice.org/72036 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2019-04-10tdf#82009 TreeList move painting of drag target into Paint func.Tomaž Vajngerl
When we drag a entry in TreeListBox, we execute a PaintDDCursor which paints a "cursor" of a possible drag target (for example to show where the entry will be moved to if we want to change the order). The problem with this fuction is that it paints a line directlly at that location, and that it uses invert raster operation to draw a line. So to hide the line it just needs to draw again. On MacOS this invertion causes a problem and draws the whole area black, which is the cause of this bug. So instead of inverting the drawing of the drag target cursor has now been moved into the main Paint method, where it redraws the whole entry, and if present, also the drag target cursor. This means that all we need to do is Invalidate the entry, which then just gets redrawn in a normal Paint pass. One exception is still MacOS, which doesn't invalidate the entry, but redraws the entry directly. DnD is MacOS is a bit different as it is not async (if I understand correctly) so the invalidate has no effect. Change-Id: I8542f47940a3b90114ea4bbbac57fd303ca3434b Reviewed-on: https://gerrit.libreoffice.org/70521 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2018-11-07move SvTreeListBox to vclCaolán McNamara
Change-Id: I04a146d3d8a428ac1678827dc883525c40240a44 Reviewed-on: https://gerrit.libreoffice.org/62787 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>