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
0be6adc8
Kaydet (Commit)
0be6adc8
authored
Tem 03, 2013
tarafından
Miklos Vajna
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Drop unused DomainMapperTableManager::CopyTextProperties()
Change-Id: Ibe99d4f3f4254329ca1b7269221f4e7cba1201a1
üst
67249b4a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
41 deletions
+0
-41
unusedcode.easy
unusedcode.easy
+0
-1
DomainMapperTableManager.cxx
writerfilter/source/dmapper/DomainMapperTableManager.cxx
+0
-37
DomainMapperTableManager.hxx
writerfilter/source/dmapper/DomainMapperTableManager.hxx
+0
-3
No files found.
unusedcode.easy
Dosyayı görüntüle @
0be6adc8
...
@@ -223,4 +223,3 @@ utl::ConfigItem::getUniqueSetElementName(rtl::OUString const&, rtl::OUString&)
...
@@ -223,4 +223,3 @@ utl::ConfigItem::getUniqueSetElementName(rtl::OUString const&, rtl::OUString&)
utl::toISO8601(com::sun::star::util::Time const&)
utl::toISO8601(com::sun::star::util::Time const&)
vcl::unohelper::getNaturalStringSorterForAppLocale()
vcl::unohelper::getNaturalStringSorterForAppLocale()
vclmain::createApplication()
vclmain::createApplication()
writerfilter::dmapper::DomainMapperTableManager::CopyTextProperties(boost::shared_ptr<writerfilter::dmapper::PropertyMap>, boost::shared_ptr<writerfilter::dmapper::StyleSheetTable>)
writerfilter/source/dmapper/DomainMapperTableManager.cxx
Dosyayı görüntüle @
0be6adc8
...
@@ -724,43 +724,6 @@ void DomainMapperTableManager::clearData()
...
@@ -724,43 +724,6 @@ void DomainMapperTableManager::clearData()
}
}
void
lcl_CopyTextProperties
(
PropertyMapPtr
pToFill
,
const
StyleSheetEntry
*
pStyleSheetEntry
,
StyleSheetTablePtr
pStyleSheetTable
)
{
if
(
!
pStyleSheetEntry
)
return
;
//fill base style properties first, recursively
if
(
!
pStyleSheetEntry
->
sBaseStyleIdentifier
.
isEmpty
())
{
const
StyleSheetEntryPtr
pParentStyleSheet
=
pStyleSheetTable
->
FindStyleSheetByISTD
(
pStyleSheetEntry
->
sBaseStyleIdentifier
);
OSL_ENSURE
(
pParentStyleSheet
,
"table style not found"
);
lcl_CopyTextProperties
(
pToFill
,
pParentStyleSheet
.
get
(
),
pStyleSheetTable
);
}
PropertyMap
::
const_iterator
aPropIter
=
pStyleSheetEntry
->
pProperties
->
begin
();
while
(
aPropIter
!=
pStyleSheetEntry
->
pProperties
->
end
())
{
//copy all text properties form the table style to the current run attributes
if
(
aPropIter
->
first
.
bIsTextProperty
)
pToFill
->
insert
(
*
aPropIter
);
++
aPropIter
;
}
}
void
DomainMapperTableManager
::
CopyTextProperties
(
PropertyMapPtr
pContext
,
StyleSheetTablePtr
pStyleSheetTable
)
{
if
(
!
m_pTableStyleTextProperies
.
get
())
{
m_pTableStyleTextProperies
.
reset
(
new
PropertyMap
);
const
StyleSheetEntryPtr
pStyleSheetEntry
=
pStyleSheetTable
->
FindStyleSheetByISTD
(
m_sTableStyleName
);
OSL_ENSURE
(
pStyleSheetEntry
,
"table style not found"
);
lcl_CopyTextProperties
(
m_pTableStyleTextProperies
,
pStyleSheetEntry
.
get
(
),
pStyleSheetTable
);
}
pContext
->
InsertProps
(
m_pTableStyleTextProperies
);
}
}}
}}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
writerfilter/source/dmapper/DomainMapperTableManager.hxx
Dosyayı görüntüle @
0be6adc8
...
@@ -93,9 +93,6 @@ public:
...
@@ -93,9 +93,6 @@ public:
const
OUString
&
getTableStyleName
()
const
{
return
m_sTableStyleName
;
}
const
OUString
&
getTableStyleName
()
const
{
return
m_sTableStyleName
;
}
const
com
::
sun
::
star
::
uno
::
Sequence
<
com
::
sun
::
star
::
beans
::
PropertyValue
>
getCurrentTablePosition
();
const
com
::
sun
::
star
::
uno
::
Sequence
<
com
::
sun
::
star
::
beans
::
PropertyValue
>
getCurrentTablePosition
();
/// copy the text properties of the table style and its parent into pContext
void
CopyTextProperties
(
PropertyMapPtr
pContext
,
StyleSheetTablePtr
pStyleSheetTable
);
inline
virtual
void
cellProps
(
TablePropertyMapPtr
pProps
)
inline
virtual
void
cellProps
(
TablePropertyMapPtr
pProps
)
{
{
if
(
m_pStyleProps
.
get
(
)
)
if
(
m_pStyleProps
.
get
(
)
)
...
...
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