summaryrefslogtreecommitdiff
path: root/drawinglayer/source/attribute/fontattribute.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'drawinglayer/source/attribute/fontattribute.cxx')
-rw-r--r--drawinglayer/source/attribute/fontattribute.cxx82
1 files changed, 41 insertions, 41 deletions
diff --git a/drawinglayer/source/attribute/fontattribute.cxx b/drawinglayer/source/attribute/fontattribute.cxx
index 2554a6bb0d0c..7ec5dfd8e8a8 100644
--- a/drawinglayer/source/attribute/fontattribute.cxx
+++ b/drawinglayer/source/attribute/fontattribute.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -42,18 +42,18 @@ namespace drawinglayer
{
public:
// refcounter
- sal_uInt32 mnRefCount;
+ sal_uInt32 mnRefCount;
/// core data
- String maFamilyName; // Font Family Name
- String maStyleName; // Font Style Name
- sal_uInt16 mnWeight; // Font weight
+ String maFamilyName; // Font Family Name
+ String maStyleName; // Font Style Name
+ sal_uInt16 mnWeight; // Font weight
/// bitfield
- unsigned mbSymbol : 1; // Symbol Font Flag
- unsigned mbVertical : 1; // Vertical Text Flag
- unsigned mbItalic : 1; // Italic Flag
- unsigned mbOutline : 1; // Outline Flag
+ unsigned mbSymbol : 1; // Symbol Font Flag
+ unsigned mbVertical : 1; // Vertical Text Flag
+ unsigned mbItalic : 1; // Italic Flag
+ unsigned mbOutline : 1; // Outline Flag
unsigned mbRTL : 1; // RTL Flag
unsigned mbBiDiStrong : 1; // BiDi Flag
unsigned mbMonospaced : 1;
@@ -69,7 +69,7 @@ namespace drawinglayer
bool bOutline,
bool bRTL,
bool bBiDiStrong)
- : mnRefCount(0),
+ : mnRefCount(0),
maFamilyName(rFamilyName),
maStyleName(rStyleName),
mnWeight(nWeight),
@@ -139,19 +139,19 @@ namespace drawinglayer
bool bOutline,
bool bRTL,
bool bBiDiStrong)
- : mpFontAttribute(new ImpFontAttribute(
+ : mpFontAttribute(new ImpFontAttribute(
rFamilyName, rStyleName, nWeight, bSymbol, bVertical, bItalic, bMonospaced, bOutline, bRTL, bBiDiStrong))
{
}
FontAttribute::FontAttribute()
- : mpFontAttribute(ImpFontAttribute::get_global_default())
+ : mpFontAttribute(ImpFontAttribute::get_global_default())
{
mpFontAttribute->mnRefCount++;
}
FontAttribute::FontAttribute(const FontAttribute& rCandidate)
- : mpFontAttribute(rCandidate.mpFontAttribute)
+ : mpFontAttribute(rCandidate.mpFontAttribute)
{
mpFontAttribute->mnRefCount++;
}
@@ -185,7 +185,7 @@ namespace drawinglayer
{
delete mpFontAttribute;
}
-
+
mpFontAttribute = rCandidate.mpFontAttribute;
mpFontAttribute->mnRefCount++;
}
@@ -208,49 +208,49 @@ namespace drawinglayer
return (*rCandidate.mpFontAttribute == *mpFontAttribute);
}
- const String& FontAttribute::getFamilyName() const
- {
- return mpFontAttribute->getFamilyName();
+ const String& FontAttribute::getFamilyName() const
+ {
+ return mpFontAttribute->getFamilyName();
}
- const String& FontAttribute::getStyleName() const
- {
- return mpFontAttribute->getStyleName();
+ const String& FontAttribute::getStyleName() const
+ {
+ return mpFontAttribute->getStyleName();
}
- sal_uInt16 FontAttribute::getWeight() const
- {
- return mpFontAttribute->getWeight();
+ sal_uInt16 FontAttribute::getWeight() const
+ {
+ return mpFontAttribute->getWeight();
}
- bool FontAttribute::getSymbol() const
- {
- return mpFontAttribute->getSymbol();
+ bool FontAttribute::getSymbol() const
+ {
+ return mpFontAttribute->getSymbol();
}
- bool FontAttribute::getVertical() const
- {
- return mpFontAttribute->getVertical();
+ bool FontAttribute::getVertical() const
+ {
+ return mpFontAttribute->getVertical();
}
- bool FontAttribute::getItalic() const
- {
- return mpFontAttribute->getItalic();
+ bool FontAttribute::getItalic() const
+ {
+ return mpFontAttribute->getItalic();
}
- bool FontAttribute::getOutline() const
- {
- return mpFontAttribute->getOutline();
+ bool FontAttribute::getOutline() const
+ {
+ return mpFontAttribute->getOutline();
}
- bool FontAttribute::getRTL() const
- {
- return mpFontAttribute->getRTL();
+ bool FontAttribute::getRTL() const
+ {
+ return mpFontAttribute->getRTL();
}
- bool FontAttribute::getBiDiStrong() const
- {
- return mpFontAttribute->getBiDiStrong();
+ bool FontAttribute::getBiDiStrong() const
+ {
+ return mpFontAttribute->getBiDiStrong();
}
bool FontAttribute::getMonospaced() const