XamlText_Background.h

Go to the documentation of this file.
00001 //  Copyright (c) 1996-2006 by Autodesk, Inc.
00002 //
00003 //  By using this code, you are agreeing to the terms and conditions of
00004 //  the License Agreement included in the documentation for this code.
00005 //
00006 //  AUTODESK MAKES NO WARRANTIES, EXPRESS OR IMPLIED, AS TO THE CORRECTNESS
00007 //  OF THIS CODE OR ANY DERIVATIVE WORKS WHICH INCORPORATE IT. AUTODESK
00008 //  PROVIDES THE CODE ON AN "AS-IS" BASIS AND EXPLICITLY DISCLAIMS ANY
00009 //  LIABILITY, INCLUDING CONSEQUENTIAL AND INCIDENTAL DAMAGES FOR ERRORS,
00010 //  OMISSIONS, AND OTHER PROBLEMS IN THE CODE.
00011 //
00012 //  Use, duplication, or disclosure by the U.S. Government is subject to
00013 //  restrictions set forth in FAR 52.227-19 (Commercial Computer Software
00014 //  Restricted Rights) and DFAR 252.227-7013(c)(1)(ii) (Rights in Technical
00015 //  Data and Computer Software), as applicable.
00016 //
00017 
00018 #if !defined XAML_TEXT_BACKGROUND_HEADER
00019 #define XAML_TEXT_BACKGROUND_HEADER
00020 
00024 
00025 #include "XAML/XamlCore.h"
00026 
00027 #include "whiptk/text_background.h"
00028 #include "XAML/XamlXML.h"
00029 
00030 // Attribute class for specifying text background
00031 class XAMLTK_API WT_XAML_Text_Background : public WT_Text_Background
00032 {
00033         friend class WT_XAML_Class_Factory;
00034         friend class WT_XAML_Rendition;
00035 
00036 protected:
00038     WT_XAML_Text_Background()
00039                 : WT_Text_Background()
00040         {}
00041 
00043     WT_XAML_Text_Background(eBackground background, WT_Integer32 offset)
00044                 : WT_Text_Background(background,offset)
00045         {}
00046 
00048         WT_XAML_Text_Background(WT_Text_Background const& backgrnd)
00049                 :WT_Text_Background(backgrnd)
00050         {}
00052     virtual ~WT_XAML_Text_Background()
00053         {}
00054 
00055 public:
00057     WT_Result      serialize(WT_File & file) const;
00059         WT_Result      parseAttributeList(XamlXML::tAttributeMap& rMap, WT_XAML_File& rFile);
00060     
00061 };
00062 
00063 #endif //XAML_TEXT_BACKGROUND_HEADER

Generated on Tue Jan 6 22:40:06 2009 for Autodesk DWF Toolkit by  doxygen 1.4.5