Kaydet (Commit) 4fc9663e authored tarafından Rüdiger Timm's avatar Rüdiger Timm

INTEGRATION: CWS oasis (1.4.276); FILE MERGED

2004/04/21 07:27:22 mib 1.4.276.2: - separated attribute lists for <*-properties> elements on import (#i20153#)
- replaced "style:text-backgroubnd-color" with "fo:background-color"
2004/04/07 11:49:55 mib 1.4.276.1: splitted <properties>
üst 3022e544
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
* *
* $RCSfile: PageHeaderFooterContext.cxx,v $ * $RCSfile: PageHeaderFooterContext.cxx,v $
* *
* $Revision: 1.4 $ * $Revision: 1.5 $
* *
* last change: $Author: dvo $ $Date: 2001-06-29 21:07:17 $ * last change: $Author: rt $ $Date: 2004-07-13 08:19:53 $
* *
* The Contents of this file are made available subject to the terms of * The Contents of this file are made available subject to the terms of
* either of the following licenses * either of the following licenses
...@@ -82,7 +82,7 @@ ...@@ -82,7 +82,7 @@
using namespace com::sun::star; using namespace com::sun::star;
using ::xmloff::token::IsXMLToken; using ::xmloff::token::IsXMLToken;
using ::xmloff::token::XML_PROPERTIES; using ::xmloff::token::XML_HEADER_FOOTER_PROPERTIES;
//------------------------------------------------------------------ //------------------------------------------------------------------
...@@ -115,13 +115,14 @@ SvXMLImportContext *PageHeaderFooterContext::CreateChildContext( USHORT nPrefix, ...@@ -115,13 +115,14 @@ SvXMLImportContext *PageHeaderFooterContext::CreateChildContext( USHORT nPrefix,
{ {
SvXMLImportContext *pContext = 0; SvXMLImportContext *pContext = 0;
if( XML_NAMESPACE_STYLE == nPrefix && IsXMLToken( rLName, XML_PROPERTIES ) ) if( XML_NAMESPACE_STYLE == nPrefix && IsXMLToken( rLName, XML_HEADER_FOOTER_PROPERTIES ) )
{ {
PageContextType aType = Header; PageContextType aType = Header;
if (!bHeader) if (!bHeader)
aType = Footer; aType = Footer;
pContext = new PagePropertySetContext( GetImport(), nPrefix, pContext = new PagePropertySetContext( GetImport(), nPrefix,
rLName, xAttrList, rLName, xAttrList,
XML_TYPE_PROP_HEADER_FOOTER,
rProperties, rProperties,
rMap, nStartIndex, nEndIndex, aType); rMap, nStartIndex, nEndIndex, aType);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment