Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
4872e395
Kaydet (Commit)
4872e395
authored
Eyl 13, 2002
tarafından
Thorsten Behrens
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
#101701# Added rotation methods for vertical text
üst
63d1a850
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
85 additions
and
2 deletions
+85
-2
unoedhlp.hxx
svx/inc/unoedhlp.hxx
+85
-2
No files found.
svx/inc/unoedhlp.hxx
Dosyayı görüntüle @
4872e395
...
@@ -2,9 +2,9 @@
...
@@ -2,9 +2,9 @@
*
*
* $RCSfile: unoedhlp.hxx,v $
* $RCSfile: unoedhlp.hxx,v $
*
*
* $Revision: 1.
3
$
* $Revision: 1.
4
$
*
*
* last change: $Author: thb $ $Date: 2002-0
8-02 11:31:19
$
* last change: $Author: thb $ $Date: 2002-0
9-13 14:10:32
$
*
*
* The Contents of this file are made available subject to the terms of
* The Contents of this file are made available subject to the terms of
* either of the following licenses
* either of the following licenses
...
@@ -73,6 +73,9 @@
...
@@ -73,6 +73,9 @@
#ifndef _SFXHINT_HXX
#ifndef _SFXHINT_HXX
#include <svtools/hint.hxx>
#include <svtools/hint.hxx>
#endif
#endif
#ifndef _SV_GEN_HXX
#include <vcl/gen.hxx>
#endif
struct
EENotify
;
struct
EENotify
;
class
EditEngine
;
class
EditEngine
;
...
@@ -142,6 +145,86 @@ public:
...
@@ -142,6 +145,86 @@ public:
*/
*/
static
sal_Bool
GetAttributeRun
(
USHORT
&
nStartIndex
,
USHORT
&
nEndIndex
,
const
EditEngine
&
rEE
,
USHORT
nPara
,
USHORT
nIndex
);
static
sal_Bool
GetAttributeRun
(
USHORT
&
nStartIndex
,
USHORT
&
nEndIndex
,
const
EditEngine
&
rEE
,
USHORT
nPara
,
USHORT
nIndex
);
/** Convert point from edit engine to user coordinate space
As the edit engine internally keeps vertical text unrotated,
all internal edit engine methods return their stuff unrotated,
too. This method rotates and shifts given point appropriately,
if vertical writing is on.
@param rPoint
Point to transform
@param rEESize
Paper size of the edit engine
@param bIsVertical
Whether output text is vertical or not
@return the possibly transformed point
*/
static
Point
EEToUserSpace
(
const
Point
&
rPoint
,
const
Size
&
rEESize
,
bool
bIsVertical
);
/** Convert point from user to edit engine coordinate space
As the edit engine internally keeps vertical text unrotated,
all internal edit engine methods return their stuff unrotated,
too. This method rotates and shifts given point appropriately,
if vertical writing is on.
@param rPoint
Point to transform
@param rEESize
Paper size of the edit engine
@param bIsVertical
Whether output text is vertical or not
@return the possibly transformed point
*/
static
Point
UserSpaceToEE
(
const
Point
&
rPoint
,
const
Size
&
rEESize
,
bool
bIsVertical
);
/** Convert rect from edit engine to user coordinate space
As the edit engine internally keeps vertical text unrotated,
all internal edit engine methods return their stuff unrotated,
too. This method rotates and shifts given rect appropriately,
if vertical writing is on.
@param rRect
Rectangle to transform
@param rEESize
Paper size of the edit engine
@param bIsVertical
Whether output text is vertical or not
@return the possibly transformed rect
*/
static
Rectangle
EEToUserSpace
(
const
Rectangle
&
rRect
,
const
Size
&
rEESize
,
bool
bIsVertical
);
/** Convert rect from user to edit engine coordinate space
As the edit engine internally keeps vertical text unrotated,
all internal edit engine methods return their stuff unrotated,
too. This method rotates and shifts given rect appropriately,
if vertical writing is on.
@param rRect
Rectangle to transform
@param rEESize
Paper size of the edit engine
@param bIsVertical
Whether output text is vertical or not
@return the possibly transformed rect
*/
static
Rectangle
UserSpaceToEE
(
const
Rectangle
&
rRect
,
const
Size
&
rEESize
,
bool
bIsVertical
);
};
};
#endif
#endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment