[Libreoffice-commits] .: 2 commits - oox/source writerfilter/source
Cédric Bosdonnat
cbosdo at kemper.freedesktop.org
Fri Dec 3 08:23:44 PST 2010
oox/source/token/tokens.txt | 2
writerfilter/source/dmapper/BorderHandler.cxx | 13
writerfilter/source/dmapper/CellColorHandler.cxx | 8
writerfilter/source/dmapper/CellMarginHandler.cxx | 5
writerfilter/source/dmapper/DomainMapper.cxx | 880 ---------------
writerfilter/source/dmapper/DomainMapperTableManager.cxx | 21
writerfilter/source/dmapper/DomainMapper_Impl.cxx | 26
writerfilter/source/dmapper/DomainMapper_Impl.hxx | 2
writerfilter/source/dmapper/FFDataHandler.cxx | 25
writerfilter/source/dmapper/FontTable.cxx | 15
writerfilter/source/dmapper/GraphicImport.cxx | 145 --
writerfilter/source/dmapper/MeasureHandler.cxx | 7
writerfilter/source/dmapper/NumberingManager.cxx | 33
writerfilter/source/dmapper/OLEHandler.cxx | 3
writerfilter/source/dmapper/PropertyMap.cxx | 23
writerfilter/source/dmapper/PropertyMap.hxx | 5
writerfilter/source/dmapper/SectionColumnHandler.cxx | 9
writerfilter/source/dmapper/SettingsTable.cxx | 22
writerfilter/source/dmapper/StyleSheetTable.cxx | 51
writerfilter/source/dmapper/StyleSheetTable.hxx | 2
writerfilter/source/dmapper/TDefTableHandler.cxx | 39
writerfilter/source/dmapper/TablePropertiesHandler.cxx | 18
writerfilter/source/dmapper/ThemeTable.cxx | 9
writerfilter/source/dmapper/genclass.xsl | 2
writerfilter/source/ooxml/model.xml | 37
25 files changed, 123 insertions(+), 1279 deletions(-)
New commits:
commit 344cf018285a149289ecc9af600fce6a743b01c8
Author: Cédric Bosdonnat <cedricbosdo at openoffice.org>
Date: Fri Dec 3 17:22:36 2010 +0100
ISO OOXML: implemented the import of ind start and end attributes
diff --git a/oox/source/token/tokens.txt b/oox/source/token/tokens.txt
index 5497d15..34c4478 100644
--- a/oox/source/token/tokens.txt
+++ b/oox/source/token/tokens.txt
@@ -1999,6 +1999,7 @@ encoding
end
endA
endAngle
+endChars
endChr
endCnv
endCondLst
@@ -4800,6 +4801,7 @@ starsTop
start
startAngle
startAt
+startChars
startDate
startNum
startOverride
diff --git a/writerfilter/source/dmapper/DomainMapper.cxx b/writerfilter/source/dmapper/DomainMapper.cxx
index 9858a34..a5c7c84 100644
--- a/writerfilter/source/dmapper/DomainMapper.cxx
+++ b/writerfilter/source/dmapper/DomainMapper.cxx
@@ -1318,6 +1318,26 @@ void DomainMapper::attribute(Id nName, Value & val)
pTopContext->Insert(PROP_PARA_LINE_SPACING, true, uno::makeAny( aSpacing ));
}
break;
+ case NS_ooxml::LN_CT_Ind_start:
+ if (m_pImpl->GetTopContext())
+ {
+ PropertyIds eId = PROP_PARA_LEFT_MARGIN;
+ if ( m_pImpl->IsRTL() )
+ eId = PROP_PARA_RIGHT_MARGIN;
+ m_pImpl->GetTopContext()->Insert(
+ eId, true, uno::makeAny( ConversionHelper::convertTwipToMM100(nIntValue ) ));
+ }
+ break;
+ case NS_ooxml::LN_CT_Ind_end:
+ if (m_pImpl->GetTopContext())
+ {
+ PropertyIds eId = PROP_PARA_RIGHT_MARGIN;
+ if ( m_pImpl->IsRTL() )
+ eId = PROP_PARA_LEFT_MARGIN;
+ m_pImpl->GetTopContext()->Insert(
+ eId, true, uno::makeAny( ConversionHelper::convertTwipToMM100(nIntValue ) ));
+ }
+ break;
case NS_ooxml::LN_CT_Ind_left:
if (m_pImpl->GetTopContext())
m_pImpl->GetTopContext()->Insert(
diff --git a/writerfilter/source/dmapper/DomainMapper_Impl.cxx b/writerfilter/source/dmapper/DomainMapper_Impl.cxx
index 54ca809..3c34b03 100644
--- a/writerfilter/source/dmapper/DomainMapper_Impl.cxx
+++ b/writerfilter/source/dmapper/DomainMapper_Impl.cxx
@@ -891,6 +891,32 @@ void DomainMapper_Impl::finishParagraph( PropertyMapPtr pPropertyMap )
dmapper_logger->endElement("finishParagraph");
#endif
}
+
+bool DomainMapper_Impl::IsRTL( )
+{
+ bool bRtl = false;
+ bool bSet = false;
+ if ( GetTopContext() )
+ bRtl = GetTopContext()->IsRTL( bSet );
+
+ PropertyMapPtr pParaContext = GetTopContextOfType( CONTEXT_PARAGRAPH );
+ if ( !bSet && pParaContext )
+ {
+ ParagraphPropertyMap* pParaProps = static_cast< ParagraphPropertyMap* >( pParaContext.get() );
+ rtl::OUString sStyleName = pParaProps->GetParaStyleName( );
+ bRtl = m_pStyleSheetTable->IsRTL( sStyleName, bSet );
+ }
+
+ PropertyMapPtr pSectionContext = GetTopContextOfType( CONTEXT_SECTION );
+ if ( !bSet && pSectionContext )
+ {
+ SectionPropertyMap* pSectionProps = static_cast< SectionPropertyMap* >( pSectionContext.get() );
+ bRtl = pSectionProps->GetSFBiDi();
+ }
+
+ return bRtl;
+}
+
/*-------------------------------------------------------------------------
-----------------------------------------------------------------------*/
diff --git a/writerfilter/source/dmapper/DomainMapper_Impl.hxx b/writerfilter/source/dmapper/DomainMapper_Impl.hxx
index 39d3e7f..fdcbce2 100644
--- a/writerfilter/source/dmapper/DomainMapper_Impl.hxx
+++ b/writerfilter/source/dmapper/DomainMapper_Impl.hxx
@@ -598,6 +598,8 @@ public:
void ApplySettingsTable();
SectionPropertyMap * GetSectionContext();
+
+ bool IsRTL();
};
} //namespace dmapper
} //namespace writerfilter
diff --git a/writerfilter/source/dmapper/PropertyMap.cxx b/writerfilter/source/dmapper/PropertyMap.cxx
index ccf39e3..7a8cbae 100644
--- a/writerfilter/source/dmapper/PropertyMap.cxx
+++ b/writerfilter/source/dmapper/PropertyMap.cxx
@@ -38,7 +38,7 @@
#include <com/sun/star/container/XNameContainer.hpp>
#include <com/sun/star/style/BreakType.hpp>
#include <com/sun/star/text/RelOrientation.hpp>
-#include <com/sun/star/text/WritingMode.hpp>
+#include <com/sun/star/text/WritingMode2.hpp>
#include <com/sun/star/text/XTextColumns.hpp>
#include <com/sun/star/text/XText.hpp>
#include <com/sun/star/text/TextGridMode.hpp>
@@ -133,6 +133,23 @@ void PropertyMap::Insert( PropertyIds eId, bool bIsTextProperty, const uno::Any&
Invalidate();
}
+bool PropertyMap::IsRTL( bool& bSet )
+{
+ bool bRtl = false;
+ bSet = false;
+
+ PropertyMap::iterator aIt = find( PropertyDefinition( PROP_WRITING_MODE, true ) );
+ if( aIt != end( ) )
+ {
+ sal_Int16 nValue;
+ aIt->second >>= nValue;
+ bRtl = ( nValue == text::WritingMode2::RL_TB );
+ bSet = true;
+ }
+
+ return bRtl;
+}
+
#ifdef DEBUG_DOMAINMAPPER
XMLTag::Pointer_t PropertyMap::toTag() const
{
@@ -876,14 +893,14 @@ void SectionPropertyMap::CloseSectionGroup( DomainMapper_Impl& rDM_Impl )
if( aElement != end())
aElement->second >>= nWidth;
- text::WritingMode eWritingMode = text::WritingMode_LR_TB;
+ sal_Int32 eWritingMode = text::WritingMode2::LR_TB;
aElement = find(PropertyDefinition( PROP_WRITING_MODE, false ));
if( aElement != end())
aElement->second >>= eWritingMode;
- sal_Int32 nTextAreaHeight = eWritingMode == text::WritingMode_LR_TB ?
+ sal_Int32 nTextAreaHeight = eWritingMode == text::WritingMode2::LR_TB ?
nHeight - m_nTopMargin - m_nBottomMargin :
nWidth - m_nLeftMargin - m_nRightMargin;
diff --git a/writerfilter/source/dmapper/PropertyMap.hxx b/writerfilter/source/dmapper/PropertyMap.hxx
index a1ded6e..e77078b 100644
--- a/writerfilter/source/dmapper/PropertyMap.hxx
+++ b/writerfilter/source/dmapper/PropertyMap.hxx
@@ -134,7 +134,9 @@ public:
void SetFootnoteFontName( const ::rtl::OUString& rSet ) { m_sFootnoteFontName = rSet;}
virtual void insertTableProperties( const PropertyMap* );
-
+
+ virtual bool IsRTL( bool& bSet );
+
#ifdef DEBUG_DOMAINMAPPER
virtual XMLTag::Pointer_t toTag() const;
#endif
@@ -265,6 +267,7 @@ public:
void SetGutterRTL( bool bSet ) { m_bGutterRTL = bSet;}
void SetDzaGutter( sal_Int32 nSet ) {m_nDzaGutter = nSet; }
void SetSFBiDi( bool bSet ) { m_bSFBiDi = bSet;}
+ bool GetSFBiDi( ) { return m_bSFBiDi;}
void SetGridType(sal_Int32 nSet) { m_nGridType = nSet; }
void SetGridLinePitch( sal_Int32 nSet ) { m_nGridLinePitch = nSet; }
diff --git a/writerfilter/source/dmapper/StyleSheetTable.cxx b/writerfilter/source/dmapper/StyleSheetTable.cxx
index 369e186..b2e45ab 100644
--- a/writerfilter/source/dmapper/StyleSheetTable.cxx
+++ b/writerfilter/source/dmapper/StyleSheetTable.cxx
@@ -1408,6 +1408,20 @@ void StyleSheetTable::applyDefaults(bool bParaProperties)
return sListLabel;
}
+bool StyleSheetTable::IsRTL( rtl::OUString sStyleName, bool& bSet )
+{
+ bool bRtl = false;
+ bSet = false;
+ StyleSheetEntryPtr pStyle = FindStyleSheetByStyleName( sStyleName );
+ bRtl = pStyle->pProperties->IsRTL( bSet );
+
+ StyleSheetEntryPtr pBaseStyle = FindStyleSheetByISTD( pStyle->sBaseStyleIdentifier );
+ if ( !bSet && pBaseStyle )
+ bRtl = IsRTL( pBaseStyle->sStyleName, bSet );
+
+ return bRtl;
+}
+
}//namespace dmapper
}//namespace writerfilter
diff --git a/writerfilter/source/dmapper/StyleSheetTable.hxx b/writerfilter/source/dmapper/StyleSheetTable.hxx
index d474cf5..d5868e3 100644
--- a/writerfilter/source/dmapper/StyleSheetTable.hxx
+++ b/writerfilter/source/dmapper/StyleSheetTable.hxx
@@ -118,6 +118,8 @@ public:
::rtl::OUString getOrCreateCharStyle( PropertyValueVector_t& rCharProperties );
+ bool IsRTL( rtl::OUString sStyleName, bool& bSet );
+
private:
void resolveAttributeProperties(Value & val);
void resolveSprmProps(Sprm & sprm_);
diff --git a/writerfilter/source/ooxml/model.xml b/writerfilter/source/ooxml/model.xml
index b7046a4..7a77b42 100644
--- a/writerfilter/source/ooxml/model.xml
+++ b/writerfilter/source/ooxml/model.xml
@@ -13841,6 +13841,30 @@
</define>
<define name="CT_Ind">
<optional>
+ <attribute name="end">
+ <ref name="ST_SignedTwipsMeasure"/>
+ <xs:documentation>Left Indentation</xs:documentation>
+ </attribute>
+ </optional>
+ <optional>
+ <attribute name="endChars">
+ <ref name="ST_DecimalNumber"/>
+ <xs:documentation>Left Indentation in Character Units</xs:documentation>
+ </attribute>
+ </optional>
+ <optional>
+ <attribute name="start">
+ <ref name="ST_SignedTwipsMeasure"/>
+ <xs:documentation>Left Indentation</xs:documentation>
+ </attribute>
+ </optional>
+ <optional>
+ <attribute name="startChars">
+ <ref name="ST_DecimalNumber"/>
+ <xs:documentation>Left Indentation in Character Units</xs:documentation>
+ </attribute>
+ </optional>
+ <optional>
<attribute name="left">
<ref name="ST_SignedTwipsMeasure"/>
<xs:documentation>Left Indentation</xs:documentation>
@@ -21596,14 +21620,19 @@
<attribute name="lineRule" tokenid="ooxml:CT_Spacing_lineRule"/>
</resource>
<resource name="CT_Ind" resource="Properties">
- <attribute name="left" tokenid="ooxml:CT_Ind_left"/>
- <attribute name="leftChars" tokenid="ooxml:CT_Ind_leftChars"/>
- <attribute name="right" tokenid="ooxml:CT_Ind_right"/>
- <attribute name="rightChars" tokenid="ooxml:CT_Ind_rightChars"/>
+ <attribute name="end" tokenid="ooxml:CT_Ind_end"/>
+ <attribute name="endChars" tokenid="ooxml:CT_Ind_endChars"/>
+ <attribute name="start" tokenid="ooxml:CT_Ind_start"/>
+ <attribute name="startChars" tokenid="ooxml:CT_Ind_startChars"/>
<attribute name="hanging" tokenid="ooxml:CT_Ind_hanging"/>
<attribute name="hangingChars" tokenid="ooxml:CT_Ind_hangingChars"/>
<attribute name="firstLine" tokenid="ooxml:CT_Ind_firstLine"/>
<attribute name="firstLineChars" tokenid="ooxml:CT_Ind_firstLineChars"/>
+ <!-- ECMA 1st version -->
+ <attribute name="left" tokenid="ooxml:CT_Ind_left"/>
+ <attribute name="leftChars" tokenid="ooxml:CT_Ind_leftChars"/>
+ <attribute name="right" tokenid="ooxml:CT_Ind_right"/>
+ <attribute name="rightChars" tokenid="ooxml:CT_Ind_rightChars"/>
</resource>
<resource name="ST_Jc" resource="List">
<value tokenid="0">left</value>
commit 5c818a4ad4133a4b3cfacb82d6021fb78d4d9851
Author: Cédric Bosdonnat <cedricbosdo at openoffice.org>
Date: Fri Dec 3 14:18:22 2010 +0100
Removed the useless WRITERFILTERSTATUS comments
diff --git a/writerfilter/source/dmapper/BorderHandler.cxx b/writerfilter/source/dmapper/BorderHandler.cxx
index 4aa4f77..b96be38 100644
--- a/writerfilter/source/dmapper/BorderHandler.cxx
+++ b/writerfilter/source/dmapper/BorderHandler.cxx
@@ -74,10 +74,8 @@ void BorderHandler::attribute(Id rName, Value & rVal)
#endif
sal_Int32 nIntValue = rVal.getInt();
- /* WRITERFILTERSTATUS: table: BorderHandler_attributedata */
switch( rName )
{
- /* WRITERFILTERSTATUS: done: 75, planned: 0, spent: 0 */
case NS_rtf::LN_rgbrc:
{
writerfilter::Reference<Properties>::Pointer_t pProperties = rVal.getProperties();
@@ -91,21 +89,17 @@ void BorderHandler::attribute(Id rName, Value & rVal)
}
}
break;
- /* WRITERFILTERSTATUS: done: 75, planned: 0, spent: 0 */
case NS_rtf::LN_DPTLINEWIDTH: // 0x2871
// width of a single line in 1/8 pt, max of 32 pt -> twip * 5 / 2.
m_nLineWidth = ConversionHelper::convertTwipToMM100( nIntValue * 5 / 2 );
break;
- /* WRITERFILTERSTATUS: done: 75, planned: 0, spent: 0 */
case NS_rtf::LN_BRCTYPE: // 0x2872
m_nLineType = nIntValue;
break;
- /* WRITERFILTERSTATUS: done: 75, planned: 0, spent: 0 */
case NS_ooxml::LN_CT_Border_color:
case NS_rtf::LN_ICO: // 0x2873
m_nLineColor = nIntValue;
break;
- /* WRITERFILTERSTATUS: done: 100, planned: 0, spent: 0 */
case NS_rtf::LN_DPTSPACE: // border distance in points
m_nLineDistance = ConversionHelper::convertTwipToMM100( nIntValue * 20 );
break;
@@ -131,20 +125,13 @@ void BorderHandler::sprm(Sprm & rSprm)
dmapper_logger->attribute("sprm", rSprm.toString());
#endif
- /* WRITERFILTERSTATUS: table: BorderHandler_sprm */
switch( rSprm.getId())
{
- /* WRITERFILTERSTATUS: done: 75, planned: 0, spent: 0 */
case NS_ooxml::LN_CT_TblBorders_top:
- /* WRITERFILTERSTATUS: done: 75, planned: 0, spent: 0 */
case NS_ooxml::LN_CT_TblBorders_left:
- /* WRITERFILTERSTATUS: done: 75, planned: 0, spent: 0 */
case NS_ooxml::LN_CT_TblBorders_bottom:
- /* WRITERFILTERSTATUS: done: 75, planned: 0, spent: 0 */
case NS_ooxml::LN_CT_TblBorders_right:
- /* WRITERFILTERSTATUS: done: 75, planned: 0, spent: 0 */
case NS_ooxml::LN_CT_TblBorders_insideH:
- /* WRITERFILTERSTATUS: done: 75, planned: 0, spent: 0 */
case NS_ooxml::LN_CT_TblBorders_insideV:
{
writerfilter::Reference<Properties>::Pointer_t pProperties = rSprm.getProps();
diff --git a/writerfilter/source/dmapper/CellColorHandler.cxx b/writerfilter/source/dmapper/CellColorHandler.cxx
index 8c8cfe9..106c33e 100644
--- a/writerfilter/source/dmapper/CellColorHandler.cxx
+++ b/writerfilter/source/dmapper/CellColorHandler.cxx
@@ -65,21 +65,15 @@ void CellColorHandler::attribute(Id rName, Value & rVal)
sal_Int32 nIntValue = rVal.getInt();
(void)nIntValue;
(void)rName;
- /* WRITERFILTERSTATUS: table: CellColor_attributedata */
switch( rName )
{
case NS_rtf::LN_cellTopColor:
- /* WRITERFILTERSTATUS: done: 0, planned: 0, spent: 0 */
case NS_rtf::LN_cellLeftColor:
- /* WRITERFILTERSTATUS: done: 0, planned: 0, spent: 0 */
case NS_rtf::LN_cellBottomColor:
- /* WRITERFILTERSTATUS: done: 0, planned: 0, spent: 0 */
case NS_rtf::LN_cellRightColor:
- /* WRITERFILTERSTATUS: done: 0, planned: 0, spent: 0 */
// nIntValue contains the color, directly
break;
case NS_ooxml::LN_CT_Shd_val:
- /* WRITERFILTERSTATUS: done: 50, planned: 0, spent: 0 */
{
//might be clear, pct5...90, some hatch types
//TODO: The values need symbolic names!
@@ -87,13 +81,11 @@ void CellColorHandler::attribute(Id rName, Value & rVal)
}
break;
case NS_ooxml::LN_CT_Shd_fill:
- /* WRITERFILTERSTATUS: done: 1, planned: 0, spent: 0 */
if( nIntValue == OOXML_COLOR_AUTO )
nIntValue = 0xffffff; //fill color auto means white
m_nFillColor = nIntValue;
break;
case NS_ooxml::LN_CT_Shd_color:
- /* WRITERFILTERSTATUS: done: 1, planned: 0, spent: 0 */
if( nIntValue == OOXML_COLOR_AUTO )
nIntValue = 0; //shading color auto means black
//color of the shading
diff --git a/writerfilter/source/dmapper/CellMarginHandler.cxx b/writerfilter/source/dmapper/CellMarginHandler.cxx
index 3bc6464..22fd816 100644
--- a/writerfilter/source/dmapper/CellMarginHandler.cxx
+++ b/writerfilter/source/dmapper/CellMarginHandler.cxx
@@ -67,7 +67,6 @@ void CellMarginHandler::attribute(Id rName, Value & rVal)
sal_Int32 nIntValue = rVal.getInt();
(void)nIntValue;
(void)rName;
- /* WRITERFILTERSTATUS: table: CellColor_attributedata */
switch( rName )
{
case NS_ooxml::LN_CT_TblWidth_w:
@@ -91,22 +90,18 @@ void CellMarginHandler::sprm(Sprm & rSprm)
pProperties.get()->resolve( *this );
switch( rSprm.getId() )
{
- /* WRITERFILTERSTATUS: done: 100, planned: 0, spent: 0 */
case NS_ooxml::LN_CT_TblCellMar_top:
m_nTopMargin = m_nValue;
m_bTopMarginValid = true;
break;
- /* WRITERFILTERSTATUS: done: 100, planned: 0, spent: 0 */
case NS_ooxml::LN_CT_TblCellMar_left:
m_nLeftMargin = m_nValue;
m_bLeftMarginValid = true;
break;
- /* WRITERFILTERSTATUS: done: 100, planned: 0, spent: 0 */
case NS_ooxml::LN_CT_TblCellMar_bottom:
m_nBottomMargin = m_nValue;
m_bBottomMarginValid = true;
break;
- /* WRITERFILTERSTATUS: done: 100, planned: 0, spent: 0 */
case NS_ooxml::LN_CT_TblCellMar_right:
m_nRightMargin = m_nValue;
m_bRightMarginValid = true;
diff --git a/writerfilter/source/dmapper/DomainMapper.cxx b/writerfilter/source/dmapper/DomainMapper.cxx
index 0158ddc..9858a34 100644
--- a/writerfilter/source/dmapper/DomainMapper.cxx
+++ b/writerfilter/source/dmapper/DomainMapper.cxx
@@ -215,337 +215,227 @@ void DomainMapper::attribute(Id nName, Value & val)
{
- /* WRITERFILTERSTATUS: table: attributedata */
switch( nName )
{
/* attributes to be ignored */
case NS_rtf::LN_UNUSED1_3:
- /* WRITERFILTERSTATUS: done: 0, planned: 0, spent: 0 */
case NS_rtf::LN_UNUSED1_7:
- /* WRITERFILTERSTATUS: done: 0, planned: 0, spent: 0 */
case NS_rtf::LN_UNUSED8_3:
- /* WRITERFILTERSTATUS: done: 0, planned: 0, spent: 0 */
case NS_rtf::LN_FWRITERESERVATION:
- /* WRITERFILTERSTATUS: done: 0, planned: 0, spent: 0 */
case NS_rtf::LN_FLOADOVERRIDE:
- /* WRITERFILTERSTATUS: done: 0, planned: 0, spent: 0 */
case NS_rtf::LN_FFAREAST:
- /* WRITERFILTERSTATUS: done: 0, planned: 0, spent: 0 */
case NS_rtf::LN_FCRYPTO:
- /* WRITERFILTERSTATUS: done: 0, planned: 0, spent: 0 */
case NS_rtf::LN_NFIBBACK:
- /* WRITERFILTERSTATUS: done: 0, planned: 0, spent: 0 */
case NS_rtf::LN_LKEY:
- /* WRITERFILTERSTATUS: done: 0, planned: 0, spent: 0 */
case NS_rtf::LN_ENVR:
- /* WRITERFILTERSTATUS: done: 0, planned: 0, spent: 0 */
case NS_rtf::LN_FMAC:
- /* WRITERFILTERSTATUS: done: 0, planned: 0, spent: 0 */
case NS_rtf::LN_FWORD97SAVED:
- /* WRITERFILTERSTATUS: done: 0, planned: 0, spent: 0 */
case NS_rtf::LN_FCMAC:
- /* WRITERFILTERSTATUS: done: 0, planned: 0, spent: 0 */
case NS_rtf::LN_PNFBPCHPFIRST_W6:
- /* WRITERFILTERSTATUS: done: 0, planned: 0, spent: 0 */
case NS_rtf::LN_PNCHPFIRST_W6:
- /* WRITERFILTERSTATUS: done: 0, planned: 0, spent: 0 */
case NS_rtf::LN_CPNBTECHP_W6:
- /* WRITERFILTERSTATUS: done: 0, planned: 0, spent: 0 */
case NS_rtf::LN_PNFBPPAPFIRST_W6:
- /* WRITERFILTERSTATUS: done: 0, planned: 0, spent: 0 */
case NS_rtf::LN_PNPAPFIRST_W6:
- /* WRITERFILTERSTATUS: done: 0, planned: 0, spent: 0 */
case NS_rtf::LN_CPNBTEPAP_W6:
- /* WRITERFILTERSTATUS: done: 0, planned: 0, spent: 0 */
case NS_rtf::LN_PNFBPLVCFIRST_W6:
- /* WRITERFILTERSTATUS: done: 0, planned: 0, spent: 0 */
case NS_rtf::LN_PNLVCFIRST_W6:
- /* WRITERFILTERSTATUS: done: 0, planned: 0, spent: 0 */
case NS_rtf::LN_CPNBTELVC_W6:
- /* WRITERFILTERSTATUS: done: 0, planned: 0, spent: 0 */
case NS_rtf::LN_CBMAC:
- /* WRITERFILTERSTATUS: done: 0, planned: 0, spent: 0 */
case NS_rtf::LN_LPRODUCTCREATED:
- /* WRITERFILTERSTATUS: done: 0, planned: 0, spent: 0 */
case NS_rtf::LN_LPRODUCTREVISED:
- /* WRITERFILTERSTATUS: done: 0, planned: 0, spent: 0 */
case NS_rtf::LN_CCPMCR:
- /* WRITERFILTERSTATUS: done: 0, planned: 0, spent: 0 */
case NS_rtf::LN_PNFBPCHPFIRST:
- /* WRITERFILTERSTATUS: done: 0, planned: 0, spent: 0 */
case NS_rtf::LN_PNFBPPAPFIRST:
- /* WRITERFILTERSTATUS: done: 0, planned: 0, spent: 0 */
case NS_rtf::LN_PNFBPLVCFIRST:
- /* WRITERFILTERSTATUS: done: 0, planned: 0, spent: 0 */
case NS_rtf::LN_FCISLANDFIRST:
- /* WRITERFILTERSTATUS: done: 0, planned: 0, spent: 0 */
case NS_rtf::LN_FCISLANDLIM:
- /* WRITERFILTERSTATUS: done: 0, planned: 0, spent: 0 */
case NS_rtf::LN_FCSTSHFORIG:
- /* WRITERFILTERSTATUS: done: 0, planned: 0, spent: 0 */
case NS_rtf::LN_LCBSTSHFORIG:
- /* WRITERFILTERSTATUS: done: 0, planned: 0, spent: 0 */
case NS_rtf::LN_FCPLCFPAD:
- /* WRITERFILTERSTATUS: done: 0, planned: 0, spent: 0 */
case NS_rtf::LN_LCBPLCFPAD:
- /* WRITERFILTERSTATUS: done: 0, planned: 0, spent: 0 */
case NS_rtf::LN_FCSTTBFGLSY:
- /* WRITERFILTERSTATUS: done: 0, planned: 0, spent: 0 */
case NS_rtf::LN_LCBSTTBFGLSY:
- /* WRITERFILTERSTATUS: done: 0, planned: 0, spent: 0 */
case NS_rtf::LN_FCPLCFGLSY:
- /* WRITERFILTERSTATUS: done: 0, planned: 0, spent: 0 */
case NS_rtf::LN_LCBPLCFGLSY:
- /* WRITERFILTERSTATUS: done: 0, planned: 0, spent: 0 */
case NS_rtf::LN_FCPLCFSEA:
- /* WRITERFILTERSTATUS: done: 0, planned: 0, spent: 0 */
case NS_rtf::LN_LCBPLCFSEA:
- /* WRITERFILTERSTATUS: done: 0, planned: 0, spent: 0 */
case NS_rtf::LN_FCPLCFFLDMCR:
- /* WRITERFILTERSTATUS: done: 0, planned: 0, spent: 0 */
case NS_rtf::LN_LCBPLCFFLDMCR:
- /* WRITERFILTERSTATUS: done: 0, planned: 0, spent: 0 */
case NS_rtf::LN_FCCMDS:
- /* WRITERFILTERSTATUS: done: 0, planned: 0, spent: 0 */
case NS_rtf::LN_LCBCMDS:
- /* WRITERFILTERSTATUS: done: 0, planned: 0, spent: 0 */
case NS_rtf::LN_FCPLCMCR:
- /* WRITERFILTERSTATUS: done: 0, planned: 0, spent: 0 */
case NS_rtf::LN_LCBPLCMCR:
- /* WRITERFILTERSTATUS: done: 0, planned: 0, spent: 0 */
case NS_rtf::LN_FCSTTBFMCR:
- /* WRITERFILTERSTATUS: done: 0, planned: 0, spent: 0 */
case NS_rtf::LN_LCBSTTBFMCR:
- /* WRITERFILTERSTATUS: done: 0, planned: 0, spent: 0 */
case NS_rtf::LN_FCPRDRVR:
- /* WRITERFILTERSTATUS: done: 0, planned: 0, spent: 0 */
case NS_rtf::LN_LCBPRDRVR:
- /* WRITERFILTERSTATUS: done: 0, planned: 0, spent: 0 */
case NS_rtf::LN_FCPRENVPORT:
- /* WRITERFILTERSTATUS: done: 0, planned: 0, spent: 0 */
case NS_rtf::LN_LCBPRENVPORT:
- /* WRITERFILTERSTATUS: done: 0, planned: 0, spent: 0 */
case NS_rtf::LN_FCPRENVLAND:
- /* WRITERFILTERSTATUS: done: 0, planned: 0, spent: 0 */
case NS_rtf::LN_LCBPRENVLAND:
- /* WRITERFILTERSTATUS: done: 0, planned: 0, spent: 0 */
case NS_rtf::LN_FCWSS:
- /* WRITERFILTERSTATUS: done: 0, planned: 0, spent: 0 */
case NS_rtf::LN_LCBWSS:
- /* WRITERFILTERSTATUS: done: 0, planned: 0, spent: 0 */
case NS_rtf::LN_FCPLCFPGDFTN:
- /* WRITERFILTERSTATUS: done: 0, planned: 0, spent: 0 */
case NS_rtf::LN_LCBPLCFPGDFTN:
- /* WRITERFILTERSTATUS: done: 0, planned: 0, spent: 0 */
case NS_rtf::LN_FCAUTOSAVESOURCE:
- /* WRITERFILTERSTATUS: done: 0, planned: 0, spent: 0 */
case NS_rtf::LN_LCBAUTOSAVESOURCE:
- /* WRITERFILTERSTATUS: done: 0, planned: 0, spent: 0 */
case NS_rtf::LN_FCPLCDOAMOM:
- /* WRITERFILTERSTATUS: done: 0, planned: 0, spent: 0 */
case NS_rtf::LN_LCBPLCDOAMOM:
- /* WRITERFILTERSTATUS: done: 0, planned: 0, spent: 0 */
case NS_rtf::LN_FCPLCDOAHDR:
- /* WRITERFILTERSTATUS: done: 0, planned: 0, spent: 0 */
case NS_rtf::LN_LCBPLCDOAHDR:
- /* WRITERFILTERSTATUS: done: 0, planned: 0, spent: 0 */
case NS_rtf::LN_FCPMS:
- /* WRITERFILTERSTATUS: done: 0, planned: 0, spent: 0 */
case NS_rtf::LN_LCBPMS:
- /* WRITERFILTERSTATUS: done: 0, planned: 0, spent: 0 */
case NS_rtf::LN_FCPLCFPGDEDN:
- /* WRITERFILTERSTATUS: done: 0, planned: 0, spent: 0 */
case NS_rtf::LN_LCBPLCFPGDEDN:
- /* WRITERFILTERSTATUS: done: 0, planned: 0, spent: 0 */
case NS_rtf::LN_FCPLCFWKB:
- /* WRITERFILTERSTATUS: done: 0, planned: 0, spent: 0 */
case NS_rtf::LN_LCBPLCFWKB:
- /* WRITERFILTERSTATUS: done: 0, planned: 0, spent: 0 */
case NS_rtf::LN_FCPLCFSPL:
- /* WRITERFILTERSTATUS: done: 0, planned: 0, spent: 0 */
case NS_rtf::LN_LCBPLCFSPL:
- /* WRITERFILTERSTATUS: done: 0, planned: 0, spent: 0 */
case NS_rtf::LN_FCSTWUSER:
- /* WRITERFILTERSTATUS: done: 0, planned: 0, spent: 0 */
case NS_rtf::LN_LCBSTWUSER:
- /* WRITERFILTERSTATUS: done: 0, planned: 0, spent: 0 */
case NS_rtf::LN_FCUNUSED:
- /* WRITERFILTERSTATUS: done: 0, planned: 0, spent: 0 */
case NS_rtf::LN_LCBUNUSED:
- /* WRITERFILTERSTATUS: done: 0, planned: 0, spent: 0 */
case NS_rtf::LN_FCSTTBFINTLFLD:
- /* WRITERFILTERSTATUS: done: 0, planned: 0, spent: 0 */
case NS_rtf::LN_LCBSTTBFINTLFLD:
- /* WRITERFILTERSTATUS: done: 0, planned: 0, spent: 0 */
case NS_rtf::LN_FCROUTESLIP:
- /* WRITERFILTERSTATUS: done: 0, planned: 0, spent: 0 */
case NS_rtf::LN_LCBROUTESLIP:
- /* WRITERFILTERSTATUS: done: 0, planned: 0, spent: 0 */
case NS_rtf::LN_FCSTTBSAVEDBY:
- /* WRITERFILTERSTATUS: done: 0, planned: 0, spent: 0 */
case NS_rtf::LN_LCBSTTBSAVEDBY:
- /* WRITERFILTERSTATUS: done: 0, planned: 0, spent: 0 */
case NS_rtf::LN_FCSTTBFNM:
- /* WRITERFILTERSTATUS: done: 0, planned: 0, spent: 0 */
case NS_rtf::LN_LCBSTTBFNM:
- /* WRITERFILTERSTATUS: done: 0, planned: 0, spent: 0 */
case NS_rtf::LN_FCDOCUNDO:
- /* WRITERFILTERSTATUS: done: 0, planned: 0, spent: 0 */
case NS_rtf::LN_LCBDOCUNDO:
- /* WRITERFILTERSTATUS: done: 0, planned: 0, spent: 0 */
case NS_rtf::LN_FCRGBUSE:
- /* WRITERFILTERSTATUS: done: 0, planned: 0, spent: 0 */
case NS_rtf::LN_LCBRGBUSE:
- /* WRITERFILTERSTATUS: done: 0, planned: 0, spent: 0 */
case NS_rtf::LN_FCUSP:
- /* WRITERFILTERSTATUS: done: 0, planned: 0, spent: 0 */
case NS_rtf::LN_LCBUSP:
- /* WRITERFILTERSTATUS: done: 0, planned: 0, spent: 0 */
case NS_rtf::LN_FCUSKF:
- /* WRITERFILTERSTATUS: done: 0, planned: 0, spent: 0 */
case NS_rtf::LN_LCBUSKF:
- /* WRITERFILTERSTATUS: done: 0, planned: 0, spent: 0 */
case NS_rtf::LN_FCPLCUPCRGBUSE:
- /* WRITERFILTERSTATUS: done: 0, planned: 0, spent: 0 */
case NS_rtf::LN_LCBPLCUPCRGBUSE:
- /* WRITERFILTERSTATUS: done: 0, planned: 0, spent: 0 */
case NS_rtf::LN_FCPLCUPCUSP:
- /* WRITERFILTERSTATUS: done: 0, planned: 0, spent: 0 */
case NS_rtf::LN_LCBPLCUPCUSP:
- /* WRITERFILTERSTATUS: done: 0, planned: 0, spent: 0 */
case NS_rtf::LN_FCPLGOSL:
- /* WRITERFILTERSTATUS: done: 0, planned: 0, spent: 0 */
case NS_rtf::LN_LCBPLGOSL:
- /* WRITERFILTERSTATUS: done: 0, planned: 0, spent: 0 */
case NS_rtf::LN_FCPLCOCX:
- /* WRITERFILTERSTATUS: done: 0, planned: 0, spent: 0 */
case NS_rtf::LN_LCBPLCOCX:
- /* WRITERFILTERSTATUS: done: 0, planned: 0, spent: 0 */
case NS_rtf::LN_DWLOWDATETIME:
- /* WRITERFILTERSTATUS: done: 0, planned: 0, spent: 0 */
case NS_rtf::LN_DWHIGHDATETIME:
- /* WRITERFILTERSTATUS: done: 0, planned: 0, spent: 0 */
case NS_rtf::LN_FCPLCASUMY:
- /* WRITERFILTERSTATUS: done: 0, planned: 0, spent: 0 */
case NS_rtf::LN_LCBPLCASUMY:
- /* WRITERFILTERSTATUS: done: 0, planned: 0, spent: 0 */
case NS_rtf::LN_FCPLCFGRAM:
- /* WRITERFILTERSTATUS: done: 0, planned: 0, spent: 0 */
case NS_rtf::LN_LCBPLCFGRAM:
- /* WRITERFILTERSTATUS: done: 0, planned: 0, spent: 0 */
case NS_rtf::LN_FCSTTBFUSSR:
- /* WRITERFILTERSTATUS: done: 0, planned: 0, spent: 0 */
break;
case NS_rtf::LN_ISTD: //index of applied style
- /* WRITERFILTERSTATUS: done: 100, planned: 2, spent: 0 */
{
//search for the style with the given id and apply it
//as CharStyleName or ParaStyleName
@@ -569,710 +459,478 @@ void DomainMapper::attribute(Id nName, Value & val)
}
break;
case NS_rtf::LN_ISTARTAT:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_rtf::LN_NFC:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_rtf::LN_FLEGAL:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_rtf::LN_FNORESTART:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_rtf::LN_FIDENTSAV:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_rtf::LN_FCONVERTED:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_rtf::LN_FTENTATIVE:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_rtf::LN_RGBXCHNUMS:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_rtf::LN_IXCHFOLLOW:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_rtf::LN_DXASPACE:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_rtf::LN_DXAINDENT:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_rtf::LN_CBGRPPRLCHPX:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_rtf::LN_CBGRPPRLPAPX:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_rtf::LN_LSID:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_rtf::LN_TPLC:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_rtf::LN_RGISTD:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_rtf::LN_FSIMPLELIST:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_rtf::LN_fAutoNum:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_rtf::LN_fHybrid:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_rtf::LN_ILVL:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_rtf::LN_FSTARTAT:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_rtf::LN_FFORMATTING:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_rtf::LN_UNSIGNED4_6:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_rtf::LN_clfolvl:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_rtf::LN_CBFFNM1:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_rtf::LN_PRQ:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_rtf::LN_FTRUETYPE:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_rtf::LN_FF:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_rtf::LN_WWEIGHT:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_rtf::LN_CHS:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
{
m_pImpl->GetFIB().SetLNCHS( nIntValue );
}
break;
case NS_rtf::LN_IXCHSZALT:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_rtf::LN_PANOSE:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_rtf::LN_FS:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_rtf::LN_STI:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_rtf::LN_FSCRATCH:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_rtf::LN_FINVALHEIGHT:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_rtf::LN_FHASUPE:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_rtf::LN_FMASSCOPY:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_rtf::LN_SGC:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_rtf::LN_ISTDBASE:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_rtf::LN_CUPX:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_rtf::LN_ISTDNEXT:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_rtf::LN_BCHUPE:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_rtf::LN_FAUTOREDEF:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_rtf::LN_FHIDDEN:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_rtf::LN_CSTD:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_rtf::LN_CBSTDBASEINFILE:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_rtf::LN_FSTDSTYLENAMESWRITTEN:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_rtf::LN_UNUSED4_2:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_rtf::LN_STIMAXWHENSAVED:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_rtf::LN_ISTDMAXFIXEDWHENSAVED:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_rtf::LN_NVERBUILTINNAMESWHENSAVED:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_rtf::LN_RGFTCSTANDARDCHPSTSH:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_rtf::LN_WIDENT:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_NFIB:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_NPRODUCT:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_LID:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_PNNEXT:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_FDOT:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_FGLSY:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_FCOMPLEX:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_FHASPIC:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_CQUICKSAVES:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_FENCRYPTED:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_FWHICHTBLSTM:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_FREADONLYRECOMMENDED:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_FEXTCHAR:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_FEMPTYSPECIAL:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_FLOADOVERRIDEPAGE:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_FFUTURESAVEDUNDO:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_FSPARE0:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_CHSTABLES:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_FCMIN:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_CSW:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_WMAGICCREATED:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_WMAGICREVISED:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_WMAGICCREATEDPRIVATE:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_WMAGICREVISEDPRIVATE:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_LIDFE:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_CLW:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_CCPTEXT:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_CCPFTN:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_CCPHDD:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_CCPATN:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_CCPEDN:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_CCPTXBX:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_CCPHDRTXBX:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_PNCHPFIRST:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_CPNBTECHP:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_PNPAPFIRST:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_CPNBTEPAP:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_PNLVCFIRST:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_CPNBTELVC:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_CFCLCB:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_FCSTSHF:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_LCBSTSHF:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_FCPLCFFNDREF:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_LCBPLCFFNDREF:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_FCPLCFFNDTXT:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_LCBPLCFFNDTXT:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_FCPLCFANDREF:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_LCBPLCFANDREF:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_FCPLCFANDTXT:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_LCBPLCFANDTXT:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_FCPLCFSED:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_LCBPLCFSED:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_FCPLCFPHE:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_LCBPLCFPHE:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_FCPLCFHDD:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_LCBPLCFHDD:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_FCPLCFBTECHPX:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_LCBPLCFBTECHPX:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_FCPLCFBTEPAPX:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_LCBPLCFBTEPAPX:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_FCSTTBFFFN:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_LCBSTTBFFFN:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_FCPLCFFLDMOM:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_LCBPLCFFLDMOM:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_FCPLCFFLDHDR:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_LCBPLCFFLDHDR:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_FCPLCFFLDFTN:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_LCBPLCFFLDFTN:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_FCPLCFFLDATN:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_LCBPLCFFLDATN:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_FCSTTBFBKMK:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_LCBSTTBFBKMK:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_FCPLCFBKF:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_LCBPLCFBKF:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_FCPLCFBKL:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_LCBPLCFBKL:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_FCDOP:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_LCBDOP:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_FCSTTBFASSOC:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_LCBSTTBFASSOC:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_FCCLX:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_LCBCLX:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_FCGRPXSTATNOWNERS:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_LCBGRPXSTATNOWNERS:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_FCSTTBFATNBKMK:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_LCBSTTBFATNBKMK:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_FCPLCSPAMOM:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_LCBPLCSPAMOM:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_FCPLCSPAHDR:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_LCBPLCSPAHDR:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_FCPLCFATNBKF:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_LCBPLCFATNBKF:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_FCPLCFATNBKL:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_LCBPLCFATNBKL:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_FCFORMFLDSTTBF:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_LCBFORMFLDSTTBF:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_FCPLCFENDREF:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_LCBPLCFENDREF:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_FCPLCFENDTXT:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_LCBPLCFENDTXT:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_FCPLCFFLDEDN:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_LCBPLCFFLDEDN:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_FCDGGINFO:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_LCBDGGINFO:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_FCSTTBFRMARK:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_LCBSTTBFRMARK:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_FCSTTBFCAPTION:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_LCBSTTBFCAPTION:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_FCSTTBFAUTOCAPTION:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_LCBSTTBFAUTOCAPTION:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_LCBPLCFTXBXTXT:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_FCPLCFFLDTXBX:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_LCBPLCFFLDTXBX:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_FCPLCFHDRTXBXTXT:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_LCBPLCFHDRTXBXTXT:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_FCPLCFFLDHDRTXBX:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_LCBPLCFFLDHDRTXBX:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_FCSTTBTTMBD:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_LCBSTTBTTMBD:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_FCPGDMOTHER:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_LCBPGDMOTHER:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_FCBKDMOTHER:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_LCBBKDMOTHER:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_FCPGDFTN:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_LCBPGDFTN:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_FCBKDFTN:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_LCBBKDFTN:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_FCPGDEDN:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_LCBPGDEDN:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_FCBKDEDN:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_LCBBKDEDN:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_FCPLCFLST:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_LCBPLCFLST:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_FCPLFLFO:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_LCBPLFLFO:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_FCPLCFTXBXBKD:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_LCBPLCFTXBXBKD:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_FCPLCFTXBXHDRBKD:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_LCBPLCFTXBXHDRBKD:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_FCSTTBGLSYSTYLE:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_LCBSTTBGLSYSTYLE:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_FCPLCFBTELVC:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_LCBPLCFBTELVC:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_FCPLCFLVC:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_LCBPLCFLVC:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_FCSTTBLISTNAMES:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_LCBSTTBLISTNAMES:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_LCBSTTBFUSSR:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
{
m_pImpl->GetFIB().SetData( nName, nIntValue );
}
break;
case NS_rtf::LN_FN:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_FCSEPX:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_FNMPR:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_FCMPR:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
//section descriptor, unused or internally used
break;
case NS_rtf::LN_ICOFORE:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_rtf::LN_ICOBACK:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_rtf::LN_IPAT:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_rtf::LN_SHDFORECOLOR:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_rtf::LN_SHDBACKCOLOR:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_rtf::LN_SHDPATTERN:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_rtf::LN_DPTLINEWIDTH:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_rtf::LN_BRCTYPE:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_rtf::LN_ICO:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_rtf::LN_DPTSPACE:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_rtf::LN_FSHADOW:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_rtf::LN_FFRAME:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_rtf::LN_UNUSED2_15:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_rtf::LN_FFIRSTMERGED:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_rtf::LN_FMERGED:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_rtf::LN_FVERTICAL:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_rtf::LN_FBACKWARD:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_rtf::LN_FROTATEFONT:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_rtf::LN_FVERTMERGE:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_rtf::LN_FVERTRESTART:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_rtf::LN_VERTALIGN:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_rtf::LN_FUNUSED:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_rtf::LN_BRCTOP:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_BRCLEFT:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_BRCBOTTOM:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_rtf::LN_BRCRIGHT:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
{
table::BorderLine2 aBorderLine;
sal_Int32 nLineDistance = ConversionHelper::MakeBorderLine( nIntValue, aBorderLine );
@@ -1305,174 +963,120 @@ void DomainMapper::attribute(Id nName, Value & val)
}
break;
case NS_rtf::LN_ITCFIRST:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_rtf::LN_FPUB:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_rtf::LN_ITCLIM:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_rtf::LN_FCOL:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_rtf::LN_LINECOLOR:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_rtf::LN_LINEWIDTH:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_rtf::LN_LINETYPE:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_rtf::LN_MM:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_rtf::LN_XEXT:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_rtf::LN_YEXT:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_rtf::LN_HMF:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_rtf::LN_LCB:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_rtf::LN_CBHEADER:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_rtf::LN_MFP:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_rtf::LN_BM_RCWINMF:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_rtf::LN_DXAGOAL:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_rtf::LN_DYAGOAL:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_rtf::LN_MX:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_rtf::LN_MY:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_rtf::LN_DXACROPLEFT:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_rtf::LN_DYACROPTOP:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_rtf::LN_DXACROPRIGHT:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_rtf::LN_DYACROPBOTTOM:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_rtf::LN_BRCL:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_rtf::LN_FFRAMEEMPTY:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_rtf::LN_FBITMAP:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_rtf::LN_FDRAWHATCH:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_rtf::LN_FERROR:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_rtf::LN_BPP:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_rtf::LN_DXAORIGIN:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_rtf::LN_DYAORIGIN:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_rtf::LN_CPROPS:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_rtf::LN_LINEPROPSTOP:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_rtf::LN_LINEPROPSLEFT:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_rtf::LN_LINEPROPSBOTTOM:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_rtf::LN_LINEPROPSRIGHT:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_rtf::LN_LINEPROPSHORIZONTAL:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_rtf::LN_LINEPROPSVERTICAL:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_rtf::LN_headerr:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_rtf::LN_footerr:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_rtf::LN_endnote:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_rtf::LN_BOOKMARKNAME:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
// sStringValue contains the bookmark name
sLocalBookmarkName = sStringValue;
break;
case NS_rtf::LN_IBKL:
- /* WRITERFILTERSTATUS: done: 100, planned: 0.5, spent: 0.5 */
//contains the bookmark identifier - has to be added to the bookmark name imported before
//if it is already available then the bookmark should be inserted
m_pImpl->AddBookmark( sLocalBookmarkName, sStringValue );
sLocalBookmarkName = ::rtl::OUString();
break;
case NS_rtf::LN_LISTLEVEL:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_rtf::LN_LFOData:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_rtf::LN_F:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_rtf::LN_ALTFONTNAME:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_rtf::LN_XSZFFN:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_rtf::LN_XSTZNAME:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_rtf::LN_XSTZNAME1:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_rtf::LN_UPXSTART:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_rtf::LN_UPX:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_rtf::LN_sed:
- /* WRITERFILTERSTATUS: done: 100, planned: 0.5, spent: 0 */
//section properties
resolveAttributeProperties(*this, val);
break;
case NS_rtf::LN_tbdAdd:
- /* WRITERFILTERSTATUS: done: 100, planned: 0.5, spent: 0 */
//
{
writerfilter::Reference<Properties>::Pointer_t pProperties = val.getProperties();
@@ -1485,31 +1089,23 @@ void DomainMapper::attribute(Id nName, Value & val)
}
break;
case NS_rtf::LN_dxaDel:
- /* WRITERFILTERSTATUS: done: 100, planned: 0.5, spent: 0 */
//deleted tab
case NS_rtf::LN_dxaAdd:
- /* WRITERFILTERSTATUS: done: 100, planned: 0.5, spent: 0 */
//set tab
case NS_rtf::LN_TLC:
- /* WRITERFILTERSTATUS: done: 100, planned: 0.5, spent: 0 */
//tab leading characters - for decimal tabs
case NS_rtf::LN_JC:
- /* WRITERFILTERSTATUS: done: 100, planned: 0.5, spent: 0 */
//tab justification
m_pImpl->ModifyCurrentTabStop(nName, nIntValue);
break;
case NS_rtf::LN_UNUSED0_6:
- /* WRITERFILTERSTATUS: done: 0, planned: 0, spent: 0 */
// really unused
break;
case NS_rtf::LN_rgbrc:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_rtf::LN_shd:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_rtf::LN_cellShd:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_rtf::LN_cellTopColor:
case NS_rtf::LN_cellLeftColor:
@@ -1519,20 +1115,15 @@ void DomainMapper::attribute(Id nName, Value & val)
break;
case NS_rtf::LN_LISTTABLE:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_rtf::LN_LFOTABLE:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_rtf::LN_FONTTABLE:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_rtf::LN_STYLESHEET:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_rtf::LN_fcEastAsianLayout:
- /* WRITERFILTERSTATUS: done: 50, planned: 0.5, spent: 0 */
/* it seems that the value is following:
???? XX YYYY ZZ
where
@@ -1577,17 +1168,14 @@ void DomainMapper::attribute(Id nName, Value & val)
}
break;
case NS_rtf::LN_FRD :
- /* WRITERFILTERSTATUS: done: 100, planned: 0.5, spent: 0 */
//footnote reference descriptor, if nIntValue > 0 then automatic, custom otherwise
//ignored
break;
case NS_rtf::LN_FONT: //font of footnote symbol
- /* WRITERFILTERSTATUS: done: 100, planned: 0.5, spent: 0 */
if (m_pImpl->GetTopContext())
m_pImpl->GetTopContext()->SetFootnoteFontId( nIntValue );
break;
case NS_ooxml::LN_CT_Sym_char:
- /* WRITERFILTERSTATUS: done: 100, planned: 0.5, spent: 0 */
if( m_pImpl->GetTopContext() && m_pImpl->GetTopContext()->GetFootnote().is())
{
m_pImpl->GetTopContext()->GetFootnote()->setLabel(::rtl::OUString( sal_Unicode(nIntValue)));
@@ -1599,12 +1187,10 @@ void DomainMapper::attribute(Id nName, Value & val)
}
break;
case NS_rtf::LN_CHAR: //footnote symbol character
- /* WRITERFILTERSTATUS: done: 100, planned: 0.5, spent: 0 */
if (m_pImpl->GetTopContext())
m_pImpl->GetTopContext()->SetFootnoteSymbol( sal_Unicode(nIntValue));
break;
case NS_ooxml::LN_CT_Sym_font:
- /* WRITERFILTERSTATUS: done: 100, planned: 0.5, spent: 0 */
//the footnote symbol and font are provided after the footnote is already inserted
if( m_pImpl->GetTopContext() && m_pImpl->GetTopContext()->GetFootnote().is())
{
@@ -1618,16 +1204,13 @@ void DomainMapper::attribute(Id nName, Value & val)
m_pImpl->GetTopContext()->Insert(PROP_CHAR_FONT_NAME, true, uno::makeAny( sStringValue ));
break;
case NS_ooxml::LN_CT_Underline_val:
- /* WRITERFILTERSTATUS: done: 100, planned: 0.5, spent: 0 */
handleUnderlineType(nIntValue, m_pImpl->GetTopContext());
break;
case NS_ooxml::LN_CT_Color_val:
- /* WRITERFILTERSTATUS: done: 100, planned: 0.5, spent: 0 */
if (m_pImpl->GetTopContext())
m_pImpl->GetTopContext()->Insert(PROP_CHAR_COLOR, true, uno::makeAny( nIntValue ) );
break;
case NS_ooxml::LN_CT_Underline_color:
- /* WRITERFILTERSTATUS: done: 100, planned: 0.5, spent: 0 */
if (m_pImpl->GetTopContext())
{
m_pImpl->GetTopContext()->Insert(PROP_CHAR_UNDERLINE_HAS_COLOR, true, uno::makeAny( true ) );
@@ -1636,7 +1219,6 @@ void DomainMapper::attribute(Id nName, Value & val)
break;
case NS_ooxml::LN_CT_TabStop_val:
- /* WRITERFILTERSTATUS: done: 100, planned: 0.5, spent: 0 */
if (sal::static_int_cast<Id>(nIntValue) == NS_ooxml::LN_Value_ST_TabJc_clear)
{
m_pImpl->m_aCurrentTabStop.bDeleted = true;
@@ -1648,70 +1230,54 @@ void DomainMapper::attribute(Id nName, Value & val)
}
break;
case NS_ooxml::LN_CT_TabStop_leader:
- /* WRITERFILTERSTATUS: done: 100, planned: 0.5, spent: 0 */
m_pImpl->m_aCurrentTabStop.FillChar = getFillCharFromValue(nIntValue);
break;
case NS_ooxml::LN_CT_TabStop_pos:
- /* WRITERFILTERSTATUS: done: 100, planned: 0.5, spent: 0 */
m_pImpl->m_aCurrentTabStop.Position = ConversionHelper::convertTwipToMM100(nIntValue);
break;
case NS_ooxml::LN_CT_Fonts_ascii:
- /* WRITERFILTERSTATUS: done: 100, planned: 0.5, spent: 0 */
if (m_pImpl->GetTopContext())
m_pImpl->GetTopContext()->Insert(PROP_CHAR_FONT_NAME, true, uno::makeAny( sStringValue ));
break;
case NS_ooxml::LN_CT_Fonts_asciiTheme:
- /* WRITERFILTERSTATUS: done: 100, planned: 0.5, spent: 0 */
if (m_pImpl->GetTopContext())
m_pImpl->GetTopContext()->Insert(PROP_CHAR_FONT_NAME, true, uno::makeAny( m_pImpl->GetThemeTable()->getFontNameForTheme(nIntValue) ));
break;
case NS_ooxml::LN_CT_Fonts_hAnsi:
- /* WRITERFILTERSTATUS: done: 100, planned: 0.5, spent: 0 */
break;//unsupported
case NS_ooxml::LN_CT_Fonts_hAnsiTheme:
- /* WRITERFILTERSTATUS: done: 100, planned: 0.5, spent: 0 */
break; //unsupported
case NS_ooxml::LN_CT_Fonts_eastAsia:
- /* WRITERFILTERSTATUS: done: 100, planned: 0.5, spent: 0 */
if (m_pImpl->GetTopContext())
m_pImpl->GetTopContext()->Insert(PROP_CHAR_FONT_NAME_ASIAN, true, uno::makeAny( sStringValue ));
break;
case NS_ooxml::LN_CT_Fonts_eastAsiaTheme:
- /* WRITERFILTERSTATUS: done: 100, planned: 0.5, spent: 0 */
if (m_pImpl->GetTopContext())
m_pImpl->GetTopContext()->Insert(PROP_CHAR_FONT_NAME_COMPLEX, true, uno::makeAny( m_pImpl->GetThemeTable()->getFontNameForTheme(nIntValue) ) );
break;
case NS_ooxml::LN_CT_Fonts_cs:
- /* WRITERFILTERSTATUS: done: 100, planned: 0.5, spent: 0 */
if (m_pImpl->GetTopContext())
m_pImpl->GetTopContext()->Insert(PROP_CHAR_FONT_NAME_COMPLEX, true, uno::makeAny( sStringValue ));
break;
case NS_ooxml::LN_CT_Fonts_cstheme:
- /* WRITERFILTERSTATUS: done: 100, planned: 0.5, spent: 0 */
if (m_pImpl->GetTopContext())
m_pImpl->GetTopContext()->Insert(PROP_CHAR_FONT_NAME_COMPLEX, true, uno::makeAny( m_pImpl->GetThemeTable()->getFontNameForTheme(nIntValue) ));
break;
case NS_ooxml::LN_CT_Spacing_before:
- /* WRITERFILTERSTATUS: done: 100, planned: 0.5, spent: 0 */
if (m_pImpl->GetTopContext())
m_pImpl->GetTopContext()->Insert(PROP_PARA_TOP_MARGIN, true, uno::makeAny( ConversionHelper::convertTwipToMM100( nIntValue ) ));
break;
case NS_ooxml::LN_CT_Spacing_beforeLines:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_ooxml::LN_CT_Spacing_after:
- /* WRITERFILTERSTATUS: done: 100, planned: 0.5, spent: 0 */
if (m_pImpl->GetTopContext())
m_pImpl->GetTopContext()->Insert(PROP_PARA_BOTTOM_MARGIN, true, uno::makeAny( ConversionHelper::convertTwipToMM100( nIntValue ) ));
break;
case NS_ooxml::LN_CT_Spacing_afterLines:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_ooxml::LN_CT_Spacing_line: //91434
- /* WRITERFILTERSTATUS: done: 100, planned: 0.5, spent: 0 */
case NS_ooxml::LN_CT_Spacing_lineRule: //91435
- /* WRITERFILTERSTATUS: done: 100, planned: 0.5, spent: 0 */
{
#define SINGLE_LINE_SPACING 240
style::LineSpacing aSpacing;
@@ -1753,19 +1319,16 @@ void DomainMapper::attribute(Id nName, Value & val)
}
break;
case NS_ooxml::LN_CT_Ind_left:
- /* WRITERFILTERSTATUS: done: 100, planned: 0.5, spent: 0 */
if (m_pImpl->GetTopContext())
m_pImpl->GetTopContext()->Insert(
PROP_PARA_LEFT_MARGIN, true, uno::makeAny( ConversionHelper::convertTwipToMM100(nIntValue ) ));
break;
case NS_ooxml::LN_CT_Ind_right:
- /* WRITERFILTERSTATUS: done: 100, planned: 0.5, spent: 0 */
if (m_pImpl->GetTopContext())
m_pImpl->GetTopContext()->Insert(
PROP_PARA_RIGHT_MARGIN, true, uno::makeAny( ConversionHelper::convertTwipToMM100(nIntValue ) ));
break;
case NS_ooxml::LN_CT_Ind_hanging:
- /* WRITERFILTERSTATUS: done: 100, planned: 0.5, spent: 0 */
if (m_pImpl->GetTopContext())
{
sal_Int32 nValue = ConversionHelper::convertTwipToMM100( nIntValue );
@@ -1774,22 +1337,18 @@ void DomainMapper::attribute(Id nName, Value & val)
}
break;
case NS_ooxml::LN_CT_Ind_firstLine:
- /* WRITERFILTERSTATUS: done: 100, planned: 0.5, spent: 0 */
if (m_pImpl->GetTopContext())
m_pImpl->GetTopContext()->Insert(
PROP_PARA_FIRST_LINE_INDENT, true, uno::makeAny( ConversionHelper::convertTwipToMM100(nIntValue ) ));
break;
case NS_ooxml::LN_CT_EastAsianLayout_id:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
break;
case NS_ooxml::LN_CT_EastAsianLayout_combine:
- /* WRITERFILTERSTATUS: done: 100, planned: 0.5, spent: 0 */
if (m_pImpl->GetTopContext())
m_pImpl->GetTopContext()->Insert(PROP_CHAR_COMBINE_IS_ON, true, uno::makeAny ( nIntValue ? true : false ));
break;
case NS_ooxml::LN_CT_EastAsianLayout_combineBrackets:
- /* WRITERFILTERSTATUS: done: 100, planned: 0.5, spent: 0 */
if (m_pImpl->GetTopContext())
{
rtl::OUString sCombinePrefix = getBracketStringFromEnum(nIntValue);
@@ -1799,7 +1358,6 @@ void DomainMapper::attribute(Id nName, Value & val)
}
break;
case NS_ooxml::LN_CT_EastAsianLayout_vert:
- /* WRITERFILTERSTATUS: done: 100, planned: 0.5, spent: 0 */
if (m_pImpl->GetTopContext())
{
sal_Int16 nRotationAngle = (nIntValue ? 900 : 0);
@@ -1807,28 +1365,23 @@ void DomainMapper::attribute(Id nName, Value & val)
}
break;
case NS_ooxml::LN_CT_EastAsianLayout_vertCompress:
- /* WRITERFILTERSTATUS: done: 100, planned: 0.5, spent: 0 */
if (m_pImpl->GetTopContext())
m_pImpl->GetTopContext()->Insert(PROP_CHAR_ROTATION_IS_FIT_TO_LINE, true, uno::makeAny ( nIntValue ? true : false));
break;
case NS_ooxml::LN_CT_PageSz_code:
- /* WRITERFILTERSTATUS: done: 100, planned: 0.5, spent: 0 */
CT_PageSz.code = nIntValue;
break;
case NS_ooxml::LN_CT_PageSz_h:
- /* WRITERFILTERSTATUS: done: 100, planned: 0.5, spent: 0 */
{
sal_Int32 nHeight = ConversionHelper::convertTwipToMM100(nIntValue);
CT_PageSz.h = PaperInfo::sloppyFitPageDimension(nHeight);
}
break;
case NS_ooxml::LN_CT_PageSz_orient:
- /* WRITERFILTERSTATUS: done: 100, planned: 0.5, spent: 0 */
CT_PageSz.orient = (nIntValue != 0);
break;
case NS_ooxml::LN_CT_PageSz_w:
- /* WRITERFILTERSTATUS: done: 100, planned: 0.5, spent: 0 */
{
sal_Int32 nWidth = ConversionHelper::convertTwipToMM100(nIntValue);
CT_PageSz.w = PaperInfo::sloppyFitPageDimension(nWidth);
@@ -1836,39 +1389,29 @@ void DomainMapper::attribute(Id nName, Value & val)
break;
case NS_ooxml::LN_CT_PageMar_top:
- /* WRITERFILTERSTATUS: done: 100, planned: 0.5, spent: 0 */
m_pImpl->SetPageMarginTwip( PAGE_MAR_TOP, nIntValue );
break;
case NS_ooxml::LN_CT_PageMar_right:
- /* WRITERFILTERSTATUS: done: 100, planned: 0.5, spent: 0 */
m_pImpl->SetPageMarginTwip( PAGE_MAR_RIGHT, nIntValue );
break;
case NS_ooxml::LN_CT_PageMar_bottom:
- /* WRITERFILTERSTATUS: done: 100, planned: 0.5, spent: 0 */
m_pImpl->SetPageMarginTwip( PAGE_MAR_BOTTOM, nIntValue );
break;
case NS_ooxml::LN_CT_PageMar_left:
- /* WRITERFILTERSTATUS: done: 100, planned: 0.5, spent: 0 */
m_pImpl->SetPageMarginTwip( PAGE_MAR_LEFT, nIntValue );
break;
case NS_ooxml::LN_CT_PageMar_header:
- /* WRITERFILTERSTATUS: done: 100, planned: 0.5, spent: 0 */
m_pImpl->SetPageMarginTwip( PAGE_MAR_HEADER, nIntValue );
break;
case NS_ooxml::LN_CT_PageMar_footer:
- /* WRITERFILTERSTATUS: done: 100, planned: 0.5, spent: 0 */
m_pImpl->SetPageMarginTwip( PAGE_MAR_FOOTER, nIntValue );
break;
case NS_ooxml::LN_CT_PageMar_gutter:
- /* WRITERFILTERSTATUS: done: 100, planned: 0.5, spent: 0 */
m_pImpl->SetPageMarginTwip( PAGE_MAR_GUTTER, nIntValue );
break;
case NS_ooxml::LN_CT_Language_val: //90314
- /* WRITERFILTERSTATUS: done: 100, planned: 0.5, spent: 0 */
case NS_ooxml::LN_CT_Language_eastAsia: //90315
- /* WRITERFILTERSTATUS: done: 100, planned: 0.5, spent: 0 */
case NS_ooxml::LN_CT_Language_bidi: //90316
- /* WRITERFILTERSTATUS: done: 100, planned: 0.5, spent: 0 */
{
LanguageType eLang = MsLangId::convertIsoStringToLanguage( sStringValue );
lang::Locale aLocale = MsLangId::convertLanguageToLocale( eLang );
@@ -1881,27 +1424,22 @@ void DomainMapper::attribute(Id nName, Value & val)
break;
#define AUTO_PARA_SPACING sal_Int32(49)
case NS_ooxml::LN_CT_Spacing_beforeAutospacing:
- /* WRITERFILTERSTATUS: done: 80, planned: 0.5, spent: 0.2 */
//TODO: autospacing depends on some document property (called fDontUseHTMLAutoSpacing in old ww8 filter) 100 or 280 twip
//and should be set to 0 on start of page
m_pImpl->GetTopContext()->Insert( PROP_PARA_TOP_MARGIN, false, uno::makeAny( AUTO_PARA_SPACING ) );
break;
case NS_ooxml::LN_CT_Spacing_afterAutospacing:
- /* WRITERFILTERSTATUS: done: 80, planned: 0.5, spent: 0.2 */
//TODO: autospacing depends on some document property (called fDontUseHTMLAutoSpacing in old ww8 filter) 100 or 280 twip
m_pImpl->GetTopContext()->Insert( PROP_PARA_BOTTOM_MARGIN, false, uno::makeAny( AUTO_PARA_SPACING ) );
break;
case NS_ooxml::LN_CT_SmartTagRun_uri:
case NS_ooxml::LN_CT_SmartTagRun_element:
- /* WRITERFILTERSTATUS: done: 0, planned: 1, spent: 0 */
//TODO: add handling of SmartTags
break;
case NS_ooxml::LN_CT_Br_type :
- /* WRITERFILTERSTATUS: done: 0, planned: 0, spent: 0 */
//TODO: attributes for break (0x12) are not supported
break;
case NS_ooxml::LN_CT_Fonts_hint :
- /* WRITERFILTERSTATUS: done: 0, planned: 0, spent: 0 */
/* assigns script type to ambigous characters, values can be:
NS_ooxml::LN_Value_ST_Hint_default
NS_ooxml::LN_Value_ST_Hint_eastAsia
@@ -1910,19 +1448,13 @@ void DomainMapper::attribute(Id nName, Value & val)
//TODO: unsupported?
break;
case NS_ooxml::LN_CT_TblCellMar_right: // 92375;
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_ooxml::LN_CT_TblBorders_top: // 92377;
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_ooxml::LN_CT_TblBorders_left: // 92378;
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_ooxml::LN_CT_TblBorders_bottom: // 92379;
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
//todo: handle cell mar
break;
case NS_rtf::LN_blip: // contains the binary graphic
- /* WRITERFILTERSTATUS: done: 100, planned: 0.5, spent: 0 */
case NS_ooxml::LN_shape:
- /* WRITERFILTERSTATUS: done: 50, planned: 0.5, spent: 0 */
{
//looks a bit like a hack - and it is. The graphic import is split into the inline_inline part and
//afterwards the adding of the binary data.
@@ -1944,7 +1476,6 @@ void DomainMapper::attribute(Id nName, Value & val)
case NS_sprm::LN_PWHeightAbs:
case NS_sprm::LN_PDxaFromText:
case NS_sprm::LN_PDyaFromText:
- /* WRITERFILTERSTATUS: done: 100, planned: 0.5, spent: 0 */
{
ParagraphProperties* pParaProperties = dynamic_cast< ParagraphProperties*>(m_pImpl->GetTopContext().get());
if( pParaProperties )
@@ -1952,15 +1483,12 @@ void DomainMapper::attribute(Id nName, Value & val)
switch( nName )
{
case NS_ooxml::LN_CT_FramePr_dropCap:
- /* WRITERFILTERSTATUS: done: 100, planned: 0.5, spent: 0 */
pParaProperties->SetDropCap( nIntValue );
break;
case NS_ooxml::LN_CT_FramePr_lines:
- /* WRITERFILTERSTATUS: done: 100, planned: 0.5, spent: 0 */
pParaProperties->SetLines( nIntValue );
break;
case NS_ooxml::LN_CT_FramePr_hAnchor:
- /* WRITERFILTERSTATUS: done: 100, planned: 0.5, spent: 0 */
switch(nIntValue)
{
case NS_ooxml::LN_Value_wordprocessingml_ST_HAnchor_text: //relative to column
@@ -1972,7 +1500,6 @@ void DomainMapper::attribute(Id nName, Value & val)
pParaProperties->SethAnchor( nIntValue );
break;
case NS_ooxml::LN_CT_FramePr_vAnchor:
- /* WRITERFILTERSTATUS: done: 100, planned: 0.5, spent: 0 */
switch(nIntValue)
{
case NS_ooxml::LN_Value_wordprocessingml_ST_VAnchor_text: //relative to paragraph
@@ -1984,11 +1511,9 @@ void DomainMapper::attribute(Id nName, Value & val)
pParaProperties->SetvAnchor( nIntValue );
break;
case NS_ooxml::LN_CT_FramePr_x:
- /* WRITERFILTERSTATUS: done: 100, planned: 0.5, spent: 0 */
pParaProperties->Setx( ConversionHelper::convertTwipToMM100(nIntValue ));
break;
case NS_ooxml::LN_CT_FramePr_xAlign:
- /* WRITERFILTERSTATUS: done: 100, planned: 0.5, spent: 0 */
switch( nIntValue )
{
case NS_ooxml::LN_Value_wordprocessingml_ST_XAlign_center : nIntValue = text::HoriOrientation::CENTER; break;
@@ -2001,11 +1526,9 @@ void DomainMapper::attribute(Id nName, Value & val)
pParaProperties->SetxAlign( nIntValue );
break;
case NS_ooxml::LN_CT_FramePr_y:
- /* WRITERFILTERSTATUS: done: 100, planned: 0.5, spent: 0 */
pParaProperties->Sety( ConversionHelper::convertTwipToMM100(nIntValue ));
break;
case NS_ooxml::LN_CT_FramePr_yAlign:
- /* WRITERFILTERSTATUS: done: 100, planned: 0.5, spent: 0 */
switch( nIntValue )
{
case NS_ooxml::LN_Value_wordprocessingml_ST_YAlign_top :
@@ -2020,7 +1543,6 @@ void DomainMapper::attribute(Id nName, Value & val)
pParaProperties->SetyAlign( nIntValue );
break;
case NS_ooxml::LN_CT_FramePr_hRule:
- /* WRITERFILTERSTATUS: done: 100, planned: 0.5, spent: 0 */
switch( nIntValue )
{
case NS_ooxml::LN_Value_wordprocessingml_ST_HeightRule_exact:
@@ -2037,7 +1559,6 @@ void DomainMapper::attribute(Id nName, Value & val)
pParaProperties->SethRule( nIntValue );
break;
case NS_sprm::LN_PWr:
- /* WRITERFILTERSTATUS: done: 100, planned: 0.5, spent: 0 */
{
//should be either LN_Value_wordprocessingml_ST_Wrap_notBeside or LN_Value_wordprocessingml_ST_Wrap_around
OSL_ENSURE( sal::static_int_cast<Id>(nIntValue) == NS_ooxml::LN_Value_wordprocessingml_ST_Wrap_around ||
@@ -2048,19 +1569,15 @@ void DomainMapper::attribute(Id nName, Value & val)
}
break;
case NS_sprm::LN_PDxaWidth:
- /* WRITERFILTERSTATUS: done: 100, planned: 0.5, spent: 0 */
pParaProperties->Setw(ConversionHelper::convertTwipToMM100(nIntValue));
break;
case NS_sprm::LN_PWHeightAbs:
- /* WRITERFILTERSTATUS: done: 100, planned: 0.5, spent: 0 */
pParaProperties->Seth(ConversionHelper::convertTwipToMM100(nIntValue));
break;
case NS_sprm::LN_PDxaFromText:
- /* WRITERFILTERSTATUS: done: 100, planned: 0.5, spent: 0 */
pParaProperties->SethSpace( ConversionHelper::convertTwipToMM100(nIntValue ));
break;
case NS_sprm::LN_PDyaFromText:
- /* WRITERFILTERSTATUS: done: 100, planned: 0.5, spent: 0 */
pParaProperties->SetvSpace( ConversionHelper::convertTwipToMM100(nIntValue ));
break;
default:;
@@ -2073,29 +1590,21 @@ void DomainMapper::attribute(Id nName, Value & val)
}
break;
case NS_ooxml::LN_CT_LineNumber_start:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_ooxml::LN_CT_LineNumber_distance:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_ooxml::LN_CT_TrackChange_author:
- /* WRITERFILTERSTATUS: done: 100, planned: 0.5, spent: 0 */
m_pImpl->SetCurrentRedlineAuthor( sStringValue );
break;
case NS_ooxml::LN_CT_TrackChange_date:
- /* WRITERFILTERSTATUS: done: 100, planned: 0.5, spent: 0 */
m_pImpl->SetCurrentRedlineDate( sStringValue );
break;
case NS_ooxml::LN_CT_Markup_id:
- /* WRITERFILTERSTATUS: done: 100, planned: 0.5, spent: 0 */
m_pImpl->SetCurrentRedlineId( nIntValue );
break;
case NS_ooxml::LN_token:
- /* WRITERFILTERSTATUS: done: 100, planned: 0.5, spent: 0 */
m_pImpl->SetCurrentRedlineToken( nIntValue );
break;
case NS_ooxml::LN_CT_LineNumber_countBy:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
case NS_ooxml::LN_CT_LineNumber_restart:
- /* WRITERFILTERSTATUS: done: 0, planned: 0.5, spent: 0 */
{
//line numbering in Writer is a global document setting
//in Word is a section setting
@@ -2104,19 +1613,15 @@ void DomainMapper::attribute(Id nName, Value & val)
switch( nName )
{
case NS_ooxml::LN_CT_LineNumber_countBy:
- /* WRITERFILTERSTATUS: done: 100, planned: 0.5, spent: 0 */
aSettings.nInterval = nIntValue;
break;
case NS_ooxml::LN_CT_LineNumber_start:
- /* WRITERFILTERSTATUS: done: 100, planned: 0.5, spent: 0 */
aSettings.nStartValue = nIntValue; // todo: has to be set at (each) first paragraph
break;
case NS_ooxml::LN_CT_LineNumber_distance:
- /* WRITERFILTERSTATUS: done: 100, planned: 0.5, spent: 0 */
aSettings.nDistance = ConversionHelper::convertTwipToMM100( nIntValue );
break;
case NS_ooxml::LN_CT_LineNumber_restart:
- /* WRITERFILTERSTATUS: done: 100, planned: 0.5, spent: 0 */
//page:empty, probably 0,section:1,continuous:2;
aSettings.bRestartAtEachPage = nIntValue < 1;
break;
@@ -2126,25 +1631,19 @@ void DomainMapper::attribute(Id nName, Value & val)
}
break;
case NS_ooxml::LN_CT_FtnEdnRef_customMarkFollows:
- /* WRITERFILTERSTATUS: done: 100, planned: 0.5, spent: 0 */
m_pImpl->SetCustomFtnMark( true );
break;
case NS_ooxml::LN_CT_FtnEdnRef_id:
- /* WRITERFILTERSTATUS: done: 0, planned: 0, spent: 0 */
// footnote or endnote reference id - not needed
case NS_ooxml::LN_CT_Color_themeColor:
- /* WRITERFILTERSTATUS: done: 0, planned: 0, spent: 0 */
case NS_ooxml::LN_CT_Color_themeTint:
- /* WRITERFILTERSTATUS: done: 0, planned: 0, spent: 0 */
case NS_ooxml::LN_CT_Color_themeShade:
- /* WRITERFILTERSTATUS: done: 0, planned: 0, spent: 0 */
//unsupported
break;
case NS_ooxml::LN_endtrackchange:
m_pImpl->RemoveCurrentRedline( );
break;
case NS_ooxml::LN_CT_DocGrid_linePitch:
- /* WRITERFILTERSTATUS: done: 100, planned: 0.5, spent: 0 */
{
//see SwWW8ImplReader::SetDocumentGrid
OSL_ENSURE(pSectionContext, "SectionContext unavailable!");
@@ -2155,7 +1654,6 @@ void DomainMapper::attribute(Id nName, Value & val)
}
break;
case NS_ooxml::LN_CT_DocGrid_charSpace:
- /* WRITERFILTERSTATUS: done: 100, planned: 2, spent: 0 */
{
OSL_ENSURE(pSectionContext, "SectionContext unavailable!");
if(pSectionContext)
@@ -2165,7 +1663,6 @@ void DomainMapper::attribute(Id nName, Value & val)
}
break;
case NS_ooxml::LN_CT_DocGrid_type:
- /* WRITERFILTERSTATUS: done: 100, planned: 2, spent: 0 */
{
if (pSectionContext != NULL)
{
@@ -2226,46 +1723,31 @@ void DomainMapper::sprm( Sprm& rSprm, PropertyMapPtr rContext, SprmType eSprmTyp
sal_Int32 nIntValue = pValue->getInt();
rtl::OUString sStringValue = pValue->getString();
// printf ( "DomainMapper::sprm(0x%.4x, 0x%.4x) [%s]\n", (unsigned int)nSprmId, (unsigned int)nIntValue, ::rtl::OUStringToOString(sStringValue, RTL_TEXTENCODING_DONTKNOW).getStr());
- /* WRITERFILTERSTATUS: table: sprmdata */
switch(nSprmId)
{
case 2: // sprmPIstd
- /* WRITERFILTERSTATUS: done: 0, planned: 2, spent: 0 */
case 0x4600:
- /* WRITERFILTERSTATUS: done: 0, planned: 2, spent: 0 */
break; // sprmPIstd - style code
case 3: // "sprmPIstdPermute
case NS_sprm::LN_PIstdPermute:
- /* WRITERFILTERSTATUS: done: 0, planned: 2, spent: 0 */
break; // sprmPIstdPermute
case NS_sprm::LN_PIncLvl:
- /* WRITERFILTERSTATUS: done: 0, planned: 2, spent: 0 */
break; // sprmPIncLvl
case NS_sprm::LN_PJcExtra: // sprmPJc Asian (undocumented)
- /* WRITERFILTERSTATUS: done: 100, planned: 2, spent: 0 */
case NS_sprm::LN_PJc: // sprmPJc
- /* WRITERFILTERSTATUS: done: 100, planned: 2, spent: 0 */
handleParaJustification(nIntValue, rContext, bExchangeLeftRight);
break;
case NS_sprm::LN_PFSideBySide:
- /* WRITERFILTERSTATUS: done: 0, planned: 3, spent: 0 */
- /* WRITERFILTERSTATUS: comment: */
break; // sprmPFSideBySide
case NS_sprm::LN_PFKeep: // sprmPFKeep
- /* WRITERFILTERSTATUS: done: 0, planned: 0, spent: 0 */
- /* WRITERFILTERSTATUS: comment: */
rContext->Insert(PROP_PARA_SPLIT, true, uno::makeAny(nIntValue ? false : true));
break;
case NS_sprm::LN_PFKeepFollow: // sprmPFKeepFollow
- /* WRITERFILTERSTATUS: done: 100, planned: 0, spent: 1 */
- /* WRITERFILTERSTATUS: comment: */
rContext->Insert(PROP_PARA_KEEP_TOGETHER, true, uno::makeAny( nIntValue ? true : false) );
break;
case NS_sprm::LN_PFPageBreakBefore:
- /* WRITERFILTERSTATUS: done: 100, planned: 3, spent: 0 */
- /* WRITERFILTERSTATUS: comment: */
rContext->Insert(PROP_BREAK_TYPE, true, uno::makeAny( com::sun::star::style::BreakType_PAGE_BEFORE ) );
break; // sprmPFPageBreakBefore
case NS_sprm::LN_PBrcl:
@@ -2273,8 +1755,6 @@ void DomainMapper::sprm( Sprm& rSprm, PropertyMapPtr rContext, SprmType eSprmTyp
case NS_sprm::LN_PBrcp:
break; // sprmPBrcp
case NS_sprm::LN_PIlvl: // sprmPIlvl
- /* WRITERFILTERSTATUS: done: 100, planned: 0, spent: 1 */
- /* WRITERFILTERSTATUS: comment: */
//todo: Numbering level will be implemented in the near future (OOo 3.0?)
if( m_pImpl->IsStyleSheetImport() )
{
@@ -2286,8 +1766,6 @@ void DomainMapper::sprm( Sprm& rSprm, PropertyMapPtr rContext, SprmType eSprmTyp
rContext->Insert( PROP_NUMBERING_LEVEL, true, uno::makeAny( (sal_Int16)nIntValue ));
break;
case NS_sprm::LN_PIlfo: // sprmPIlfo
- /* WRITERFILTERSTATUS: done: 50, planned: 0, spent: 1 */
- /* WRITERFILTERSTATUS: comment: */
{
//convert the ListTable entry to a NumberingRules propery and apply it
ListsManager::Pointer pListTable = m_pImpl->GetListTable();
@@ -2314,13 +1792,9 @@ void DomainMapper::sprm( Sprm& rSprm, PropertyMapPtr rContext, SprmType eSprmTyp
}
break;
case NS_sprm::LN_PFNoLineNumb: // sprmPFNoLineNumb
- /* WRITERFILTERSTATUS: done: 100, planned: 0, spent: 1 */
- /* WRITERFILTERSTATUS: comment: */
rContext->Insert(PROP_PARA_LINE_NUMBER_COUNT, true, uno::makeAny( nIntValue ? false : true) );
break;
case NS_sprm::LN_PChgTabsPapx: // sprmPChgTabsPapx
- /* WRITERFILTERSTATUS: done: 90, planned: 8, spent: 8 */
- /* WRITERFILTERSTATUS: comment: bar tab stops a unavailable */
{
// Initialize tab stop vector from style sheet
uno::Any aValue = m_pImpl->GetPropertyFromStyleSheet(PROP_PARA_TAB_STOPS);
@@ -2342,7 +1816,6 @@ void DomainMapper::sprm( Sprm& rSprm, PropertyMapPtr rContext, SprmType eSprmTyp
case NS_sprm::LN_PDxaRight: // sprmPDxaRight - right margin
case 17:
case NS_sprm::LN_PDxaLeft: // sprmPDxaLeft
- /* WRITERFILTERSTATUS: done: 50, planned: 5, spent: 1 */
if( NS_sprm::LN_PDxaLeft == nSprmId || 0x17 == nSprmId|| (bExchangeLeftRight && nSprmId == 0x845d) || ( !bExchangeLeftRight && nSprmId == 0x845e))
rContext->Insert(
eSprmType == SPRM_DEFAULT ? PROP_PARA_LEFT_MARGIN : PROP_LEFT_MARGIN,
@@ -2361,7 +1834,6 @@ void DomainMapper::sprm( Sprm& rSprm, PropertyMapPtr rContext, SprmType eSprmTyp
case NS_sprm::LN_PDxaLeft1: // sprmPDxaLeft1
case 19:
case NS_sprm::LN_PDxaLeft180: // sprmPDxaLeft180
- /* WRITERFILTERSTATUS: done: 100, planned: 0, spent: 1 */
rContext->Insert(
eSprmType == SPRM_DEFAULT ? PROP_PARA_FIRST_LINE_INDENT : PROP_FIRST_LINE_OFFSET,
true,
@@ -2369,7 +1841,6 @@ void DomainMapper::sprm( Sprm& rSprm, PropertyMapPtr rContext, SprmType eSprmTyp
break;
case 20 : // sprmPDyaLine
case NS_sprm::LN_PDyaLine: // sprmPDyaLine
- /* WRITERFILTERSTATUS: done: 100, planned: 0, spent: 1 */
{
style::LineSpacing aSpacing;
sal_Int16 nDistance = sal_Int16(nIntValue & 0xffff);
@@ -2397,27 +1868,22 @@ void DomainMapper::sprm( Sprm& rSprm, PropertyMapPtr rContext, SprmType eSprmTyp
break;
case 21 : // legacy version
case NS_sprm::LN_PDyaBefore: // sprmPDyaBefore
- /* WRITERFILTERSTATUS: done: 100, planned: 0, spent: 1 */
rContext->Insert(PROP_PARA_TOP_MARGIN, true, uno::makeAny( ConversionHelper::convertTwipToMM100( nIntValue ) ));
break;
case 22 :
case NS_sprm::LN_PDyaAfter: // sprmPDyaAfter
- /* WRITERFILTERSTATUS: done: 100, planned: 0, spent: 1 */
rContext->Insert(PROP_PARA_BOTTOM_MARGIN, true, uno::makeAny( ConversionHelper::convertTwipToMM100( nIntValue ) ));
break;
case 23: //sprmPChgTabs
case NS_sprm::LN_PChgTabs: // sprmPChgTabs
- /* WRITERFILTERSTATUS: done: 0, planned: 3, spent: 0 */
OSL_ENSURE( false, "unhandled");
//tabs of list level?
break;
case 24: // "sprmPFInTable"
case NS_sprm::LN_PFInTable:
- /* WRITERFILTERSTATUS: done: 0, planned: 2, spent: 0 */
break; // sprmPFInTable
case NS_sprm::LN_PTableDepth: //sprmPTableDepth
- /* WRITERFILTERSTATUS: done: 100, planned: 0, spent: 0 */
//not handled via sprm but via text( 0x07 )
break;
case 25: // "sprmPTtp" pap.fTtp
@@ -2425,63 +1891,39 @@ void DomainMapper::sprm( Sprm& rSprm, PropertyMapPtr rContext, SprmType eSprmTyp
break;
... etc. - the rest is truncated
More information about the Libreoffice-commits
mailing list