summaryrefslogtreecommitdiff
path: root/sw/inc/editsh.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/inc/editsh.hxx')
-rw-r--r--sw/inc/editsh.hxx22
1 files changed, 12 insertions, 10 deletions
diff --git a/sw/inc/editsh.hxx b/sw/inc/editsh.hxx
index d802eb910cff..b2483f21a75a 100644
--- a/sw/inc/editsh.hxx
+++ b/sw/inc/editsh.hxx
@@ -2,13 +2,10 @@
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
- * Copyright 2008 by Sun Microsystems, Inc.
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
*
- * $RCSfile: editsh.hxx,v $
- * $Revision: 1.70 $
- *
* This file is part of OpenOffice.org.
*
* OpenOffice.org is free software: you can redistribute it and/or modify
@@ -35,7 +32,7 @@
#include <tools/string.hxx>
#include <svl/svarray.hxx>
#include <vcl/font.hxx>
-#include <svx/swafopt.hxx>
+#include <editeng/swafopt.hxx>
#include "swdllapi.h"
#include <crsrsh.hxx> // fuer Basisklasse
#include <itabenum.hxx>
@@ -44,6 +41,7 @@
#include <com/sun/star/linguistic2/ProofreadingResult.hpp>
#include <fldupde.hxx>
#include <tblenum.hxx>
+#include <IMark.hxx>
#include <vector>
#include <swundo.hxx>
@@ -58,7 +56,6 @@ class SvUShortsSort;
class SvNumberFormatter;
class SfxPoolItem;
class SfxItemSet;
-class SvxLinkManager;
class SvxAutoCorrect;
class SwField; // fuer Felder
@@ -121,7 +118,9 @@ struct SpellPortion;
typedef std::vector<SpellPortion> SpellPortions;
}
-
+namespace sfx2{
+class LinkManager;
+}
#define GETSELTXT_PARABRK_TO_BLANK 0
#define GETSELTXT_PARABRK_KEEP 1
@@ -415,6 +414,9 @@ public:
const SwTOXType* GetTOXType(TOXTypes eTyp, USHORT nId) const;
void InsertTOXType(const SwTOXType& rTyp);
+ // new field stuff
+ BOOL UpdateField(sw::mark::IFieldmark &fieldBM);
+
//AutoMark file
const String& GetTOIAutoMarkURL() const;
void SetTOIAutoMarkURL(const String& rSet);
@@ -849,8 +851,8 @@ public:
// Optimierung UI
void SetNewDoc(BOOL bNew = TRUE);
- SvxLinkManager& GetLinkManager();
- inline const SvxLinkManager& GetLinkManager() const;
+ sfx2::LinkManager& GetLinkManager();
+ inline const sfx2::LinkManager& GetLinkManager() const;
// linken Rand ueber Objectleiste einstellen (aenhlich dem Stufen von
// Numerierungen), optional kann man "um" den Offset stufen oder "auf"
@@ -952,7 +954,7 @@ inline void SwEditShell::ApplyViewOptions( const SwViewOption &rOpt )
SwEditShell::EndAction();
}
-inline const SvxLinkManager& SwEditShell::GetLinkManager() const
+inline const sfx2::LinkManager& SwEditShell::GetLinkManager() const
{ return ((SwEditShell*)this)->GetLinkManager(); }
/*