123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150 |
- //////////////////////////////////////////////////////////////////////////////
- //
- // Copyright 2015 Autodesk, Inc. All rights reserved.
- //
- // Use of this software is subject to the terms of the Autodesk license
- // agreement provided at the time of installation or download, or which
- // otherwise accompanies this software in either electronic or hard copy form.
- //
- //////////////////////////////////////////////////////////////////////////////
- // DESCRIPTION: Header for AcPlDSDData.h
- //
- #ifndef ACPLDSDDATA_H
- #define ACPLDSDDATA_H
- #pragma once
- #include "AcPl.h"
- #include "AcPlObject.h"
- #include "AcPlDSDEntry.h"
- #include "AcPlPrecisionEntry.h"
- #include "AcArray.h"
- #include "AcString.h"
- typedef AcArray<AcPlDSDEntry, AcArrayObjectCopyReallocator <AcPlDSDEntry> > AcPlDSDEntries;
- typedef AcArray<AcPlPrecisionEntry, AcArrayObjectCopyReallocator <AcPlPrecisionEntry> > AcPlPrecisionEntries;
- //3d dwf options for publishing
- struct AcPl3dDwfOptions {
- bool bGroupByXrefHierarchy;
- bool bPublishWithMaterials;
- };
- /////////////////////////////////////////////////////////////////////////////
- // AcPlDSDData - holds the data for a batch plotting operation
- class AcPlDSDData : public AcPlObject
- {
- ACPL_DECLARE_MEMBERS(AcPlDSDData)
- // Construction
- public:
- ACPL_PORT AcPlDSDData();
- ACPL_PORT virtual ~AcPlDSDData();
- ACPL_PORT AcPlDSDData(const AcPlDSDData & src);
- ACPL_PORT AcPlDSDData& operator= (const AcPlDSDData &src);
- ACPL_PORT const ACHAR * projectPath() const;
- ACPL_PORT void setProjectPath(const ACHAR * pVal);
- ACPL_PORT const ACHAR * destinationName() const;
- ACPL_PORT void setDestinationName(const ACHAR * pVal);
- ACPL_PORT void getDSDEntries(AcPlDSDEntries &val) const;
- ACPL_PORT void setDSDEntries(const AcPlDSDEntries &val);
- ACPL_PORT void getPrecisionEntries(AcPlPrecisionEntries &val) const;
- ACPL_PORT void setPrecisionEntries(const AcPlPrecisionEntries &val);
- ACPL_PORT int numberOfDSDEntries() const;
- ACPL_PORT AcPlDSDEntry& DSDEntryAt(int idx);
- ACPL_PORT AcPlDSDEntry::SheetType sheetType() const;
- ACPL_PORT void setSheetType(AcPlDSDEntry::SheetType val);
- ACPL_PORT const ACHAR * password() const;
- ACPL_PORT void setPassword(const ACHAR * pVal);
- ACPL_PORT void getUnrecognizedData(
- AcArray<ACHAR*> §ionArray,
- AcArray<ACHAR*> &dataArray) const;
- ACPL_PORT void setUnrecognizedData(
- const AcArray<ACHAR*> §ionArray,
- const AcArray<ACHAR*> &dataArray);
- ACPL_PORT void setUnrecognizedData(
- const ACHAR * pSectionName,
- const ACHAR * pSectionData);
- ACPL_PORT void setUnrecognizedData(
- const AcStringArray& sectionArray,
- const AcStringArray& dataArray);
- ACPL_PORT void getUnrecognizedData(
- AcStringArray& sectionArray,
- AcStringArray& dataArray) const;
-
- ACPL_PORT unsigned int majorVersion() const;
- ACPL_PORT void setMajorVersion(unsigned int majorVersion);
- ACPL_PORT unsigned int minorVersion() const;
- ACPL_PORT void setMinorVersion(unsigned int minorVersion);
- ACPL_PORT const ACHAR * sheetSetName() const;
- ACPL_PORT void setSheetSetName(const ACHAR * pSheetSetName);
- ACPL_PORT unsigned int noOfCopies() const;
- ACPL_PORT void setNoOfCopies(unsigned int copies);
- ACPL_PORT void setIsSheetSet(bool bSheetSet);
- ACPL_PORT bool isSheetSet() const;
- ACPL_PORT bool isHomogeneous() const;
- ACPL_PORT void setIsHomogeneous(bool bHomogeneous);
-
- ACPL_PORT bool plotStampOn() const;
- ACPL_PORT void setPlotStampOn(bool bOn);
- ACPL_PORT bool viewFile() const;
- ACPL_PORT void setViewFile(bool bViewFile);
- ACPL_PORT const ACHAR * selectionSetName() const;
- ACPL_PORT void setSelectionSetName(const ACHAR * pSelSetName);
- ACPL_PORT const ACHAR * categoryName() const;
- ACPL_PORT void setCategoryName(const ACHAR * pCategoryName);
- ACPL_PORT const ACHAR * logFilePath() const;
- ACPL_PORT void setLogFilePath(const ACHAR * pLogFilePath);
- ACPL_PORT const AcPl3dDwfOptions& get3dDwfOptions() const;
- ACPL_PORT void set3dDwfOptions(const AcPl3dDwfOptions &val);
- ACPL_PORT bool readDSD(const ACHAR *pName);
- ACPL_PORT bool writeDSD(const ACHAR *pName);
- // The following methods are for internal use only
- ACPL_PORT bool includeLayerInfo() const;
- ACPL_PORT void setIncludeLayerInfo(bool bOn);
- ACPL_PORT bool lineMerge() const;
- ACPL_PORT void setLineMerge(bool bOn);
- ACPL_PORT const ACHAR * currentPrecision() const;
- ACPL_PORT void setCurrentPrecision(const ACHAR * pCurrentPrecision);
- ACPL_PORT bool promptForDwfName() const;
- ACPL_PORT void setPromptForDwfName(bool bPromptForDwfName);
- ACPL_PORT bool pwdProtectPublishedDWF() const;
- ACPL_PORT void setPwdProtectPublishedDWF(
- bool bPwdProtectPublishedDWF);
- ACPL_PORT bool promptForPassword() const;
- ACPL_PORT void setPromptForPassword(bool bPromptForPassword);
- };
- #endif // ACPLDSDDATA_H
|