diff options
Diffstat (limited to 'sw/inc/IMark.hxx')
-rw-r--r-- | sw/inc/IMark.hxx | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/sw/inc/IMark.hxx b/sw/inc/IMark.hxx index 81317d69a369..6a46ae01d49e 100644 --- a/sw/inc/IMark.hxx +++ b/sw/inc/IMark.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: bookmrk.hxx,v $ - * $Revision: 1.11 $ - * * This file is part of OpenOffice.org. * * OpenOffice.org is free software: you can redistribute it and/or modify @@ -34,6 +31,7 @@ #include <calbck.hxx> #include <pam.hxx> #include <boost/operators.hpp> +#include <map> #ifndef SW_DECL_SWSERVEROBJECT_DEFINED #define SW_DECL_SWSERVEROBJECT_DEFINED @@ -79,6 +77,8 @@ namespace sw { namespace mark { return GetMarkEnd() < rPos; } bool EndsAfter(const SwPosition& rPos) const { return GetMarkEnd() > rPos; } + + virtual rtl::OUString ToString( ) const =0; }; class IBookmark @@ -95,13 +95,17 @@ namespace sw { namespace mark : virtual public IMark { public: + typedef ::std::map< ::rtl::OUString, ::com::sun::star::uno::Any> parameter_map_t; //getters virtual ::rtl::OUString GetFieldname() const =0; virtual ::rtl::OUString GetFieldHelptext() const =0; + virtual parameter_map_t* GetParameters() =0; + virtual const parameter_map_t* GetParameters() const =0; //setters virtual void SetFieldname(const ::rtl::OUString& rFieldname) =0; virtual void SetFieldHelptext(const ::rtl::OUString& rFieldHelptext) =0; + virtual void Invalidate() = 0; }; class ICheckboxFieldmark |