summaryrefslogtreecommitdiffstats
path: root/src/extension/internal/pdfinput
diff options
context:
space:
mode:
authorJon A. Cruz <jon@joncruz.org>2011-10-25 07:45:35 +0000
committerJon A. Cruz <jon@joncruz.org>2011-10-25 07:45:35 +0000
commit1a5d5d8a7e796035bc70d5c727d4d901dda50726 (patch)
treee15866e9b83d8948e6f7329193bbe4b6eefaa840 /src/extension/internal/pdfinput
parentcppcheck (diff)
downloadinkscape-1a5d5d8a7e796035bc70d5c727d4d901dda50726.tar.gz
inkscape-1a5d5d8a7e796035bc70d5c727d4d901dda50726.zip
Cleanup pass on documentation that was dumping garbage into doxygen output.
(bzr r10696)
Diffstat (limited to 'src/extension/internal/pdfinput')
-rw-r--r--src/extension/internal/pdfinput/pdf-input.h19
-rw-r--r--src/extension/internal/pdfinput/pdf-parser.h11
-rw-r--r--src/extension/internal/pdfinput/svg-builder.h25
3 files changed, 28 insertions, 27 deletions
diff --git a/src/extension/internal/pdfinput/pdf-input.h b/src/extension/internal/pdfinput/pdf-input.h
index c2fd0b6d8..6d3fd104a 100644
--- a/src/extension/internal/pdfinput/pdf-input.h
+++ b/src/extension/internal/pdfinput/pdf-input.h
@@ -1,9 +1,7 @@
-#ifndef __EXTENSION_INTERNAL_PDFINPUT_H__
-#define __EXTENSION_INTERNAL_PDFINPUT_H__
+#ifndef SEEN_EXTENSION_INTERNAL_PDFINPUT_H
+#define SEEN_EXTENSION_INTERNAL_PDFINPUT_H
- /** \file
- * PDF import using libpoppler.
- *
+/*
* Authors:
* miklos erdelyi
*
@@ -50,6 +48,9 @@ namespace Widget {
namespace Extension {
namespace Internal {
+/**
+ * PDF import using libpoppler.
+ */
class PdfImportDialog : public Gtk::Dialog
{
public:
@@ -125,11 +126,13 @@ public:
};
-} } } /* namespace Inkscape, Extension, Implementation */
+} // namespace Implementation
+} // namespace Extension
+} // namespace Inkscape
-#endif /* HAVE_POPPLER */
+#endif // HAVE_POPPLER
-#endif /* __EXTENSION_INTERNAL_PDFINPUT_H__ */
+#endif // SEEN_EXTENSION_INTERNAL_PDFINPUT_H
/*
Local Variables:
diff --git a/src/extension/internal/pdfinput/pdf-parser.h b/src/extension/internal/pdfinput/pdf-parser.h
index 21effe81d..a63d669c7 100644
--- a/src/extension/internal/pdfinput/pdf-parser.h
+++ b/src/extension/internal/pdfinput/pdf-parser.h
@@ -1,7 +1,4 @@
-
- /** \file
- * PDF parsing module using libpoppler's facilities
- *
+ /*
* Derived from Gfx.h
*
* Copyright 1996-2003 Glyph & Cog, LLC
@@ -24,6 +21,8 @@ namespace Inkscape {
}
}
}
+
+// TODO clean up and remove using:
using Inkscape::Extension::Internal::SvgBuilder;
#include "goo/gtypes.h"
@@ -145,6 +144,10 @@ private:
#define pdfNumShadingTypes 5
+
+/**
+ * PDF parsing module using libpoppler's facilities.
+ */
class PdfParser {
public:
diff --git a/src/extension/internal/pdfinput/svg-builder.h b/src/extension/internal/pdfinput/svg-builder.h
index 47e5d7735..7a36be806 100644
--- a/src/extension/internal/pdfinput/svg-builder.h
+++ b/src/extension/internal/pdfinput/svg-builder.h
@@ -1,9 +1,7 @@
-#ifndef __EXTENSION_INTERNAL_PDFINPUT_SVGBUILDER_H__
-#define __EXTENSION_INTERNAL_PDFINPUT_SVGBUILDER_H__
+#ifndef SEEN_EXTENSION_INTERNAL_PDFINPUT_SVGBUILDER_H
+#define SEEN_EXTENSION_INTERNAL_PDFINPUT_SVGBUILDER_H
- /** \file
- * SVG representation creator using libpoppler.
- *
+/*
* Authors:
* miklos erdelyi
*
@@ -58,8 +56,7 @@ namespace Internal {
struct SvgTransparencyGroup;
/**
- * \struct SvgGraphicsState
- * Holds information about the current softmask and group depth.
+ * Holds information about the current softmask and group depth for use of libpoppler.
* Could be later used to store other graphics state parameters so that we could
* emit only the differences in style settings from the parent state.
*/
@@ -69,7 +66,6 @@ struct SvgGraphicsState {
};
/**
- * \struct SvgGlyph
* Holds information about glyphs added by PdfParser which haven't been added
* to the document yet.
*/
@@ -89,10 +85,7 @@ struct SvgGlyph {
};
/**
- * \class SvgBuilder
- *
- * Builds the inner SVG representation from the calls of PdfParser
- *
+ * Builds the inner SVG representation using libpoppler from the calls of PdfParser.
*/
class SvgBuilder {
public:
@@ -232,11 +225,13 @@ private:
};
-} } } /* namespace Inkscape, Extension, Internal */
+} // namespace Internal
+} // namespace Extension
+} // namespace Inkscape
-#endif /* HAVE_POPPLER */
+#endif // HAVE_POPPLER
-#endif /* __EXTENSION_INTERNAL_PDFINPUT_SVGBUILDER_H__ */
+#endif // SEEN_EXTENSION_INTERNAL_PDFINPUT_SVGBUILDER_H
/*
Local Variables: