r22436 by jghali - indentation fix

scribus-commit scribus-commit at lists.scribus.net
Wed Mar 14 22:27:08 UTC 2018


Author: jghali
Date: Wed Mar 14 22:27:08 2018
New Revision: 22436

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=22436
Log:
indentation fix

Modified:
    trunk/Scribus/scribus/pdfstructs.h

Modified: trunk/Scribus/scribus/pdfstructs.h
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=22436&path=/trunk/Scribus/scribus/pdfstructs.h
==============================================================================
--- trunk/Scribus/scribus/pdfstructs.h	(original)
+++ trunk/Scribus/scribus/pdfstructs.h	Wed Mar 14 22:27:08 2018
@@ -20,42 +20,42 @@
 typedef uint PdfId;
 
 namespace Pdf {
-    typedef QMap<QByteArray, PdfId> ResourceMap;
-    
-    struct Resource
-    {
-        QByteArray ResName;
-        PdfId ResNum;
-    };
+	typedef QMap<QByteArray, PdfId> ResourceMap;
+	
+	struct Resource
+	{
+		QByteArray ResName;
+		PdfId ResNum;
+	};
 
-    struct ResourceDictionary
-    {
-        ResourceMap XObject;
-        ResourceMap Font;
-        ResourceMap Shading;
-        ResourceMap Pattern;
-        ResourceMap ExtGState;
-        ResourceMap Properties;
-        QList<Resource> ColorSpace;
-    };
-    
+	struct ResourceDictionary
+	{
+		ResourceMap XObject;
+		ResourceMap Font;
+		ResourceMap Shading;
+		ResourceMap Pattern;
+		ResourceMap ExtGState;
+		ResourceMap Properties;
+		QList<Resource> ColorSpace;
+	};
+	
 }
 
 
 
 struct PdfDest
 {
-    QString Name;
-    int PageNr;
-    QString Act;
+	QString Name;
+	int PageNr;
+	QString Act;
 };
 
 
 struct PdfCatalog
 {
-    PdfId Outlines;
-    PdfId PageTree;
-    PdfId Dest;
+	PdfId Outlines;
+	PdfId PageTree;
+	PdfId Dest;
 };
 
 
@@ -68,69 +68,69 @@
 
 struct PdfPageData
 {
-    PdfId ObjNum;
+	PdfId ObjNum;
 	PdfId Thumb;
-    Pdf::ResourceMap XObjects;
-    Pdf::ResourceMap ImgObjects;
-    Pdf::ResourceMap FObjects;
-    QList<PdfId> AObjects;
-    QList<PdfId> FormObjects;
-    QList<PageItem*> radioButtonList;
+	Pdf::ResourceMap XObjects;
+	Pdf::ResourceMap ImgObjects;
+	Pdf::ResourceMap FObjects;
+	QList<PdfId> AObjects;
+	QList<PdfId> FormObjects;
+	QList<PageItem*> radioButtonList;
 };
 
 
 struct PdfOutlines
 {
-    PdfId First;
-    PdfId Last;
-    PdfId Count;
+	PdfId First;
+	PdfId Last;
+	PdfId Count;
 };
 
 
 struct PdfBead
 {
-    PdfId Parent;
-    PdfId Next;
-    PdfId Prev;
-    int Page;
-    QRect Rect;
+	PdfId Parent;
+	PdfId Next;
+	PdfId Prev;
+	int Page;
+	QRect Rect;
 };
 
 struct PdfICCD : public Pdf::Resource
 {
-    int components;
-    QByteArray ICCArray;
+	int components;
+	QByteArray ICCArray;
 };
 
 
 struct PdfOCGInfo
 {
-    PdfId ObjNum;
-    bool visible;
-    QByteArray Name;
+	PdfId ObjNum;
+	bool visible;
+	QByteArray Name;
 };
 
 
 enum FontMethod {
-    Use_System = 0,
-    Use_Embedded = 1,
-    Use_Subset = 2,
-    Use_Type3 = 3,
-    Use_XForm = 4
+	Use_System = 0,
+	Use_Embedded = 1,
+	Use_Subset = 2,
+	Use_Type3 = 3,
+	Use_XForm = 4
 };
 
 
 enum FontEncoding {
-    Encode_256 = 256,
-    Encode_224 = 224,
-    Encode_IdentityH = 1,
-    Encode_Subset = 0
+	Encode_256 = 256,
+	Encode_224 = 224,
+	Encode_IdentityH = 1,
+	Encode_Subset = 0
 };
 
 
 enum FontUsage {
-    Used_in_Content = 16,
-    Used_in_Forms = 32
+	Used_in_Content = 16,
+	Used_in_Forms = 32
 };
 
 
@@ -154,32 +154,32 @@
   face -> contours, metrics, cmap, font descriptor, rawdata
  */
 struct PdfFont {
-    /// as used in PDF, with leading '/'
-    QByteArray name;
-    /// how it's embedded
-    FontMethod method;
-    /// maps document gids to unicode
-    FontEncoding encoding;
-    /// used for content or for forms
-    FontUsage usage;
-    /// maps documents gids to font gids
-    QMap<uint,uint> glyphmap;
+	/// as used in PDF, with leading '/'
+	QByteArray name;
+	/// how it's embedded
+	FontMethod method;
+	/// maps document gids to unicode
+	FontEncoding encoding;
+	/// used for content or for forms
+	FontUsage usage;
+	/// maps documents gids to font gids
+	QMap<uint,uint> glyphmap;
 };
 
 
 struct PdfSpotC : public Pdf::Resource
 {
-    // no additional data
+	// no additional data
 };
 
 
 //struct PdfGraphicsData
 //{
-//    PdfId ResNumG;
-//    PdfId ResNumX;
-//    QString ResNamG;
-//    QString ResNamX;
-//    QString data;
+//	PdfId ResNumG;
+//	PdfId ResNumX;
+//	QString ResNamG;
+//	QString ResNamX;
+//	QString data;
 //};
 
 




More information about the scribus-commit mailing list