CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
PdfPublishBookmark.h
Go to the documentation of this file.
1
2// Copyright (C) 2002-2024, Open Design Alliance (the "Alliance").
3// All rights reserved.
4//
5// This software and its documentation and related materials are owned by
6// the Alliance. The software may only be incorporated into application
7// programs owned by members of the Alliance, subject to a signed
8// Membership Agreement and Supplemental Software License Agreement with the
9// Alliance. The structure and organization of this software are the valuable
10// trade secrets of the Alliance and its suppliers. The software is also
11// protected by copyright law and international treaty provisions. Application
12// programs incorporating this software must include the following statement
13// with their copyright notices:
14//
15// This application incorporates Open Design Alliance software pursuant to a license
16// agreement with Open Design Alliance.
17// Open Design Alliance Copyright (C) 2002-2024 by Open Design Alliance.
18// All rights reserved.
19//
20// By use of this software, its documentation or related materials, you
21// acknowledge and accept the above terms.
23
24
26//
27// PdfPublishBookmark.h
28//
30
31#ifndef _PDF_PUBLISH_BOOLMARK_INCLUDED_
32#define _PDF_PUBLISH_BOOLMARK_INCLUDED_
33
34#include "PdfPublishPage.h"
35
40namespace OdPdfPublish{
41
42 //DOM-IGNORE-BEGIN
43 class OdBookmark;
44 //DOM-IGNORE-END
45
50
55class PDFPUBLISH_TOOLKIT OdBookmark : public OdObject
56{
57 //DOM-IGNORE-BEGIN
58protected:
60 //DOM-IGNORE-END
61public:
62 //DOM-IGNORE-BEGIN
65 //DOM-IGNORE-END
66
70 virtual ~OdBookmark();
71
76 void setTitle(const OdString& title);
77
84 void setPage(OdPagePtr page);
85
94
102 void setTextStyle(const Text::FontStyle style);
103
108 void setTextColor(const ODCOLORREF color);
109
114 void appendChild(const OdBookmarkPtr child);
115
122 void setChildren(const OdBookmarkPtrArray& children);
123
142
148 void getTitle(OdString& title) const;
149
157 void getPage(OdPagePtr& page) const;
158
168
177 void getTextStyle(Text::FontStyle& style) const;
178
185 void getTextColor(ODCOLORREF& color) const;
186
192 void getChildren(OdBookmarkPtrArray& children) const;
193
212};
213
214}
215#endif // _PDF_PUBLISH_BOOLMARK_INCLUDED_
216
#define SMARTPTR(classname)
Definition IfcCommon.h:33
#define ODCOLORREF
#define PDFPUBLISH_TOOLKIT
void setTextColor(const ODCOLORREF color)
void setTitle(const OdString &title)
void getTextColor(ODCOLORREF &color) const
void setBookmarkType(const Bookmarks::BookmarkType type)
void getChildren(OdBookmarkPtrArray &children) const
void getPage(OdPagePtr &page) const
void setTextStyle(const Text::FontStyle style)
void appendChild(const OdBookmarkPtr child)
void setPage(OdPagePtr page)
void setParametrs(const OdArray< double > &params)
void getTitle(OdString &title) const
void getBookmarkType(Bookmarks::BookmarkType &type) const
void setChildren(const OdBookmarkPtrArray &children)
void getParametrs(OdArray< double > &params) const
void getTextStyle(Text::FontStyle &style) const
ODRX_DECLARE_MEMBERS(OdBookmark)
GLenum GLint * params
Definition gles2_ext.h:184
GLuint GLsizei GLsizei GLint GLenum * type
Definition gles2_ext.h:274