wxMaxima
Loading...
Searching...
No Matches
WXMXformat.h
1// -*- mode: c++; c-file-style: "linux"; c-basic-offset: 2; indent-tabs-mode: nil -*-
2//
3// Copyright (C) 2004-2015 Andrej Vodopivec <andrej.vodopivec@gmail.com>
4// (C) 2008-2009 Ziga Lenarcic <zigalenarcic@users.sourceforge.net>
5// (C) 2012-2013 Doug Ilijev <doug.ilijev@gmail.com>
6// (C) 2015-2018 Gunter Königsmann <wxMaxima@physikbuch.de>
7// (C) 2020 Kuba Ober <kuba@bertec.com>
8//
9// This program is free software; you can redistribute it and/or modify
10// it under the terms of the GNU General Public License as published by
11// the Free Software Foundation; either version 2 of the License, or
12// (at your option) any later version.
13//
14// This program is distributed in the hope that it will be useful,
15// but WITHOUT ANY WARRANTY; without even the implied warranty of
16// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17// GNU General Public License for more details.
18//
19//
20// You should have received a copy of the GNU General Public License
21// along with this program; if not, write to the Free Software
22// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
23//
24// SPDX-License-Identifier: GPL-2.0+
25
26#ifndef WXMXFORMAT_H
27#define WXMXFORMAT_H
28
29#include <memory>
30#include "cells/GroupCell.h"
31#include "Configuration.h"
32#include <vector>
33
34#define DOCUMENT_VERSION_MAJOR 1
50#define DOCUMENT_VERSION_MINOR 5
51
52namespace Format
53{
54 bool ExportToWXMX(GroupCell *cells, const wxString &file,
55 Configuration *configuration, CellPointers *cellPointers,
56 const std::vector<wxString> &variables, const GroupCell * const cursorCell = NULL);
57
58}
59
60#endif // WXMXFORMAT_H
This file defines the class GroupCell that bundles input and output in the worksheet.
The storage for pointers to cells.
Definition: CellPointers.h:45
The configuration storage for the current worksheet.
Definition: Configuration.h:85
A cell grouping input (and, if there is one, also the output) cell to a foldable item.
Definition: GroupCell.h:74