Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(37)

Unified Diff: experimental/PdfViewer/SkPdfInlineLevelStructureElementsDictionary_autogen.h

Issue 16975013: Deal with ca and CA transparency operators in pdf. add comments to generated classes. (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: experimental/PdfViewer/SkPdfInlineLevelStructureElementsDictionary_autogen.h
===================================================================
--- experimental/PdfViewer/SkPdfInlineLevelStructureElementsDictionary_autogen.h (revision 9684)
+++ experimental/PdfViewer/SkPdfInlineLevelStructureElementsDictionary_autogen.h (working copy)
@@ -5,6 +5,7 @@
#include "SkPdfArray_autogen.h"
#include "SkPdfDictionary_autogen.h"
+// Standard layout attributes specific to inline-level structure elements
class SkPdfInlineLevelStructureElementsDictionary : public SkPdfDictionary {
public:
virtual SkPdfObjectType getType() const { return kInlineLevelStructureElementsDictionary_SkPdfObjectType;}
@@ -521,6 +522,22 @@
SkPdfInlineLevelStructureElementsDictionary& operator=(const SkPdfInlineLevelStructureElementsDictionary& from) {this->fPodofoDoc = from.fPodofoDoc; this->fPodofoObj = from.fPodofoObj; return *this;}
+/** (Optional) The element's preferred height, measured in default user space
+ * units in the block-progression direction. The height of a line is deter-
+ * mined by the largest LineHeight value for any complete or partial ILSE
+ * that it contains.
+ * The name Normal or Auto in place of a numeric value indicates that no
+ * specific height constraint is to be imposed; the element's height is set to a
+ * reasonable value based on the content's font size:
+ * Normal Adjust the line height to include any nonzero value
+ * specified for BaselineShift (see below).
+ * Auto Do not adjust for the value of BaselineShift.
+ * Default value: Normal.
+**/
+ bool has_LineHeight() const {
+ return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "LineHeight", "", NULL));
+ }
+
bool isLineHeightANumber() const {
SkPdfObject* ret = NULL;
if (!ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "LineHeight", "", &ret)) return false;

Powered by Google App Engine
This is Rietveld 408576698