diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2008-01-29 07:22:37 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2008-01-29 07:22:37 +0000 |
commit | ff1e38aa7b02728bc584171d0864309a4ab7269b (patch) | |
tree | dded8270f0a1ca0360e997d659f4c210d8f9621c /vcl/source | |
parent | 2ee010718adffdc734c80dd16fe7ca97bb1a1f9a (diff) |
INTEGRATION: CWS tagged01 (1.11.154); FILE MERGED
2008/01/08 11:52:06 fme 1.11.154.3: RESYNC: (1.11-1.12); FILE MERGED
2007/12/21 12:18:24 pl 1.11.154.2: #i84260# aliased structure element names
2007/12/20 14:24:31 pl 1.11.154.1: #i84261# add document language
Diffstat (limited to 'vcl/source')
-rw-r--r-- | vcl/source/gdi/pdfextoutdevdata.cxx | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/vcl/source/gdi/pdfextoutdevdata.cxx b/vcl/source/gdi/pdfextoutdevdata.cxx index 36a40fe27c93..45a276e8b0f0 100644 --- a/vcl/source/gdi/pdfextoutdevdata.cxx +++ b/vcl/source/gdi/pdfextoutdevdata.cxx @@ -4,9 +4,9 @@ * * $RCSfile: pdfextoutdevdata.cxx,v $ * - * $Revision: 1.12 $ + * $Revision: 1.13 $ * - * last change: $Author: ihi $ $Date: 2007-11-20 17:11:03 $ + * last change: $Author: vg $ $Date: 2008-01-29 08:22:37 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -333,8 +333,9 @@ sal_Bool PageSyncData::PlaySyncPageAct( PDFWriter& rWriter, sal_uInt32& rCurGDIM { case PDFExtOutDevDataSync::BeginStructureElement : { - sal_Int32 nNewEl = rWriter.BeginStructureElement( mParaStructElements.front() ) ; + sal_Int32 nNewEl = rWriter.BeginStructureElement( mParaStructElements.front(), mParaOUStrings.front() ) ; mParaStructElements.pop_front(); + mParaOUStrings.pop_front(); mpGlobalData->mStructIdMap.push_back( nNewEl ); } break; @@ -514,6 +515,14 @@ PDFExtOutDevData::~PDFExtOutDevData() delete mpGlobalSyncData; } +const com::sun::star::lang::Locale& PDFExtOutDevData::GetDocumentLocale() const +{ + return maDocLocale; +} +void PDFExtOutDevData::SetDocumentLocale( const com::sun::star::lang::Locale& rLoc ) +{ + maDocLocale = rLoc; +} sal_Int32 PDFExtOutDevData::GetCurrentPageNumber() const { return mnPage; @@ -710,10 +719,11 @@ void PDFExtOutDevData::SetPageTransition( PDFWriter::PageTransition eType, sal_u /* local (page), actions have to be played synchroniously to the actions of of the recorded metafile (created by each xRenderable->render()) */ -sal_Int32 PDFExtOutDevData::BeginStructureElement( PDFWriter::StructElement eType ) + sal_Int32 PDFExtOutDevData::BeginStructureElement( PDFWriter::StructElement eType, const rtl::OUString& rAlias ) { mpPageSyncData->PushAction( mrOutDev, PDFExtOutDevDataSync::BeginStructureElement ); mpPageSyncData->mParaStructElements.push_back( eType ); + mpPageSyncData->mParaOUStrings.push_back( rAlias ); // need a global id sal_Int32 nNewId = mpGlobalSyncData->mStructParents.size(); mpGlobalSyncData->mStructParents.push_back( mpGlobalSyncData->mCurrentStructElement ); |