File indexing completed on 2025-02-16 10:53:46

0001 /*
0002  *  SPDX-FileCopyrightText: 2010 Carlos Licea <carlos@kdab.com>
0003  *
0004  *  SPDX-License-Identifier: LGPL-2.1-or-later
0005  */
0006 
0007 #ifndef CELLCHILD_H
0008 #define CELLCHILD_H
0009 
0010 class KoCell;
0011 class KoXmlWriter;
0012 class KoGenStyles;
0013 
0014 /**
0015  * \class KoCellChild
0016  * \brief represents all the elements that can be contained
0017  * inside a Cell.
0018  * 
0019  * \see ODF1.2 table:table-cell ยง9.1.4
0020  */
0021 
0022 class KoCellChild
0023 {
0024     friend class KoCell;
0025 
0026 public:
0027     KoCellChild();
0028     virtual ~KoCellChild();
0029 
0030 protected:
0031     virtual void saveOdf(KoXmlWriter& writer, KoGenStyles& styles) const =0;
0032 };
0033 
0034 #endif