[79c239e] | 1 | /* export.h |
---|
[9fc1cac] | 2 | * Export to CAD-like formats (DXF, Skencil, SVG, EPS, HPGL) and also Compass |
---|
[40f1e82] | 3 | * PLT. |
---|
[79c239e] | 4 | */ |
---|
| 5 | |
---|
[70462c8] | 6 | /* Copyright (C) 2004,2005,2012,2014 Olly Betts |
---|
[79c239e] | 7 | * |
---|
| 8 | * This program is free software; you can redistribute it and/or modify |
---|
| 9 | * it under the terms of the GNU General Public License as published by |
---|
| 10 | * the Free Software Foundation; either version 2 of the License, or |
---|
| 11 | * (at your option) any later version. |
---|
| 12 | * |
---|
| 13 | * This program is distributed in the hope that it will be useful, |
---|
| 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
| 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
| 16 | * GNU General Public License for more details. |
---|
| 17 | * |
---|
| 18 | * You should have received a copy of the GNU General Public License |
---|
| 19 | * along with this program; if not, write to the Free Software |
---|
[40f1e82] | 20 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
---|
[79c239e] | 21 | */ |
---|
| 22 | |
---|
[5940815] | 23 | #ifndef SURVEX_INCLUDED_EXPORT_H |
---|
| 24 | #define SURVEX_INCLUDED_EXPORT_H |
---|
| 25 | |
---|
| 26 | #include "wx.h" |
---|
| 27 | |
---|
[f10cf8f] | 28 | #include <time.h> |
---|
| 29 | |
---|
[5940815] | 30 | class MainFrm; |
---|
| 31 | |
---|
[583c17d] | 32 | typedef enum { |
---|
| 33 | FMT_DXF, |
---|
| 34 | FMT_EPS, |
---|
| 35 | FMT_GPX, |
---|
| 36 | FMT_HPGL, |
---|
| 37 | FMT_PLT, |
---|
[9fc1cac] | 38 | FMT_SK, |
---|
[583c17d] | 39 | FMT_SVG |
---|
| 40 | } export_format; |
---|
| 41 | |
---|
[7b55ac2] | 42 | #define LEGS 0x00000001 |
---|
| 43 | #define SURF 0x00000002 |
---|
| 44 | #define STNS 0x00000004 |
---|
| 45 | #define LABELS 0x00000008 |
---|
| 46 | #define XSECT 0x00000010 |
---|
| 47 | #define WALL1 0x00000020 |
---|
| 48 | #define WALL2 0x00000040 |
---|
[fc68ad5] | 49 | #define WALLS (WALL1|WALL2) |
---|
[7b55ac2] | 50 | #define PASG 0x00000080 |
---|
[bc1fac5] | 51 | #define EXPORT_3D 0x10000000 |
---|
| 52 | #define CENTRED 0x00000200 |
---|
[7b55ac2] | 53 | #define ENTS 0x00000400 |
---|
| 54 | #define FIXES 0x00000800 |
---|
| 55 | #define EXPORTS 0x00001000 |
---|
| 56 | #define PROJ 0x00002000 |
---|
| 57 | #define GRID 0x00004000 |
---|
| 58 | #define TEXT_HEIGHT 0x00008000 |
---|
| 59 | #define MARKER_SIZE 0x00010000 |
---|
| 60 | #define SCALE 0x00020000 |
---|
[bc1fac5] | 61 | #define FULL_COORDS 0x00040000 |
---|
[fc68ad5] | 62 | |
---|
[79c239e] | 63 | bool Export(const wxString &fnm_out, const wxString &title, |
---|
[f10cf8f] | 64 | const wxString &datestamp, time_t datestamp_numeric, |
---|
| 65 | const MainFrm * mainfrm, |
---|
[70462c8] | 66 | double pan, double tilt, int show_mask, export_format format, |
---|
| 67 | const char * input_projection, |
---|
[7b55ac2] | 68 | double grid_, double text_height_, double marker_size_); |
---|
[5940815] | 69 | |
---|
| 70 | #endif |
---|