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
bac420f9
Kaydet (Commit)
bac420f9
authored
Agu 15, 2014
tarafından
Miklos Vajna
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Use DomainMapper::IsStyleSheetImport()
Change-Id: I2ae8f5ed808b7f1728a95f0e9d90d671e6ef2047
üst
85cf4881
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
8 deletions
+7
-8
unusedcode.easy
unusedcode.easy
+0
-1
DomainMapper.cxx
writerfilter/source/dmapper/DomainMapper.cxx
+7
-7
No files found.
unusedcode.easy
Dosyayı görüntüle @
bac420f9
...
...
@@ -217,6 +217,5 @@ svt::CheckInvariants(void const*)
svt::table::TableControl_Impl::impl_checkInvariants() const
svt::table::UnoControlTableModel::checkInvariants() const
vcl::MapChar(vcl::_TrueTypeFont*, unsigned short, bool)
writerfilter::dmapper::DomainMapper::IsStyleSheetImport() const
writerfilter::dmapper::StyleSheetTable::GetStyleIdFromIndex(unsigned int)
writerfilter::ooxml::OOXMLBooleanValue::OOXMLBooleanValue(char const*)
writerfilter/source/dmapper/DomainMapper.cxx
Dosyayı görüntüle @
bac420f9
...
...
@@ -1150,7 +1150,7 @@ void DomainMapper::sprmWithProps( Sprm& rSprm, PropertyMapPtr rContext )
"unsupported numbering level "
<<
nIntValue
);
break
;
}
if
(
m_pImpl
->
IsStyleSheetImport
()
)
if
(
IsStyleSheetImport
()
)
{
//style sheets cannot have a numbering rule attached
StyleSheetPropertyMap
*
pStyleSheetPropertyMap
=
dynamic_cast
<
StyleSheetPropertyMap
*
>
(
rContext
.
get
()
);
...
...
@@ -1165,7 +1165,7 @@ void DomainMapper::sprmWithProps( Sprm& rSprm, PropertyMapPtr rContext )
//convert the ListTable entry to a NumberingRules propery and apply it
ListsManager
::
Pointer
pListTable
=
m_pImpl
->
GetListTable
();
ListDef
::
Pointer
pList
=
pListTable
->
GetList
(
nIntValue
);
if
(
m_pImpl
->
IsStyleSheetImport
()
)
if
(
IsStyleSheetImport
()
)
{
//style sheets cannot have a numbering rule attached
StyleSheetPropertyMap
*
pStyleSheetPropertyMap
=
dynamic_cast
<
StyleSheetPropertyMap
*
>
(
rContext
.
get
()
);
...
...
@@ -1174,7 +1174,7 @@ void DomainMapper::sprmWithProps( Sprm& rSprm, PropertyMapPtr rContext )
}
if
(
pList
.
get
(
)
)
{
if
(
!
m_pImpl
->
IsStyleSheetImport
()
)
if
(
!
IsStyleSheetImport
()
)
{
uno
::
Any
aRules
=
uno
::
makeAny
(
pList
->
GetNumberingRules
(
)
);
rContext
->
Insert
(
PROP_NUMBERING_RULES
,
aRules
);
...
...
@@ -1184,7 +1184,7 @@ void DomainMapper::sprmWithProps( Sprm& rSprm, PropertyMapPtr rContext )
}
else
{
if
(
m_pImpl
->
IsStyleSheetImport
()
)
if
(
IsStyleSheetImport
()
)
{
// set the number id for AbstractNum references
StyleSheetPropertyMap
*
pStyleSheetPropertyMap
=
dynamic_cast
<
StyleSheetPropertyMap
*
>
(
rContext
.
get
()
);
...
...
@@ -1376,7 +1376,7 @@ void DomainMapper::sprmWithProps( Sprm& rSprm, PropertyMapPtr rContext )
case
NS_ooxml
:
:
LN_CT_PPrBase_outlineLvl
:
{
sal_Int16
nLvl
=
static_cast
<
sal_Int16
>
(
nIntValue
);
if
(
m_pImpl
->
IsStyleSheetImport
()
)
if
(
IsStyleSheetImport
()
)
{
StyleSheetPropertyMap
*
pStyleSheetPropertyMap
=
dynamic_cast
<
StyleSheetPropertyMap
*
>
(
rContext
.
get
()
);
...
...
@@ -1600,7 +1600,7 @@ void DomainMapper::sprmWithProps( Sprm& rSprm, PropertyMapPtr rContext )
}
}
// Make sure char sizes defined in the stylesheets don't affect char props from direct formatting.
if
(
!
m_pImpl
->
IsStyleSheetImport
())
if
(
!
IsStyleSheetImport
())
m_pImpl
->
deferCharacterProperty
(
nSprmId
,
uno
::
makeAny
(
nIntValue
));
m_pImpl
->
appendGrabBag
(
m_pImpl
->
m_aInteropGrabBag
,
(
nSprmId
==
NS_ooxml
::
LN_EG_RPrBase_sz
?
OUString
(
"sz"
)
:
OUString
(
"szCs"
)),
OUString
::
number
(
nIntValue
));
}
...
...
@@ -1773,7 +1773,7 @@ void DomainMapper::sprmWithProps( Sprm& rSprm, PropertyMapPtr rContext )
// fdo#81033: for RTF, a tab stop is inherited from the style if it
// is also applied to the paragraph directly, and cleared if it is
// not applied to the paragraph directly => don't InitTabStopFromStyle
if
(
!
m_pImpl
->
IsStyleSheetImport
()
&&
!
IsRTFImport
())
if
(
!
IsStyleSheetImport
()
&&
!
IsRTFImport
())
{
uno
::
Any
aValue
=
m_pImpl
->
GetPropertyFromStyleSheet
(
PROP_PARA_TAB_STOPS
);
uno
::
Sequence
<
style
::
TabStop
>
aStyleTabStops
;
...
...
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