summaryrefslogtreecommitdiff
path: root/sdext/source/pdfimport/tree/drawtreevisiting.hxx
diff options
context:
space:
mode:
authorPhilipp Lohmann [pl] <Philipp.Lohmann@Sun.COM>2010-04-28 15:36:33 +0200
committerPhilipp Lohmann [pl] <Philipp.Lohmann@Sun.COM>2010-04-28 15:36:33 +0200
commit16fcdbceedcdbf77e07da780581df83f38305dbd (patch)
tree3e100ff8b7b5634d3178409a57e28d24b0aa6632 /sdext/source/pdfimport/tree/drawtreevisiting.hxx
parent3651f6631751fc5acd3e9f709c0346958e3ab79e (diff)
pdfextfix03: #i90800# improvments for font recognition, RTL (thanks ayaniger !)
Diffstat (limited to 'sdext/source/pdfimport/tree/drawtreevisiting.hxx')
-rw-r--r--sdext/source/pdfimport/tree/drawtreevisiting.hxx11
1 files changed, 10 insertions, 1 deletions
diff --git a/sdext/source/pdfimport/tree/drawtreevisiting.hxx b/sdext/source/pdfimport/tree/drawtreevisiting.hxx
index b7b94371c6da..fd347fa4f302 100644
--- a/sdext/source/pdfimport/tree/drawtreevisiting.hxx
+++ b/sdext/source/pdfimport/tree/drawtreevisiting.hxx
@@ -29,7 +29,9 @@
#define INCLUDED_PDFI_DRAWTREEVISITING_HXX
#include "treevisiting.hxx"
-
+#include <com/sun/star/i18n/XBreakIterator.hpp>
+#include <com/sun/star/lang/XMultiServiceFactory.hpp>
+#include <com/sun/star/uno/XComponentContext.hpp>
namespace pdfi
{
@@ -42,6 +44,8 @@ namespace pdfi
void optimizeTextElements(Element& rParent);
public:
+ ::com::sun::star::uno::Reference< ::com::sun::star::i18n::XBreakIterator > mxBreakIter;
+ const ::com::sun::star::uno::Reference< ::com::sun::star::i18n::XBreakIterator >& GetBreakIterator();
explicit DrawXmlOptimizer(PDFIProcessor& rProcessor) :
m_rProcessor(rProcessor)
{}
@@ -82,6 +86,10 @@ namespace pdfi
class DrawXmlEmitter : public ElementTreeVisitor
{
private:
+ ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > xFactory;
+ ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > xCtx;
+ ::com::sun::star::uno::Reference< ::com::sun::star::i18n::XBreakIterator > mxBreakIter;
+
EmitContext& m_rEmitContext ;
/// writes Impress doc when false
const bool m_bWriteDrawDocument;
@@ -91,6 +99,7 @@ namespace pdfi
const EmitContext& rEmitContext );
public:
+ const ::com::sun::star::uno::Reference< ::com::sun::star::i18n::XBreakIterator >& GetBreakIterator();
enum DocType{ DRAW_DOC, IMPRESS_DOC };
explicit DrawXmlEmitter(EmitContext& rEmitContext, DocType eDocType) :
m_rEmitContext(rEmitContext),