blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 264 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 5 140 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 905
values | visit_date timestamp[us]date 2015-08-09 11:21:18 2023-09-06 10:45:07 | revision_date timestamp[us]date 1997-09-14 05:04:47 2023-09-17 19:19:19 | committer_date timestamp[us]date 1997-09-14 05:04:47 2023-09-06 06:22:19 | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 22
values | gha_event_created_at timestamp[us]date 2012-06-07 00:51:45 2023-09-14 21:58:39 ⌀ | gha_created_at timestamp[us]date 2008-03-27 23:40:48 2023-08-21 23:17:38 ⌀ | gha_language stringclasses 141
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 3 10.4M | extension stringclasses 115
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
5a97f68f5848cbd421afe8bf89f951042d02f1c5 | a55b12a0fdb603f201cc19f9ba36338726c22162 | /HTTPServer/Headers/VHTTPServerComponentLibrary.h | 9b220af62825bfe9d6c4190698f56af104d3a8ec | [] | no_license | StephaneH/core-Components | ad57cfe80b119dd1991ae5e4fdc7a3b6d1b9d41e | a37aa9728bb30c0a1a303c7987e384f0ac0c4c85 | refs/heads/master | 2020-04-06T04:36:10.480068 | 2014-11-17T13:34:52 | 2014-11-17T13:34:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,787 | h | /*
* This file is part of Wakanda software, licensed by 4D under
* (i) the GNU General Public License version 3 (GNU GPL v3), or
* (ii) the Affero General Public License version 3 (AGPL v3) or
* (iii) a commercial license.
* This file remains the exclusive property of 4D and/or its licensors
* and is protected by national and international legislations.
* In any event, Licensee's compliance with the terms and conditions
* of the applicable license constitutes a prerequisite to any use of this file.
* Except as otherwise expressly stated in the applicable license,
* such license does not include any other license or rights on this file,
* 4D's and/or its licensors' trademarks and/or other proprietary rights.
* Consequently, no title, copyright or other proprietary rights
* other than those specified in the applicable license is granted.
*/
#ifndef __HTTP_COMPONENT_LIBRARY_INCLUDED__
#define __HTTP_COMPONENT_LIBRARY_INCLUDED__
#include "KernelIPC/Sources/VComponentManager.h"
class VHTTPServerComponentLibrary : public VComponentLibrary
{
public:
VHTTPServerComponentLibrary (const CImpDescriptor* inTypeList, sLONG inTypeCount);
virtual ~VHTTPServerComponentLibrary();
protected:
virtual void DoRegister();
virtual void DoUnregister();
};
// All registration/creation mecanism is handled automatically by declaring a const array
// linking your component types with its creator. The only thing you have to do is to include
// VComponentLibrary.cpp in your project making sure that it is compiled after this file.
//
const sLONG kCOMPONENT_TYPE_COUNT = 1;
const CImpDescriptor kCOMPONENT_TYPE_LIST[] = { { CHTTPServer::Component_Type, VImpCreator<VHTTPServer>::CreateImp } };
#endif // __HTTP_COMPONENT_LIBRARY_INCLUDED__ | [
"stephane.hamel@4d.com"
] | stephane.hamel@4d.com |
a1bc7ac655e0a4df759bdbe0bbac9206f3ba2e32 | bab1be7602703a3f2db912703695999291963278 | /src/XSClient/XSParticleEmitter.cpp | c28f408a51ee4a6eb830fc9df7490f8d3c1f99e4 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | eezstreet/xsngine | fa209b17847d4d75d45eace3ca74544bf5cfd750 | 7c84131883119b887f7e45ba49c1e1ad65daf7a3 | refs/heads/master | 2021-01-21T09:43:20.845059 | 2016-03-06T14:21:44 | 2016-03-06T14:21:44 | 54,095,007 | 1 | 0 | null | 2016-03-17T06:43:46 | 2016-03-17T06:43:46 | null | UTF-8 | C++ | false | false | 7,657 | cpp | #include <algorithm>
#if defined(__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 6))
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
#endif
#define GLM_SWIZZLE
#include <glm/glm.hpp>
#include <glm/gtc/matrix_transform.hpp>
#include <glm/ext.hpp>
#if defined(__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 6))
#pragma GCC diagnostic pop
#endif
#include "XSCommon/XSCommon.h"
#include "XSCommon/XSConsole.h"
#include "XSClient/XSParticleEmitter.h"
#include "XSClient/XSClientGame.h"
#include "XSClient/XSFlyCamera.h"
#include "XSClient/XSClient.h"
#include "XSRenderer/XSImagePNG.h"
#include "XSRenderer/XSParticle.h"
#include "XSRenderer/XSTexture.h"
#include "XSRenderer/XSInternalFormat.h"
#include "XSRenderer/XSRenderer.h"
#include "XSRenderer/XSBuffer.h"
#include "XSRenderer/XSVertexAttributes.h"
#include "XSRenderer/XSShaderProgram.h"
#include "XSRenderer/XSMaterial.h"
namespace XS {
namespace ClientGame {
ParticleEmitter::ParticleEmitter( uint32_t count, uint32_t life, const char *textureName )
: pool( count ), numParticles( 0u ), count( count ), life( life ), emitTime( 0.0 )
{
console.Print( PrintLevel::Normal, "%s\n",
XS_FUNCTION_VERBOSE
);
emitRate = static_cast<real32_t>( life ) / static_cast<real32_t>( count );
// 1MB vertex buffer
// usage strategy is map-discard i.e. keep appending to the buffer until we run out of memory.
// at this point, orphan the buffer by re-allocating a buffer of the same size and access bits.
vertexBuffer = new Renderer::Backend::Buffer(
Renderer::BufferType::Vertex,
nullptr,
count * 4 * sizeof(Vertex)
);
indexBuffer = new Renderer::Backend::Buffer(
Renderer::BufferType::Index,
nullptr,
count * 6 * sizeof(uint32_t)
);
// material
material = new Renderer::Material();
// texture
uint32_t imgWidth, imgHeight;
uint8_t *imgData = Renderer::LoadPNG( textureName, &imgWidth, &imgHeight );
texture = new Renderer::Texture(
imgWidth, imgHeight,
Renderer::InternalFormat::RGBA8,
imgData
);
Renderer::Material::SamplerBinding samplerBinding = {};
samplerBinding.texture = texture;
material->samplerBindings.push_back( samplerBinding );
// shader
static const Renderer::VertexAttribute attributes[] = {
{ 0, "in_Position" },
{ 1, "in_TexCoord" },
{ 2, "in_Colour" }
};
shader = new Renderer::ShaderProgram( "particle", "particle", attributes, ARRAY_LEN( attributes ) );
material->shaderProgram = shader;
}
ParticleEmitter::~ParticleEmitter() {
console.Print( PrintLevel::Normal, "%s\n",
XS_FUNCTION_VERBOSE
);
}
#ifdef PARTICLE_SORT_ALL
int particlecmp_alive( const Renderer::Particle &p1, const Renderer::Particle &p2 ) {
if ( p1.life >= 0 && p2.life >= 0 ) {
return 0;
}
return p1.life < p2.life ? -1 : 1;
}
int particlecmp_life( const Renderer::Particle &p1, const Renderer::Particle &p2 ) {
if ( p1.life == p2.life ) {
return 0;
}
return p1.life < p2.life ? -1 : 1;
}
int particlecmp_texture( const Renderer::Particle &p1, const Renderer::Particle &p2 ) {
if ( !p1.texture ) {
if ( !p2.texture ) {
return 0;
}
return -1;
}
else if ( !p2.texture ) {
return 1;
}
if ( p1.texture->id == p2.texture->id ) {
return 0;
}
return p1.texture->id < p2.texture->id ? -1 : 1;
}
void ParticleEmitter::Sort( void ) {
// sort by alive status
std::sort( pool.begin(), pool.end(), particlecmp_alive );
// sort by amount of life left
// std::sort( pool.begin(), pool.end(), particlecmp_life );
// sort by texture
std::sort( pool.begin(), pool.end(), particlecmp_texture );
}
#else
void ParticleEmitter::Swap( size_t i ) {
// temp swap
Renderer::Particle tmp = pool[i];
pool[i] = pool[numParticles - 1];
pool[numParticles-1] = tmp;
}
#endif
void ParticleEmitter::Update( real64_t dt ) {
//FIXME: optimise with better container and investigate swap vs resize performance
// simulate all particles
for ( size_t i = 0u; i < numParticles; i++ ) {
auto &p = pool[i];
if ( !p.Update( dt ) ) {
// instead of removing this particle, swap it with the last active particle
// to keep the dead particles at the end, in contiguous memory
Swap( i );
i--;
numParticles--;
continue;
}
}
#ifdef PARTICLE_SORT_ALL
Sort();
#endif
// see if we need to spawn more
if ( emitTime >= emitRate && numParticles < count ) {
emitTime -= emitRate;
// SDL_assert( numParticles < count );
pool[numParticles] = Renderer::Particle();
pool[numParticles].life = life;
numParticles++;
}
emitTime += dt;
}
void ParticleEmitter::Draw( const Renderer::RenderInfo &info ) const {
uint32_t *indexMem = new uint32_t[count * 6]();
Vertex *vertexMem = new Vertex[count * 4]();
for ( size_t i = 0u; i < numParticles; i++ ) {
auto &p = pool[i];
indexMem[i * 6 + 0] = i * 4 + 0;
indexMem[i * 6 + 1] = i * 4 + 1;
indexMem[i * 6 + 2] = i * 4 + 2;
indexMem[i * 6 + 3] = i * 4 + 0;
indexMem[i * 6 + 4] = i * 4 + 2;
indexMem[i * 6 + 5] = i * 4 + 3;
// update the vertex buffer
const real32_t halfSize = p.size / 2.0f;
const glm::vec4 particleColour( p.colour.x, p.colour.y, p.colour.z, p.colour.w );
vertexMem[i * 4 + 0].position = glm::vec4( halfSize, halfSize, 0.0f, 1.0f );
vertexMem[i * 4 + 0].uv = glm::vec2( 1.0, 1.0f );
vertexMem[i * 4 + 0].colour = particleColour;
vertexMem[i * 4 + 1].position = glm::vec4( -halfSize, halfSize, 0.0f, 1.0f );
vertexMem[i * 4 + 1].uv = glm::vec2( 0.0, 1.0f );
vertexMem[i * 4 + 1].colour = particleColour;
vertexMem[i * 4 + 2].position = glm::vec4( -halfSize, -halfSize, 0.0f, 1.0f );
vertexMem[i * 4 + 2].uv = glm::vec2( 0.0, 0.0f );
vertexMem[i * 4 + 2].colour = particleColour;
vertexMem[i * 4 + 3].position = glm::vec4( halfSize, -halfSize, 0.0f, 1.0f );
vertexMem[i * 4 + 3].uv = glm::vec2( 1.0, 0.0f );
vertexMem[i * 4 + 3].colour = particleColour;
const glm::mat4 &cameraTransform = camera->GetTransform();
const glm::vec3 particlePosition( p.position.x, p.position.y, p.position.z );
glm::vec3 zAxis = glm::normalize( glm::vec3( cameraTransform[3] ) - particlePosition );
glm::vec3 xAxis = glm::cross( glm::vec3( cameraTransform[1] ), zAxis );
glm::vec3 yAxis = glm::cross( zAxis, xAxis );
glm::mat4 billboard(
glm::vec4( xAxis, 0 ),
glm::vec4( yAxis, 0 ),
glm::vec4( zAxis, 0 ),
glm::vec4( 0.0f, 0.0f, 0.0f, 1.0f )
);
vertexMem[i * 4 + 0].position = billboard
* vertexMem[i * 4 + 0].position + glm::vec4( p.position, 0.0f );
vertexMem[i * 4 + 1].position = billboard
* vertexMem[i * 4 + 1].position + glm::vec4( p.position, 0.0f );
vertexMem[i * 4 + 2].position = billboard
* vertexMem[i * 4 + 2].position + glm::vec4( p.position, 0.0f );
vertexMem[i * 4 + 3].position = billboard
* vertexMem[i * 4 + 3].position + glm::vec4( p.position, 0.0f );
}
Vertex *vertexData = reinterpret_cast<Vertex *>( vertexBuffer->Map() );
std::memcpy( vertexData, vertexMem, count * 4 * sizeof(Vertex) );
vertexBuffer->Unmap();
delete[] vertexMem;
uint32_t *indexData = reinterpret_cast<uint32_t *>( indexBuffer->Map() );
std::memcpy( indexData, indexMem, count * 6 * sizeof(uint32_t) );
indexBuffer->Unmap();
delete[] indexMem;
Renderer::DrawParticles( vertexBuffer, indexBuffer, material, numParticles * 6 );
}
} // namespace Renderer
} // namespace XS
| [
"mrrazish@gmail.com"
] | mrrazish@gmail.com |
9825747354a5ab2f4b901eb1a499ee71d5f94217 | 9f253e6dd5809c780f2dc5b36bf91171bb2fd72e | /helper functions/multi label sorting/x_yaxis.cpp | ffa41671732d8aa5c38634356f4f8b590fff09c1 | [] | no_license | mbikas/ACM | ab41bb3ea7c5402758bdc56c3109807c64537b3a | d4185d5168a1391d7989f9a947dfa65198b27df9 | refs/heads/master | 2021-01-18T19:33:58.990020 | 2016-10-27T08:00:03 | 2016-10-27T08:00:03 | 72,075,809 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,178 | cpp | /* implementation of qsort
based on multilable sorting
sort based on point of x-axis
if x-coordinates are same then sort y -coordinates
*/
#include<stdio.h>
#include<string.h>
#include<math.h>
#include<stdlib.h>
typedef struct{
int x;
int y;
}point;
point points[50];
int npoints;
void read_points()
{
npoints = 0;
while( scanf("%d %d",&points[npoints].x,&points[npoints].y) !=EOF)
npoints++;
}
int comp(const void* A, const void* B)
{
point *a=(point*)A;
point *b=(point*)B;
if(a->x < b->x) return(-1);
if(a->x > b->x) return(1);
if(a->x == b->x)
{
if(a->y < b->y) return(-1);
if(a->y > b->y) return(1);
}
return (0);
}
void main()
{
freopen("points.in","r",stdin);
freopen("points.out","w",stdout);
int i;
read_points();
printf("---------------------------------\n");
for(i=0;i<npoints;i++)
printf("%d %d\n",points[i].x,points[i].y);
printf("---------------------------------\n");
qsort(points,npoints,sizeof(point),comp);
for(i=0;i<npoints;i++)
printf("%d %d\n",points[i].x,points[i].y);
} | [
"mbikas2@uic.edu"
] | mbikas2@uic.edu |
ff8d73744d5b210dadc2f1332f2229551ec24f87 | 5d83739af703fb400857cecc69aadaf02e07f8d1 | /Archive2/05/b192859ef419e7/main.cpp | 9d378939a6924decfcea55e02cfecc1e56cdd71a | [] | no_license | WhiZTiM/coliru | 3a6c4c0bdac566d1aa1c21818118ba70479b0f40 | 2c72c048846c082f943e6c7f9fa8d94aee76979f | refs/heads/master | 2021-01-01T05:10:33.812560 | 2015-08-24T19:09:22 | 2015-08-24T19:09:22 | 56,789,706 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 223 | cpp | #include <iostream>
void foo() {}
void bar() noexcept {}
void baz() noexcept(false) {}
int main(){
std::cout << std::boolalpha << noexcept(foo()) << ' ' << noexcept(bar()) << ' ' << noexcept(baz()) << std::endl;
} | [
"francis.rammeloo@36614edc-3e3a-acb8-9062-c8ae0e4185df"
] | francis.rammeloo@36614edc-3e3a-acb8-9062-c8ae0e4185df |
54fd032f58091876a373ddd00bc2b6c53cc03d2f | 20a8a46dcfae46a04126127faaacb988d4085a49 | /src/geometries.cpp | 61bee5fa55c087bd2ffefdfa804f361e0602feb8 | [] | no_license | lutzer/particleMesh | 9c25fe023cbe96334c594749d50ade17b29c182b | 02cfcc8606fd10e6f18909e107241ac8f3314ad9 | refs/heads/master | 2021-01-19T09:14:33.006746 | 2017-11-12T10:03:50 | 2017-11-12T10:03:50 | 82,078,165 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 108 | cpp | //
// geometries.cpp
// particleMesh
//
// Created by Lutz on 12/02/17.
//
//
#include "geometries.hpp"
| [
"in_the_fishtank@gmx.de"
] | in_the_fishtank@gmx.de |
d2904e2cef7791cf93ca6c75ae852d17b97092cb | fed97a949bc371ab0ff9fc3a7cd62ffd55269d31 | /DigitalPressure/DigitalPressure.ino | 9224f0d32838e17d0064d450ce2f43c22c4c742e | [] | no_license | MNSGC-Ballooning/Arduino-Training | b52e27bd209388f79381926b44339420dd4929f5 | a0ca086fb42f66de1bcec9ab2922b4dc6d6a6cf9 | refs/heads/master | 2022-11-13T09:20:12.609304 | 2022-10-11T21:11:26 | 2022-10-11T21:11:26 | 92,842,462 | 1 | 3 | null | 2019-06-04T03:12:58 | 2017-05-30T14:37:11 | C++ | UTF-8 | C++ | false | false | 949 | ino | /* Code to print pressure and tempereature measurements from the Sparkfun MPL3115A2 digital sensor.
* Author: Ryan Bowers
* For use with Intro to Arduino Training Activity 6
*/
#include <Wire.h>
#include "SparkFunMPL3115A2.h"
MPL3115A2 sensor; //create pressure sensor object
float pressure, temp; //variables for measured data
void setup() {
Wire.begin(); //Begin I2C communication
Serial.begin(115200); //Open Serial communication
sensor.begin(); //Connect sensor to I2C bus
sensor.setModeBarometer(); //Read pressure directly in Pa
sensor.setOversampleRate(7); //Recommended setting
sensor.enableEventFlags(); //Recommended setting
}
void loop() {
pressure = sensor.readPressure();
temp = sensor.readTempF();
Serial.println("Pressure (Pa): " + String(pressure) + " Temp (F): " + String(temp)); //print data to serial monitor
delay(1000); //take measurements approx once per second
}
| [
"rbowers314@gmail.com"
] | rbowers314@gmail.com |
21b0acd2e497bd5d22d969f484e2428d81d7af02 | e5f8f0ba3f02507877cbd51acd56071fe82a7e3e | /barrier.h | bc442ed50eb1f86a55060f3bbffea39c1e459c33 | [] | no_license | dcerisano/multi_gpu_fdtd | 37bcc6499136dcbf9f66740747b9d8ad9da05e8c | d683df31480ac58f693a84ac010a4a415ce71f37 | refs/heads/master | 2022-04-22T15:18:51.578021 | 2020-02-22T13:58:58 | 2020-02-22T13:58:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,348 | h | //
// Created by egi on 12/30/19.
//
#ifndef MULTIGPUFDTD_BARRIER_H
#define MULTIGPUFDTD_BARRIER_H
#include <atomic>
#include <xmmintrin.h>
class barrier_class
{
public:
barrier_class () = delete;
explicit barrier_class (int threads_count_arg)
: threads_count (threads_count_arg)
, barrier_epoch (0)
, threads_in_barrier (0)
{ }
void operator ()()
{
if (threads_count == 1)
return;
const unsigned int thread_epoch = barrier_epoch.load ();
if (threads_in_barrier.fetch_add (1) == threads_count - 1)
{
threads_in_barrier.store (0);
barrier_epoch.fetch_add (1);
}
else
{
while (thread_epoch == barrier_epoch.load ())
{
_mm_pause ();
}
}
}
private:
int threads_count {};
std::atomic<unsigned int> barrier_epoch;
std::atomic<unsigned int> threads_in_barrier;
};
class thread_info_class
{
public:
thread_info_class () = delete;
thread_info_class (int thread_id_arg, int threads_count_arg, barrier_class &barrier_arg)
: thread_id (thread_id_arg)
, threads_count (threads_count_arg)
, barrier (barrier_arg)
{
}
void sync () const
{
barrier ();
}
public:
const int thread_id {};
const int threads_count {};
private:
barrier_class &barrier;
};
#endif //MULTIGPUFDTD_BARRIER_H
| [
"evtushenko.georgy@gmail.com"
] | evtushenko.georgy@gmail.com |
0cd7f98fec52abd1ef0f845674e885336b663f97 | 9c18fc11cfd9a811ea4f14fd5bd103000078e37f | /ITRT/Practica 3/P3-DiffServ/diff-serv-queue.cc | af400e14f22ea9aef1a32265ec382019838bb45e | [] | no_license | jorgegomzar/teleco2020_21 | 41569cc871c9d29f289603168ebda92235f6706c | 842167281545211ea8268488729a7dfa2ea5bcfa | refs/heads/main | 2023-04-27T05:41:46.163143 | 2021-05-20T17:28:04 | 2021-05-20T17:28:04 | 357,546,421 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 28,850 | cc | /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/*
* Copyright (c) 2007 University of Washington
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation;
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include "ns3/log.h"
#include "ns3/enum.h"
#include "ns3/uinteger.h"
#include "ns3/diff-serv-queue.h"
#include "ipv4-header.h"
#include "ns3/ppp-header.h"
#include "ns3/udp-header.h"
#include "ns3/tcp-header.h"
NS_LOG_COMPONENT_DEFINE ("DiffServQueue");
namespace ns3 {
NS_OBJECT_ENSURE_REGISTERED (DiffServQueue);
TypeId DiffServQueue::GetTypeId (void)
{
static TypeId tid = TypeId ("ns3::DiffServQueue")
.SetParent<Queue> ()
.AddConstructor<DiffServQueue> ()
.AddTraceSource ("DropNonConformantAFBE", "Drop of AF, BE non-conformant packets",
MakeTraceSourceAccessor (&DiffServQueue::m_DropNonConformantAFBE))
.AddTraceSource ("DropNonConformantEF", "Drop of EF non-conformant packets",
MakeTraceSourceAccessor (&DiffServQueue::m_DropNonConformantEF))
.AddTraceSource ("AQMDropAF1", "Drop of AF1 queue (AQM)",
MakeTraceSourceAccessor (&DiffServQueue::m_AQMDropAF1))
.AddTraceSource ("AQMDropAF2", "Drop of AF2 queue (AQM)",
MakeTraceSourceAccessor (&DiffServQueue::m_AQMDropAF2))
.AddTraceSource ("AQMDropAF3", "Drop of AF3 queue (AQM)",
MakeTraceSourceAccessor (&DiffServQueue::m_AQMDropAF3))
.AddTraceSource ("AQMDropAF14", "Drop of AF4 queue (AQM)",
MakeTraceSourceAccessor (&DiffServQueue::m_AQMDropAF4))
.AddTraceSource ("DropTailAF1", "Drop of AF1 queue (Queue Full)",
MakeTraceSourceAccessor (&DiffServQueue::m_DropTailAF1))
.AddTraceSource ("DropTailAF2", "Drop of AF2 queue (Queue Full)",
MakeTraceSourceAccessor (&DiffServQueue::m_DropTailAF2))
.AddTraceSource ("DropTailAF3", "Drop of AF3 queue (Queue Full)",
MakeTraceSourceAccessor (&DiffServQueue::m_DropTailAF3))
.AddTraceSource ("DropTailAF4", "Drop of AF4 queue (Queue Full)",
MakeTraceSourceAccessor (&DiffServQueue::m_DropTailAF4))
.AddTraceSource ("DropTailEF", "Drop of EF queue (Queue Full)",
MakeTraceSourceAccessor (&DiffServQueue::m_DropTailEF))
.AddTraceSource ("DropTailBE", "Drop of be queue (Queue Full)",
MakeTraceSourceAccessor (&DiffServQueue::m_DropTailBE))
; //Traces added by juaase
return tid;
}
DiffServQueue::DiffServQueue ()
{
//m_queueId = StatCollector::AllocateQueueId();
m_queueMode = "Core";
//MaxPackets
m_AF1_maxPackets = 100;
m_AF2_maxPackets = 100;
m_AF3_maxPackets = 100;
m_AF4_maxPackets = 100;
m_EF_maxPackets = 100;
m_BestEffort_maxPackets = 100;
//WRR Weights
m_AF1_weightTemp = 0 ;
m_AF2_weightTemp = 0;
m_AF3_weightTemp = 0 ;
m_AF4_weightTemp = 0 ;
m_BestEffort_weightTemp = 0 ;
m_AF1_weight = 1 ;
m_AF2_weight = 1;
m_AF3_weight = 1 ;
m_AF4_weight = 1 ;
m_BestEffort_weight = 1 ;
m_AF1_AQMId = "DropTail";
m_AF2_AQMId = "DropTail";
m_AF3_AQMId = "DropTail";
m_AF4_AQMId = "DropTail";
m_EF_lastPacketArrivalTime = 0;
m_EF_committedBucketSize = 5000 ;
m_EF_cBS = 5000;
m_EF_cIR = 10000000;
NS_LOG_FUNCTION_NOARGS ();
}
DiffServQueue::~DiffServQueue ()
{
NS_LOG_FUNCTION_NOARGS ();
}
bool DiffServQueue::m_enableMetering = false;
bool DiffServQueue::m_enableClassification = false ;
vector< Ptr<DiffServFlow> > DiffServQueue::m_flowVector;
vector< Ptr<DiffServMeter> > DiffServQueue::m_meterVector;
bool
DiffServQueue::DoEnqueue (Ptr<Packet> p)
{
NS_LOG_INFO ("DiffServQueue_Enqueue "<<" QueueId: "<<m_queueId<<" Queue Mode: "<<m_queueMode);
NS_LOG_INFO(*p);
//Classfiy and Condition packet
if( (m_queueMode == "Edge") && (m_enableClassification == true) )
{
ClassifyAndCondition(p);
// Non conformant packets dropped
if (m_drop == true)
{
NS_LOG_INFO("Dropper:");
NS_LOG_INFO("Packet Dropped");
NS_LOG_INFO("");
NS_LOG_INFO("");
Drop (p);
m_DropNonConformantAFBE(p); //added by juaase
return false;
}
}
return BA_Classifier(p);
}
Ptr<Packet>
DiffServQueue::DoDequeue (void)
{
NS_LOG_LOGIC ("DiffServQueue_Dequeue");
loop:
if(!m_EFqueue.empty())
{
return EF_DoDequeue ();
}
if(!m_AF1queue.empty())
{
if( m_AF1_weightTemp > 0)
{
m_AF1_weightTemp--;
return AF1_DoDequeue ();
}
}
if(!m_AF2queue.empty())
{
if( m_AF2_weightTemp > 0)
{
m_AF2_weightTemp--;
return AF2_DoDequeue ();
}
}
if(!m_AF3queue.empty())
{
if( m_AF3_weightTemp > 0)
{
m_AF3_weightTemp--;
return AF3_DoDequeue ();
}
}
if(!m_AF4queue.empty())
{
if( m_AF4_weightTemp > 0)
{
m_AF4_weightTemp--;
return AF4_DoDequeue ();
}
}
if(!m_BestEffortqueue.empty())
{
if( m_BestEffort_weightTemp > 0)
{
m_BestEffort_weightTemp--;
return BestEffort_DoDequeue ();
}
}
if(!m_AF4queue.empty() || !m_AF3queue.empty() || !m_AF2queue.empty() || !m_AF1queue.empty() || !m_BestEffortqueue.empty())
{ NS_LOG_LOGIC ("RESET WEIGHTS");
m_AF1_weightTemp = m_AF1_weight ;
m_AF2_weightTemp = m_AF2_weight ;
m_AF3_weightTemp = m_AF3_weight ;
m_AF4_weightTemp = m_AF4_weight ;
m_BestEffort_weightTemp = m_BestEffort_weight ;
goto loop;
}
return 0;
}
Ptr<const Packet>
DiffServQueue::DoPeek (void) const
{
//NS_LOG_FUNCTION (this);
if (m_AF1queue.empty())
{
NS_LOG_LOGIC ("Queue empty");
return 0;
}
Ptr<Packet> p = m_AF1queue.front ();
NS_LOG_LOGIC ("Number packets " << m_AF1queue.size ());
return p;
}
//BA_Classifier
bool DiffServQueue:: BA_Classifier(Ptr<Packet> p)
{
NS_LOG_INFO ("BA Classifier :");
//Getting the ipv4header
Ipv4Header ipv4Header;
PppHeader pppHeader;
Ptr<Packet> q = p->Copy ();
q->RemoveHeader (pppHeader);
q->RemoveHeader (ipv4Header);
//Getting DS field from ipv4header
m_DS = ipv4Header.GetTos();
//filtering packets
if ((m_DS == 40 ) || (m_DS == 48) || (m_DS== 56) )
{
return AF1_DoEnqueue (p);
}
if ((m_DS == 72 ) || (m_DS == 80) || (m_DS== 88) )
{
return AF2_DoEnqueue (p);
}
if ((m_DS == 104 ) || (m_DS == 112) || (m_DS== 120) )
{
return AF3_DoEnqueue (p);
}
if ((m_DS == 136 ) || (m_DS == 144) || (m_DS== 152) )
{
return AF4_DoEnqueue (p);
}
if (m_DS == 184)
{
return EF_DoEnqueue (p);
}
if (m_DS == 0)
{
return BestEffort_DoEnqueue (p);
}
return BestEffort_DoEnqueue (p);
}
//AF1 Enqueue
bool DiffServQueue:: AF1_DoEnqueue (Ptr<Packet> p)
{
NS_LOG_INFO ("AF1_enqueue");
//NS_LOG_FUNCTION (this << p);
//If AQM is enabled for this queue
if(m_AF1_AQMId != "DropTail")
{
m_aqmOutput = m_AF1_AQMPtr->DoAQM(m_AF1queue.size (), m_DS);
if(m_aqmOutput == 0)
{
NS_LOG_INFO ("Packet Dropped by AQM :" << m_AF1_AQMId);
NS_LOG_INFO("");
Drop (p);
m_AQMDropAF1(p); //juaase
//StatCollector::Enqueue(m_queueId,0, p , 1 , m_AF1queue.size () );
return false;
}
else
{
NS_LOG_INFO ("Packet to be Enqueue by AQM");
if(m_AF1queue.size () >= m_AF1_maxPackets)
{
NS_LOG_INFO ("AF1 Queue full--dropping packet");
Drop (p);
m_DropTailAF1(p); //juaase
//StatCollector::Enqueue(m_queueId,0, p , 1 , m_AF1queue.size () );
return false;
}
NS_LOG_INFO("AF1 Packet Enqueued");
NS_LOG_INFO("");
//StatCollector::Enqueue(m_queueId,0, p , 0 , m_AF1queue.size () );
m_AF1queue.push(p);
return true;
}
}//AQM
// Drop-tail
if (m_AF1queue.size () >= m_AF1_maxPackets)
{
NS_LOG_LOGIC ("AF1 Queue full (at max packets) -- droppping pkt");
Drop (p);
m_DropTailAF1(p); //juaase
//StatCollector::Enqueue(m_queueId,0, p , 1 , m_AF1queue.size () );
return false;
}
NS_LOG_INFO("Packet Enqueued");
NS_LOG_INFO("");
//StatCollector::Enqueue(m_queueId,0, p , 0 , m_AF1queue.size () );
m_AF1queue.push(p);
NS_LOG_LOGIC ("Number packets " << m_AF1queue.size ());
return true;
}
//AF2 Enqueue
bool DiffServQueue:: AF2_DoEnqueue (Ptr<Packet> p)
{
NS_LOG_INFO ("AF2_enqueue");
//NS_LOG_FUNCTION (this << p);
//If AQM is enabled for this queue
if(m_AF2_AQMId != "DropTail")
{
m_aqmOutput = m_AF2_AQMPtr->DoAQM(m_AF2queue.size (), m_DS);
if(m_aqmOutput == 0)
{
NS_LOG_INFO ("Packet Dropped by AQM :" << m_AF2_AQMId);
NS_LOG_INFO("");
Drop (p);
m_AQMDropAF2(p); //juaase
//StatCollector::Enqueue(m_queueId,1, p , 1 , m_AF2queue.size () );
return false;
}
else
{
NS_LOG_INFO ("Packet to be Enqueue by AQM");
if(m_AF2queue.size () >= m_AF2_maxPackets)
{
NS_LOG_INFO ("AF2 Queue full--dropping packet");
Drop (p);
m_DropTailAF2(p); //juaase
//StatCollector::Enqueue(m_queueId,1, p , 1 , m_AF2queue.size () );
return false;
}
NS_LOG_INFO("AF2 Packet Enqueued");
NS_LOG_INFO("");
//StatCollector::Enqueue(m_queueId,1, p , 0 , m_AF2queue.size () );
m_AF2queue.push(p);
return true;
}
}//AQM
// Drop-tail
if (m_AF2queue.size () >= m_AF2_maxPackets)
{
NS_LOG_LOGIC ("AF2 Queue full (at max packets) -- droppping pkt");
Drop (p);
m_DropTailAF2(p); //juaase
//StatCollector::Enqueue(m_queueId,1, p , 1 , m_AF2queue.size () );
return false;
}
NS_LOG_INFO("Packet Enqueued");
NS_LOG_INFO("");
//StatCollector::Enqueue(m_queueId,1, p , 0 , m_AF2queue.size () );
m_AF2queue.push(p);
NS_LOG_LOGIC ("Number packets " << m_AF2queue.size ());
return true;
}
//AF3 Enqueue
bool DiffServQueue:: AF3_DoEnqueue (Ptr<Packet> p)
{
NS_LOG_INFO ("AF3_enqueue");
//NS_LOG_FUNCTION (this << p);
//If AQM is enabled for this queue
if(m_AF3_AQMId != "DropTail")
{
m_aqmOutput = m_AF3_AQMPtr->DoAQM(m_AF3queue.size (), m_DS);
if(m_aqmOutput == 0)
{
NS_LOG_INFO ("Packet Dropped by AQM :" << m_AF3_AQMId);
NS_LOG_INFO("");
Drop (p);
m_AQMDropAF3(p); //juaase
//StatCollector::Enqueue(m_queueId,2, p , 1 , m_AF3queue.size () );
return false;
}
else
{
NS_LOG_INFO ("Packet to be Enqueue by AQM");
if(m_AF3queue.size () >= m_AF3_maxPackets)
{
NS_LOG_INFO ("AF3 Queue full--dropping packet");
Drop (p);
m_DropTailAF3(p); //juaase
//StatCollector::Enqueue(m_queueId,2, p , 1 , m_AF3queue.size () );
return false;
}
NS_LOG_INFO("AF3 Packet Enqueued");
NS_LOG_INFO("");
//StatCollector::Enqueue(m_queueId,2, p , 0 , m_AF3queue.size () );
m_AF3queue.push(p);
return true;
}
}//AQM
// Drop-tail
if (m_AF3queue.size () >= m_AF3_maxPackets)
{
NS_LOG_LOGIC ("AF3 Queue full (at max packets) -- droppping pkt");
Drop (p);
m_DropTailAF3(p); //juaase
//StatCollector::Enqueue(m_queueId,2, p , 1 , m_AF3queue.size () );
return false;
}
NS_LOG_INFO("Packet Enqueued");
NS_LOG_INFO("");
//StatCollector::Enqueue(m_queueId,2, p , 0 , m_AF3queue.size () );
m_AF3queue.push(p);
NS_LOG_LOGIC ("Number packets " << m_AF3queue.size ());
return true;
}
//AF4 Enqueue
bool DiffServQueue::AF4_DoEnqueue (Ptr<Packet> p)
{
NS_LOG_INFO ("AF4_enqueue");
//NS_LOG_FUNCTION (this << p);
//If AQM is enabled for this queue
if(m_AF4_AQMId != "DropTail")
{
m_aqmOutput = m_AF4_AQMPtr->DoAQM(m_AF4queue.size (), m_DS);
if(m_aqmOutput == 0)
{
NS_LOG_INFO ("Packet Dropped by AQM :" << m_AF4_AQMId);
NS_LOG_INFO("");
Drop (p);
m_AQMDropAF4(p); //juaase
//StatCollector::Enqueue(m_queueId,3, p , 1 , m_AF4queue.size () );
return false;
}
else
{
NS_LOG_INFO ("Packet to be Enqueue by AQM");
if(m_AF4queue.size () >= m_AF4_maxPackets)
{
NS_LOG_INFO ("AF4 Queue full--dropping packet");
Drop (p);
m_DropTailAF4(p); //juaase
//StatCollector::Enqueue(m_queueId,3, p , 1 , m_AF4queue.size () );
return false;
}
NS_LOG_INFO("AF4 Packet Enqueued");
NS_LOG_INFO("");
//StatCollector::Enqueue(m_queueId,3, p , 0 , m_AF4queue.size () );
m_AF4queue.push(p);
return true;
}
}//AQM
// Drop-tail
if (m_AF4queue.size () >= m_AF4_maxPackets)
{
NS_LOG_LOGIC ("AF4 Queue full (at max packets) -- droppping pkt");
Drop (p);
m_DropTailAF4(p); //juaase
//StatCollector::Enqueue(m_queueId,3, p , 1 , m_AF4queue.size () );
return false;
}
NS_LOG_INFO("Packet Enqueued");
NS_LOG_INFO("");
//StatCollector::Enqueue(m_queueId,3, p , 0 , m_AF4queue.size () );
m_AF4queue.push(p);
NS_LOG_LOGIC ("Number packets " << m_AF4queue.size ());
return true;
}
//EF Enqueue
bool DiffServQueue:: EF_DoEnqueue (Ptr<Packet> p)
{
NS_LOG_INFO ("EF_enqueue");
//NS_LOG_FUNCTION (this << p);
if (m_EFqueue.size () >= m_EF_maxPackets)
{
NS_LOG_LOGIC ("EF Queue full (at max packets) -- droppping pkt");
Drop (p);
m_DropTailEF(p);
//StatCollector::Enqueue(m_queueId,4, p , 1 , m_EFqueue.size () );
return false;
}
int EF = EFRateLimiterTokenBucket(p);
if(EF==conformanceLevel_2)
{
efDropped++;
NS_LOG_INFO ("Packet exceeds EF profile-- droppping pkt"<<", Total dropped: "<<efDropped);
NS_LOG_INFO("");
Drop (p);
m_DropNonConformantEF(p); //juaase
//StatCollector::Enqueue(m_queueId,4, p , 1 , m_EFqueue.size () );
return false;
}
NS_LOG_INFO("Packet Enqueued");
NS_LOG_INFO("");
//StatCollector::Enqueue(m_queueId,4, p , 0 , m_EFqueue.size () );
m_EFqueue.push(p);
NS_LOG_LOGIC ("Number packets " << m_EFqueue.size ());
return true;
}
//BE Enqueue
bool DiffServQueue::BestEffort_DoEnqueue (Ptr<Packet> p)
{
NS_LOG_INFO ("BestEffort_enqueue");
//NS_LOG_FUNCTION (this << p);
if (m_BestEffortqueue.size () >= m_BestEffort_maxPackets)
{
NS_LOG_LOGIC ("BE Queue full (at max packets) -- droppping pkt");
Drop (p);
m_DropTailBE(p); //juaase
//StatCollector::Enqueue(m_queueId,5, p , 1 , m_BestEffortqueue.size () );
return false;
}
NS_LOG_INFO("Packet Enqueued");
NS_LOG_INFO("");
//StatCollector::Enqueue(m_queueId,5, p , 0 , m_BestEffortqueue.size () );
m_BestEffortqueue.push(p);
NS_LOG_LOGIC ("Number packets " << m_BestEffortqueue.size ());
return true;
}
//DeQueue Functions
//
//
//AF1 Dequeue
Ptr<Packet> DiffServQueue:: AF1_DoDequeue (void)
{
NS_LOG_LOGIC ("AF1_dequeue");
//NS_LOG_FUNCTION (this);
if (m_AF1queue.empty())
{
NS_LOG_LOGIC ("AF1 Queue empty");
return 0;
}
Ptr<Packet> p = m_AF1queue.front ();
m_AF1queue.pop ();
//StatCollector::Dequeue(m_queueId,0, p,m_AF1queue.size ());
NS_LOG_LOGIC ("Popped " << p);
NS_LOG_LOGIC ("Number packets " << m_AF1queue.size ());
return p;
}
//AF2 Dequeue
Ptr<Packet> DiffServQueue:: AF2_DoDequeue (void)
{
NS_LOG_LOGIC ("AF2_dequeue");
//NS_LOG_FUNCTION (this);
if (m_AF2queue.empty())
{
NS_LOG_LOGIC ("AF2 Queue empty");
return 0;
}
Ptr<Packet> p = m_AF2queue.front ();
m_AF2queue.pop ();
//StatCollector::Dequeue(m_queueId,1, p,m_AF2queue.size ());
NS_LOG_LOGIC ("Popped " << p);
NS_LOG_LOGIC ("Number packets " << m_AF2queue.size ());
return p;
}
//AF3 Dequeue
Ptr<Packet> DiffServQueue:: AF3_DoDequeue (void)
{
NS_LOG_LOGIC ("AF3_dequeue");
//NS_LOG_FUNCTION (this);
if (m_AF3queue.empty())
{
NS_LOG_LOGIC ("AF3 Queue empty");
return 0;
}
Ptr<Packet> p = m_AF3queue.front ();
m_AF3queue.pop ();
//StatCollector::Dequeue(m_queueId,2, p,m_AF3queue.size ());
NS_LOG_LOGIC ("Popped " << p);
NS_LOG_LOGIC ("Number packets " << m_AF3queue.size ());
return p;
}
//AF4 Dequeue
Ptr<Packet> DiffServQueue:: AF4_DoDequeue (void)
{
NS_LOG_LOGIC ("AF4_dequeue");
//NS_LOG_FUNCTION (this);
if (m_AF4queue.empty())
{
NS_LOG_LOGIC ("AF4 Queue empty");
return 0;
}
Ptr<Packet> p = m_AF4queue.front ();
m_AF4queue.pop ();
//StatCollector::Dequeue(m_queueId,3, p,m_AF4queue.size ());
NS_LOG_LOGIC ("Popped " << p);
NS_LOG_LOGIC ("Number packets " << m_AF4queue.size ());
return p;
}
//EF Dequeue
Ptr<Packet> DiffServQueue:: EF_DoDequeue (void)
{
NS_LOG_LOGIC ("EF_dequeue");
//NS_LOG_FUNCTION (this);
if (m_EFqueue.empty())
{
NS_LOG_LOGIC ("EF Queue empty");
return 0;
}
Ptr<Packet> p = m_EFqueue.front ();
m_EFqueue.pop ();
//StatCollector::Dequeue(m_queueId,4, p,m_EFqueue.size ());
NS_LOG_LOGIC ("Popped " << p);
NS_LOG_LOGIC ("Number packets " << m_EFqueue.size ());
return p;
}
//BE Dequeue
Ptr<Packet> DiffServQueue:: BestEffort_DoDequeue (void)
{
NS_LOG_LOGIC ("BestEffort_dequeue");
//NS_LOG_FUNCTION (this);
if (m_BestEffortqueue.empty())
{
NS_LOG_LOGIC ("BE Queue empty");
return 0;
}
Ptr<Packet> p = m_BestEffortqueue.front ();
m_BestEffortqueue.pop ();
//StatCollector::Dequeue(m_queueId,5, p,m_BestEffortqueue.size ());
NS_LOG_LOGIC ("Popped " << p);
NS_LOG_LOGIC ("Number packets " << m_BestEffortqueue.size ());
return p;
}
// Set WRR Weights
void DiffServQueue::SetWRRWeights(int AF1, int AF2, int AF3 , int AF4 , int BE)
{
m_AF1_weight = AF1 ;
m_AF2_weight = AF2 ;
m_AF3_weight = AF3 ;
m_AF4_weight = AF4 ;
m_BestEffort_weight = BE ;
}
//Set Queue size
void DiffServQueue::SetQueueSize(int AF1, int AF2, int AF3 , int AF4 , int EF, int BE)
{
m_AF1_maxPackets = AF1;
m_AF2_maxPackets = AF2;
m_AF3_maxPackets = AF3;
m_AF4_maxPackets = AF4;
m_EF_maxPackets = EF;
m_BestEffort_maxPackets = BE;
}
//Set EF Profile
void DiffServQueue::SetEFProfile(int cir, int cbs)
{
m_EF_cIR = cir;
m_EF_cBS = cbs;
m_EF_committedBucketSize = m_EF_cBS;
}
//Set AQM
void DiffServQueue::SetDiffServAQM(vector< Ptr<DiffServAQM> > aqmVector, string AF1_AQMId,string AF2_AQMId,string AF3_AQMId,string AF4_AQMId)
{
if(aqmVector.empty() )
{
NS_LOG_INFO("AQM Vector does not contain any aqm -- 'droptail' buffer management will be performed on each queue");
return;
}
m_aqmVector = aqmVector;
NS_LOG_INFO ("DiffServQueue_AQM "<<"QueueId: "<<m_queueId);
string aqmId_AQMVector;
for (uint32_t k = 0; k < m_aqmVector.size();k++)
{
aqmId_AQMVector = ( m_aqmVector.at(k) )->m_aqmId;
if ( AF1_AQMId == aqmId_AQMVector)
{
m_AF1_AQMId = AF1_AQMId;
m_AF1_AQMPtr = m_aqmVector.at(k);
NS_LOG_INFO("AF1 AQM identified:" << m_AF1_AQMId );
}
if ( AF2_AQMId == aqmId_AQMVector)
{
m_AF2_AQMId = AF2_AQMId;
m_AF2_AQMPtr = m_aqmVector.at(k);
NS_LOG_INFO("AF2 AQM identified:" << m_AF2_AQMId );
}
if ( AF3_AQMId == aqmId_AQMVector)
{
m_AF3_AQMId = AF3_AQMId;
m_AF3_AQMPtr = m_aqmVector.at(k);
NS_LOG_INFO("AF3 AQM identified:" << m_AF3_AQMId );
}
if ( AF4_AQMId == aqmId_AQMVector)
{
m_AF4_AQMId = AF4_AQMId;
m_AF4_AQMPtr = m_aqmVector.at(k);
NS_LOG_INFO("AF4 AQM identified:" << m_AF4_AQMId );
}
}//end loop
}
//EF Rate Limiter Token Bucket
bool DiffServQueue::EFRateLimiterTokenBucket(Ptr<Packet> p)
{
NS_LOG_INFO("EFRateLimiterTokenBucket :");
NS_LOG_INFO("lastPacketArrivalTime: "<<m_EF_lastPacketArrivalTime);
NS_LOG_INFO("committedBucketSize : "<<m_EF_committedBucketSize);
NS_LOG_INFO("cBS: "<<m_EF_cBS);
NS_LOG_INFO("cIR: "<<m_EF_cIR);
// Calculating bytes to add to bucket
m_EF_currentPacketArrivalTime = (Simulator::Now()).GetSeconds();
NS_LOG_INFO("currentPacketArrivalTime: "<<m_EF_currentPacketArrivalTime);
NS_LOG_INFO("Time Difference: "<<m_EF_currentPacketArrivalTime - m_EF_lastPacketArrivalTime);
m_EF_bytesToAdd = (m_EF_currentPacketArrivalTime - m_EF_lastPacketArrivalTime) * (m_EF_cIR/8);
NS_LOG_INFO("bytesToAdd: "<<m_EF_bytesToAdd);
m_EF_lastPacketArrivalTime = m_EF_currentPacketArrivalTime;
//Adding bytes to bucket
if (m_EF_committedBucketSize + m_EF_bytesToAdd >= m_EF_cBS)
{
m_EF_committedBucketSize = m_EF_cBS;
}
else {
m_EF_committedBucketSize = m_EF_committedBucketSize + m_EF_bytesToAdd;
}
NS_LOG_INFO("committedBucketSizeAfterAdding: "<<m_EF_committedBucketSize);
//Getting the size of the packet in bytes
PppHeader pppHeader;
Ptr<Packet> q = p->Copy ();
q->RemoveHeader (pppHeader);
m_EF_packetSize = q->GetSize();
NS_LOG_INFO("packetSize: "<<m_EF_packetSize);
//Testing conformance
if ( m_EF_committedBucketSize - m_EF_packetSize >= 0)
{
m_EF_committedBucketSize = m_EF_committedBucketSize - m_EF_packetSize;
NS_LOG_INFO("Packet conformant: YES");
NS_LOG_INFO("committedBucketSizeAfterRemoving: "<<m_EF_committedBucketSize);
return conformanceLevel_1;
}
else
{
NS_LOG_INFO("Packet conformant: NO");
NS_LOG_INFO("NO tokens removed");
return 0;
}
}
//Traffic conditioning functions
void DiffServQueue:: Marker(Ptr<Packet> p, int DS)
{
NS_LOG_INFO("Marker:");
NS_LOG_INFO("DS field set to :"<<DS);
//Creating containers for packet headers
Ipv4Header ipv4HeaderNew;
PppHeader pppHeaderNew;
Ipv4Header ipv4HeaderOld;
PppHeader pppHeaderOld;
//Getting the headers from a copy of packet
Ptr<Packet> q = p->Copy ();
q->RemoveHeader (pppHeaderNew);
q->RemoveHeader (ipv4HeaderNew);
//Marking the Tos field
ipv4HeaderNew.SetTos(DS);
//Removing headers from the real packet
p->RemoveHeader (pppHeaderOld);
p->RemoveHeader (ipv4HeaderOld);
//Attaching new marked header
p->AddHeader (ipv4HeaderNew);
p->AddHeader (pppHeaderNew);
return ;
}
void DiffServQueue:: ClassifyAndCondition(Ptr<Packet> p)
{
NS_LOG_INFO("ClassificationAndConditionining:");
NS_LOG_INFO("STEP 1: MF Classifier:");
//Getting the ipv4 and transport headers from packet and Getting required information
Ipv4Header ipv4Header;
PppHeader pppHeader;
UdpHeader udpHeader;
TcpHeader tcpHeader;
NS_LOG_INFO("STEP 1a: About to copy:");
Ptr<Packet> q = p->Copy ();
NS_LOG_INFO("STEP 1a: Copied");
NS_LOG_INFO("STEP 1b: About to remove:");
q->RemoveHeader (pppHeader);
q->RemoveHeader (ipv4Header);
NS_LOG_INFO("STEP 1b: Removed");
Ipv4Address scrAddressPacket = ipv4Header.GetSource();
Ipv4Address destAddressPacket = ipv4Header.GetDestination();
int protocolNumber = ipv4Header.GetProtocol();
NS_LOG_INFO("STEP 1c: Getters OK");
int scrPortPacket;
int destPortPacket;
if (protocolNumber == 17)
{
NS_LOG_INFO("STEP 1c: Protocol 17 (UDP) OK");
q->RemoveHeader (udpHeader);
scrPortPacket = udpHeader.GetSourcePort();
destPortPacket = udpHeader.GetDestinationPort();
}
if (protocolNumber == 6)
{
NS_LOG_INFO("STEP 1c: Protocol 6 OK");
q->RemoveHeader (tcpHeader);
scrPortPacket = tcpHeader.GetSourcePort();
destPortPacket = tcpHeader.GetDestinationPort();
}
NS_LOG_INFO("STEP 1d: Ok...");
//filtering packets
m_flow = 0;
m_drop = false;
for (uint32_t i = 0; i < m_flowVector.size();i++)
{
Ipv4Address scrAddressFlow = (m_flowVector.at(i))->GetSourceAddress();
Ipv4Address destAddressFlow = (m_flowVector.at(i))->GetDestinationAddress();
int scrPortFlow = (m_flowVector.at(i))->GetSourcePort();
int destPortFlow = (m_flowVector.at(i))->GetDestinationPort();
if( scrAddressFlow.Get() ==0)
{
scrAddressFlow = scrAddressPacket;
}
if( destAddressFlow.Get() ==0)
{
destAddressFlow = destAddressPacket;
}
if( scrPortFlow ==0)
{
scrPortFlow = scrPortPacket;
}
if( destPortFlow ==0)
{
destPortFlow = destPortPacket;
}
if ((scrAddressPacket == scrAddressFlow) && (destAddressPacket == destAddressFlow) && (scrPortPacket == scrPortFlow) && (destPortPacket == destPortFlow))
{
m_flow = m_flowVector.at(i);
NS_LOG_INFO("flowId: "<<(m_flow->GetFlowId()));
NS_LOG_INFO("slaId: "<<(m_flow->GetSla())->GetSlaId());
break;
}
}//end loop
//If flow is not identified
if(m_flow == 0)
{
NS_LOG_INFO("No classification found--packet does not belong to a SLA");
NS_LOG_INFO("Forwarding packet to BA Classifier ");
return;
}
NS_LOG_INFO("STEP 2: Meter:");
//If metering is enabled for DiffServQueues
if(m_enableMetering == true)
{
//If metering is enabled for this SLA
if( ( m_flow->GetSla() )->GetSlaMeter() == true)
{
//Getting meterID to determine which Meter to use
string meterID_SLA;
string meterID_MeterVector;
m_meterIdentified = false;
meterID_SLA = ( (m_flow->GetSla() )->m_mSpec).meterID;
for (uint32_t j = 0; j < m_meterVector.size();j++)
{
meterID_MeterVector = ( m_meterVector.at(j) )->m_meterID;
if ( meterID_SLA == meterID_MeterVector)
{
NS_LOG_INFO("Meter identified: " << meterID_MeterVector );
m_meter = m_meterVector.at(j);
m_meterIdentified = true;
break;
}
}//end loop
//If meter identified --Calling meter object to meter packet
if ( m_meterIdentified == true)
{
NS_LOG_INFO("Metering Packet using: "<<meterID_MeterVector);
m_conformance = m_meter->MeterPacket(p, m_flow->GetSla() );
NS_LOG_INFO("Conformance Level: "<< m_conformance);
}
else
{
NS_LOG_INFO("Meter not found for SLA--setting packet DS field to inital codepoint");
m_conformance = conformanceLevel_1;
NS_LOG_INFO("Conformance Level: "<< m_conformance);
}
}//end SLA meter state if
else
{
NS_LOG_INFO("This SLA requires no metering--setting packet DS field to inital codepoint");
m_conformance = conformanceLevel_1;
NS_LOG_INFO("Conformance Level: "<< m_conformance);
}
}// end metering enable if
else
{
NS_LOG_INFO("Metering Disabled--setting packet DS field to inital codepoint");
m_conformance = conformanceLevel_1;
NS_LOG_INFO("Conformance Level: "<< m_conformance);
}
NS_LOG_INFO("STEP 3: Enforcer:");
//Taking appropiate action as specified in the SLA - 3 conformance levels
//Conformance Level 1 -- marking packet to inital codepoint
if ( m_conformance == conformanceLevel_1)
{
Marker(p, ( (m_flow->GetSla() )->m_cSpec).initialCodePoint );
}
//Conformance Level 2 -- marking packet to downgraded codepoint or dropping
if (m_conformance == conformanceLevel_2)
{
if ( ( (m_flow->GetSla() )->m_cSpec).nonConformantActionI == 256)
{
m_drop = true;
return;
}
else
{
Marker(p, ( (m_flow->GetSla() )->m_cSpec).nonConformantActionI );
}
}
//Conformance Level 3 -- marking packet to downgraded codepoint or dropping
if (m_conformance == conformanceLevel_3)
{
if ( ( (m_flow->GetSla() )->m_cSpec).nonConformantActionII == 256)
{
m_drop = true;
return;
}
else
{
Marker(p, ( (m_flow->GetSla() )->m_cSpec).nonConformantActionII );
}
}
}// ClassifyAndCondition end
void DiffServQueue::SetDiffServFlows( vector< Ptr<DiffServFlow> > flowVector)
{
if(flowVector.empty())
{
NS_LOG_INFO("Flow Vector does not contain any flows -- traffic classification and conditioning will not be performed--Core Queue");
return;
}
m_enableClassification = true;
//Error checking for duplicate flows
vector< Ptr<DiffServFlow> > flowVectorCopy = flowVector;
int counter;
for (uint32_t i = 0; i < flowVector.size();i++)
{
counter = 0;
Ipv4Address scrAddressFlow = (flowVector.at(i))->GetSourceAddress();
Ipv4Address destAddressFlow = (flowVector.at(i))->GetDestinationAddress();
int scrPortFlow = (flowVector.at(i))->GetSourcePort();
int destPortFlow = (flowVector.at(i))->GetDestinationPort();
for (uint32_t j = 0; j < flowVectorCopy.size();j++)
{
Ipv4Address scrAddressFlowCopy = (flowVectorCopy.at(j))->GetSourceAddress();
Ipv4Address destAddressFlowCopy = (flowVectorCopy.at(j))->GetDestinationAddress();
int scrPortFlowCopy = (flowVectorCopy.at(j))->GetSourcePort();
int destPortFlowCopy = (flowVectorCopy.at(j))->GetDestinationPort();
if ((scrAddressFlow == scrAddressFlowCopy) && (destAddressFlow == destAddressFlowCopy) && (scrPortFlow == scrPortFlowCopy) && (destPortFlow == destPortFlowCopy))
{
counter++;
}
NS_ASSERT( counter <= 1);
}
}
m_flowVector = flowVector;
}
void DiffServQueue :: SetDiffServMeters ( vector< Ptr<DiffServMeter> > meterVector)
{
if(meterVector.empty())
{
NS_LOG_INFO("Meter Vector does not contain any meters -- no metering will be performed on packets");
return;
}
m_enableMetering = true;
m_meterVector = meterVector;
}
void DiffServQueue::SetQueueMode(string mode)
{
m_queueMode = mode;
}
} // namespace ns3
| [
"jorge.gomzar@gmail.com"
] | jorge.gomzar@gmail.com |
7f78c1e0634ac7f83bcae87b6d88344f202bbf53 | 9b3cb5d72953354e6c9a8446eca681f0511cff52 | /Livrable final/Sources/DLL/Arbre/Noeuds/NoeudAraignee.h | 5ecf71b1a3441b82ece756b8fcefa2921e62718a | [] | no_license | pierreto/LNAH2K17 | 609d84ed534a518126580614ddc300ac0e4503d5 | 7ba860c025095b0cf43221ec4aa11998dd838f86 | refs/heads/master | 2021-09-06T03:37:44.831645 | 2017-11-30T04:24:50 | 2017-11-30T04:24:50 | 104,964,598 | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 1,479 | h | ///////////////////////////////////////////////////////////////////////////
/// @file NoeudAraignee.h
/// @author Julien Gascon-Samson
/// @date 2011-05-19
/// @version 1.0
///
/// @addtogroup inf2990 INF2990
/// @{
///////////////////////////////////////////////////////////////////////////
#ifndef __ARBRE_NOEUDS_NOEUDARAIGNEE_H__
#define __ARBRE_NOEUDS_NOEUDARAIGNEE_H__
#include "NoeudComposite.h"
#include "GL/glew.h"
///////////////////////////////////////////////////////////////////////////
/// @class NoeudAraignee
/// @brief Classe qui représente un exemple de noeud de l'arbre de rendu.
///
/// @author Julien Gascon-Samson
/// @date 2011-05-19
///////////////////////////////////////////////////////////////////////////
class NoeudAraignee : public NoeudComposite
{
public:
/// Constructeur à partir du type du noeud.
NoeudAraignee(const std::string& typeNoeud);
/// Destructeur.
~NoeudAraignee();
/// Affiche le cube.
virtual void afficherConcret(const glm::mat4& vueProjection) const;
/// Effectue l'animation du cube.
virtual void animer( float temps );
// Patron visiteur
virtual void accepterVisiteur(VisiteurAbstrait* visiteur);
private:
/// Angle dans le sinus de l'oscillation
float angle_{ 0 };
};
#endif // __ARBRE_NOEUDS_NOEUDARAIGNEE_H__
///////////////////////////////////////////////////////////////////////////////
/// @}
///////////////////////////////////////////////////////////////////////////////
| [
"michael.sghaier@polymtl.ca"
] | michael.sghaier@polymtl.ca |
06fb98c36250fffb08045f16d4e9d763eb61ba5a | cce80831b0bdd43d433228800d3956a0e51c8703 | /src/algolib/graphs/multipartite_graph.cpp | 355b7a27e0b1f752de5923b64c814ceda6996cce | [
"Apache-2.0"
] | permissive | ref-humbold/AlgoLib_CPlusPlus | 018f91f4a146e115c74ded3f6fe8d1598fe11749 | 41508547a5c19ae9a5a02c7a039581a24b1df0be | refs/heads/master | 2023-09-01T03:00:26.775642 | 2023-08-27T19:49:27 | 2023-08-27T19:49:27 | 161,948,402 | 0 | 1 | Apache-2.0 | 2023-06-04T11:27:17 | 2018-12-15T22:23:54 | C++ | UTF-8 | C++ | false | false | 131 | cpp | /*!
* \file multipartite_graph.cpp
* \brief Structure of multipartite graph
*/
#include "algolib/graphs/multipartite_graph.hpp"
| [
"rafkaleta@onet.pl"
] | rafkaleta@onet.pl |
6cfec7e578a8fd6d705e4073689d4569d7d825bf | d85b1f3ce9a3c24ba158ca4a51ea902d152ef7b9 | /testcases/CWE78_OS_Command_Injection/s05/CWE78_OS_Command_Injection__wchar_t_connect_socket_w32_spawnv_82_bad.cpp | 4a3bfcf16e9c2effcfde09bfeabc5b309d454cd3 | [] | no_license | arichardson/juliet-test-suite-c | cb71a729716c6aa8f4b987752272b66b1916fdaa | e2e8cf80cd7d52f824e9a938bbb3aa658d23d6c9 | refs/heads/master | 2022-12-10T12:05:51.179384 | 2022-11-17T15:41:30 | 2022-12-01T15:25:16 | 179,281,349 | 34 | 34 | null | 2022-12-01T15:25:18 | 2019-04-03T12:03:21 | null | UTF-8 | C++ | false | false | 1,271 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE78_OS_Command_Injection__wchar_t_connect_socket_w32_spawnv_82_bad.cpp
Label Definition File: CWE78_OS_Command_Injection.strings.label.xml
Template File: sources-sink-82_bad.tmpl.cpp
*/
/*
* @description
* CWE: 78 OS Command Injection
* BadSource: connect_socket Read data using a connect socket (client side)
* GoodSource: Fixed string
* Sinks: w32_spawnv
* BadSink : execute command with wspawnv
* Flow Variant: 82 Data flow: data passed in a parameter to an virtual method called via a pointer
*
* */
#ifndef OMITBAD
#include "std_testcase.h"
#include "CWE78_OS_Command_Injection__wchar_t_connect_socket_w32_spawnv_82.h"
#include <process.h>
namespace CWE78_OS_Command_Injection__wchar_t_connect_socket_w32_spawnv_82
{
void CWE78_OS_Command_Injection__wchar_t_connect_socket_w32_spawnv_82_bad::action(wchar_t * data)
{
{
wchar_t *args[] = {COMMAND_INT_PATH, COMMAND_ARG1, COMMAND_ARG3, NULL};
/* wspawnv - specify the path where the command is located */
/* POTENTIAL FLAW: Execute command without validating input possibly leading to command injection */
_wspawnv(_P_WAIT, COMMAND_INT_PATH, args);
}
}
}
#endif /* OMITBAD */
| [
"Alexander.Richardson@cl.cam.ac.uk"
] | Alexander.Richardson@cl.cam.ac.uk |
9a15c4348dfd64ce770e7881cb095ed85569484a | e8574e990e20f7c19ec8ed7e3f7da0aecd47906a | /mysql/src/LambdaInvoke.cpp | 4ba432b78072994f7f16ebcc9a5f75c40aaadd1d | [
"LicenseRef-scancode-warranty-disclaimer",
"Apache-2.0"
] | permissive | arifimamjax/aws-lambda-rdbms-integration | 1b878b1a63b59979f3cceb2abfa75d0bee45b63f | b1ac99aa9ca7bc916731779fad21303aba09cb41 | refs/heads/master | 2023-03-15T20:17:42.647906 | 2016-05-05T19:05:19 | 2016-05-05T19:05:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,725 | cpp | /*
* Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
#include <aws/core/client/ClientConfiguration.h>
#include <aws/core/client/CoreErrors.h>
#include <aws/core/auth/AWSCredentialsProviderChain.h>
#include <aws/core/utils/Outcome.h>
#include <aws/core/utils/memory/stl/AWSSet.h>
#include <aws/core/utils/memory/stl/AWSStringStream.h>
#include <aws/core/utils/ratelimiter/DefaultRateLimiter.h>
#include <aws/core/utils/HashingUtils.h>
#include <aws/lambda/LambdaClient.h>
#include <aws/lambda/model/InvokeRequest.h>
#include <aws/core/utils/memory/stl/AWSStringStream.h>
using namespace Aws::Lambda;
using namespace Aws::Lambda::Model;
char *lambda_invoke(char *fn_name, char *fn_argsJson, InvocationType fn_invocationType)
{
LambdaClient client;
InvokeRequest invokeRequest;
invokeRequest.SetFunctionName(fn_name);
invokeRequest.SetInvocationType(fn_invocationType);
auto payload = Aws::MakeShared<Aws::StringStream>("invokeLambda");
*payload << fn_argsJson;
invokeRequest.SetBody(payload);
InvokeOutcome invokeOutcome = client.Invoke(invokeRequest);
if (!invokeOutcome.IsSuccess()) {
std::cerr << "Function invocation failed!\n";
return NULL;
}
auto &result = invokeOutcome.GetResult();
auto jsonResponse = Aws::Utils::Json::JsonValue(result.GetPayload());
Aws::String strResponse = jsonResponse.WriteReadable();
Aws::String errType = result.GetFunctionError() ;
if (!errType.empty()) {
std::cerr << errType << ": error in Lambda invokeResult: " << strResponse << "\n" ;
return NULL;
}
char *strResponsePtr = (char *)malloc(strlen(strResponse.c_str())+1) ;
strcpy(strResponsePtr, strResponse.c_str()) ;
return(strResponsePtr);
}
char *lambda_invoke_sync(char *fn_name, char *fn_argsJson)
{
return lambda_invoke(fn_name, fn_argsJson, InvocationType::RequestResponse);
}
char *lambda_invoke_async(char *fn_name, char *fn_argsJson)
{
return lambda_invoke(fn_name, fn_argsJson, InvocationType::Event);
}
//int main() {
// char fn_name[] = "lambdaTest" ;
// char fn_argsJson[] = "{\"name\":\"bob\"}" ;
// std::cout << lambda_invoke_sync(fn_name,fn_argsJson);
//}
| [
"strahanr@amazon.com"
] | strahanr@amazon.com |
52f0ec0c16dd0a8157c609bb8c27cb22da87e244 | 75fc8b7594b2075ff487dc05afdd5ad0a7408c1f | /ElDorito/Source/Blam/Tags/TagInstance.hpp | d15f0ecc465bc4c143c47c16a7db3b59cb7f0812 | [] | no_license | NoShotz/ElDorito | 929e7b4e033914d15257419c8978d0f5fa598177 | a6d2d681e999d2d21f3f8bb3bd272f0771f2d1fe | refs/heads/master | 2021-07-25T18:26:25.982270 | 2020-05-08T17:17:17 | 2020-05-08T17:17:17 | 167,758,023 | 26 | 35 | null | 2019-11-24T05:36:13 | 2019-01-27T01:35:22 | C++ | UTF-8 | C++ | false | false | 3,404 | hpp | #pragma once
#include <cstdint>
#include <fstream>
#include <string>
#include <vector>
#include <unordered_map>
#include "../../ElDorito.hpp"
#include "Tags.hpp"
namespace Blam::Tags
{
const auto TagIndexTablePtr = (uint32_t**)0x022AAFFC;
const auto TagTablePtr = (uint8_t***)0x022AAFF8;
const auto MaxTagCountPtr = (uint32_t*)0x022AB008;
struct TagInstance
{
uint16_t Index;
static std::unordered_map<int32_t, std::string> TagNames;
TagInstance(const uint16_t index);
Tag GetGroupTag();
inline static void LoadTagNames()
{
std::ifstream tagListFile(ElDorito::Instance().GetMapsFolder() + "\\tag_list.csv");
while (tagListFile.is_open() && !tagListFile.eof())
{
std::string line;
tagListFile >> line;
auto tokens = Utils::String::SplitString(line, ',');
if (tokens.size() != 2)
continue;
Blam::Tags::TagInstance::TagNames.emplace(std::make_pair(strtol(tokens.at(0).c_str(), nullptr, 0), tokens.at(1)));
}
tagListFile.close();
}
template <typename T>
inline T *GetDefinition()
{
auto maxTagCount = *MaxTagCountPtr;
if (Index == 0xFFFF || Index >= maxTagCount * 4)
return nullptr;
auto tagTableIndex = (*TagIndexTablePtr)[Index];
if (tagTableIndex == -1 || tagTableIndex >= maxTagCount * 4)
return nullptr;
auto tagHeader = (*TagTablePtr)[tagTableIndex];
if (!tagHeader)
return nullptr;
return reinterpret_cast<T *>(tagHeader + *(uint32_t*)(tagHeader + 0x10));
}
template <typename T>
inline static T *GetDefinition(const std::string &tagName)
{
return TagInstance::Find(T::GroupTag, tagName).GetDefinition<T>();
}
// Gets all valid tag instances
inline static std::vector<TagInstance> GetInstances()
{
auto tagCount = *reinterpret_cast<uint32_t *>(0x22AB008);
std::vector<TagInstance> result;
for (auto i = 0U; i < tagCount; i++)
{
auto instance = TagInstance(i);
if (instance.GetDefinition<void>() == nullptr)
continue;
result.push_back(instance);
}
return result;
}
// Gets all valid tag instances within the specified tag group
inline static std::vector<TagInstance> GetInstancesInGroup(const Tag groupTag)
{
auto tagCount = *reinterpret_cast<uint32_t *>(0x22AB008);
std::vector<TagInstance> result;
for (auto i = 0U; i < tagCount; i++)
{
auto instance = TagInstance(i);
if (!IsLoaded(groupTag, instance.Index))
continue;
if (instance.GetDefinition<void>() == nullptr)
continue;
if (instance.GetGroupTag() != groupTag)
continue;
result.push_back(instance);
}
return result;
}
// Returns true if the tag of the provided group and index is loaded
inline static bool IsLoaded(Tag groupTag, uint32_t index)
{
TagInstance instance(index);
return instance.GetDefinition<void>() && instance.GetGroupTag() == groupTag;
}
inline static TagInstance Find(const Tag groupTag, const std::string &tagName)
{
for (auto &entry : TagNames)
{
if (tagName != entry.second)
continue;
auto result = TagInstance(entry.first);
if (result.GetGroupTag() == groupTag)
return result;
}
return TagInstance(0xFFFF);
}
inline static const std::string GetTagName(uint32_t index) {
for (auto &entry : TagNames)
{
if (index == entry.first)
return entry.second;
}
return std::string("None");
}
};
}
| [
"noshotz@protonmail.com"
] | noshotz@protonmail.com |
023b32ff7682fb2ff503ae13d1b920faba3a1bba | d0985731c45024388a2d8938a9e8a52dc7f985f3 | /dep/acelite/ace/SOCK_Dgram_Bcast.cpp | 57228d8085ee8e88bcec07e7c2993145d048be53 | [] | no_license | Naios/MythCore | 1ac1096ad8afefdf743ed206e10c2432f7f57bed | 38acab976959eed1167b6b4438ce7c7075156dd8 | refs/heads/master | 2023-08-24T08:26:26.657783 | 2012-06-07T05:24:00 | 2012-06-07T05:24:00 | 4,604,578 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 11,065 | cpp | // $Id: SOCK_Dgram_Bcast.cpp 91685 2010-09-09 09:35:14Z johnnyw $
#include "ace/SOCK_Dgram_Bcast.h"
#include "ace/Log_Msg.h"
#include "ace/ACE.h"
#include "ace/OS_NS_string.h"
#include "ace/os_include/net/os_if.h"
#include "ace/OS_NS_netdb.h"
#include "ace/OS_Memory.h"
#if !defined (__ACE_INLINE__)
#include "ace/SOCK_Dgram_Bcast.inl"
#endif /* __ACE_INLINE__ */
ACE_BEGIN_VERSIONED_NAMESPACE_DECL
ACE_ALLOC_HOOK_DEFINE(ACE_SOCK_Dgram_Bcast)
ACE_Bcast_Node::ACE_Bcast_Node (ACE_INET_Addr &addr,
ACE_Bcast_Node *next)
: bcast_addr_ (addr),
next_ (next)
{
ACE_TRACE ("ACE_Bcast_Node::ACE_Bcast_Node");
}
void
ACE_SOCK_Dgram_Bcast::dump (void) const
{
#if defined (ACE_HAS_DUMP)
ACE_TRACE ("ACE_SOCK_Dgram_Bcast::dump");
#endif /* ACE_HAS_DUMP */
}
// Close up and release resources.
int
ACE_SOCK_Dgram_Bcast::close (void)
{
ACE_TRACE ("ACE_SOCK_Dgram_Bcast::close");
ACE_Bcast_Node *temp = this->if_list_;
this->if_list_ = 0;
// Release the dynamically allocated memory.
while(temp != 0)
{
ACE_Bcast_Node *hold = temp->next_;
delete temp;
temp = hold;
}
// Shut down the descriptor.
return ACE_SOCK::close ();
}
// Here's the simple-minded constructor.
ACE_SOCK_Dgram_Bcast::ACE_SOCK_Dgram_Bcast (void)
: if_list_ (0)
{
ACE_TRACE ("ACE_SOCK_Dgram_Bcast::ACE_SOCK_Dgram_Bcast");
}
// Here's the general-purpose constructor used by a connectionless
// datagram ``server''...
ACE_SOCK_Dgram_Bcast::ACE_SOCK_Dgram_Bcast (const ACE_Addr &local,
int protocol_family,
int protocol,
int reuse_addr,
const ACE_TCHAR *host_name)
: ACE_SOCK_Dgram (local, protocol_family, protocol, reuse_addr),
if_list_ (0)
{
ACE_TRACE ("ACE_SOCK_Dgram_Bcast::ACE_SOCK_Dgram_Bcast");
if(this->mk_broadcast (host_name) == -1)
ACE_ERROR ((LM_ERROR,
ACE_TEXT ("%p\n"),
ACE_TEXT ("ACE_SOCK_Dgram_Bcast")));
}
// Here's the general-purpose open routine.
int
ACE_SOCK_Dgram_Bcast::open (const ACE_Addr &local,
int protocol_family,
int protocol,
int reuse_addr,
const ACE_TCHAR *host_name)
{
ACE_TRACE ("ACE_SOCK_Dgram_Bcast::open");
if(this->ACE_SOCK_Dgram::open (local, protocol_family,
protocol, reuse_addr) == -1)
return -1;
return this->mk_broadcast (host_name);
}
// Make broadcast available for Datagram socket.
int
ACE_SOCK_Dgram_Bcast::mk_broadcast (const ACE_TCHAR *host_name)
{
ACE_TRACE ("ACE_SOCK_Dgram_Bcast::mk_broadcast");
int one = 1;
if(ACE_OS::setsockopt (this->get_handle (),
SOL_SOCKET,
SO_BROADCAST,
(char *) &one,
sizeof one) == -1)
ACE_ERROR_RETURN ((LM_ERROR, ACE_TEXT("%p\n"),
ACE_TEXT("ACE_SOCK_Dgram_Bcast::mk_broadcast: setsockopt failed")),
-1);
#if !defined (ACE_WIN32) && !defined(__INTERIX)
ACE_HANDLE s = this->get_handle ();
char buf[BUFSIZ];
struct ifconf ifc;
ifc.ifc_len = sizeof buf;
ifc.ifc_buf = buf;
// Get interface structure and initialize the addresses using UNIX
// techniques.
if(ACE_OS::ioctl (s,
SIOCGIFCONF,
(char *) &ifc) == -1)
ACE_ERROR_RETURN ((LM_ERROR, ACE_TEXT("%p\n"),
ACE_TEXT("ACE_SOCK_Dgram_Bcast::mk_broadcast: ioctl (get interface configuration)")),
ACE_INVALID_HANDLE);
struct ifreq *ifr = ifc.ifc_req;
struct sockaddr_in host_addr;
// Get host ip address
if(host_name)
{
hostent *hp = ACE_OS::gethostbyname (ACE_TEXT_ALWAYS_CHAR (host_name));
if(hp == 0)
return -1;
else
ACE_OS::memcpy ((char *) &host_addr.sin_addr.s_addr,
(char *) hp->h_addr,
hp->h_length);
}
#if !defined(AIX) && !defined (__QNX__) && !defined (__FreeBSD__) && !defined(__NetBSD__) && !defined (ACE_VXWORKS) && !defined(__APPLE__)
for(int n = ifc.ifc_len / sizeof (struct ifreq) ; n > 0;
n--, ifr++)
#else
/*
There are addresses longer than sizeof (struct sockaddr) eg. IPv6
or QNX::links. In this case address does not fit into struct ifreq.
The code below could be applied everywhere, but not every system
provides sockaddr.sa_len field.
*/
for(int nbytes = ifc.ifc_len; nbytes >= (int) sizeof (struct ifreq) &&
((ifr->ifr_addr.sa_len > sizeof (struct sockaddr)) ?
(nbytes >= (int) sizeof (ifr->ifr_name) + ifr->ifr_addr.sa_len) : 1);
((ifr->ifr_addr.sa_len > sizeof (struct sockaddr)) ?
(nbytes -= sizeof (ifr->ifr_name) + ifr->ifr_addr.sa_len,
ifr = (struct ifreq *)
((caddr_t) &ifr->ifr_addr + ifr->ifr_addr.sa_len)) :
(nbytes -= sizeof (struct ifreq), ifr++)))
#endif /* !defined(AIX) && !defined (__QNX__) && !defined (__FreeBSD__) && !defined(__NetBSD__) && !defined (ACE_VXWORKS) && !defined(__APPLE__) */
{
#if defined (__QNX__) || defined (ACE_VXWORKS)
// Silently skip link interfaces
if(ifr->ifr_addr.sa_family == AF_LINK)
continue;
#endif /* __QNX__ */
// Compare host ip address with interface ip address.
if(host_name)
{
struct sockaddr_in if_addr;
ACE_OS::memcpy (&if_addr,
&ifr->ifr_addr,
sizeof if_addr);
if(host_addr.sin_addr.s_addr != if_addr.sin_addr.s_addr)
continue;
}
if(ifr->ifr_addr.sa_family != AF_INET)
{
// Note that some systems seem to generate 0 (AF_UNDEF) for
// the sa_family, even when there are no errors! Thus, we
// only print an error if this is not the case, or if we're
// in "debugging" mode.
if(ifr->ifr_addr.sa_family != 0
|| ACE::debug ())
ACE_DEBUG ((LM_DEBUG,
ACE_TEXT("warning %p: sa_family: %d\n"),
ACE_TEXT("ACE_SOCK_Dgram_Bcast::mk_broadcast: Not AF_INET"),
ifr->ifr_addr.sa_family));
continue;
}
struct ifreq flags = *ifr;
struct ifreq if_req = *ifr;
if(ACE_OS::ioctl (s,
SIOCGIFFLAGS,
(char *) &flags) == -1)
{
ACE_ERROR ((LM_ERROR, ACE_TEXT("%p [%s]\n"),
ACE_TEXT("ACE_SOCK_Dgram_Bcast::mk_broadcast: ioctl (get interface flags)"),
flags.ifr_name));
continue;
}
if(ACE_BIT_ENABLED (flags.ifr_flags,
IFF_UP) == 0)
{
ACE_ERROR ((LM_ERROR, ACE_TEXT("%p [%s]\n"),
ACE_TEXT("ACE_SOCK_Dgram_Bcast::mk_broadcast: Network interface is not up"),
flags.ifr_name));
continue;
}
if(ACE_BIT_ENABLED (flags.ifr_flags,
IFF_LOOPBACK))
continue;
if(ACE_BIT_ENABLED (flags.ifr_flags,
IFF_BROADCAST))
{
if(ACE_OS::ioctl (s,
SIOCGIFBRDADDR,
(char *) &if_req) == -1)
ACE_ERROR ((LM_ERROR, ACE_TEXT("%p [%s]\n"),
ACE_TEXT("ACE_SOCK_Dgram_Bcast::mk_broadcast: ioctl (get broadaddr)"),
flags.ifr_name));
else
{
ACE_INET_Addr addr (reinterpret_cast <sockaddr_in *>
(&if_req.ifr_broadaddr),
sizeof if_req.ifr_broadaddr);
ACE_NEW_RETURN (this->if_list_,
ACE_Bcast_Node (addr,
this->if_list_),
-1);
}
}
else
{
if(host_name != 0)
ACE_ERROR ((LM_ERROR, ACE_TEXT("%p [%s]\n"),
ACE_TEXT("ACE_SOCK_Dgram_Bcast::mk_broadcast: Broadcast is not enable for this interface."),
flags.ifr_name));
}
}
#else
ACE_UNUSED_ARG (host_name);
ACE_INET_Addr addr (u_short (0),
ACE_UINT32 (INADDR_BROADCAST));
ACE_NEW_RETURN (this->if_list_,
ACE_Bcast_Node (addr,
this->if_list_),
-1);
#endif /* !ACE_WIN32 && !__INTERIX */
if(this->if_list_ == 0)
{
errno = ENXIO;
return -1;
}
else
return 0;
}
// Broadcast the datagram to every interface. Returns the average
// number of bytes sent.
ssize_t
ACE_SOCK_Dgram_Bcast::send (const void *buf,
size_t n,
u_short port_number,
int flags) const
{
ACE_TRACE ("ACE_SOCK_Dgram_Bcast::send");
ssize_t iterations = 0;
ssize_t total_bytes = 0;
if(this->if_list_ == 0)
return -1;
for(ACE_Bcast_Node *temp = this->if_list_;
temp != 0;
temp = temp->next_)
{
temp->bcast_addr_.set_port_number (port_number);
ssize_t bytes_sent = ACE_SOCK_Dgram::send (buf,
n,
temp->bcast_addr_,
flags);
if(bytes_sent == -1)
return -1;
else
total_bytes += bytes_sent;
iterations++;
}
return iterations == 0 ? 0 : total_bytes / iterations;
}
#if defined (ACE_HAS_MSG)
// Broadcast datagram to every interfaces.
ssize_t
ACE_SOCK_Dgram_Bcast::send (const iovec iov[],
int n,
u_short port_number,
int flags) const
{
ACE_TRACE ("ACE_SOCK_Dgram_Bcast::send");
if(this->if_list_ == 0)
return -1;
// Send the message to every interface.
for(ACE_Bcast_Node *temp = this->if_list_;
temp != 0;
temp = temp->next_)
{
temp->bcast_addr_.set_port_number (port_number);
if(ACE_SOCK_Dgram::send (iov,
n,
temp->bcast_addr_,
flags) == -1)
return -1;
}
return 0;
}
// Broadcast an iovec of size N to ADDR as a datagram (note that addr
// must be preassigned to the broadcast address of the subnet...).
ssize_t
ACE_SOCK_Dgram_Bcast::send (const iovec iov[],
int n,
const ACE_Addr &addr,
int flags) const
{
ACE_TRACE ("ACE_SOCK_Dgram_Bcast::send");
return ACE_SOCK_Dgram::send (iov, n, addr, flags);
}
#endif /* ACE_HAS_MSG */
ACE_END_VERSIONED_NAMESPACE_DECL
| [
"taumer943@gmail.com"
] | taumer943@gmail.com |
859f6a6006d8cb1094e7c93841a069966e69572b | fc1a35d05497f7d9fee41850379dfd526635bc9a | /OI/纪中刘远哲/2015/12.5/1028.cpp | b4a7a0fdd1083c9e42eaa3064acba34e985e1db9 | [] | no_license | lyz05/Sources | addf71b9f40bb52233f12e84e2f7bdbb4d3db9a7 | 20939b1aca08af49498f56468af025aaf7a18594 | refs/heads/master | 2023-04-30T15:14:09.157298 | 2022-04-24T05:06:24 | 2022-04-24T05:06:24 | 52,012,937 | 5 | 0 | null | 2023-04-21T20:45:23 | 2016-02-18T14:27:04 | HTML | UTF-8 | C++ | false | false | 1,415 | cpp | #include <cstdio>
#include <algorithm>
#include <cstring>
#include <cmath>
#include <queue>
using namespace std;
const int N = 105, D = 105,dir[][2]={{1,0},{-1,0},{0,1},{0,-1}};
int n,m,d;
int map[N][N],vis[N][N][D];
struct node
{
int x,y,step,remain;
node(int a,int b,int c,int d)
{x = a,y = b,step = c,remain = d;}
};
bool judge(int x,int y)
{
return x>0 && y>0 && x<=n && y<=m;
}
void bfs()
{
memset(vis,0,sizeof vis);
queue <node> buffer;
buffer.push(node(1,1,0,d));
vis[1][1][d] = 1;
while (!buffer.empty())
{
node tmp = buffer.front();
buffer.pop();
if (tmp.x==n && tmp.y==m)
{
printf("%d\n",tmp.step);
return;
}
int tx,ty,s = tmp.step+1,r = tmp.remain;
for (int i=0;i<4;i ++)
{
tx = tmp.x + dir[i][0];
ty = tmp.y + dir[i][1];
if (judge(tx,ty) && !vis[tx][ty][r] && map[tx][ty])
{
buffer.push(node(tx,ty,s,r));
vis[tx][ty][r] = 1;
}
for (int j=2;j<=r;j ++)
{
tx += dir[i][0],ty += dir[i][1];
if (judge(tx,ty) && !vis[tx][ty][r-j] && map[tx][ty])
{
buffer.push(node(tx,ty,s,r-j));
vis[tx][ty][r-j] = 1;
}
}
}
}
printf("impossible\n");
}
int main()
{
//freopen("1028.in","r",stdin);
//freopen(".out","w",stdout);
scanf("%d%d%d\n",&n,&m,&d);
for (int i=1;i<=n;i ++)
{
for (int j=1;j<=m;j ++)
{
char ch;
scanf("%c",&ch);
if (ch=='P') map[i][j] = 1;
}
scanf("\n");
}
bfs();
return 0;
}
| [
"liuyuanzhe0515@gmail.com"
] | liuyuanzhe0515@gmail.com |
699843bb2bc89aa7875892901fc4d02b827fe0b1 | 461530fafbeb079f6e5cca56eeaada0bdc07c6cb | /acwing/1492.cpp | 095e667e9b8ef529613189cb39292745608db2d3 | [
"Apache-2.0"
] | permissive | Richard-coder-Nai/OJ | f9b9db5714fbd7249b9b23095be25a8cd52f8d1c | 55221a55515231182b6bd133edbdb55501a565fc | refs/heads/master | 2022-10-23T21:40:50.999709 | 2020-06-07T12:13:00 | 2020-06-07T12:13:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 651 | cpp | #include<iostream>
#include<vector>
#include<algorithm>
using namespace std;
int n, d;
bool isPrime(int x){
if(x==2) return true;
if(x<2) return false;
bool flag = true;
for(int i=2; i<=x/i && flag; i++){
if(x%i==0) {
flag = false;
}
}
return flag;
}
bool isRe(int x, int d){
vector<int> table;
while(x){
table.push_back(x%d);
x = x/d;
}
int n = table.size();
x = 0;
for(int i=0; i<n; i++){
x = x*d;
x += table[i];
}
return isPrime(x);
}
int main(void){
while(true){
cin>>n;
if(n<0) {
break;
}
cin>>d;
bool flag = isPrime(n) && isRe(n, d);
if(flag) cout<<"Yes"<<endl;
else cout<<"No"<<endl;
}
}
| [
"zyziszy@foxmail.com"
] | zyziszy@foxmail.com |
9dccf1d5b79f2d43849acb2b9baa879f427acf35 | eeaf139b93150d6be75e02561939b20346b21861 | /srcs/boxpp/boxpp/cli/TTY.hpp | 4ac4c0fc09df35df79f8a11f4c07f418440f1bcb | [
"MIT"
] | permissive | whoamiho1006/boxpp | b8c44dbc20cad5345eb7fdb48fc6d84e0290da2e | 5de2c5f9b2303ac6f539192f6407e9acf9144f8b | refs/heads/master | 2021-07-24T08:15:05.014984 | 2020-10-04T03:35:01 | 2020-10-04T03:35:01 | 221,234,644 | 2 | 0 | MIT | 2019-11-25T09:58:46 | 2019-11-12T14:16:19 | C | UTF-8 | C++ | false | false | 5,712 | hpp | #pragma once
#include <boxpp/base/BaseMacros.hpp>
#include <boxpp/base/BaseTypes.hpp>
#include <boxpp/base/tpls/strings/String.hpp>
#include <boxpp/cli/TTYColor.hpp>
#include <boxpp/cli/ControlCharacter.hpp>
namespace boxpp
{
namespace cli
{
template<bool bFg = true>
struct TTYColorMonoInput
{
FASTINLINE TTYColorMonoInput(const FTTYColor& Val)
: Color(Val)
{
}
FASTINLINE TTYColorMonoInput(FTTYColor&& Val)
: Color(Forward<FTTYColor>(Val))
{
}
FTTYColor Color;
};
struct TTYColorStereoInput
{
FASTINLINE TTYColorStereoInput(const FTTYColor& Fore, const FTTYColor& Back)
: Fore(Fore), Back(Back)
{
}
FTTYColor Fore;
FTTYColor Back;
};
struct TTYCoord {
FASTINLINE TTYCoord(u16 X, u16 Y)
: X(X), Y(Y)
{
}
u16 X, Y;
};
/*
TTY Device.
Usage:
FTTY ttyOut = FTTY::Output;
ttyOut << "TEXT" << EOL;
...
*/
class BOXPP FTTY
{
public:
struct TTYType { s8 _; };
public:
static constexpr TTYType Null = { 0 };
static constexpr TTYType Output = { 1 };
static constexpr TTYType Error = { 2 };
public:
FTTY(const TTYType& Type = Output);
FTTY(FILE* fIn, FILE* fOut);
/* FTTY object will not close inner streams, so use default. */
FTTY(const FTTY& Other) = default;
FTTY(FTTY&& Other) = default;
public:
FASTINLINE ~FTTY() { }
public:
bool IsLive();
public:
FTTY& operator =(const FTTY&) = default;
FTTY& operator =(FTTY&&) = default;
private:
FILE* fInput;
FILE* fOutput;
FTTYColor Foreground;
FTTYColor Background;
bool bEcho;
public:
FTTY& operator <<(const ansi_t* InString);
FTTY& operator <<(const wide_t* InString);
FASTINLINE FTTY& operator <<(const FAnsiString& InString) {
if (InString) {
return *this << InString.GetRaw();
}
return *this;
}
FASTINLINE FTTY& operator <<(const FWideString& InString) {
if (InString) {
return *this << InString.GetRaw();
}
return *this;
}
// inline constant trap back.
FASTINLINE FTTY& operator <<(s64&& Integer) {
char_t Buffer[32] = { 0, };
TNativeString<char_t>::Ltoa(Integer, Buffer);
return *this << Buffer;
}
// inline constant trap back.
FASTINLINE FTTY& operator <<(const f64& Number) {
char_t Buffer[48] = { 0, };
TNativeString<char_t>::Dtostr(Number, Buffer, 48);
return *this << Buffer;
}
// inline constant trap back.
FASTINLINE FTTY& operator <<(const f32& Number) {
char_t Buffer[48] = { 0, };
TNativeString<char_t>::Ftostr(Number, Buffer, 48);
return *this << Buffer;
}
/*
Integer to String.
Conversion buffer size: 2: 8, 4: 16, 8: 32
unsigned signed
16: 0 ~ 65536 -32767 ~ 32768
32: 0 ~ 4294967296 -2147483647 ~ 2147483648
64: 0 ~ 18446744073709551614 -9223372036854775806 ~ 9223372036854775807
*/
#define BOXPP_TTY_INTEGER_OUTPUT_OPERATOR___SIGNED(Type) \
FASTINLINE FTTY& operator <<(const Type& Integer) { \
char_t Buffer[sizeof(Type) * 4] = { 0, }; \
TNativeString<char_t>::Ltoa(Integer, Buffer); \
return *this << Buffer; \
}
#define BOXPP_TTY_INTEGER_OUTPUT_OPERATOR_UNSIGNED(Type) \
FASTINLINE FTTY& operator <<(const Type& Integer) { \
char_t Buffer[sizeof(Type) * 4] = { 0, }; \
TNativeString<char_t>::Ultoa(Integer, Buffer); \
return *this << Buffer; \
}
// s8 and u8 cannot be supported because of ansi_t.
BOXPP_TTY_INTEGER_OUTPUT_OPERATOR___SIGNED(s64)
BOXPP_TTY_INTEGER_OUTPUT_OPERATOR___SIGNED(s32)
BOXPP_TTY_INTEGER_OUTPUT_OPERATOR___SIGNED(s16)
BOXPP_TTY_INTEGER_OUTPUT_OPERATOR_UNSIGNED(u64)
BOXPP_TTY_INTEGER_OUTPUT_OPERATOR_UNSIGNED(u32)
BOXPP_TTY_INTEGER_OUTPUT_OPERATOR_UNSIGNED(u16)
#undef BOXPP_TTY_INTEGER_OUTPUT_OPERATOR___SIGNED
#undef BOXPP_TTY_INTEGER_OUTPUT_OPERATOR_UNSIGNED
private:
FTTY& SetForeground(const FTTYColor& Color) { Foreground = Color; return *this; }
FTTY& SetBackground(const FTTYColor& Color) { Background = Color; return *this; }
public:
FASTINLINE FTTY& operator <<(const FTTYColor& Color) { return SetForeground(Color); }
FASTINLINE FTTY& operator <<(const TTYColorMonoInput<true>& Color) { return SetForeground(Color.Color); }
FASTINLINE FTTY& operator <<(const TTYColorMonoInput<false>& Color) { return SetBackground(Color.Color); }
FASTINLINE FTTY& operator <<(const TTYColorStereoInput& Color) {
return SetForeground(Color.Fore).SetBackground(Color.Back);
}
public:
FTTY& operator <<(FControlCharacter&& InCharacter);
FTTY& operator <<(const TTYCoord& Coord);
FASTINLINE FTTY& operator <<(const FControlCharacter& InCharacter) {
FControlCharacter Off = InCharacter;
return (*this << Forward<FControlCharacter>(Off));
}
public:
FTTY& operator >>(ansi_t& OutChar);
FTTY& operator >>(wide_t& OutChar);
FTTY& operator >>(FAnsiString& OutString);
FTTY& operator >>(FWideString& OutString);
FTTY& operator >>(s64& OutInt64);
FTTY& operator >>(s32& OutInt32);
FTTY& operator >>(s16& OutInt16);
};
/* Set foreground color. */
FASTINLINE TTYColorMonoInput<true> Fore(const FTTYColor& Color) { return Color; }
FASTINLINE TTYColorMonoInput<true> Fore(FTTYColor&& Color) { return Forward<FTTYColor>(Color); }
FASTINLINE TTYColorMonoInput<false> Back(const FTTYColor& Color) { return Color; }
FASTINLINE TTYColorMonoInput<false> Back(FTTYColor&& Color) { return Forward<FTTYColor>(Color); }
FASTINLINE TTYColorStereoInput Color(const FTTYColor& Fore, const FTTYColor& Back) {
return TTYColorStereoInput(Fore, Back);
}
FASTINLINE TTYCoord Goto(u16 X, u16 Y) { return TTYCoord(X, Y); }
}
} | [
"33371449+jay94ks@users.noreply.github.com"
] | 33371449+jay94ks@users.noreply.github.com |
ae355280c8ee610e2167d3ccb6876de50bedbef8 | 4b1acbc3dc0acfcdd81790e859d3ebcd4eea4c23 | /test/map_reader.hpp | bd198840223f34e36f9d95d34486d77e4aa4086b | [
"BSD-3-Clause"
] | permissive | bcoltin/jps3d | 04946e01449c983edb6f478823612607c3069c93 | 85e6b22171478684119a119c45dbf6b42653d828 | refs/heads/master | 2021-01-02T09:36:49.016759 | 2020-05-18T23:33:26 | 2020-05-18T23:33:26 | 99,263,278 | 0 | 2 | BSD-3-Clause | 2020-05-18T23:33:27 | 2017-08-03T18:28:37 | C++ | UTF-8 | C++ | false | false | 1,823 | hpp | #include <yaml-cpp/yaml.h>
#include <iostream>
#include <fstream>
template <class Ti, class Tf>
class MapReader {
public:
MapReader(const std::string& file, bool verbose = false) {
try {
YAML::Node config = YAML::LoadFile(file);
if(!config[0]["origin"] || !config[1]["dim"] || !config[2]["resolution"] || !config[3]["data"]) {
printf("Check input format!\n" );
return;
}
const std::vector<double>& origin_vec = config[0]["origin"].as<std::vector<double>>();
for(unsigned int i = 0; i < origin_vec.size(); i++)
origin_(i) = origin_vec[i];
if(verbose)
std::cout << "origin: " << origin_.transpose() << std::endl;
const std::vector<int>& dim_vec = config[1]["dim"].as<std::vector<int>>();
for(unsigned int i = 0; i < dim_vec.size(); i++)
dim_(i) = dim_vec[i];
if(verbose)
std::cout << "dim: " << dim_.transpose() << std::endl;
resolution_ = config[2]["resolution"].as<double>();
if(verbose)
std::cout << "resolution: " << resolution_ << std::endl;
const std::vector<int>& data = config[3]["data"].as<std::vector<int>>();
data_.resize(data.size());
for(unsigned int i = 0; i < data.size(); i++)
data_[i] = data[i] > 0 ? 1 : 0;
exist_ = true;
} catch (YAML::ParserException& e) {
//std::cout << e.what() << "\n";
exist_ = false;
}
}
bool exist() { return exist_; }
Tf origin() { return origin_; }
Ti dim() { return dim_; }
double resolution() { return resolution_; }
std::vector<signed char> data() { return data_; }
private:
Tf origin_;
Ti dim_;
double resolution_;
std::vector<signed char> data_;
bool exist_ = false;
};
| [
"lskwdlskwd@gmail.com"
] | lskwdlskwd@gmail.com |
8a495081eba2cff16d37a491aa23a0e9daebb09c | 22cd0d145cbe925d0fbac8c085a735e9037051e1 | /board.h | c285bd1f66dd70ad8c9caeb26b9921b751fddabf | [
"MIT"
] | permissive | ktsiam/GoodKnight | 8c733a1510045a45632f51cfc61486ddcd8ba569 | 098c78a386da95f23ccbb97ecebed3b7fddf49c7 | refs/heads/master | 2018-12-18T15:28:44.279674 | 2018-10-06T17:18:59 | 2018-10-06T17:18:59 | 110,161,700 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 550 | h | #ifndef BOARD_H_
#define BOARD_H_
#include "basic.h"
#include "move.h"
#include "state.h"
#include <vector>
#include <stack>
class Board : protected State {
public:
Board();
~Board() = default;
virtual bool front_move(const Move mv) = 0;
virtual void back_move () = 0;
virtual void init_moves(bool quick) = 0;
virtual Score evaluate() = 0;
std::vector<Move> move_vec;
protected:
std::stack<Move> history;
};
#endif // BOARD_H_
| [
"ktsiampouris@gmail.com"
] | ktsiampouris@gmail.com |
2c4433dc21ad2e3ca2913bc022128835efc0f315 | 09ddd2df75bce4df9e413d3c8fdfddb7c69032b4 | /src/PageDesigner/PageDesigner.h | 26c93d3512c77ea70488645bf165f1906a58f958 | [] | no_license | sigurdle/FirstProject2 | be22e4824da8cd2cb5047762478050a04a4ac63b | dee78c62a1b95e55fcdf3bf2a9bc79c69705bf94 | refs/heads/master | 2021-01-16T18:45:41.042140 | 2020-08-18T16:57:13 | 2020-08-18T16:57:13 | 3,554,336 | 6 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 954,997 | h | /* this ALWAYS GENERATED file contains the definitions for the interfaces */
/* File created by MIDL compiler version 5.01.0164 */
/* at Fri Mar 07 14:21:52 2003
*/
/* Compiler settings for C:\MMStudio\Extras\PageDesigner\PageDesigner.idl:
Oicf (OptLev=i2), W1, Zp8, env=Win32, ms_ext, c_ext
error checks: allocation ref bounds_check enum stub_data
*/
//@@MIDL_FILE_HEADING( )
/* verify that the <rpcndr.h> version is high enough to compile this file*/
#ifndef __REQUIRED_RPCNDR_H_VERSION__
#define __REQUIRED_RPCNDR_H_VERSION__ 440
#endif
#include "rpc.h"
#include "rpcndr.h"
#ifndef __PageDesigner_h__
#define __PageDesigner_h__
#ifdef __cplusplus
extern "C"{
#endif
/* Forward Declarations */
#ifndef __IPDUnknown_FWD_DEFINED__
#define __IPDUnknown_FWD_DEFINED__
typedef interface IPDUnknown IPDUnknown;
#endif /* __IPDUnknown_FWD_DEFINED__ */
#ifndef __IPDObjectUnknown_FWD_DEFINED__
#define __IPDObjectUnknown_FWD_DEFINED__
typedef interface IPDObjectUnknown IPDObjectUnknown;
#endif /* __IPDObjectUnknown_FWD_DEFINED__ */
#ifndef __IPageDesignerFrame_FWD_DEFINED__
#define __IPageDesignerFrame_FWD_DEFINED__
typedef interface IPageDesignerFrame IPageDesignerFrame;
#endif /* __IPageDesignerFrame_FWD_DEFINED__ */
#ifndef __IPDDocumentView_FWD_DEFINED__
#define __IPDDocumentView_FWD_DEFINED__
typedef interface IPDDocumentView IPDDocumentView;
#endif /* __IPDDocumentView_FWD_DEFINED__ */
#ifndef __IPDLayer_FWD_DEFINED__
#define __IPDLayer_FWD_DEFINED__
typedef interface IPDLayer IPDLayer;
#endif /* __IPDLayer_FWD_DEFINED__ */
#ifndef __IPDObject_FWD_DEFINED__
#define __IPDObject_FWD_DEFINED__
typedef interface IPDObject IPDObject;
#endif /* __IPDObject_FWD_DEFINED__ */
#ifndef __IPDSpread_FWD_DEFINED__
#define __IPDSpread_FWD_DEFINED__
typedef interface IPDSpread IPDSpread;
#endif /* __IPDSpread_FWD_DEFINED__ */
#ifndef __IPDSpreadMaster_FWD_DEFINED__
#define __IPDSpreadMaster_FWD_DEFINED__
typedef interface IPDSpreadMaster IPDSpreadMaster;
#endif /* __IPDSpreadMaster_FWD_DEFINED__ */
#ifndef __IPDObjectGroup_FWD_DEFINED__
#define __IPDObjectGroup_FWD_DEFINED__
typedef interface IPDObjectGroup IPDObjectGroup;
#endif /* __IPDObjectGroup_FWD_DEFINED__ */
#ifndef __IPDObjectLayerGroup_FWD_DEFINED__
#define __IPDObjectLayerGroup_FWD_DEFINED__
typedef interface IPDObjectLayerGroup IPDObjectLayerGroup;
#endif /* __IPDObjectLayerGroup_FWD_DEFINED__ */
#ifndef __IPDObjectFrame_FWD_DEFINED__
#define __IPDObjectFrame_FWD_DEFINED__
typedef interface IPDObjectFrame IPDObjectFrame;
#endif /* __IPDObjectFrame_FWD_DEFINED__ */
#ifndef __IPDObjectText_FWD_DEFINED__
#define __IPDObjectText_FWD_DEFINED__
typedef interface IPDObjectText IPDObjectText;
#endif /* __IPDObjectText_FWD_DEFINED__ */
#ifndef __IPDContentText_FWD_DEFINED__
#define __IPDContentText_FWD_DEFINED__
typedef interface IPDContentText IPDContentText;
#endif /* __IPDContentText_FWD_DEFINED__ */
#ifndef __IPDContentGraphic_FWD_DEFINED__
#define __IPDContentGraphic_FWD_DEFINED__
typedef interface IPDContentGraphic IPDContentGraphic;
#endif /* __IPDContentGraphic_FWD_DEFINED__ */
#ifndef __IPDPathText_FWD_DEFINED__
#define __IPDPathText_FWD_DEFINED__
typedef interface IPDPathText IPDPathText;
#endif /* __IPDPathText_FWD_DEFINED__ */
#ifndef __IPDImage_FWD_DEFINED__
#define __IPDImage_FWD_DEFINED__
typedef interface IPDImage IPDImage;
#endif /* __IPDImage_FWD_DEFINED__ */
#ifndef __IPDMatrix_FWD_DEFINED__
#define __IPDMatrix_FWD_DEFINED__
typedef interface IPDMatrix IPDMatrix;
#endif /* __IPDMatrix_FWD_DEFINED__ */
#ifndef __IPDGuide_FWD_DEFINED__
#define __IPDGuide_FWD_DEFINED__
typedef interface IPDGuide IPDGuide;
#endif /* __IPDGuide_FWD_DEFINED__ */
#ifndef __IPDGuides_FWD_DEFINED__
#define __IPDGuides_FWD_DEFINED__
typedef interface IPDGuides IPDGuides;
#endif /* __IPDGuides_FWD_DEFINED__ */
#ifndef __IPDSwatch_FWD_DEFINED__
#define __IPDSwatch_FWD_DEFINED__
typedef interface IPDSwatch IPDSwatch;
#endif /* __IPDSwatch_FWD_DEFINED__ */
#ifndef __IPDSwatchColor_FWD_DEFINED__
#define __IPDSwatchColor_FWD_DEFINED__
typedef interface IPDSwatchColor IPDSwatchColor;
#endif /* __IPDSwatchColor_FWD_DEFINED__ */
#ifndef __IPDSwatchTint_FWD_DEFINED__
#define __IPDSwatchTint_FWD_DEFINED__
typedef interface IPDSwatchTint IPDSwatchTint;
#endif /* __IPDSwatchTint_FWD_DEFINED__ */
#ifndef __IPDSwatchGradient_FWD_DEFINED__
#define __IPDSwatchGradient_FWD_DEFINED__
typedef interface IPDSwatchGradient IPDSwatchGradient;
#endif /* __IPDSwatchGradient_FWD_DEFINED__ */
#ifndef __IPDSwatchPattern_FWD_DEFINED__
#define __IPDSwatchPattern_FWD_DEFINED__
typedef interface IPDSwatchPattern IPDSwatchPattern;
#endif /* __IPDSwatchPattern_FWD_DEFINED__ */
#ifndef __IPDSwatches_FWD_DEFINED__
#define __IPDSwatches_FWD_DEFINED__
typedef interface IPDSwatches IPDSwatches;
#endif /* __IPDSwatches_FWD_DEFINED__ */
#ifndef __IPDGradient_FWD_DEFINED__
#define __IPDGradient_FWD_DEFINED__
typedef interface IPDGradient IPDGradient;
#endif /* __IPDGradient_FWD_DEFINED__ */
#ifndef __IPDGradientStop_FWD_DEFINED__
#define __IPDGradientStop_FWD_DEFINED__
typedef interface IPDGradientStop IPDGradientStop;
#endif /* __IPDGradientStop_FWD_DEFINED__ */
#ifndef __IPDBrush_FWD_DEFINED__
#define __IPDBrush_FWD_DEFINED__
typedef interface IPDBrush IPDBrush;
#endif /* __IPDBrush_FWD_DEFINED__ */
#ifndef __IPDObjectWithBrush_FWD_DEFINED__
#define __IPDObjectWithBrush_FWD_DEFINED__
typedef interface IPDObjectWithBrush IPDObjectWithBrush;
#endif /* __IPDObjectWithBrush_FWD_DEFINED__ */
#ifndef __IPDObjectStroke_FWD_DEFINED__
#define __IPDObjectStroke_FWD_DEFINED__
typedef interface IPDObjectStroke IPDObjectStroke;
#endif /* __IPDObjectStroke_FWD_DEFINED__ */
#ifndef __IPDObjectFill_FWD_DEFINED__
#define __IPDObjectFill_FWD_DEFINED__
typedef interface IPDObjectFill IPDObjectFill;
#endif /* __IPDObjectFill_FWD_DEFINED__ */
#ifndef __IPDStory_FWD_DEFINED__
#define __IPDStory_FWD_DEFINED__
typedef interface IPDStory IPDStory;
#endif /* __IPDStory_FWD_DEFINED__ */
#ifndef __IPDObjectWithChildren_FWD_DEFINED__
#define __IPDObjectWithChildren_FWD_DEFINED__
typedef interface IPDObjectWithChildren IPDObjectWithChildren;
#endif /* __IPDObjectWithChildren_FWD_DEFINED__ */
#ifndef __IPDAppearance_FWD_DEFINED__
#define __IPDAppearance_FWD_DEFINED__
typedef interface IPDAppearance IPDAppearance;
#endif /* __IPDAppearance_FWD_DEFINED__ */
#ifndef __IPDTextRange_FWD_DEFINED__
#define __IPDTextRange_FWD_DEFINED__
typedef interface IPDTextRange IPDTextRange;
#endif /* __IPDTextRange_FWD_DEFINED__ */
#ifndef __IPDTextFont_FWD_DEFINED__
#define __IPDTextFont_FWD_DEFINED__
typedef interface IPDTextFont IPDTextFont;
#endif /* __IPDTextFont_FWD_DEFINED__ */
#ifndef __IPDTextPara_FWD_DEFINED__
#define __IPDTextPara_FWD_DEFINED__
typedef interface IPDTextPara IPDTextPara;
#endif /* __IPDTextPara_FWD_DEFINED__ */
#ifndef __IPDRenderer_FWD_DEFINED__
#define __IPDRenderer_FWD_DEFINED__
typedef interface IPDRenderer IPDRenderer;
#endif /* __IPDRenderer_FWD_DEFINED__ */
#ifndef __IPDFilterPrimitive_FWD_DEFINED__
#define __IPDFilterPrimitive_FWD_DEFINED__
typedef interface IPDFilterPrimitive IPDFilterPrimitive;
#endif /* __IPDFilterPrimitive_FWD_DEFINED__ */
#ifndef __IPDSymbol_FWD_DEFINED__
#define __IPDSymbol_FWD_DEFINED__
typedef interface IPDSymbol IPDSymbol;
#endif /* __IPDSymbol_FWD_DEFINED__ */
#ifndef __IPDSpreadDocument_FWD_DEFINED__
#define __IPDSpreadDocument_FWD_DEFINED__
typedef interface IPDSpreadDocument IPDSpreadDocument;
#endif /* __IPDSpreadDocument_FWD_DEFINED__ */
#ifndef __IArchive_FWD_DEFINED__
#define __IArchive_FWD_DEFINED__
typedef interface IArchive IArchive;
#endif /* __IArchive_FWD_DEFINED__ */
#ifndef __IArchiveElement_FWD_DEFINED__
#define __IArchiveElement_FWD_DEFINED__
typedef interface IArchiveElement IArchiveElement;
#endif /* __IArchiveElement_FWD_DEFINED__ */
#ifndef __IPageDesignerApp_FWD_DEFINED__
#define __IPageDesignerApp_FWD_DEFINED__
typedef interface IPageDesignerApp IPageDesignerApp;
#endif /* __IPageDesignerApp_FWD_DEFINED__ */
#ifndef __DispIPageDesignerFrame_FWD_DEFINED__
#define __DispIPageDesignerFrame_FWD_DEFINED__
typedef interface DispIPageDesignerFrame DispIPageDesignerFrame;
#endif /* __DispIPageDesignerFrame_FWD_DEFINED__ */
#ifndef __IObjectMap_FWD_DEFINED__
#define __IObjectMap_FWD_DEFINED__
typedef interface IObjectMap IObjectMap;
#endif /* __IObjectMap_FWD_DEFINED__ */
#ifndef __IPDColor_FWD_DEFINED__
#define __IPDColor_FWD_DEFINED__
typedef interface IPDColor IPDColor;
#endif /* __IPDColor_FWD_DEFINED__ */
#ifndef __IPluginFilterClass_FWD_DEFINED__
#define __IPluginFilterClass_FWD_DEFINED__
typedef interface IPluginFilterClass IPluginFilterClass;
#endif /* __IPluginFilterClass_FWD_DEFINED__ */
#ifndef __IPluginFilter_FWD_DEFINED__
#define __IPluginFilter_FWD_DEFINED__
typedef interface IPluginFilter IPluginFilter;
#endif /* __IPluginFilter_FWD_DEFINED__ */
#ifndef __IPDSection_FWD_DEFINED__
#define __IPDSection_FWD_DEFINED__
typedef interface IPDSection IPDSection;
#endif /* __IPDSection_FWD_DEFINED__ */
#ifndef __IPDDocumentSettings_FWD_DEFINED__
#define __IPDDocumentSettings_FWD_DEFINED__
typedef interface IPDDocumentSettings IPDDocumentSettings;
#endif /* __IPDDocumentSettings_FWD_DEFINED__ */
#ifndef __IPDApplicationSettings_FWD_DEFINED__
#define __IPDApplicationSettings_FWD_DEFINED__
typedef interface IPDApplicationSettings IPDApplicationSettings;
#endif /* __IPDApplicationSettings_FWD_DEFINED__ */
#ifndef __IPDBrushSettings_FWD_DEFINED__
#define __IPDBrushSettings_FWD_DEFINED__
typedef interface IPDBrushSettings IPDBrushSettings;
#endif /* __IPDBrushSettings_FWD_DEFINED__ */
#ifndef __IPDDocument_FWD_DEFINED__
#define __IPDDocument_FWD_DEFINED__
typedef interface IPDDocument IPDDocument;
#endif /* __IPDDocument_FWD_DEFINED__ */
#ifndef __IPDTextSelection_FWD_DEFINED__
#define __IPDTextSelection_FWD_DEFINED__
typedef interface IPDTextSelection IPDTextSelection;
#endif /* __IPDTextSelection_FWD_DEFINED__ */
#ifndef __DispIPDDocument_FWD_DEFINED__
#define __DispIPDDocument_FWD_DEFINED__
typedef interface DispIPDDocument DispIPDDocument;
#endif /* __DispIPDDocument_FWD_DEFINED__ */
#ifndef __IPDPage_FWD_DEFINED__
#define __IPDPage_FWD_DEFINED__
typedef interface IPDPage IPDPage;
#endif /* __IPDPage_FWD_DEFINED__ */
#ifndef __IPDSubPath_FWD_DEFINED__
#define __IPDSubPath_FWD_DEFINED__
typedef interface IPDSubPath IPDSubPath;
#endif /* __IPDSubPath_FWD_DEFINED__ */
#ifndef __IPDPath_FWD_DEFINED__
#define __IPDPath_FWD_DEFINED__
typedef interface IPDPath IPDPath;
#endif /* __IPDPath_FWD_DEFINED__ */
#ifndef __IPDObjectLocatable_FWD_DEFINED__
#define __IPDObjectLocatable_FWD_DEFINED__
typedef interface IPDObjectLocatable IPDObjectLocatable;
#endif /* __IPDObjectLocatable_FWD_DEFINED__ */
#ifndef __IPDObjectTransformable_FWD_DEFINED__
#define __IPDObjectTransformable_FWD_DEFINED__
typedef interface IPDObjectTransformable IPDObjectTransformable;
#endif /* __IPDObjectTransformable_FWD_DEFINED__ */
#ifndef __IPDObjectWrappable_FWD_DEFINED__
#define __IPDObjectWrappable_FWD_DEFINED__
typedef interface IPDObjectWrappable IPDObjectWrappable;
#endif /* __IPDObjectWrappable_FWD_DEFINED__ */
#ifndef __IPDObjectWithAppearance_FWD_DEFINED__
#define __IPDObjectWithAppearance_FWD_DEFINED__
typedef interface IPDObjectWithAppearance IPDObjectWithAppearance;
#endif /* __IPDObjectWithAppearance_FWD_DEFINED__ */
#ifndef __IPDObjectWithAppearanceAndStrokeFill_FWD_DEFINED__
#define __IPDObjectWithAppearanceAndStrokeFill_FWD_DEFINED__
typedef interface IPDObjectWithAppearanceAndStrokeFill IPDObjectWithAppearanceAndStrokeFill;
#endif /* __IPDObjectWithAppearanceAndStrokeFill_FWD_DEFINED__ */
#ifndef __IPDObjectWithOpacityMask_FWD_DEFINED__
#define __IPDObjectWithOpacityMask_FWD_DEFINED__
typedef interface IPDObjectWithOpacityMask IPDObjectWithOpacityMask;
#endif /* __IPDObjectWithOpacityMask_FWD_DEFINED__ */
#ifndef __IPDOpacityAndBlendMode_FWD_DEFINED__
#define __IPDOpacityAndBlendMode_FWD_DEFINED__
typedef interface IPDOpacityAndBlendMode IPDOpacityAndBlendMode;
#endif /* __IPDOpacityAndBlendMode_FWD_DEFINED__ */
#ifndef __IPDTextFrameOptions_FWD_DEFINED__
#define __IPDTextFrameOptions_FWD_DEFINED__
typedef interface IPDTextFrameOptions IPDTextFrameOptions;
#endif /* __IPDTextFrameOptions_FWD_DEFINED__ */
#ifndef __IObjectSerializable_FWD_DEFINED__
#define __IObjectSerializable_FWD_DEFINED__
typedef interface IObjectSerializable IObjectSerializable;
#endif /* __IObjectSerializable_FWD_DEFINED__ */
#ifndef __IPagesDlg_FWD_DEFINED__
#define __IPagesDlg_FWD_DEFINED__
typedef interface IPagesDlg IPagesDlg;
#endif /* __IPagesDlg_FWD_DEFINED__ */
#ifndef __ILayersDlg_FWD_DEFINED__
#define __ILayersDlg_FWD_DEFINED__
typedef interface ILayersDlg ILayersDlg;
#endif /* __ILayersDlg_FWD_DEFINED__ */
#ifndef __ITabsDlg_FWD_DEFINED__
#define __ITabsDlg_FWD_DEFINED__
typedef interface ITabsDlg ITabsDlg;
#endif /* __ITabsDlg_FWD_DEFINED__ */
#ifndef __ISwatchLibraryDlg_FWD_DEFINED__
#define __ISwatchLibraryDlg_FWD_DEFINED__
typedef interface ISwatchLibraryDlg ISwatchLibraryDlg;
#endif /* __ISwatchLibraryDlg_FWD_DEFINED__ */
#ifndef __ILinksDlg_FWD_DEFINED__
#define __ILinksDlg_FWD_DEFINED__
typedef interface ILinksDlg ILinksDlg;
#endif /* __ILinksDlg_FWD_DEFINED__ */
#ifndef __ITransparencyDlg_FWD_DEFINED__
#define __ITransparencyDlg_FWD_DEFINED__
typedef interface ITransparencyDlg ITransparencyDlg;
#endif /* __ITransparencyDlg_FWD_DEFINED__ */
#ifndef __IFilterGraphDlg_FWD_DEFINED__
#define __IFilterGraphDlg_FWD_DEFINED__
typedef interface IFilterGraphDlg IFilterGraphDlg;
#endif /* __IFilterGraphDlg_FWD_DEFINED__ */
#ifndef __IFEGaussianBlur_FWD_DEFINED__
#define __IFEGaussianBlur_FWD_DEFINED__
typedef interface IFEGaussianBlur IFEGaussianBlur;
#endif /* __IFEGaussianBlur_FWD_DEFINED__ */
#ifndef __IFEOffset_FWD_DEFINED__
#define __IFEOffset_FWD_DEFINED__
typedef interface IFEOffset IFEOffset;
#endif /* __IFEOffset_FWD_DEFINED__ */
#ifndef __IFEComposite_FWD_DEFINED__
#define __IFEComposite_FWD_DEFINED__
typedef interface IFEComposite IFEComposite;
#endif /* __IFEComposite_FWD_DEFINED__ */
#ifndef __IPluginFiltersDlg_FWD_DEFINED__
#define __IPluginFiltersDlg_FWD_DEFINED__
typedef interface IPluginFiltersDlg IPluginFiltersDlg;
#endif /* __IPluginFiltersDlg_FWD_DEFINED__ */
#ifndef __IStylesDlg_FWD_DEFINED__
#define __IStylesDlg_FWD_DEFINED__
typedef interface IStylesDlg IStylesDlg;
#endif /* __IStylesDlg_FWD_DEFINED__ */
#ifndef __IFEFreeTransform_FWD_DEFINED__
#define __IFEFreeTransform_FWD_DEFINED__
typedef interface IFEFreeTransform IFEFreeTransform;
#endif /* __IFEFreeTransform_FWD_DEFINED__ */
#ifndef __IAppearanceDlg_FWD_DEFINED__
#define __IAppearanceDlg_FWD_DEFINED__
typedef interface IAppearanceDlg IAppearanceDlg;
#endif /* __IAppearanceDlg_FWD_DEFINED__ */
#ifndef __ISymbolsDlg_FWD_DEFINED__
#define __ISymbolsDlg_FWD_DEFINED__
typedef interface ISymbolsDlg ISymbolsDlg;
#endif /* __ISymbolsDlg_FWD_DEFINED__ */
#ifndef __IPDObjectSymbolInstance_FWD_DEFINED__
#define __IPDObjectSymbolInstance_FWD_DEFINED__
typedef interface IPDObjectSymbolInstance IPDObjectSymbolInstance;
#endif /* __IPDObjectSymbolInstance_FWD_DEFINED__ */
#ifndef __IPDObjectSymbolInstanceSet_FWD_DEFINED__
#define __IPDObjectSymbolInstanceSet_FWD_DEFINED__
typedef interface IPDObjectSymbolInstanceSet IPDObjectSymbolInstanceSet;
#endif /* __IPDObjectSymbolInstanceSet_FWD_DEFINED__ */
#ifndef __IPDStrokeSettings_FWD_DEFINED__
#define __IPDStrokeSettings_FWD_DEFINED__
typedef interface IPDStrokeSettings IPDStrokeSettings;
#endif /* __IPDStrokeSettings_FWD_DEFINED__ */
#ifndef __IPDObjectSelection_FWD_DEFINED__
#define __IPDObjectSelection_FWD_DEFINED__
typedef interface IPDObjectSelection IPDObjectSelection;
#endif /* __IPDObjectSelection_FWD_DEFINED__ */
#ifndef __IPDCustomRenderer_FWD_DEFINED__
#define __IPDCustomRenderer_FWD_DEFINED__
typedef interface IPDCustomRenderer IPDCustomRenderer;
#endif /* __IPDCustomRenderer_FWD_DEFINED__ */
#ifndef __ISwatchesDlg_FWD_DEFINED__
#define __ISwatchesDlg_FWD_DEFINED__
typedef interface ISwatchesDlg ISwatchesDlg;
#endif /* __ISwatchesDlg_FWD_DEFINED__ */
#ifndef __IGradientDlg_FWD_DEFINED__
#define __IGradientDlg_FWD_DEFINED__
typedef interface IGradientDlg IGradientDlg;
#endif /* __IGradientDlg_FWD_DEFINED__ */
#ifndef __INavigatorDlg_FWD_DEFINED__
#define __INavigatorDlg_FWD_DEFINED__
typedef interface INavigatorDlg INavigatorDlg;
#endif /* __INavigatorDlg_FWD_DEFINED__ */
#ifndef __IStrokeDlg_FWD_DEFINED__
#define __IStrokeDlg_FWD_DEFINED__
typedef interface IStrokeDlg IStrokeDlg;
#endif /* __IStrokeDlg_FWD_DEFINED__ */
#ifndef __ISwatchesList_FWD_DEFINED__
#define __ISwatchesList_FWD_DEFINED__
typedef interface ISwatchesList ISwatchesList;
#endif /* __ISwatchesList_FWD_DEFINED__ */
#ifndef __IColorDlg_FWD_DEFINED__
#define __IColorDlg_FWD_DEFINED__
typedef interface IColorDlg IColorDlg;
#endif /* __IColorDlg_FWD_DEFINED__ */
#ifndef __IGradientEdit_FWD_DEFINED__
#define __IGradientEdit_FWD_DEFINED__
typedef interface IGradientEdit IGradientEdit;
#endif /* __IGradientEdit_FWD_DEFINED__ */
#ifndef __IToolsDlg_FWD_DEFINED__
#define __IToolsDlg_FWD_DEFINED__
typedef interface IToolsDlg IToolsDlg;
#endif /* __IToolsDlg_FWD_DEFINED__ */
#ifndef __ITabsControl_FWD_DEFINED__
#define __ITabsControl_FWD_DEFINED__
typedef interface ITabsControl ITabsControl;
#endif /* __ITabsControl_FWD_DEFINED__ */
#ifndef __PDObjectFill_FWD_DEFINED__
#define __PDObjectFill_FWD_DEFINED__
#ifdef __cplusplus
typedef class PDObjectFill PDObjectFill;
#else
typedef struct PDObjectFill PDObjectFill;
#endif /* __cplusplus */
#endif /* __PDObjectFill_FWD_DEFINED__ */
#ifndef __PDObjectStroke_FWD_DEFINED__
#define __PDObjectStroke_FWD_DEFINED__
#ifdef __cplusplus
typedef class PDObjectStroke PDObjectStroke;
#else
typedef struct PDObjectStroke PDObjectStroke;
#endif /* __cplusplus */
#endif /* __PDObjectStroke_FWD_DEFINED__ */
#ifndef __PageDesignerFrame_FWD_DEFINED__
#define __PageDesignerFrame_FWD_DEFINED__
#ifdef __cplusplus
typedef class PageDesignerFrame PageDesignerFrame;
#else
typedef struct PageDesignerFrame PageDesignerFrame;
#endif /* __cplusplus */
#endif /* __PageDesignerFrame_FWD_DEFINED__ */
#ifndef __PagesDlg_FWD_DEFINED__
#define __PagesDlg_FWD_DEFINED__
#ifdef __cplusplus
typedef class PagesDlg PagesDlg;
#else
typedef struct PagesDlg PagesDlg;
#endif /* __cplusplus */
#endif /* __PagesDlg_FWD_DEFINED__ */
#ifndef ___IPDDocumentEvents_FWD_DEFINED__
#define ___IPDDocumentEvents_FWD_DEFINED__
typedef interface _IPDDocumentEvents _IPDDocumentEvents;
#endif /* ___IPDDocumentEvents_FWD_DEFINED__ */
#ifndef ___IPDDocumentViewEvents_FWD_DEFINED__
#define ___IPDDocumentViewEvents_FWD_DEFINED__
typedef interface _IPDDocumentViewEvents _IPDDocumentViewEvents;
#endif /* ___IPDDocumentViewEvents_FWD_DEFINED__ */
#ifndef ___ILayersDlgEvents_FWD_DEFINED__
#define ___ILayersDlgEvents_FWD_DEFINED__
typedef interface _ILayersDlgEvents _ILayersDlgEvents;
#endif /* ___ILayersDlgEvents_FWD_DEFINED__ */
#ifndef __PDDocument_FWD_DEFINED__
#define __PDDocument_FWD_DEFINED__
#ifdef __cplusplus
typedef class PDDocument PDDocument;
#else
typedef struct PDDocument PDDocument;
#endif /* __cplusplus */
#endif /* __PDDocument_FWD_DEFINED__ */
#ifndef __PDDocumentView_FWD_DEFINED__
#define __PDDocumentView_FWD_DEFINED__
#ifdef __cplusplus
typedef class PDDocumentView PDDocumentView;
#else
typedef struct PDDocumentView PDDocumentView;
#endif /* __cplusplus */
#endif /* __PDDocumentView_FWD_DEFINED__ */
#ifndef __PDMatrix_FWD_DEFINED__
#define __PDMatrix_FWD_DEFINED__
#ifdef __cplusplus
typedef class PDMatrix PDMatrix;
#else
typedef struct PDMatrix PDMatrix;
#endif /* __cplusplus */
#endif /* __PDMatrix_FWD_DEFINED__ */
#ifndef __PDGradient_FWD_DEFINED__
#define __PDGradient_FWD_DEFINED__
#ifdef __cplusplus
typedef class PDGradient PDGradient;
#else
typedef struct PDGradient PDGradient;
#endif /* __cplusplus */
#endif /* __PDGradient_FWD_DEFINED__ */
#ifndef __LayersDlg_FWD_DEFINED__
#define __LayersDlg_FWD_DEFINED__
#ifdef __cplusplus
typedef class LayersDlg LayersDlg;
#else
typedef struct LayersDlg LayersDlg;
#endif /* __cplusplus */
#endif /* __LayersDlg_FWD_DEFINED__ */
#ifndef __PDRenderer_FWD_DEFINED__
#define __PDRenderer_FWD_DEFINED__
#ifdef __cplusplus
typedef class PDRenderer PDRenderer;
#else
typedef struct PDRenderer PDRenderer;
#endif /* __cplusplus */
#endif /* __PDRenderer_FWD_DEFINED__ */
#ifndef ___ISwatchesDlgEvents_FWD_DEFINED__
#define ___ISwatchesDlgEvents_FWD_DEFINED__
typedef interface _ISwatchesDlgEvents _ISwatchesDlgEvents;
#endif /* ___ISwatchesDlgEvents_FWD_DEFINED__ */
#ifndef __SwatchesDlg_FWD_DEFINED__
#define __SwatchesDlg_FWD_DEFINED__
#ifdef __cplusplus
typedef class SwatchesDlg SwatchesDlg;
#else
typedef struct SwatchesDlg SwatchesDlg;
#endif /* __cplusplus */
#endif /* __SwatchesDlg_FWD_DEFINED__ */
#ifndef ___INavigatorDlgEvents_FWD_DEFINED__
#define ___INavigatorDlgEvents_FWD_DEFINED__
typedef interface _INavigatorDlgEvents _INavigatorDlgEvents;
#endif /* ___INavigatorDlgEvents_FWD_DEFINED__ */
#ifndef __NavigatorDlg_FWD_DEFINED__
#define __NavigatorDlg_FWD_DEFINED__
#ifdef __cplusplus
typedef class NavigatorDlg NavigatorDlg;
#else
typedef struct NavigatorDlg NavigatorDlg;
#endif /* __cplusplus */
#endif /* __NavigatorDlg_FWD_DEFINED__ */
#ifndef ___IGradientDlgEvents_FWD_DEFINED__
#define ___IGradientDlgEvents_FWD_DEFINED__
typedef interface _IGradientDlgEvents _IGradientDlgEvents;
#endif /* ___IGradientDlgEvents_FWD_DEFINED__ */
#ifndef __GradientDlg_FWD_DEFINED__
#define __GradientDlg_FWD_DEFINED__
#ifdef __cplusplus
typedef class GradientDlg GradientDlg;
#else
typedef struct GradientDlg GradientDlg;
#endif /* __cplusplus */
#endif /* __GradientDlg_FWD_DEFINED__ */
#ifndef ___IStrokeDlgEvents_FWD_DEFINED__
#define ___IStrokeDlgEvents_FWD_DEFINED__
typedef interface _IStrokeDlgEvents _IStrokeDlgEvents;
#endif /* ___IStrokeDlgEvents_FWD_DEFINED__ */
#ifndef __StrokeDlg_FWD_DEFINED__
#define __StrokeDlg_FWD_DEFINED__
#ifdef __cplusplus
typedef class StrokeDlg StrokeDlg;
#else
typedef struct StrokeDlg StrokeDlg;
#endif /* __cplusplus */
#endif /* __StrokeDlg_FWD_DEFINED__ */
#ifndef ___ISwatchesListEvents_FWD_DEFINED__
#define ___ISwatchesListEvents_FWD_DEFINED__
typedef interface _ISwatchesListEvents _ISwatchesListEvents;
#endif /* ___ISwatchesListEvents_FWD_DEFINED__ */
#ifndef __SwatchesList_FWD_DEFINED__
#define __SwatchesList_FWD_DEFINED__
#ifdef __cplusplus
typedef class SwatchesList SwatchesList;
#else
typedef struct SwatchesList SwatchesList;
#endif /* __cplusplus */
#endif /* __SwatchesList_FWD_DEFINED__ */
#ifndef ___IColorDlgEvents_FWD_DEFINED__
#define ___IColorDlgEvents_FWD_DEFINED__
typedef interface _IColorDlgEvents _IColorDlgEvents;
#endif /* ___IColorDlgEvents_FWD_DEFINED__ */
#ifndef __ColorDlg_FWD_DEFINED__
#define __ColorDlg_FWD_DEFINED__
#ifdef __cplusplus
typedef class ColorDlg ColorDlg;
#else
typedef struct ColorDlg ColorDlg;
#endif /* __cplusplus */
#endif /* __ColorDlg_FWD_DEFINED__ */
#ifndef ___IGradientEditEvents_FWD_DEFINED__
#define ___IGradientEditEvents_FWD_DEFINED__
typedef interface _IGradientEditEvents _IGradientEditEvents;
#endif /* ___IGradientEditEvents_FWD_DEFINED__ */
#ifndef __GradientEdit_FWD_DEFINED__
#define __GradientEdit_FWD_DEFINED__
#ifdef __cplusplus
typedef class GradientEdit GradientEdit;
#else
typedef struct GradientEdit GradientEdit;
#endif /* __cplusplus */
#endif /* __GradientEdit_FWD_DEFINED__ */
#ifndef ___IToolsDlgEvents_FWD_DEFINED__
#define ___IToolsDlgEvents_FWD_DEFINED__
typedef interface _IToolsDlgEvents _IToolsDlgEvents;
#endif /* ___IToolsDlgEvents_FWD_DEFINED__ */
#ifndef __ToolsDlg_FWD_DEFINED__
#define __ToolsDlg_FWD_DEFINED__
#ifdef __cplusplus
typedef class ToolsDlg ToolsDlg;
#else
typedef struct ToolsDlg ToolsDlg;
#endif /* __cplusplus */
#endif /* __ToolsDlg_FWD_DEFINED__ */
#ifndef ___ITabsControlEvents_FWD_DEFINED__
#define ___ITabsControlEvents_FWD_DEFINED__
typedef interface _ITabsControlEvents _ITabsControlEvents;
#endif /* ___ITabsControlEvents_FWD_DEFINED__ */
#ifndef __TabsControl_FWD_DEFINED__
#define __TabsControl_FWD_DEFINED__
#ifdef __cplusplus
typedef class TabsControl TabsControl;
#else
typedef struct TabsControl TabsControl;
#endif /* __cplusplus */
#endif /* __TabsControl_FWD_DEFINED__ */
#ifndef __TabsDlg_FWD_DEFINED__
#define __TabsDlg_FWD_DEFINED__
#ifdef __cplusplus
typedef class TabsDlg TabsDlg;
#else
typedef struct TabsDlg TabsDlg;
#endif /* __cplusplus */
#endif /* __TabsDlg_FWD_DEFINED__ */
#ifndef __SwatchLibraryDlg_FWD_DEFINED__
#define __SwatchLibraryDlg_FWD_DEFINED__
#ifdef __cplusplus
typedef class SwatchLibraryDlg SwatchLibraryDlg;
#else
typedef struct SwatchLibraryDlg SwatchLibraryDlg;
#endif /* __cplusplus */
#endif /* __SwatchLibraryDlg_FWD_DEFINED__ */
#ifndef __LinksDlg_FWD_DEFINED__
#define __LinksDlg_FWD_DEFINED__
#ifdef __cplusplus
typedef class LinksDlg LinksDlg;
#else
typedef struct LinksDlg LinksDlg;
#endif /* __cplusplus */
#endif /* __LinksDlg_FWD_DEFINED__ */
#ifndef __TransparencyDlg_FWD_DEFINED__
#define __TransparencyDlg_FWD_DEFINED__
#ifdef __cplusplus
typedef class TransparencyDlg TransparencyDlg;
#else
typedef struct TransparencyDlg TransparencyDlg;
#endif /* __cplusplus */
#endif /* __TransparencyDlg_FWD_DEFINED__ */
#ifndef __FilterGraphDlg_FWD_DEFINED__
#define __FilterGraphDlg_FWD_DEFINED__
#ifdef __cplusplus
typedef class FilterGraphDlg FilterGraphDlg;
#else
typedef struct FilterGraphDlg FilterGraphDlg;
#endif /* __cplusplus */
#endif /* __FilterGraphDlg_FWD_DEFINED__ */
#ifndef __FEGaussianBlur_FWD_DEFINED__
#define __FEGaussianBlur_FWD_DEFINED__
#ifdef __cplusplus
typedef class FEGaussianBlur FEGaussianBlur;
#else
typedef struct FEGaussianBlur FEGaussianBlur;
#endif /* __cplusplus */
#endif /* __FEGaussianBlur_FWD_DEFINED__ */
#ifndef __FEOffset_FWD_DEFINED__
#define __FEOffset_FWD_DEFINED__
#ifdef __cplusplus
typedef class FEOffset FEOffset;
#else
typedef struct FEOffset FEOffset;
#endif /* __cplusplus */
#endif /* __FEOffset_FWD_DEFINED__ */
#ifndef __FEComposite_FWD_DEFINED__
#define __FEComposite_FWD_DEFINED__
#ifdef __cplusplus
typedef class FEComposite FEComposite;
#else
typedef struct FEComposite FEComposite;
#endif /* __cplusplus */
#endif /* __FEComposite_FWD_DEFINED__ */
#ifndef __PluginFiltersDlg_FWD_DEFINED__
#define __PluginFiltersDlg_FWD_DEFINED__
#ifdef __cplusplus
typedef class PluginFiltersDlg PluginFiltersDlg;
#else
typedef struct PluginFiltersDlg PluginFiltersDlg;
#endif /* __cplusplus */
#endif /* __PluginFiltersDlg_FWD_DEFINED__ */
#ifndef __StylesDlg_FWD_DEFINED__
#define __StylesDlg_FWD_DEFINED__
#ifdef __cplusplus
typedef class StylesDlg StylesDlg;
#else
typedef struct StylesDlg StylesDlg;
#endif /* __cplusplus */
#endif /* __StylesDlg_FWD_DEFINED__ */
#ifndef __FEFreeTransform_FWD_DEFINED__
#define __FEFreeTransform_FWD_DEFINED__
#ifdef __cplusplus
typedef class FEFreeTransform FEFreeTransform;
#else
typedef struct FEFreeTransform FEFreeTransform;
#endif /* __cplusplus */
#endif /* __FEFreeTransform_FWD_DEFINED__ */
#ifndef __Archive_FWD_DEFINED__
#define __Archive_FWD_DEFINED__
#ifdef __cplusplus
typedef class Archive Archive;
#else
typedef struct Archive Archive;
#endif /* __cplusplus */
#endif /* __Archive_FWD_DEFINED__ */
#ifndef __PDObjectLayerGroup_FWD_DEFINED__
#define __PDObjectLayerGroup_FWD_DEFINED__
#ifdef __cplusplus
typedef class PDObjectLayerGroup PDObjectLayerGroup;
#else
typedef struct PDObjectLayerGroup PDObjectLayerGroup;
#endif /* __cplusplus */
#endif /* __PDObjectLayerGroup_FWD_DEFINED__ */
#ifndef __PDContentGraphic_FWD_DEFINED__
#define __PDContentGraphic_FWD_DEFINED__
#ifdef __cplusplus
typedef class PDContentGraphic PDContentGraphic;
#else
typedef struct PDContentGraphic PDContentGraphic;
#endif /* __cplusplus */
#endif /* __PDContentGraphic_FWD_DEFINED__ */
#ifndef __PDContentText_FWD_DEFINED__
#define __PDContentText_FWD_DEFINED__
#ifdef __cplusplus
typedef class PDContentText PDContentText;
#else
typedef struct PDContentText PDContentText;
#endif /* __cplusplus */
#endif /* __PDContentText_FWD_DEFINED__ */
#ifndef __PDObjectFrame_FWD_DEFINED__
#define __PDObjectFrame_FWD_DEFINED__
#ifdef __cplusplus
typedef class PDObjectFrame PDObjectFrame;
#else
typedef struct PDObjectFrame PDObjectFrame;
#endif /* __cplusplus */
#endif /* __PDObjectFrame_FWD_DEFINED__ */
#ifndef __PDObjectGroup_FWD_DEFINED__
#define __PDObjectGroup_FWD_DEFINED__
#ifdef __cplusplus
typedef class PDObjectGroup PDObjectGroup;
#else
typedef struct PDObjectGroup PDObjectGroup;
#endif /* __cplusplus */
#endif /* __PDObjectGroup_FWD_DEFINED__ */
#ifndef __PDLayer_FWD_DEFINED__
#define __PDLayer_FWD_DEFINED__
#ifdef __cplusplus
typedef class PDLayer PDLayer;
#else
typedef struct PDLayer PDLayer;
#endif /* __cplusplus */
#endif /* __PDLayer_FWD_DEFINED__ */
#ifndef __PDPage_FWD_DEFINED__
#define __PDPage_FWD_DEFINED__
#ifdef __cplusplus
typedef class PDPage PDPage;
#else
typedef struct PDPage PDPage;
#endif /* __cplusplus */
#endif /* __PDPage_FWD_DEFINED__ */
#ifndef __PDSpreadDocument_FWD_DEFINED__
#define __PDSpreadDocument_FWD_DEFINED__
#ifdef __cplusplus
typedef class PDSpreadDocument PDSpreadDocument;
#else
typedef struct PDSpreadDocument PDSpreadDocument;
#endif /* __cplusplus */
#endif /* __PDSpreadDocument_FWD_DEFINED__ */
#ifndef __PDSpreadMaster_FWD_DEFINED__
#define __PDSpreadMaster_FWD_DEFINED__
#ifdef __cplusplus
typedef class PDSpreadMaster PDSpreadMaster;
#else
typedef struct PDSpreadMaster PDSpreadMaster;
#endif /* __cplusplus */
#endif /* __PDSpreadMaster_FWD_DEFINED__ */
#ifndef __PDAppearance_FWD_DEFINED__
#define __PDAppearance_FWD_DEFINED__
#ifdef __cplusplus
typedef class PDAppearance PDAppearance;
#else
typedef struct PDAppearance PDAppearance;
#endif /* __cplusplus */
#endif /* __PDAppearance_FWD_DEFINED__ */
#ifndef __PDFilterPrimitive_FWD_DEFINED__
#define __PDFilterPrimitive_FWD_DEFINED__
#ifdef __cplusplus
typedef class PDFilterPrimitive PDFilterPrimitive;
#else
typedef struct PDFilterPrimitive PDFilterPrimitive;
#endif /* __cplusplus */
#endif /* __PDFilterPrimitive_FWD_DEFINED__ */
#ifndef __PDSwatchPattern_FWD_DEFINED__
#define __PDSwatchPattern_FWD_DEFINED__
#ifdef __cplusplus
typedef class PDSwatchPattern PDSwatchPattern;
#else
typedef struct PDSwatchPattern PDSwatchPattern;
#endif /* __cplusplus */
#endif /* __PDSwatchPattern_FWD_DEFINED__ */
#ifndef __AppearanceDlg_FWD_DEFINED__
#define __AppearanceDlg_FWD_DEFINED__
#ifdef __cplusplus
typedef class AppearanceDlg AppearanceDlg;
#else
typedef struct AppearanceDlg AppearanceDlg;
#endif /* __cplusplus */
#endif /* __AppearanceDlg_FWD_DEFINED__ */
#ifndef __PDSwatchColor_FWD_DEFINED__
#define __PDSwatchColor_FWD_DEFINED__
#ifdef __cplusplus
typedef class PDSwatchColor PDSwatchColor;
#else
typedef struct PDSwatchColor PDSwatchColor;
#endif /* __cplusplus */
#endif /* __PDSwatchColor_FWD_DEFINED__ */
#ifndef __PDSwatchGradient_FWD_DEFINED__
#define __PDSwatchGradient_FWD_DEFINED__
#ifdef __cplusplus
typedef class PDSwatchGradient PDSwatchGradient;
#else
typedef struct PDSwatchGradient PDSwatchGradient;
#endif /* __cplusplus */
#endif /* __PDSwatchGradient_FWD_DEFINED__ */
#ifndef __PDSwatchNone_FWD_DEFINED__
#define __PDSwatchNone_FWD_DEFINED__
#ifdef __cplusplus
typedef class PDSwatchNone PDSwatchNone;
#else
typedef struct PDSwatchNone PDSwatchNone;
#endif /* __cplusplus */
#endif /* __PDSwatchNone_FWD_DEFINED__ */
#ifndef __PDGradientStop_FWD_DEFINED__
#define __PDGradientStop_FWD_DEFINED__
#ifdef __cplusplus
typedef class PDGradientStop PDGradientStop;
#else
typedef struct PDGradientStop PDGradientStop;
#endif /* __cplusplus */
#endif /* __PDGradientStop_FWD_DEFINED__ */
#ifndef __SymbolsDlg_FWD_DEFINED__
#define __SymbolsDlg_FWD_DEFINED__
#ifdef __cplusplus
typedef class SymbolsDlg SymbolsDlg;
#else
typedef struct SymbolsDlg SymbolsDlg;
#endif /* __cplusplus */
#endif /* __SymbolsDlg_FWD_DEFINED__ */
#ifndef __PDSymbol_FWD_DEFINED__
#define __PDSymbol_FWD_DEFINED__
#ifdef __cplusplus
typedef class PDSymbol PDSymbol;
#else
typedef struct PDSymbol PDSymbol;
#endif /* __cplusplus */
#endif /* __PDSymbol_FWD_DEFINED__ */
#ifndef __PDObjectSymbolInstance_FWD_DEFINED__
#define __PDObjectSymbolInstance_FWD_DEFINED__
#ifdef __cplusplus
typedef class PDObjectSymbolInstance PDObjectSymbolInstance;
#else
typedef struct PDObjectSymbolInstance PDObjectSymbolInstance;
#endif /* __cplusplus */
#endif /* __PDObjectSymbolInstance_FWD_DEFINED__ */
#ifndef __PDObjectSymbolInstanceSet_FWD_DEFINED__
#define __PDObjectSymbolInstanceSet_FWD_DEFINED__
#ifdef __cplusplus
typedef class PDObjectSymbolInstanceSet PDObjectSymbolInstanceSet;
#else
typedef struct PDObjectSymbolInstanceSet PDObjectSymbolInstanceSet;
#endif /* __cplusplus */
#endif /* __PDObjectSymbolInstanceSet_FWD_DEFINED__ */
/* header files for imported files */
#include "oaidl.h"
#include "ocidl.h"
#include "LHTML.h"
void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
void __RPC_USER MIDL_user_free( void __RPC_FAR * );
#ifndef __PAGEDESIGNERLib_LIBRARY_DEFINED__
#define __PAGEDESIGNERLib_LIBRARY_DEFINED__
/* library PAGEDESIGNERLib */
/* [helpstring][version][uuid] */
typedef struct _BezierPoint
{
double x1;
double y1;
double x;
double y;
double x2;
double y2;
} BezierPoint;
typedef struct _PointD
{
double x;
double y;
} PointD;
typedef _RectD RectD;
typedef
enum _PDUnit
{ UNIT_PT = 1,
UNIT_PC = 2,
UNIT_IN = 3,
UNIT_IND = 4,
UNIT_MM = 5,
UNIT_CM = 6,
UNIT_CC = 7,
UNIT_NUMBER = 20
} PDUnit;
typedef
enum _PDObjectType
{ OBJECT_FRAME = 1,
OBJECT_GROUP = 2,
OBJECT_LAYERGROUP = 3,
OBJECT_SYMBOLINSTANCE = 4,
OBJECT_SYMBOLINSTANCESET = 5,
CONTENT_GRAPHIC = 6,
CONTENT_TEXT = 7,
PATH_TEXT = 8,
OBJECT_GUIDE = 15,
OBJECT_GUIDES = 16,
PATH_STROKE = 20,
PATH_FILL = 21
} PDObjectType;
typedef
enum _PDSwatchType
{ SWATCH_NONE = 0,
SWATCH_COLOR = 1,
SWATCH_TINT = 2,
SWATCH_GRADIENT = 3,
SWATCH_PATTERN = 4
} PDSwatchType;
typedef
enum _PDSwatchBuiltin
{ SWATCH_CUSTOM = 0,
SWATCH_PAPER = 1,
SWATCH_BLACK = 2,
SWATCH_REGISTRATION = 3
} PDSwatchBuiltin;
typedef
enum _PDColorType
{ COLORTYPE_PROCESS = 1,
COLORTYPE_SPOT = 2
} PDColorType;
typedef
enum _PDColorMode
{ COLORMODE_RGB = 1,
COLORMODE_CMYK = 2,
COLORMODE_LAB = 3
} PDColorMode;
typedef
enum _PDBrushType
{ BRUSH_NONE = 0,
BRUSH_COLOR = 1,
BRUSH_GRADIENT = 3,
BRUSH_PATTERN = 4
} PDBrushType;
typedef
enum _PDTextWrap
{ TEXTWRAP_NONE = 0,
TEXTWRAP_BBOX = 1,
TEXTWRAP_SHAPE = 2,
TEXTWRAP_JUMPOBJECT = 3,
TEXTWRAP_JUMPCOLUMN = 4
} PDTextWrap;
typedef
enum _PDPathTextAlign
{ PATHTEXTALIGN_BASELINE = 0,
PATHTEXTALIGN_ASCENDER = 1,
PATHTEXTALIGN_DESCENDER = 2,
PATHTEXTALIGN_CENTER = 3
} PDPathTextAlign;
typedef
enum _PDParaAlign
{ PARAALIGN_LEFT = 0,
PARAALIGN_CENTER = 1,
PARAALIGN_RIGHT = 2,
PARAALIGN_JUSTIFYLEFT = 3,
PARAALIGN_JUSTIFYCENTER = 4,
PARAALIGN_JUSTIFYRIGHT = 5,
PARAALIGN_JUSTIFYALL = 6
} PDParaAlign;
typedef
enum _PDPathTextAlignToPath
{ PATHTEXTALIGNTOPATH_CENTER = 0,
PATHTEXTALIGNTOPATH_TOP = 1,
PATHTEXTALIGNTOPATH_BOTTOM = 2
} PDPathTextAlignToPath;
typedef
enum _PDGradientType
{ GRADIENT_LINEAR = 1,
GRADIENT_RADIAL = 2
} PDGradientType;
EXTERN_C const IID LIBID_PAGEDESIGNERLib;
#ifndef __IPDUnknown_INTERFACE_DEFINED__
#define __IPDUnknown_INTERFACE_DEFINED__
/* interface IPDUnknown */
/* [unique][helpstring][oleautomation][uuid][object] */
EXTERN_C const IID IID_IPDUnknown;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("D5ABEC22-EFB9-11d5-95F0-0002E3045703")
IPDUnknown : public IUnknown
{
public:
};
#else /* C style interface */
typedef struct IPDUnknownVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
IPDUnknown __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
IPDUnknown __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
IPDUnknown __RPC_FAR * This);
END_INTERFACE
} IPDUnknownVtbl;
interface IPDUnknown
{
CONST_VTBL struct IPDUnknownVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define IPDUnknown_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define IPDUnknown_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define IPDUnknown_Release(This) \
(This)->lpVtbl -> Release(This)
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* __IPDUnknown_INTERFACE_DEFINED__ */
#ifndef __IPDObjectUnknown_INTERFACE_DEFINED__
#define __IPDObjectUnknown_INTERFACE_DEFINED__
/* interface IPDObjectUnknown */
/* [unique][helpstring][uuid][object] */
EXTERN_C const IID IID_IPDObjectUnknown;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("E148D301-205A-11d6-95F0-0002E3045703")
IPDObjectUnknown : public IPDUnknown
{
public:
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_uniqId(
/* [retval][out] */ GUID __RPC_FAR *pVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_objectType(
/* [retval][out] */ PDObjectType __RPC_FAR *pVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_layer(
/* [retval][out] */ IPDLayer __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_parent(
/* [retval][out] */ IPDObjectUnknown __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_parent(
/* [in] */ IPDObjectUnknown __RPC_FAR *newVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_nextSibling(
/* [retval][out] */ IPDObjectUnknown __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_nextSibling(
/* [in] */ IPDObjectUnknown __RPC_FAR *newVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_previousSibling(
/* [retval][out] */ IPDObjectUnknown __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_previousSibling(
/* [in] */ IPDObjectUnknown __RPC_FAR *newVal) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE removeObject(
/* [in] */ IPDObjectUnknown __RPC_FAR *object) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_spread(
/* [retval][out] */ IPDSpread __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_spread(
/* [in] */ IPDSpread __RPC_FAR *newVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_document(
/* [retval][out] */ IPDDocument __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_document(
/* [in] */ IPDDocument __RPC_FAR *newVal) = 0;
};
#else /* C style interface */
typedef struct IPDObjectUnknownVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
IPDObjectUnknown __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
IPDObjectUnknown __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
IPDObjectUnknown __RPC_FAR * This);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_uniqId )(
IPDObjectUnknown __RPC_FAR * This,
/* [retval][out] */ GUID __RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_objectType )(
IPDObjectUnknown __RPC_FAR * This,
/* [retval][out] */ PDObjectType __RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_layer )(
IPDObjectUnknown __RPC_FAR * This,
/* [retval][out] */ IPDLayer __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_parent )(
IPDObjectUnknown __RPC_FAR * This,
/* [retval][out] */ IPDObjectUnknown __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_parent )(
IPDObjectUnknown __RPC_FAR * This,
/* [in] */ IPDObjectUnknown __RPC_FAR *newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_nextSibling )(
IPDObjectUnknown __RPC_FAR * This,
/* [retval][out] */ IPDObjectUnknown __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_nextSibling )(
IPDObjectUnknown __RPC_FAR * This,
/* [in] */ IPDObjectUnknown __RPC_FAR *newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_previousSibling )(
IPDObjectUnknown __RPC_FAR * This,
/* [retval][out] */ IPDObjectUnknown __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_previousSibling )(
IPDObjectUnknown __RPC_FAR * This,
/* [in] */ IPDObjectUnknown __RPC_FAR *newVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *removeObject )(
IPDObjectUnknown __RPC_FAR * This,
/* [in] */ IPDObjectUnknown __RPC_FAR *object);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_spread )(
IPDObjectUnknown __RPC_FAR * This,
/* [retval][out] */ IPDSpread __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_spread )(
IPDObjectUnknown __RPC_FAR * This,
/* [in] */ IPDSpread __RPC_FAR *newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_document )(
IPDObjectUnknown __RPC_FAR * This,
/* [retval][out] */ IPDDocument __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_document )(
IPDObjectUnknown __RPC_FAR * This,
/* [in] */ IPDDocument __RPC_FAR *newVal);
END_INTERFACE
} IPDObjectUnknownVtbl;
interface IPDObjectUnknown
{
CONST_VTBL struct IPDObjectUnknownVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define IPDObjectUnknown_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define IPDObjectUnknown_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define IPDObjectUnknown_Release(This) \
(This)->lpVtbl -> Release(This)
#define IPDObjectUnknown_get_uniqId(This,pVal) \
(This)->lpVtbl -> get_uniqId(This,pVal)
#define IPDObjectUnknown_get_objectType(This,pVal) \
(This)->lpVtbl -> get_objectType(This,pVal)
#define IPDObjectUnknown_get_layer(This,pVal) \
(This)->lpVtbl -> get_layer(This,pVal)
#define IPDObjectUnknown_get_parent(This,pVal) \
(This)->lpVtbl -> get_parent(This,pVal)
#define IPDObjectUnknown_put_parent(This,newVal) \
(This)->lpVtbl -> put_parent(This,newVal)
#define IPDObjectUnknown_get_nextSibling(This,pVal) \
(This)->lpVtbl -> get_nextSibling(This,pVal)
#define IPDObjectUnknown_put_nextSibling(This,newVal) \
(This)->lpVtbl -> put_nextSibling(This,newVal)
#define IPDObjectUnknown_get_previousSibling(This,pVal) \
(This)->lpVtbl -> get_previousSibling(This,pVal)
#define IPDObjectUnknown_put_previousSibling(This,newVal) \
(This)->lpVtbl -> put_previousSibling(This,newVal)
#define IPDObjectUnknown_removeObject(This,object) \
(This)->lpVtbl -> removeObject(This,object)
#define IPDObjectUnknown_get_spread(This,pVal) \
(This)->lpVtbl -> get_spread(This,pVal)
#define IPDObjectUnknown_put_spread(This,newVal) \
(This)->lpVtbl -> put_spread(This,newVal)
#define IPDObjectUnknown_get_document(This,pVal) \
(This)->lpVtbl -> get_document(This,pVal)
#define IPDObjectUnknown_put_document(This,newVal) \
(This)->lpVtbl -> put_document(This,newVal)
#endif /* COBJMACROS */
#endif /* C style interface */
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDObjectUnknown_get_uniqId_Proxy(
IPDObjectUnknown __RPC_FAR * This,
/* [retval][out] */ GUID __RPC_FAR *pVal);
void __RPC_STUB IPDObjectUnknown_get_uniqId_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDObjectUnknown_get_objectType_Proxy(
IPDObjectUnknown __RPC_FAR * This,
/* [retval][out] */ PDObjectType __RPC_FAR *pVal);
void __RPC_STUB IPDObjectUnknown_get_objectType_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDObjectUnknown_get_layer_Proxy(
IPDObjectUnknown __RPC_FAR * This,
/* [retval][out] */ IPDLayer __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDObjectUnknown_get_layer_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDObjectUnknown_get_parent_Proxy(
IPDObjectUnknown __RPC_FAR * This,
/* [retval][out] */ IPDObjectUnknown __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDObjectUnknown_get_parent_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IPDObjectUnknown_put_parent_Proxy(
IPDObjectUnknown __RPC_FAR * This,
/* [in] */ IPDObjectUnknown __RPC_FAR *newVal);
void __RPC_STUB IPDObjectUnknown_put_parent_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDObjectUnknown_get_nextSibling_Proxy(
IPDObjectUnknown __RPC_FAR * This,
/* [retval][out] */ IPDObjectUnknown __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDObjectUnknown_get_nextSibling_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IPDObjectUnknown_put_nextSibling_Proxy(
IPDObjectUnknown __RPC_FAR * This,
/* [in] */ IPDObjectUnknown __RPC_FAR *newVal);
void __RPC_STUB IPDObjectUnknown_put_nextSibling_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDObjectUnknown_get_previousSibling_Proxy(
IPDObjectUnknown __RPC_FAR * This,
/* [retval][out] */ IPDObjectUnknown __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDObjectUnknown_get_previousSibling_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IPDObjectUnknown_put_previousSibling_Proxy(
IPDObjectUnknown __RPC_FAR * This,
/* [in] */ IPDObjectUnknown __RPC_FAR *newVal);
void __RPC_STUB IPDObjectUnknown_put_previousSibling_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDObjectUnknown_removeObject_Proxy(
IPDObjectUnknown __RPC_FAR * This,
/* [in] */ IPDObjectUnknown __RPC_FAR *object);
void __RPC_STUB IPDObjectUnknown_removeObject_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDObjectUnknown_get_spread_Proxy(
IPDObjectUnknown __RPC_FAR * This,
/* [retval][out] */ IPDSpread __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDObjectUnknown_get_spread_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IPDObjectUnknown_put_spread_Proxy(
IPDObjectUnknown __RPC_FAR * This,
/* [in] */ IPDSpread __RPC_FAR *newVal);
void __RPC_STUB IPDObjectUnknown_put_spread_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDObjectUnknown_get_document_Proxy(
IPDObjectUnknown __RPC_FAR * This,
/* [retval][out] */ IPDDocument __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDObjectUnknown_get_document_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IPDObjectUnknown_put_document_Proxy(
IPDObjectUnknown __RPC_FAR * This,
/* [in] */ IPDDocument __RPC_FAR *newVal);
void __RPC_STUB IPDObjectUnknown_put_document_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
#endif /* __IPDObjectUnknown_INTERFACE_DEFINED__ */
#ifndef __IPageDesignerFrame_INTERFACE_DEFINED__
#define __IPageDesignerFrame_INTERFACE_DEFINED__
/* interface IPageDesignerFrame */
/* [unique][helpstring][uuid][object] */
EXTERN_C const IID IID_IPageDesignerFrame;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("AF829B76-4695-46bf-8AA3-6033CA3BFB8D")
IPageDesignerFrame : public IUnknown
{
public:
};
#else /* C style interface */
typedef struct IPageDesignerFrameVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
IPageDesignerFrame __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
IPageDesignerFrame __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
IPageDesignerFrame __RPC_FAR * This);
END_INTERFACE
} IPageDesignerFrameVtbl;
interface IPageDesignerFrame
{
CONST_VTBL struct IPageDesignerFrameVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define IPageDesignerFrame_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define IPageDesignerFrame_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define IPageDesignerFrame_Release(This) \
(This)->lpVtbl -> Release(This)
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* __IPageDesignerFrame_INTERFACE_DEFINED__ */
#ifndef __IPDDocumentView_INTERFACE_DEFINED__
#define __IPDDocumentView_INTERFACE_DEFINED__
/* interface IPDDocumentView */
/* [unique][helpstring][uuid][object] */
EXTERN_C const IID IID_IPDDocumentView;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("AD53033C-76AC-4b25-901E-40F773ACB0B6")
IPDDocumentView : public IUnknown
{
public:
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_activeSpread(
/* [retval][out] */ IPDSpread __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_activeSpread(
/* [in] */ IPDSpread __RPC_FAR *newVal) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE setScrollPosXY(
/* [in] */ long posx,
/* [in] */ long posy) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_rulers(
/* [retval][out] */ VARIANT_BOOL __RPC_FAR *pVal) = 0;
virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_rulers(
/* [in] */ VARIANT_BOOL newVal) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE getViewBox(
/* [retval][out] */ RECT __RPC_FAR *pVal) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE setRulerOrigin(
/* [in] */ double x,
/* [in] */ double y) = 0;
};
#else /* C style interface */
typedef struct IPDDocumentViewVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
IPDDocumentView __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
IPDDocumentView __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
IPDDocumentView __RPC_FAR * This);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_activeSpread )(
IPDDocumentView __RPC_FAR * This,
/* [retval][out] */ IPDSpread __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_activeSpread )(
IPDDocumentView __RPC_FAR * This,
/* [in] */ IPDSpread __RPC_FAR *newVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *setScrollPosXY )(
IPDDocumentView __RPC_FAR * This,
/* [in] */ long posx,
/* [in] */ long posy);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_rulers )(
IPDDocumentView __RPC_FAR * This,
/* [retval][out] */ VARIANT_BOOL __RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_rulers )(
IPDDocumentView __RPC_FAR * This,
/* [in] */ VARIANT_BOOL newVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *getViewBox )(
IPDDocumentView __RPC_FAR * This,
/* [retval][out] */ RECT __RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *setRulerOrigin )(
IPDDocumentView __RPC_FAR * This,
/* [in] */ double x,
/* [in] */ double y);
END_INTERFACE
} IPDDocumentViewVtbl;
interface IPDDocumentView
{
CONST_VTBL struct IPDDocumentViewVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define IPDDocumentView_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define IPDDocumentView_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define IPDDocumentView_Release(This) \
(This)->lpVtbl -> Release(This)
#define IPDDocumentView_get_activeSpread(This,pVal) \
(This)->lpVtbl -> get_activeSpread(This,pVal)
#define IPDDocumentView_put_activeSpread(This,newVal) \
(This)->lpVtbl -> put_activeSpread(This,newVal)
#define IPDDocumentView_setScrollPosXY(This,posx,posy) \
(This)->lpVtbl -> setScrollPosXY(This,posx,posy)
#define IPDDocumentView_get_rulers(This,pVal) \
(This)->lpVtbl -> get_rulers(This,pVal)
#define IPDDocumentView_put_rulers(This,newVal) \
(This)->lpVtbl -> put_rulers(This,newVal)
#define IPDDocumentView_getViewBox(This,pVal) \
(This)->lpVtbl -> getViewBox(This,pVal)
#define IPDDocumentView_setRulerOrigin(This,x,y) \
(This)->lpVtbl -> setRulerOrigin(This,x,y)
#endif /* COBJMACROS */
#endif /* C style interface */
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDDocumentView_get_activeSpread_Proxy(
IPDDocumentView __RPC_FAR * This,
/* [retval][out] */ IPDSpread __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDDocumentView_get_activeSpread_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IPDDocumentView_put_activeSpread_Proxy(
IPDDocumentView __RPC_FAR * This,
/* [in] */ IPDSpread __RPC_FAR *newVal);
void __RPC_STUB IPDDocumentView_put_activeSpread_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDDocumentView_setScrollPosXY_Proxy(
IPDDocumentView __RPC_FAR * This,
/* [in] */ long posx,
/* [in] */ long posy);
void __RPC_STUB IPDDocumentView_setScrollPosXY_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDDocumentView_get_rulers_Proxy(
IPDDocumentView __RPC_FAR * This,
/* [retval][out] */ VARIANT_BOOL __RPC_FAR *pVal);
void __RPC_STUB IPDDocumentView_get_rulers_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IPDDocumentView_put_rulers_Proxy(
IPDDocumentView __RPC_FAR * This,
/* [in] */ VARIANT_BOOL newVal);
void __RPC_STUB IPDDocumentView_put_rulers_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDDocumentView_getViewBox_Proxy(
IPDDocumentView __RPC_FAR * This,
/* [retval][out] */ RECT __RPC_FAR *pVal);
void __RPC_STUB IPDDocumentView_getViewBox_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDDocumentView_setRulerOrigin_Proxy(
IPDDocumentView __RPC_FAR * This,
/* [in] */ double x,
/* [in] */ double y);
void __RPC_STUB IPDDocumentView_setRulerOrigin_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
#endif /* __IPDDocumentView_INTERFACE_DEFINED__ */
#ifndef __IPDLayer_INTERFACE_DEFINED__
#define __IPDLayer_INTERFACE_DEFINED__
/* interface IPDLayer */
/* [unique][helpstring][uuid][object] */
EXTERN_C const IID IID_IPDLayer;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("319D67B1-B23B-4753-A020-D035E7C15134")
IPDLayer : public IPDUnknown
{
public:
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_name(
/* [retval][out] */ BSTR __RPC_FAR *pVal) = 0;
virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_name(
/* [in] */ BSTR newVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_visible(
/* [retval][out] */ VARIANT_BOOL __RPC_FAR *pVal) = 0;
virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_visible(
/* [in] */ VARIANT_BOOL newVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_locked(
/* [retval][out] */ VARIANT_BOOL __RPC_FAR *pVal) = 0;
virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_locked(
/* [in] */ VARIANT_BOOL newVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_color(
/* [retval][out] */ OLE_COLOR __RPC_FAR *pVal) = 0;
virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_color(
/* [in] */ OLE_COLOR newVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_uniqId(
/* [retval][out] */ GUID __RPC_FAR *pVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_nextSibling(
/* [retval][out] */ IPDLayer __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_previousSibling(
/* [retval][out] */ IPDLayer __RPC_FAR *__RPC_FAR *pVal) = 0;
};
#else /* C style interface */
typedef struct IPDLayerVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
IPDLayer __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
IPDLayer __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
IPDLayer __RPC_FAR * This);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_name )(
IPDLayer __RPC_FAR * This,
/* [retval][out] */ BSTR __RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_name )(
IPDLayer __RPC_FAR * This,
/* [in] */ BSTR newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_visible )(
IPDLayer __RPC_FAR * This,
/* [retval][out] */ VARIANT_BOOL __RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_visible )(
IPDLayer __RPC_FAR * This,
/* [in] */ VARIANT_BOOL newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_locked )(
IPDLayer __RPC_FAR * This,
/* [retval][out] */ VARIANT_BOOL __RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_locked )(
IPDLayer __RPC_FAR * This,
/* [in] */ VARIANT_BOOL newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_color )(
IPDLayer __RPC_FAR * This,
/* [retval][out] */ OLE_COLOR __RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_color )(
IPDLayer __RPC_FAR * This,
/* [in] */ OLE_COLOR newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_uniqId )(
IPDLayer __RPC_FAR * This,
/* [retval][out] */ GUID __RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_nextSibling )(
IPDLayer __RPC_FAR * This,
/* [retval][out] */ IPDLayer __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_previousSibling )(
IPDLayer __RPC_FAR * This,
/* [retval][out] */ IPDLayer __RPC_FAR *__RPC_FAR *pVal);
END_INTERFACE
} IPDLayerVtbl;
interface IPDLayer
{
CONST_VTBL struct IPDLayerVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define IPDLayer_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define IPDLayer_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define IPDLayer_Release(This) \
(This)->lpVtbl -> Release(This)
#define IPDLayer_get_name(This,pVal) \
(This)->lpVtbl -> get_name(This,pVal)
#define IPDLayer_put_name(This,newVal) \
(This)->lpVtbl -> put_name(This,newVal)
#define IPDLayer_get_visible(This,pVal) \
(This)->lpVtbl -> get_visible(This,pVal)
#define IPDLayer_put_visible(This,newVal) \
(This)->lpVtbl -> put_visible(This,newVal)
#define IPDLayer_get_locked(This,pVal) \
(This)->lpVtbl -> get_locked(This,pVal)
#define IPDLayer_put_locked(This,newVal) \
(This)->lpVtbl -> put_locked(This,newVal)
#define IPDLayer_get_color(This,pVal) \
(This)->lpVtbl -> get_color(This,pVal)
#define IPDLayer_put_color(This,newVal) \
(This)->lpVtbl -> put_color(This,newVal)
#define IPDLayer_get_uniqId(This,pVal) \
(This)->lpVtbl -> get_uniqId(This,pVal)
#define IPDLayer_get_nextSibling(This,pVal) \
(This)->lpVtbl -> get_nextSibling(This,pVal)
#define IPDLayer_get_previousSibling(This,pVal) \
(This)->lpVtbl -> get_previousSibling(This,pVal)
#endif /* COBJMACROS */
#endif /* C style interface */
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDLayer_get_name_Proxy(
IPDLayer __RPC_FAR * This,
/* [retval][out] */ BSTR __RPC_FAR *pVal);
void __RPC_STUB IPDLayer_get_name_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IPDLayer_put_name_Proxy(
IPDLayer __RPC_FAR * This,
/* [in] */ BSTR newVal);
void __RPC_STUB IPDLayer_put_name_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDLayer_get_visible_Proxy(
IPDLayer __RPC_FAR * This,
/* [retval][out] */ VARIANT_BOOL __RPC_FAR *pVal);
void __RPC_STUB IPDLayer_get_visible_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IPDLayer_put_visible_Proxy(
IPDLayer __RPC_FAR * This,
/* [in] */ VARIANT_BOOL newVal);
void __RPC_STUB IPDLayer_put_visible_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDLayer_get_locked_Proxy(
IPDLayer __RPC_FAR * This,
/* [retval][out] */ VARIANT_BOOL __RPC_FAR *pVal);
void __RPC_STUB IPDLayer_get_locked_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IPDLayer_put_locked_Proxy(
IPDLayer __RPC_FAR * This,
/* [in] */ VARIANT_BOOL newVal);
void __RPC_STUB IPDLayer_put_locked_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDLayer_get_color_Proxy(
IPDLayer __RPC_FAR * This,
/* [retval][out] */ OLE_COLOR __RPC_FAR *pVal);
void __RPC_STUB IPDLayer_get_color_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IPDLayer_put_color_Proxy(
IPDLayer __RPC_FAR * This,
/* [in] */ OLE_COLOR newVal);
void __RPC_STUB IPDLayer_put_color_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDLayer_get_uniqId_Proxy(
IPDLayer __RPC_FAR * This,
/* [retval][out] */ GUID __RPC_FAR *pVal);
void __RPC_STUB IPDLayer_get_uniqId_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDLayer_get_nextSibling_Proxy(
IPDLayer __RPC_FAR * This,
/* [retval][out] */ IPDLayer __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDLayer_get_nextSibling_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDLayer_get_previousSibling_Proxy(
IPDLayer __RPC_FAR * This,
/* [retval][out] */ IPDLayer __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDLayer_get_previousSibling_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
#endif /* __IPDLayer_INTERFACE_DEFINED__ */
#ifndef __IPDObject_INTERFACE_DEFINED__
#define __IPDObject_INTERFACE_DEFINED__
/* interface IPDObject */
/* [unique][helpstring][uuid][object] */
EXTERN_C const IID IID_IPDObject;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("1C7D6CD6-43C5-4122-B0C7-38BA9F8D6FB1")
IPDObject : public IPDObjectUnknown
{
public:
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_firstChild(
/* [retval][out] */ IPDObjectUnknown __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_lastChild(
/* [retval][out] */ IPDObjectUnknown __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_children(
/* [retval][out] */ IObjectMap __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE getScreenCTM(
/* [retval][out] */ IPDMatrix __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE clone(
/* [retval][out] */ IPDObject __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE getExpandedBBox(
/* [retval][out] */ RectD __RPC_FAR *pVal) = 0;
};
#else /* C style interface */
typedef struct IPDObjectVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
IPDObject __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
IPDObject __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
IPDObject __RPC_FAR * This);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_uniqId )(
IPDObject __RPC_FAR * This,
/* [retval][out] */ GUID __RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_objectType )(
IPDObject __RPC_FAR * This,
/* [retval][out] */ PDObjectType __RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_layer )(
IPDObject __RPC_FAR * This,
/* [retval][out] */ IPDLayer __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_parent )(
IPDObject __RPC_FAR * This,
/* [retval][out] */ IPDObjectUnknown __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_parent )(
IPDObject __RPC_FAR * This,
/* [in] */ IPDObjectUnknown __RPC_FAR *newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_nextSibling )(
IPDObject __RPC_FAR * This,
/* [retval][out] */ IPDObjectUnknown __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_nextSibling )(
IPDObject __RPC_FAR * This,
/* [in] */ IPDObjectUnknown __RPC_FAR *newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_previousSibling )(
IPDObject __RPC_FAR * This,
/* [retval][out] */ IPDObjectUnknown __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_previousSibling )(
IPDObject __RPC_FAR * This,
/* [in] */ IPDObjectUnknown __RPC_FAR *newVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *removeObject )(
IPDObject __RPC_FAR * This,
/* [in] */ IPDObjectUnknown __RPC_FAR *object);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_spread )(
IPDObject __RPC_FAR * This,
/* [retval][out] */ IPDSpread __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_spread )(
IPDObject __RPC_FAR * This,
/* [in] */ IPDSpread __RPC_FAR *newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_document )(
IPDObject __RPC_FAR * This,
/* [retval][out] */ IPDDocument __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_document )(
IPDObject __RPC_FAR * This,
/* [in] */ IPDDocument __RPC_FAR *newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_firstChild )(
IPDObject __RPC_FAR * This,
/* [retval][out] */ IPDObjectUnknown __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_lastChild )(
IPDObject __RPC_FAR * This,
/* [retval][out] */ IPDObjectUnknown __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_children )(
IPDObject __RPC_FAR * This,
/* [retval][out] */ IObjectMap __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *getScreenCTM )(
IPDObject __RPC_FAR * This,
/* [retval][out] */ IPDMatrix __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *clone )(
IPDObject __RPC_FAR * This,
/* [retval][out] */ IPDObject __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *getExpandedBBox )(
IPDObject __RPC_FAR * This,
/* [retval][out] */ RectD __RPC_FAR *pVal);
END_INTERFACE
} IPDObjectVtbl;
interface IPDObject
{
CONST_VTBL struct IPDObjectVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define IPDObject_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define IPDObject_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define IPDObject_Release(This) \
(This)->lpVtbl -> Release(This)
#define IPDObject_get_uniqId(This,pVal) \
(This)->lpVtbl -> get_uniqId(This,pVal)
#define IPDObject_get_objectType(This,pVal) \
(This)->lpVtbl -> get_objectType(This,pVal)
#define IPDObject_get_layer(This,pVal) \
(This)->lpVtbl -> get_layer(This,pVal)
#define IPDObject_get_parent(This,pVal) \
(This)->lpVtbl -> get_parent(This,pVal)
#define IPDObject_put_parent(This,newVal) \
(This)->lpVtbl -> put_parent(This,newVal)
#define IPDObject_get_nextSibling(This,pVal) \
(This)->lpVtbl -> get_nextSibling(This,pVal)
#define IPDObject_put_nextSibling(This,newVal) \
(This)->lpVtbl -> put_nextSibling(This,newVal)
#define IPDObject_get_previousSibling(This,pVal) \
(This)->lpVtbl -> get_previousSibling(This,pVal)
#define IPDObject_put_previousSibling(This,newVal) \
(This)->lpVtbl -> put_previousSibling(This,newVal)
#define IPDObject_removeObject(This,object) \
(This)->lpVtbl -> removeObject(This,object)
#define IPDObject_get_spread(This,pVal) \
(This)->lpVtbl -> get_spread(This,pVal)
#define IPDObject_put_spread(This,newVal) \
(This)->lpVtbl -> put_spread(This,newVal)
#define IPDObject_get_document(This,pVal) \
(This)->lpVtbl -> get_document(This,pVal)
#define IPDObject_put_document(This,newVal) \
(This)->lpVtbl -> put_document(This,newVal)
#define IPDObject_get_firstChild(This,pVal) \
(This)->lpVtbl -> get_firstChild(This,pVal)
#define IPDObject_get_lastChild(This,pVal) \
(This)->lpVtbl -> get_lastChild(This,pVal)
#define IPDObject_get_children(This,pVal) \
(This)->lpVtbl -> get_children(This,pVal)
#define IPDObject_getScreenCTM(This,pVal) \
(This)->lpVtbl -> getScreenCTM(This,pVal)
#define IPDObject_clone(This,pVal) \
(This)->lpVtbl -> clone(This,pVal)
#define IPDObject_getExpandedBBox(This,pVal) \
(This)->lpVtbl -> getExpandedBBox(This,pVal)
#endif /* COBJMACROS */
#endif /* C style interface */
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDObject_get_firstChild_Proxy(
IPDObject __RPC_FAR * This,
/* [retval][out] */ IPDObjectUnknown __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDObject_get_firstChild_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDObject_get_lastChild_Proxy(
IPDObject __RPC_FAR * This,
/* [retval][out] */ IPDObjectUnknown __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDObject_get_lastChild_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDObject_get_children_Proxy(
IPDObject __RPC_FAR * This,
/* [retval][out] */ IObjectMap __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDObject_get_children_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDObject_getScreenCTM_Proxy(
IPDObject __RPC_FAR * This,
/* [retval][out] */ IPDMatrix __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDObject_getScreenCTM_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDObject_clone_Proxy(
IPDObject __RPC_FAR * This,
/* [retval][out] */ IPDObject __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDObject_clone_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDObject_getExpandedBBox_Proxy(
IPDObject __RPC_FAR * This,
/* [retval][out] */ RectD __RPC_FAR *pVal);
void __RPC_STUB IPDObject_getExpandedBBox_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
#endif /* __IPDObject_INTERFACE_DEFINED__ */
#ifndef __IPDSpread_INTERFACE_DEFINED__
#define __IPDSpread_INTERFACE_DEFINED__
/* interface IPDSpread */
/* [unique][helpstring][uuid][object] */
EXTERN_C const IID IID_IPDSpread;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("43C3CFD3-DE5D-4142-81B7-FF396991371E")
IPDSpread : public IPDUnknown
{
public:
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_pages(
/* [retval][out] */ IObjectMap __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_layergroups(
/* [retval][out] */ IObjectMap __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_spine(
/* [retval][out] */ long __RPC_FAR *pVal) = 0;
virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_spine(
/* [in] */ long newVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_ownerDocument(
/* [retval][out] */ IPDDocument __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_uniqId(
/* [retval][out] */ GUID __RPC_FAR *pVal) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE getLayerGroupFromLayer(
/* [in] */ IPDLayer __RPC_FAR *layer,
/* [retval][out] */ IPDObjectLayerGroup __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE getObjectByUniqId(
/* [in] */ GUID guid,
/* [retval][out] */ IPDObjectUnknown __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE removeLayerGroup(
/* [in] */ IPDObjectLayerGroup __RPC_FAR *object) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_firstLayerGroup(
/* [retval][out] */ IPDObjectUnknown __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_lastLayerGroup(
/* [retval][out] */ IPDObjectUnknown __RPC_FAR *__RPC_FAR *pVal) = 0;
};
#else /* C style interface */
typedef struct IPDSpreadVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
IPDSpread __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
IPDSpread __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
IPDSpread __RPC_FAR * This);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_pages )(
IPDSpread __RPC_FAR * This,
/* [retval][out] */ IObjectMap __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_layergroups )(
IPDSpread __RPC_FAR * This,
/* [retval][out] */ IObjectMap __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_spine )(
IPDSpread __RPC_FAR * This,
/* [retval][out] */ long __RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_spine )(
IPDSpread __RPC_FAR * This,
/* [in] */ long newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_ownerDocument )(
IPDSpread __RPC_FAR * This,
/* [retval][out] */ IPDDocument __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_uniqId )(
IPDSpread __RPC_FAR * This,
/* [retval][out] */ GUID __RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *getLayerGroupFromLayer )(
IPDSpread __RPC_FAR * This,
/* [in] */ IPDLayer __RPC_FAR *layer,
/* [retval][out] */ IPDObjectLayerGroup __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *getObjectByUniqId )(
IPDSpread __RPC_FAR * This,
/* [in] */ GUID guid,
/* [retval][out] */ IPDObjectUnknown __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *removeLayerGroup )(
IPDSpread __RPC_FAR * This,
/* [in] */ IPDObjectLayerGroup __RPC_FAR *object);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_firstLayerGroup )(
IPDSpread __RPC_FAR * This,
/* [retval][out] */ IPDObjectUnknown __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_lastLayerGroup )(
IPDSpread __RPC_FAR * This,
/* [retval][out] */ IPDObjectUnknown __RPC_FAR *__RPC_FAR *pVal);
END_INTERFACE
} IPDSpreadVtbl;
interface IPDSpread
{
CONST_VTBL struct IPDSpreadVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define IPDSpread_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define IPDSpread_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define IPDSpread_Release(This) \
(This)->lpVtbl -> Release(This)
#define IPDSpread_get_pages(This,pVal) \
(This)->lpVtbl -> get_pages(This,pVal)
#define IPDSpread_get_layergroups(This,pVal) \
(This)->lpVtbl -> get_layergroups(This,pVal)
#define IPDSpread_get_spine(This,pVal) \
(This)->lpVtbl -> get_spine(This,pVal)
#define IPDSpread_put_spine(This,newVal) \
(This)->lpVtbl -> put_spine(This,newVal)
#define IPDSpread_get_ownerDocument(This,pVal) \
(This)->lpVtbl -> get_ownerDocument(This,pVal)
#define IPDSpread_get_uniqId(This,pVal) \
(This)->lpVtbl -> get_uniqId(This,pVal)
#define IPDSpread_getLayerGroupFromLayer(This,layer,pVal) \
(This)->lpVtbl -> getLayerGroupFromLayer(This,layer,pVal)
#define IPDSpread_getObjectByUniqId(This,guid,pVal) \
(This)->lpVtbl -> getObjectByUniqId(This,guid,pVal)
#define IPDSpread_removeLayerGroup(This,object) \
(This)->lpVtbl -> removeLayerGroup(This,object)
#define IPDSpread_get_firstLayerGroup(This,pVal) \
(This)->lpVtbl -> get_firstLayerGroup(This,pVal)
#define IPDSpread_get_lastLayerGroup(This,pVal) \
(This)->lpVtbl -> get_lastLayerGroup(This,pVal)
#endif /* COBJMACROS */
#endif /* C style interface */
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDSpread_get_pages_Proxy(
IPDSpread __RPC_FAR * This,
/* [retval][out] */ IObjectMap __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDSpread_get_pages_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDSpread_get_layergroups_Proxy(
IPDSpread __RPC_FAR * This,
/* [retval][out] */ IObjectMap __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDSpread_get_layergroups_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDSpread_get_spine_Proxy(
IPDSpread __RPC_FAR * This,
/* [retval][out] */ long __RPC_FAR *pVal);
void __RPC_STUB IPDSpread_get_spine_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IPDSpread_put_spine_Proxy(
IPDSpread __RPC_FAR * This,
/* [in] */ long newVal);
void __RPC_STUB IPDSpread_put_spine_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDSpread_get_ownerDocument_Proxy(
IPDSpread __RPC_FAR * This,
/* [retval][out] */ IPDDocument __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDSpread_get_ownerDocument_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDSpread_get_uniqId_Proxy(
IPDSpread __RPC_FAR * This,
/* [retval][out] */ GUID __RPC_FAR *pVal);
void __RPC_STUB IPDSpread_get_uniqId_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDSpread_getLayerGroupFromLayer_Proxy(
IPDSpread __RPC_FAR * This,
/* [in] */ IPDLayer __RPC_FAR *layer,
/* [retval][out] */ IPDObjectLayerGroup __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDSpread_getLayerGroupFromLayer_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDSpread_getObjectByUniqId_Proxy(
IPDSpread __RPC_FAR * This,
/* [in] */ GUID guid,
/* [retval][out] */ IPDObjectUnknown __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDSpread_getObjectByUniqId_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDSpread_removeLayerGroup_Proxy(
IPDSpread __RPC_FAR * This,
/* [in] */ IPDObjectLayerGroup __RPC_FAR *object);
void __RPC_STUB IPDSpread_removeLayerGroup_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDSpread_get_firstLayerGroup_Proxy(
IPDSpread __RPC_FAR * This,
/* [retval][out] */ IPDObjectUnknown __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDSpread_get_firstLayerGroup_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDSpread_get_lastLayerGroup_Proxy(
IPDSpread __RPC_FAR * This,
/* [retval][out] */ IPDObjectUnknown __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDSpread_get_lastLayerGroup_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
#endif /* __IPDSpread_INTERFACE_DEFINED__ */
#ifndef __IPDSpreadMaster_INTERFACE_DEFINED__
#define __IPDSpreadMaster_INTERFACE_DEFINED__
/* interface IPDSpreadMaster */
/* [unique][helpstring][uuid][object] */
EXTERN_C const IID IID_IPDSpreadMaster;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("13616A81-E840-11d5-95F0-0002E3045703")
IPDSpreadMaster : public IPDSpread
{
public:
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_prefix(
/* [retval][out] */ BSTR __RPC_FAR *pVal) = 0;
virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_prefix(
/* [in] */ BSTR newVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_name(
/* [retval][out] */ BSTR __RPC_FAR *pVal) = 0;
virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_name(
/* [in] */ BSTR newVal) = 0;
};
#else /* C style interface */
typedef struct IPDSpreadMasterVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
IPDSpreadMaster __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
IPDSpreadMaster __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
IPDSpreadMaster __RPC_FAR * This);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_pages )(
IPDSpreadMaster __RPC_FAR * This,
/* [retval][out] */ IObjectMap __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_layergroups )(
IPDSpreadMaster __RPC_FAR * This,
/* [retval][out] */ IObjectMap __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_spine )(
IPDSpreadMaster __RPC_FAR * This,
/* [retval][out] */ long __RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_spine )(
IPDSpreadMaster __RPC_FAR * This,
/* [in] */ long newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_ownerDocument )(
IPDSpreadMaster __RPC_FAR * This,
/* [retval][out] */ IPDDocument __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_uniqId )(
IPDSpreadMaster __RPC_FAR * This,
/* [retval][out] */ GUID __RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *getLayerGroupFromLayer )(
IPDSpreadMaster __RPC_FAR * This,
/* [in] */ IPDLayer __RPC_FAR *layer,
/* [retval][out] */ IPDObjectLayerGroup __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *getObjectByUniqId )(
IPDSpreadMaster __RPC_FAR * This,
/* [in] */ GUID guid,
/* [retval][out] */ IPDObjectUnknown __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *removeLayerGroup )(
IPDSpreadMaster __RPC_FAR * This,
/* [in] */ IPDObjectLayerGroup __RPC_FAR *object);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_firstLayerGroup )(
IPDSpreadMaster __RPC_FAR * This,
/* [retval][out] */ IPDObjectUnknown __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_lastLayerGroup )(
IPDSpreadMaster __RPC_FAR * This,
/* [retval][out] */ IPDObjectUnknown __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_prefix )(
IPDSpreadMaster __RPC_FAR * This,
/* [retval][out] */ BSTR __RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_prefix )(
IPDSpreadMaster __RPC_FAR * This,
/* [in] */ BSTR newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_name )(
IPDSpreadMaster __RPC_FAR * This,
/* [retval][out] */ BSTR __RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_name )(
IPDSpreadMaster __RPC_FAR * This,
/* [in] */ BSTR newVal);
END_INTERFACE
} IPDSpreadMasterVtbl;
interface IPDSpreadMaster
{
CONST_VTBL struct IPDSpreadMasterVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define IPDSpreadMaster_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define IPDSpreadMaster_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define IPDSpreadMaster_Release(This) \
(This)->lpVtbl -> Release(This)
#define IPDSpreadMaster_get_pages(This,pVal) \
(This)->lpVtbl -> get_pages(This,pVal)
#define IPDSpreadMaster_get_layergroups(This,pVal) \
(This)->lpVtbl -> get_layergroups(This,pVal)
#define IPDSpreadMaster_get_spine(This,pVal) \
(This)->lpVtbl -> get_spine(This,pVal)
#define IPDSpreadMaster_put_spine(This,newVal) \
(This)->lpVtbl -> put_spine(This,newVal)
#define IPDSpreadMaster_get_ownerDocument(This,pVal) \
(This)->lpVtbl -> get_ownerDocument(This,pVal)
#define IPDSpreadMaster_get_uniqId(This,pVal) \
(This)->lpVtbl -> get_uniqId(This,pVal)
#define IPDSpreadMaster_getLayerGroupFromLayer(This,layer,pVal) \
(This)->lpVtbl -> getLayerGroupFromLayer(This,layer,pVal)
#define IPDSpreadMaster_getObjectByUniqId(This,guid,pVal) \
(This)->lpVtbl -> getObjectByUniqId(This,guid,pVal)
#define IPDSpreadMaster_removeLayerGroup(This,object) \
(This)->lpVtbl -> removeLayerGroup(This,object)
#define IPDSpreadMaster_get_firstLayerGroup(This,pVal) \
(This)->lpVtbl -> get_firstLayerGroup(This,pVal)
#define IPDSpreadMaster_get_lastLayerGroup(This,pVal) \
(This)->lpVtbl -> get_lastLayerGroup(This,pVal)
#define IPDSpreadMaster_get_prefix(This,pVal) \
(This)->lpVtbl -> get_prefix(This,pVal)
#define IPDSpreadMaster_put_prefix(This,newVal) \
(This)->lpVtbl -> put_prefix(This,newVal)
#define IPDSpreadMaster_get_name(This,pVal) \
(This)->lpVtbl -> get_name(This,pVal)
#define IPDSpreadMaster_put_name(This,newVal) \
(This)->lpVtbl -> put_name(This,newVal)
#endif /* COBJMACROS */
#endif /* C style interface */
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDSpreadMaster_get_prefix_Proxy(
IPDSpreadMaster __RPC_FAR * This,
/* [retval][out] */ BSTR __RPC_FAR *pVal);
void __RPC_STUB IPDSpreadMaster_get_prefix_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IPDSpreadMaster_put_prefix_Proxy(
IPDSpreadMaster __RPC_FAR * This,
/* [in] */ BSTR newVal);
void __RPC_STUB IPDSpreadMaster_put_prefix_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDSpreadMaster_get_name_Proxy(
IPDSpreadMaster __RPC_FAR * This,
/* [retval][out] */ BSTR __RPC_FAR *pVal);
void __RPC_STUB IPDSpreadMaster_get_name_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IPDSpreadMaster_put_name_Proxy(
IPDSpreadMaster __RPC_FAR * This,
/* [in] */ BSTR newVal);
void __RPC_STUB IPDSpreadMaster_put_name_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
#endif /* __IPDSpreadMaster_INTERFACE_DEFINED__ */
#ifndef __IPDObjectGroup_INTERFACE_DEFINED__
#define __IPDObjectGroup_INTERFACE_DEFINED__
/* interface IPDObjectGroup */
/* [unique][helpstring][uuid][object] */
EXTERN_C const IID IID_IPDObjectGroup;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("FDD26FDA-A724-444d-8B09-953ECD6E15EE")
IPDObjectGroup : public IPDObject
{
public:
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE appendObject(
/* [in] */ IPDObject __RPC_FAR *object) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE insertObjectBeforeObject(
/* [in] */ IPDObject __RPC_FAR *object,
/* [in] */ IPDObject __RPC_FAR *before) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_enableBackground(
/* [retval][out] */ long __RPC_FAR *pVal) = 0;
virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_enableBackground(
/* [in] */ long newVal) = 0;
};
#else /* C style interface */
typedef struct IPDObjectGroupVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
IPDObjectGroup __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
IPDObjectGroup __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
IPDObjectGroup __RPC_FAR * This);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_uniqId )(
IPDObjectGroup __RPC_FAR * This,
/* [retval][out] */ GUID __RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_objectType )(
IPDObjectGroup __RPC_FAR * This,
/* [retval][out] */ PDObjectType __RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_layer )(
IPDObjectGroup __RPC_FAR * This,
/* [retval][out] */ IPDLayer __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_parent )(
IPDObjectGroup __RPC_FAR * This,
/* [retval][out] */ IPDObjectUnknown __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_parent )(
IPDObjectGroup __RPC_FAR * This,
/* [in] */ IPDObjectUnknown __RPC_FAR *newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_nextSibling )(
IPDObjectGroup __RPC_FAR * This,
/* [retval][out] */ IPDObjectUnknown __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_nextSibling )(
IPDObjectGroup __RPC_FAR * This,
/* [in] */ IPDObjectUnknown __RPC_FAR *newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_previousSibling )(
IPDObjectGroup __RPC_FAR * This,
/* [retval][out] */ IPDObjectUnknown __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_previousSibling )(
IPDObjectGroup __RPC_FAR * This,
/* [in] */ IPDObjectUnknown __RPC_FAR *newVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *removeObject )(
IPDObjectGroup __RPC_FAR * This,
/* [in] */ IPDObjectUnknown __RPC_FAR *object);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_spread )(
IPDObjectGroup __RPC_FAR * This,
/* [retval][out] */ IPDSpread __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_spread )(
IPDObjectGroup __RPC_FAR * This,
/* [in] */ IPDSpread __RPC_FAR *newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_document )(
IPDObjectGroup __RPC_FAR * This,
/* [retval][out] */ IPDDocument __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_document )(
IPDObjectGroup __RPC_FAR * This,
/* [in] */ IPDDocument __RPC_FAR *newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_firstChild )(
IPDObjectGroup __RPC_FAR * This,
/* [retval][out] */ IPDObjectUnknown __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_lastChild )(
IPDObjectGroup __RPC_FAR * This,
/* [retval][out] */ IPDObjectUnknown __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_children )(
IPDObjectGroup __RPC_FAR * This,
/* [retval][out] */ IObjectMap __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *getScreenCTM )(
IPDObjectGroup __RPC_FAR * This,
/* [retval][out] */ IPDMatrix __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *clone )(
IPDObjectGroup __RPC_FAR * This,
/* [retval][out] */ IPDObject __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *getExpandedBBox )(
IPDObjectGroup __RPC_FAR * This,
/* [retval][out] */ RectD __RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *appendObject )(
IPDObjectGroup __RPC_FAR * This,
/* [in] */ IPDObject __RPC_FAR *object);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *insertObjectBeforeObject )(
IPDObjectGroup __RPC_FAR * This,
/* [in] */ IPDObject __RPC_FAR *object,
/* [in] */ IPDObject __RPC_FAR *before);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_enableBackground )(
IPDObjectGroup __RPC_FAR * This,
/* [retval][out] */ long __RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_enableBackground )(
IPDObjectGroup __RPC_FAR * This,
/* [in] */ long newVal);
END_INTERFACE
} IPDObjectGroupVtbl;
interface IPDObjectGroup
{
CONST_VTBL struct IPDObjectGroupVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define IPDObjectGroup_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define IPDObjectGroup_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define IPDObjectGroup_Release(This) \
(This)->lpVtbl -> Release(This)
#define IPDObjectGroup_get_uniqId(This,pVal) \
(This)->lpVtbl -> get_uniqId(This,pVal)
#define IPDObjectGroup_get_objectType(This,pVal) \
(This)->lpVtbl -> get_objectType(This,pVal)
#define IPDObjectGroup_get_layer(This,pVal) \
(This)->lpVtbl -> get_layer(This,pVal)
#define IPDObjectGroup_get_parent(This,pVal) \
(This)->lpVtbl -> get_parent(This,pVal)
#define IPDObjectGroup_put_parent(This,newVal) \
(This)->lpVtbl -> put_parent(This,newVal)
#define IPDObjectGroup_get_nextSibling(This,pVal) \
(This)->lpVtbl -> get_nextSibling(This,pVal)
#define IPDObjectGroup_put_nextSibling(This,newVal) \
(This)->lpVtbl -> put_nextSibling(This,newVal)
#define IPDObjectGroup_get_previousSibling(This,pVal) \
(This)->lpVtbl -> get_previousSibling(This,pVal)
#define IPDObjectGroup_put_previousSibling(This,newVal) \
(This)->lpVtbl -> put_previousSibling(This,newVal)
#define IPDObjectGroup_removeObject(This,object) \
(This)->lpVtbl -> removeObject(This,object)
#define IPDObjectGroup_get_spread(This,pVal) \
(This)->lpVtbl -> get_spread(This,pVal)
#define IPDObjectGroup_put_spread(This,newVal) \
(This)->lpVtbl -> put_spread(This,newVal)
#define IPDObjectGroup_get_document(This,pVal) \
(This)->lpVtbl -> get_document(This,pVal)
#define IPDObjectGroup_put_document(This,newVal) \
(This)->lpVtbl -> put_document(This,newVal)
#define IPDObjectGroup_get_firstChild(This,pVal) \
(This)->lpVtbl -> get_firstChild(This,pVal)
#define IPDObjectGroup_get_lastChild(This,pVal) \
(This)->lpVtbl -> get_lastChild(This,pVal)
#define IPDObjectGroup_get_children(This,pVal) \
(This)->lpVtbl -> get_children(This,pVal)
#define IPDObjectGroup_getScreenCTM(This,pVal) \
(This)->lpVtbl -> getScreenCTM(This,pVal)
#define IPDObjectGroup_clone(This,pVal) \
(This)->lpVtbl -> clone(This,pVal)
#define IPDObjectGroup_getExpandedBBox(This,pVal) \
(This)->lpVtbl -> getExpandedBBox(This,pVal)
#define IPDObjectGroup_appendObject(This,object) \
(This)->lpVtbl -> appendObject(This,object)
#define IPDObjectGroup_insertObjectBeforeObject(This,object,before) \
(This)->lpVtbl -> insertObjectBeforeObject(This,object,before)
#define IPDObjectGroup_get_enableBackground(This,pVal) \
(This)->lpVtbl -> get_enableBackground(This,pVal)
#define IPDObjectGroup_put_enableBackground(This,newVal) \
(This)->lpVtbl -> put_enableBackground(This,newVal)
#endif /* COBJMACROS */
#endif /* C style interface */
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDObjectGroup_appendObject_Proxy(
IPDObjectGroup __RPC_FAR * This,
/* [in] */ IPDObject __RPC_FAR *object);
void __RPC_STUB IPDObjectGroup_appendObject_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDObjectGroup_insertObjectBeforeObject_Proxy(
IPDObjectGroup __RPC_FAR * This,
/* [in] */ IPDObject __RPC_FAR *object,
/* [in] */ IPDObject __RPC_FAR *before);
void __RPC_STUB IPDObjectGroup_insertObjectBeforeObject_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDObjectGroup_get_enableBackground_Proxy(
IPDObjectGroup __RPC_FAR * This,
/* [retval][out] */ long __RPC_FAR *pVal);
void __RPC_STUB IPDObjectGroup_get_enableBackground_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IPDObjectGroup_put_enableBackground_Proxy(
IPDObjectGroup __RPC_FAR * This,
/* [in] */ long newVal);
void __RPC_STUB IPDObjectGroup_put_enableBackground_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
#endif /* __IPDObjectGroup_INTERFACE_DEFINED__ */
#ifndef __IPDObjectLayerGroup_INTERFACE_DEFINED__
#define __IPDObjectLayerGroup_INTERFACE_DEFINED__
/* interface IPDObjectLayerGroup */
/* [unique][helpstring][uuid][object] */
EXTERN_C const IID IID_IPDObjectLayerGroup;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("59FE0761-098C-11d6-95F0-0002E3045703")
IPDObjectLayerGroup : public IPDObjectGroup
{
public:
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_guides(
/* [retval][out] */ IPDGuides __RPC_FAR *__RPC_FAR *pVal) = 0;
};
#else /* C style interface */
typedef struct IPDObjectLayerGroupVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
IPDObjectLayerGroup __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
IPDObjectLayerGroup __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
IPDObjectLayerGroup __RPC_FAR * This);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_uniqId )(
IPDObjectLayerGroup __RPC_FAR * This,
/* [retval][out] */ GUID __RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_objectType )(
IPDObjectLayerGroup __RPC_FAR * This,
/* [retval][out] */ PDObjectType __RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_layer )(
IPDObjectLayerGroup __RPC_FAR * This,
/* [retval][out] */ IPDLayer __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_parent )(
IPDObjectLayerGroup __RPC_FAR * This,
/* [retval][out] */ IPDObjectUnknown __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_parent )(
IPDObjectLayerGroup __RPC_FAR * This,
/* [in] */ IPDObjectUnknown __RPC_FAR *newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_nextSibling )(
IPDObjectLayerGroup __RPC_FAR * This,
/* [retval][out] */ IPDObjectUnknown __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_nextSibling )(
IPDObjectLayerGroup __RPC_FAR * This,
/* [in] */ IPDObjectUnknown __RPC_FAR *newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_previousSibling )(
IPDObjectLayerGroup __RPC_FAR * This,
/* [retval][out] */ IPDObjectUnknown __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_previousSibling )(
IPDObjectLayerGroup __RPC_FAR * This,
/* [in] */ IPDObjectUnknown __RPC_FAR *newVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *removeObject )(
IPDObjectLayerGroup __RPC_FAR * This,
/* [in] */ IPDObjectUnknown __RPC_FAR *object);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_spread )(
IPDObjectLayerGroup __RPC_FAR * This,
/* [retval][out] */ IPDSpread __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_spread )(
IPDObjectLayerGroup __RPC_FAR * This,
/* [in] */ IPDSpread __RPC_FAR *newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_document )(
IPDObjectLayerGroup __RPC_FAR * This,
/* [retval][out] */ IPDDocument __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_document )(
IPDObjectLayerGroup __RPC_FAR * This,
/* [in] */ IPDDocument __RPC_FAR *newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_firstChild )(
IPDObjectLayerGroup __RPC_FAR * This,
/* [retval][out] */ IPDObjectUnknown __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_lastChild )(
IPDObjectLayerGroup __RPC_FAR * This,
/* [retval][out] */ IPDObjectUnknown __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_children )(
IPDObjectLayerGroup __RPC_FAR * This,
/* [retval][out] */ IObjectMap __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *getScreenCTM )(
IPDObjectLayerGroup __RPC_FAR * This,
/* [retval][out] */ IPDMatrix __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *clone )(
IPDObjectLayerGroup __RPC_FAR * This,
/* [retval][out] */ IPDObject __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *getExpandedBBox )(
IPDObjectLayerGroup __RPC_FAR * This,
/* [retval][out] */ RectD __RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *appendObject )(
IPDObjectLayerGroup __RPC_FAR * This,
/* [in] */ IPDObject __RPC_FAR *object);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *insertObjectBeforeObject )(
IPDObjectLayerGroup __RPC_FAR * This,
/* [in] */ IPDObject __RPC_FAR *object,
/* [in] */ IPDObject __RPC_FAR *before);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_enableBackground )(
IPDObjectLayerGroup __RPC_FAR * This,
/* [retval][out] */ long __RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_enableBackground )(
IPDObjectLayerGroup __RPC_FAR * This,
/* [in] */ long newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_guides )(
IPDObjectLayerGroup __RPC_FAR * This,
/* [retval][out] */ IPDGuides __RPC_FAR *__RPC_FAR *pVal);
END_INTERFACE
} IPDObjectLayerGroupVtbl;
interface IPDObjectLayerGroup
{
CONST_VTBL struct IPDObjectLayerGroupVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define IPDObjectLayerGroup_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define IPDObjectLayerGroup_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define IPDObjectLayerGroup_Release(This) \
(This)->lpVtbl -> Release(This)
#define IPDObjectLayerGroup_get_uniqId(This,pVal) \
(This)->lpVtbl -> get_uniqId(This,pVal)
#define IPDObjectLayerGroup_get_objectType(This,pVal) \
(This)->lpVtbl -> get_objectType(This,pVal)
#define IPDObjectLayerGroup_get_layer(This,pVal) \
(This)->lpVtbl -> get_layer(This,pVal)
#define IPDObjectLayerGroup_get_parent(This,pVal) \
(This)->lpVtbl -> get_parent(This,pVal)
#define IPDObjectLayerGroup_put_parent(This,newVal) \
(This)->lpVtbl -> put_parent(This,newVal)
#define IPDObjectLayerGroup_get_nextSibling(This,pVal) \
(This)->lpVtbl -> get_nextSibling(This,pVal)
#define IPDObjectLayerGroup_put_nextSibling(This,newVal) \
(This)->lpVtbl -> put_nextSibling(This,newVal)
#define IPDObjectLayerGroup_get_previousSibling(This,pVal) \
(This)->lpVtbl -> get_previousSibling(This,pVal)
#define IPDObjectLayerGroup_put_previousSibling(This,newVal) \
(This)->lpVtbl -> put_previousSibling(This,newVal)
#define IPDObjectLayerGroup_removeObject(This,object) \
(This)->lpVtbl -> removeObject(This,object)
#define IPDObjectLayerGroup_get_spread(This,pVal) \
(This)->lpVtbl -> get_spread(This,pVal)
#define IPDObjectLayerGroup_put_spread(This,newVal) \
(This)->lpVtbl -> put_spread(This,newVal)
#define IPDObjectLayerGroup_get_document(This,pVal) \
(This)->lpVtbl -> get_document(This,pVal)
#define IPDObjectLayerGroup_put_document(This,newVal) \
(This)->lpVtbl -> put_document(This,newVal)
#define IPDObjectLayerGroup_get_firstChild(This,pVal) \
(This)->lpVtbl -> get_firstChild(This,pVal)
#define IPDObjectLayerGroup_get_lastChild(This,pVal) \
(This)->lpVtbl -> get_lastChild(This,pVal)
#define IPDObjectLayerGroup_get_children(This,pVal) \
(This)->lpVtbl -> get_children(This,pVal)
#define IPDObjectLayerGroup_getScreenCTM(This,pVal) \
(This)->lpVtbl -> getScreenCTM(This,pVal)
#define IPDObjectLayerGroup_clone(This,pVal) \
(This)->lpVtbl -> clone(This,pVal)
#define IPDObjectLayerGroup_getExpandedBBox(This,pVal) \
(This)->lpVtbl -> getExpandedBBox(This,pVal)
#define IPDObjectLayerGroup_appendObject(This,object) \
(This)->lpVtbl -> appendObject(This,object)
#define IPDObjectLayerGroup_insertObjectBeforeObject(This,object,before) \
(This)->lpVtbl -> insertObjectBeforeObject(This,object,before)
#define IPDObjectLayerGroup_get_enableBackground(This,pVal) \
(This)->lpVtbl -> get_enableBackground(This,pVal)
#define IPDObjectLayerGroup_put_enableBackground(This,newVal) \
(This)->lpVtbl -> put_enableBackground(This,newVal)
#define IPDObjectLayerGroup_get_guides(This,pVal) \
(This)->lpVtbl -> get_guides(This,pVal)
#endif /* COBJMACROS */
#endif /* C style interface */
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDObjectLayerGroup_get_guides_Proxy(
IPDObjectLayerGroup __RPC_FAR * This,
/* [retval][out] */ IPDGuides __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDObjectLayerGroup_get_guides_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
#endif /* __IPDObjectLayerGroup_INTERFACE_DEFINED__ */
#ifndef __IPDObjectFrame_INTERFACE_DEFINED__
#define __IPDObjectFrame_INTERFACE_DEFINED__
/* interface IPDObjectFrame */
/* [unique][helpstring][uuid][object] */
EXTERN_C const IID IID_IPDObjectFrame;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("8F5428D1-A66F-4119-9545-5BC3FA0440CE")
IPDObjectFrame : public IPDObject
{
public:
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_path(
/* [retval][out] */ IPDPath __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_path(
/* [in] */ IPDPath __RPC_FAR *newVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_content(
/* [retval][out] */ IPDObject __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_content(
/* [in] */ IPDObject __RPC_FAR *newVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_pathText(
/* [retval][out] */ IPDPathText __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_pathText(
/* [in] */ IPDPathText __RPC_FAR *newVal) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE IsPointOverStrokeOutline(
/* [in] */ PointD pt,
/* [retval][out] */ BOOL __RPC_FAR *pVal) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE appendSubObject(
/* [in] */ IPDObjectWithBrush __RPC_FAR *object) = 0;
};
#else /* C style interface */
typedef struct IPDObjectFrameVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
IPDObjectFrame __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
IPDObjectFrame __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
IPDObjectFrame __RPC_FAR * This);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_uniqId )(
IPDObjectFrame __RPC_FAR * This,
/* [retval][out] */ GUID __RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_objectType )(
IPDObjectFrame __RPC_FAR * This,
/* [retval][out] */ PDObjectType __RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_layer )(
IPDObjectFrame __RPC_FAR * This,
/* [retval][out] */ IPDLayer __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_parent )(
IPDObjectFrame __RPC_FAR * This,
/* [retval][out] */ IPDObjectUnknown __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_parent )(
IPDObjectFrame __RPC_FAR * This,
/* [in] */ IPDObjectUnknown __RPC_FAR *newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_nextSibling )(
IPDObjectFrame __RPC_FAR * This,
/* [retval][out] */ IPDObjectUnknown __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_nextSibling )(
IPDObjectFrame __RPC_FAR * This,
/* [in] */ IPDObjectUnknown __RPC_FAR *newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_previousSibling )(
IPDObjectFrame __RPC_FAR * This,
/* [retval][out] */ IPDObjectUnknown __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_previousSibling )(
IPDObjectFrame __RPC_FAR * This,
/* [in] */ IPDObjectUnknown __RPC_FAR *newVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *removeObject )(
IPDObjectFrame __RPC_FAR * This,
/* [in] */ IPDObjectUnknown __RPC_FAR *object);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_spread )(
IPDObjectFrame __RPC_FAR * This,
/* [retval][out] */ IPDSpread __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_spread )(
IPDObjectFrame __RPC_FAR * This,
/* [in] */ IPDSpread __RPC_FAR *newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_document )(
IPDObjectFrame __RPC_FAR * This,
/* [retval][out] */ IPDDocument __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_document )(
IPDObjectFrame __RPC_FAR * This,
/* [in] */ IPDDocument __RPC_FAR *newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_firstChild )(
IPDObjectFrame __RPC_FAR * This,
/* [retval][out] */ IPDObjectUnknown __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_lastChild )(
IPDObjectFrame __RPC_FAR * This,
/* [retval][out] */ IPDObjectUnknown __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_children )(
IPDObjectFrame __RPC_FAR * This,
/* [retval][out] */ IObjectMap __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *getScreenCTM )(
IPDObjectFrame __RPC_FAR * This,
/* [retval][out] */ IPDMatrix __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *clone )(
IPDObjectFrame __RPC_FAR * This,
/* [retval][out] */ IPDObject __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *getExpandedBBox )(
IPDObjectFrame __RPC_FAR * This,
/* [retval][out] */ RectD __RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_path )(
IPDObjectFrame __RPC_FAR * This,
/* [retval][out] */ IPDPath __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_path )(
IPDObjectFrame __RPC_FAR * This,
/* [in] */ IPDPath __RPC_FAR *newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_content )(
IPDObjectFrame __RPC_FAR * This,
/* [retval][out] */ IPDObject __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_content )(
IPDObjectFrame __RPC_FAR * This,
/* [in] */ IPDObject __RPC_FAR *newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_pathText )(
IPDObjectFrame __RPC_FAR * This,
/* [retval][out] */ IPDPathText __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_pathText )(
IPDObjectFrame __RPC_FAR * This,
/* [in] */ IPDPathText __RPC_FAR *newVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *IsPointOverStrokeOutline )(
IPDObjectFrame __RPC_FAR * This,
/* [in] */ PointD pt,
/* [retval][out] */ BOOL __RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *appendSubObject )(
IPDObjectFrame __RPC_FAR * This,
/* [in] */ IPDObjectWithBrush __RPC_FAR *object);
END_INTERFACE
} IPDObjectFrameVtbl;
interface IPDObjectFrame
{
CONST_VTBL struct IPDObjectFrameVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define IPDObjectFrame_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define IPDObjectFrame_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define IPDObjectFrame_Release(This) \
(This)->lpVtbl -> Release(This)
#define IPDObjectFrame_get_uniqId(This,pVal) \
(This)->lpVtbl -> get_uniqId(This,pVal)
#define IPDObjectFrame_get_objectType(This,pVal) \
(This)->lpVtbl -> get_objectType(This,pVal)
#define IPDObjectFrame_get_layer(This,pVal) \
(This)->lpVtbl -> get_layer(This,pVal)
#define IPDObjectFrame_get_parent(This,pVal) \
(This)->lpVtbl -> get_parent(This,pVal)
#define IPDObjectFrame_put_parent(This,newVal) \
(This)->lpVtbl -> put_parent(This,newVal)
#define IPDObjectFrame_get_nextSibling(This,pVal) \
(This)->lpVtbl -> get_nextSibling(This,pVal)
#define IPDObjectFrame_put_nextSibling(This,newVal) \
(This)->lpVtbl -> put_nextSibling(This,newVal)
#define IPDObjectFrame_get_previousSibling(This,pVal) \
(This)->lpVtbl -> get_previousSibling(This,pVal)
#define IPDObjectFrame_put_previousSibling(This,newVal) \
(This)->lpVtbl -> put_previousSibling(This,newVal)
#define IPDObjectFrame_removeObject(This,object) \
(This)->lpVtbl -> removeObject(This,object)
#define IPDObjectFrame_get_spread(This,pVal) \
(This)->lpVtbl -> get_spread(This,pVal)
#define IPDObjectFrame_put_spread(This,newVal) \
(This)->lpVtbl -> put_spread(This,newVal)
#define IPDObjectFrame_get_document(This,pVal) \
(This)->lpVtbl -> get_document(This,pVal)
#define IPDObjectFrame_put_document(This,newVal) \
(This)->lpVtbl -> put_document(This,newVal)
#define IPDObjectFrame_get_firstChild(This,pVal) \
(This)->lpVtbl -> get_firstChild(This,pVal)
#define IPDObjectFrame_get_lastChild(This,pVal) \
(This)->lpVtbl -> get_lastChild(This,pVal)
#define IPDObjectFrame_get_children(This,pVal) \
(This)->lpVtbl -> get_children(This,pVal)
#define IPDObjectFrame_getScreenCTM(This,pVal) \
(This)->lpVtbl -> getScreenCTM(This,pVal)
#define IPDObjectFrame_clone(This,pVal) \
(This)->lpVtbl -> clone(This,pVal)
#define IPDObjectFrame_getExpandedBBox(This,pVal) \
(This)->lpVtbl -> getExpandedBBox(This,pVal)
#define IPDObjectFrame_get_path(This,pVal) \
(This)->lpVtbl -> get_path(This,pVal)
#define IPDObjectFrame_put_path(This,newVal) \
(This)->lpVtbl -> put_path(This,newVal)
#define IPDObjectFrame_get_content(This,pVal) \
(This)->lpVtbl -> get_content(This,pVal)
#define IPDObjectFrame_put_content(This,newVal) \
(This)->lpVtbl -> put_content(This,newVal)
#define IPDObjectFrame_get_pathText(This,pVal) \
(This)->lpVtbl -> get_pathText(This,pVal)
#define IPDObjectFrame_put_pathText(This,newVal) \
(This)->lpVtbl -> put_pathText(This,newVal)
#define IPDObjectFrame_IsPointOverStrokeOutline(This,pt,pVal) \
(This)->lpVtbl -> IsPointOverStrokeOutline(This,pt,pVal)
#define IPDObjectFrame_appendSubObject(This,object) \
(This)->lpVtbl -> appendSubObject(This,object)
#endif /* COBJMACROS */
#endif /* C style interface */
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDObjectFrame_get_path_Proxy(
IPDObjectFrame __RPC_FAR * This,
/* [retval][out] */ IPDPath __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDObjectFrame_get_path_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IPDObjectFrame_put_path_Proxy(
IPDObjectFrame __RPC_FAR * This,
/* [in] */ IPDPath __RPC_FAR *newVal);
void __RPC_STUB IPDObjectFrame_put_path_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDObjectFrame_get_content_Proxy(
IPDObjectFrame __RPC_FAR * This,
/* [retval][out] */ IPDObject __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDObjectFrame_get_content_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IPDObjectFrame_put_content_Proxy(
IPDObjectFrame __RPC_FAR * This,
/* [in] */ IPDObject __RPC_FAR *newVal);
void __RPC_STUB IPDObjectFrame_put_content_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDObjectFrame_get_pathText_Proxy(
IPDObjectFrame __RPC_FAR * This,
/* [retval][out] */ IPDPathText __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDObjectFrame_get_pathText_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IPDObjectFrame_put_pathText_Proxy(
IPDObjectFrame __RPC_FAR * This,
/* [in] */ IPDPathText __RPC_FAR *newVal);
void __RPC_STUB IPDObjectFrame_put_pathText_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDObjectFrame_IsPointOverStrokeOutline_Proxy(
IPDObjectFrame __RPC_FAR * This,
/* [in] */ PointD pt,
/* [retval][out] */ BOOL __RPC_FAR *pVal);
void __RPC_STUB IPDObjectFrame_IsPointOverStrokeOutline_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDObjectFrame_appendSubObject_Proxy(
IPDObjectFrame __RPC_FAR * This,
/* [in] */ IPDObjectWithBrush __RPC_FAR *object);
void __RPC_STUB IPDObjectFrame_appendSubObject_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
#endif /* __IPDObjectFrame_INTERFACE_DEFINED__ */
#ifndef __IPDObjectText_INTERFACE_DEFINED__
#define __IPDObjectText_INTERFACE_DEFINED__
/* interface IPDObjectText */
/* [unique][helpstring][uuid][object] */
EXTERN_C const IID IID_IPDObjectText;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("13352CA8-421C-4414-8214-388E15D0044A")
IPDObjectText : public IPDObject
{
public:
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_story(
/* [retval][out] */ IPDStory __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_story(
/* [in] */ IPDStory __RPC_FAR *newVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_previousTextThread(
/* [retval][out] */ IPDObjectText __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_previousTextThread(
/* [in] */ IPDObjectText __RPC_FAR *newVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_nextTextThread(
/* [retval][out] */ IPDObjectText __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_nextTextThread(
/* [in] */ IPDObjectText __RPC_FAR *newVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_overflow(
/* [retval][out] */ VARIANT_BOOL __RPC_FAR *pVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_threadPtIn(
/* [retval][out] */ PointD __RPC_FAR *pVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_threadPtOut(
/* [retval][out] */ PointD __RPC_FAR *pVal) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE getPosUnderPoint(
/* [in] */ double x,
/* [in] */ double y,
/* [out] */ ILDOMNode __RPC_FAR *__RPC_FAR *pNode,
/* [out] */ long __RPC_FAR *pOffset,
/* [retval][out] */ BOOL __RPC_FAR *bHit) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE RenderSelection(
/* [in] */ HDC hDC,
/* [in] */ IPDMatrix __RPC_FAR *matrix,
/* [in] */ ILDOMRange __RPC_FAR *range) = 0;
};
#else /* C style interface */
typedef struct IPDObjectTextVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
IPDObjectText __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
IPDObjectText __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
IPDObjectText __RPC_FAR * This);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_uniqId )(
IPDObjectText __RPC_FAR * This,
/* [retval][out] */ GUID __RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_objectType )(
IPDObjectText __RPC_FAR * This,
/* [retval][out] */ PDObjectType __RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_layer )(
IPDObjectText __RPC_FAR * This,
/* [retval][out] */ IPDLayer __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_parent )(
IPDObjectText __RPC_FAR * This,
/* [retval][out] */ IPDObjectUnknown __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_parent )(
IPDObjectText __RPC_FAR * This,
/* [in] */ IPDObjectUnknown __RPC_FAR *newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_nextSibling )(
IPDObjectText __RPC_FAR * This,
/* [retval][out] */ IPDObjectUnknown __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_nextSibling )(
IPDObjectText __RPC_FAR * This,
/* [in] */ IPDObjectUnknown __RPC_FAR *newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_previousSibling )(
IPDObjectText __RPC_FAR * This,
/* [retval][out] */ IPDObjectUnknown __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_previousSibling )(
IPDObjectText __RPC_FAR * This,
/* [in] */ IPDObjectUnknown __RPC_FAR *newVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *removeObject )(
IPDObjectText __RPC_FAR * This,
/* [in] */ IPDObjectUnknown __RPC_FAR *object);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_spread )(
IPDObjectText __RPC_FAR * This,
/* [retval][out] */ IPDSpread __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_spread )(
IPDObjectText __RPC_FAR * This,
/* [in] */ IPDSpread __RPC_FAR *newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_document )(
IPDObjectText __RPC_FAR * This,
/* [retval][out] */ IPDDocument __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_document )(
IPDObjectText __RPC_FAR * This,
/* [in] */ IPDDocument __RPC_FAR *newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_firstChild )(
IPDObjectText __RPC_FAR * This,
/* [retval][out] */ IPDObjectUnknown __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_lastChild )(
IPDObjectText __RPC_FAR * This,
/* [retval][out] */ IPDObjectUnknown __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_children )(
IPDObjectText __RPC_FAR * This,
/* [retval][out] */ IObjectMap __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *getScreenCTM )(
IPDObjectText __RPC_FAR * This,
/* [retval][out] */ IPDMatrix __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *clone )(
IPDObjectText __RPC_FAR * This,
/* [retval][out] */ IPDObject __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *getExpandedBBox )(
IPDObjectText __RPC_FAR * This,
/* [retval][out] */ RectD __RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_story )(
IPDObjectText __RPC_FAR * This,
/* [retval][out] */ IPDStory __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_story )(
IPDObjectText __RPC_FAR * This,
/* [in] */ IPDStory __RPC_FAR *newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_previousTextThread )(
IPDObjectText __RPC_FAR * This,
/* [retval][out] */ IPDObjectText __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_previousTextThread )(
IPDObjectText __RPC_FAR * This,
/* [in] */ IPDObjectText __RPC_FAR *newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_nextTextThread )(
IPDObjectText __RPC_FAR * This,
/* [retval][out] */ IPDObjectText __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_nextTextThread )(
IPDObjectText __RPC_FAR * This,
/* [in] */ IPDObjectText __RPC_FAR *newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_overflow )(
IPDObjectText __RPC_FAR * This,
/* [retval][out] */ VARIANT_BOOL __RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_threadPtIn )(
IPDObjectText __RPC_FAR * This,
/* [retval][out] */ PointD __RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_threadPtOut )(
IPDObjectText __RPC_FAR * This,
/* [retval][out] */ PointD __RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *getPosUnderPoint )(
IPDObjectText __RPC_FAR * This,
/* [in] */ double x,
/* [in] */ double y,
/* [out] */ ILDOMNode __RPC_FAR *__RPC_FAR *pNode,
/* [out] */ long __RPC_FAR *pOffset,
/* [retval][out] */ BOOL __RPC_FAR *bHit);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *RenderSelection )(
IPDObjectText __RPC_FAR * This,
/* [in] */ HDC hDC,
/* [in] */ IPDMatrix __RPC_FAR *matrix,
/* [in] */ ILDOMRange __RPC_FAR *range);
END_INTERFACE
} IPDObjectTextVtbl;
interface IPDObjectText
{
CONST_VTBL struct IPDObjectTextVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define IPDObjectText_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define IPDObjectText_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define IPDObjectText_Release(This) \
(This)->lpVtbl -> Release(This)
#define IPDObjectText_get_uniqId(This,pVal) \
(This)->lpVtbl -> get_uniqId(This,pVal)
#define IPDObjectText_get_objectType(This,pVal) \
(This)->lpVtbl -> get_objectType(This,pVal)
#define IPDObjectText_get_layer(This,pVal) \
(This)->lpVtbl -> get_layer(This,pVal)
#define IPDObjectText_get_parent(This,pVal) \
(This)->lpVtbl -> get_parent(This,pVal)
#define IPDObjectText_put_parent(This,newVal) \
(This)->lpVtbl -> put_parent(This,newVal)
#define IPDObjectText_get_nextSibling(This,pVal) \
(This)->lpVtbl -> get_nextSibling(This,pVal)
#define IPDObjectText_put_nextSibling(This,newVal) \
(This)->lpVtbl -> put_nextSibling(This,newVal)
#define IPDObjectText_get_previousSibling(This,pVal) \
(This)->lpVtbl -> get_previousSibling(This,pVal)
#define IPDObjectText_put_previousSibling(This,newVal) \
(This)->lpVtbl -> put_previousSibling(This,newVal)
#define IPDObjectText_removeObject(This,object) \
(This)->lpVtbl -> removeObject(This,object)
#define IPDObjectText_get_spread(This,pVal) \
(This)->lpVtbl -> get_spread(This,pVal)
#define IPDObjectText_put_spread(This,newVal) \
(This)->lpVtbl -> put_spread(This,newVal)
#define IPDObjectText_get_document(This,pVal) \
(This)->lpVtbl -> get_document(This,pVal)
#define IPDObjectText_put_document(This,newVal) \
(This)->lpVtbl -> put_document(This,newVal)
#define IPDObjectText_get_firstChild(This,pVal) \
(This)->lpVtbl -> get_firstChild(This,pVal)
#define IPDObjectText_get_lastChild(This,pVal) \
(This)->lpVtbl -> get_lastChild(This,pVal)
#define IPDObjectText_get_children(This,pVal) \
(This)->lpVtbl -> get_children(This,pVal)
#define IPDObjectText_getScreenCTM(This,pVal) \
(This)->lpVtbl -> getScreenCTM(This,pVal)
#define IPDObjectText_clone(This,pVal) \
(This)->lpVtbl -> clone(This,pVal)
#define IPDObjectText_getExpandedBBox(This,pVal) \
(This)->lpVtbl -> getExpandedBBox(This,pVal)
#define IPDObjectText_get_story(This,pVal) \
(This)->lpVtbl -> get_story(This,pVal)
#define IPDObjectText_put_story(This,newVal) \
(This)->lpVtbl -> put_story(This,newVal)
#define IPDObjectText_get_previousTextThread(This,pVal) \
(This)->lpVtbl -> get_previousTextThread(This,pVal)
#define IPDObjectText_put_previousTextThread(This,newVal) \
(This)->lpVtbl -> put_previousTextThread(This,newVal)
#define IPDObjectText_get_nextTextThread(This,pVal) \
(This)->lpVtbl -> get_nextTextThread(This,pVal)
#define IPDObjectText_put_nextTextThread(This,newVal) \
(This)->lpVtbl -> put_nextTextThread(This,newVal)
#define IPDObjectText_get_overflow(This,pVal) \
(This)->lpVtbl -> get_overflow(This,pVal)
#define IPDObjectText_get_threadPtIn(This,pVal) \
(This)->lpVtbl -> get_threadPtIn(This,pVal)
#define IPDObjectText_get_threadPtOut(This,pVal) \
(This)->lpVtbl -> get_threadPtOut(This,pVal)
#define IPDObjectText_getPosUnderPoint(This,x,y,pNode,pOffset,bHit) \
(This)->lpVtbl -> getPosUnderPoint(This,x,y,pNode,pOffset,bHit)
#define IPDObjectText_RenderSelection(This,hDC,matrix,range) \
(This)->lpVtbl -> RenderSelection(This,hDC,matrix,range)
#endif /* COBJMACROS */
#endif /* C style interface */
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDObjectText_get_story_Proxy(
IPDObjectText __RPC_FAR * This,
/* [retval][out] */ IPDStory __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDObjectText_get_story_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IPDObjectText_put_story_Proxy(
IPDObjectText __RPC_FAR * This,
/* [in] */ IPDStory __RPC_FAR *newVal);
void __RPC_STUB IPDObjectText_put_story_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDObjectText_get_previousTextThread_Proxy(
IPDObjectText __RPC_FAR * This,
/* [retval][out] */ IPDObjectText __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDObjectText_get_previousTextThread_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IPDObjectText_put_previousTextThread_Proxy(
IPDObjectText __RPC_FAR * This,
/* [in] */ IPDObjectText __RPC_FAR *newVal);
void __RPC_STUB IPDObjectText_put_previousTextThread_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDObjectText_get_nextTextThread_Proxy(
IPDObjectText __RPC_FAR * This,
/* [retval][out] */ IPDObjectText __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDObjectText_get_nextTextThread_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IPDObjectText_put_nextTextThread_Proxy(
IPDObjectText __RPC_FAR * This,
/* [in] */ IPDObjectText __RPC_FAR *newVal);
void __RPC_STUB IPDObjectText_put_nextTextThread_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDObjectText_get_overflow_Proxy(
IPDObjectText __RPC_FAR * This,
/* [retval][out] */ VARIANT_BOOL __RPC_FAR *pVal);
void __RPC_STUB IPDObjectText_get_overflow_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDObjectText_get_threadPtIn_Proxy(
IPDObjectText __RPC_FAR * This,
/* [retval][out] */ PointD __RPC_FAR *pVal);
void __RPC_STUB IPDObjectText_get_threadPtIn_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDObjectText_get_threadPtOut_Proxy(
IPDObjectText __RPC_FAR * This,
/* [retval][out] */ PointD __RPC_FAR *pVal);
void __RPC_STUB IPDObjectText_get_threadPtOut_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDObjectText_getPosUnderPoint_Proxy(
IPDObjectText __RPC_FAR * This,
/* [in] */ double x,
/* [in] */ double y,
/* [out] */ ILDOMNode __RPC_FAR *__RPC_FAR *pNode,
/* [out] */ long __RPC_FAR *pOffset,
/* [retval][out] */ BOOL __RPC_FAR *bHit);
void __RPC_STUB IPDObjectText_getPosUnderPoint_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDObjectText_RenderSelection_Proxy(
IPDObjectText __RPC_FAR * This,
/* [in] */ HDC hDC,
/* [in] */ IPDMatrix __RPC_FAR *matrix,
/* [in] */ ILDOMRange __RPC_FAR *range);
void __RPC_STUB IPDObjectText_RenderSelection_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
#endif /* __IPDObjectText_INTERFACE_DEFINED__ */
#ifndef __IPDContentText_INTERFACE_DEFINED__
#define __IPDContentText_INTERFACE_DEFINED__
/* interface IPDContentText */
/* [unique][helpstring][uuid][object] */
EXTERN_C const IID IID_IPDContentText;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("131F86E8-2B11-4cb6-9A85-BFA92B5DFD1D")
IPDContentText : public IPDObjectText
{
public:
};
#else /* C style interface */
typedef struct IPDContentTextVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
IPDContentText __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
IPDContentText __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
IPDContentText __RPC_FAR * This);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_uniqId )(
IPDContentText __RPC_FAR * This,
/* [retval][out] */ GUID __RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_objectType )(
IPDContentText __RPC_FAR * This,
/* [retval][out] */ PDObjectType __RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_layer )(
IPDContentText __RPC_FAR * This,
/* [retval][out] */ IPDLayer __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_parent )(
IPDContentText __RPC_FAR * This,
/* [retval][out] */ IPDObjectUnknown __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_parent )(
IPDContentText __RPC_FAR * This,
/* [in] */ IPDObjectUnknown __RPC_FAR *newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_nextSibling )(
IPDContentText __RPC_FAR * This,
/* [retval][out] */ IPDObjectUnknown __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_nextSibling )(
IPDContentText __RPC_FAR * This,
/* [in] */ IPDObjectUnknown __RPC_FAR *newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_previousSibling )(
IPDContentText __RPC_FAR * This,
/* [retval][out] */ IPDObjectUnknown __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_previousSibling )(
IPDContentText __RPC_FAR * This,
/* [in] */ IPDObjectUnknown __RPC_FAR *newVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *removeObject )(
IPDContentText __RPC_FAR * This,
/* [in] */ IPDObjectUnknown __RPC_FAR *object);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_spread )(
IPDContentText __RPC_FAR * This,
/* [retval][out] */ IPDSpread __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_spread )(
IPDContentText __RPC_FAR * This,
/* [in] */ IPDSpread __RPC_FAR *newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_document )(
IPDContentText __RPC_FAR * This,
/* [retval][out] */ IPDDocument __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_document )(
IPDContentText __RPC_FAR * This,
/* [in] */ IPDDocument __RPC_FAR *newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_firstChild )(
IPDContentText __RPC_FAR * This,
/* [retval][out] */ IPDObjectUnknown __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_lastChild )(
IPDContentText __RPC_FAR * This,
/* [retval][out] */ IPDObjectUnknown __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_children )(
IPDContentText __RPC_FAR * This,
/* [retval][out] */ IObjectMap __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *getScreenCTM )(
IPDContentText __RPC_FAR * This,
/* [retval][out] */ IPDMatrix __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *clone )(
IPDContentText __RPC_FAR * This,
/* [retval][out] */ IPDObject __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *getExpandedBBox )(
IPDContentText __RPC_FAR * This,
/* [retval][out] */ RectD __RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_story )(
IPDContentText __RPC_FAR * This,
/* [retval][out] */ IPDStory __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_story )(
IPDContentText __RPC_FAR * This,
/* [in] */ IPDStory __RPC_FAR *newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_previousTextThread )(
IPDContentText __RPC_FAR * This,
/* [retval][out] */ IPDObjectText __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_previousTextThread )(
IPDContentText __RPC_FAR * This,
/* [in] */ IPDObjectText __RPC_FAR *newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_nextTextThread )(
IPDContentText __RPC_FAR * This,
/* [retval][out] */ IPDObjectText __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_nextTextThread )(
IPDContentText __RPC_FAR * This,
/* [in] */ IPDObjectText __RPC_FAR *newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_overflow )(
IPDContentText __RPC_FAR * This,
/* [retval][out] */ VARIANT_BOOL __RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_threadPtIn )(
IPDContentText __RPC_FAR * This,
/* [retval][out] */ PointD __RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_threadPtOut )(
IPDContentText __RPC_FAR * This,
/* [retval][out] */ PointD __RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *getPosUnderPoint )(
IPDContentText __RPC_FAR * This,
/* [in] */ double x,
/* [in] */ double y,
/* [out] */ ILDOMNode __RPC_FAR *__RPC_FAR *pNode,
/* [out] */ long __RPC_FAR *pOffset,
/* [retval][out] */ BOOL __RPC_FAR *bHit);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *RenderSelection )(
IPDContentText __RPC_FAR * This,
/* [in] */ HDC hDC,
/* [in] */ IPDMatrix __RPC_FAR *matrix,
/* [in] */ ILDOMRange __RPC_FAR *range);
END_INTERFACE
} IPDContentTextVtbl;
interface IPDContentText
{
CONST_VTBL struct IPDContentTextVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define IPDContentText_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define IPDContentText_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define IPDContentText_Release(This) \
(This)->lpVtbl -> Release(This)
#define IPDContentText_get_uniqId(This,pVal) \
(This)->lpVtbl -> get_uniqId(This,pVal)
#define IPDContentText_get_objectType(This,pVal) \
(This)->lpVtbl -> get_objectType(This,pVal)
#define IPDContentText_get_layer(This,pVal) \
(This)->lpVtbl -> get_layer(This,pVal)
#define IPDContentText_get_parent(This,pVal) \
(This)->lpVtbl -> get_parent(This,pVal)
#define IPDContentText_put_parent(This,newVal) \
(This)->lpVtbl -> put_parent(This,newVal)
#define IPDContentText_get_nextSibling(This,pVal) \
(This)->lpVtbl -> get_nextSibling(This,pVal)
#define IPDContentText_put_nextSibling(This,newVal) \
(This)->lpVtbl -> put_nextSibling(This,newVal)
#define IPDContentText_get_previousSibling(This,pVal) \
(This)->lpVtbl -> get_previousSibling(This,pVal)
#define IPDContentText_put_previousSibling(This,newVal) \
(This)->lpVtbl -> put_previousSibling(This,newVal)
#define IPDContentText_removeObject(This,object) \
(This)->lpVtbl -> removeObject(This,object)
#define IPDContentText_get_spread(This,pVal) \
(This)->lpVtbl -> get_spread(This,pVal)
#define IPDContentText_put_spread(This,newVal) \
(This)->lpVtbl -> put_spread(This,newVal)
#define IPDContentText_get_document(This,pVal) \
(This)->lpVtbl -> get_document(This,pVal)
#define IPDContentText_put_document(This,newVal) \
(This)->lpVtbl -> put_document(This,newVal)
#define IPDContentText_get_firstChild(This,pVal) \
(This)->lpVtbl -> get_firstChild(This,pVal)
#define IPDContentText_get_lastChild(This,pVal) \
(This)->lpVtbl -> get_lastChild(This,pVal)
#define IPDContentText_get_children(This,pVal) \
(This)->lpVtbl -> get_children(This,pVal)
#define IPDContentText_getScreenCTM(This,pVal) \
(This)->lpVtbl -> getScreenCTM(This,pVal)
#define IPDContentText_clone(This,pVal) \
(This)->lpVtbl -> clone(This,pVal)
#define IPDContentText_getExpandedBBox(This,pVal) \
(This)->lpVtbl -> getExpandedBBox(This,pVal)
#define IPDContentText_get_story(This,pVal) \
(This)->lpVtbl -> get_story(This,pVal)
#define IPDContentText_put_story(This,newVal) \
(This)->lpVtbl -> put_story(This,newVal)
#define IPDContentText_get_previousTextThread(This,pVal) \
(This)->lpVtbl -> get_previousTextThread(This,pVal)
#define IPDContentText_put_previousTextThread(This,newVal) \
(This)->lpVtbl -> put_previousTextThread(This,newVal)
#define IPDContentText_get_nextTextThread(This,pVal) \
(This)->lpVtbl -> get_nextTextThread(This,pVal)
#define IPDContentText_put_nextTextThread(This,newVal) \
(This)->lpVtbl -> put_nextTextThread(This,newVal)
#define IPDContentText_get_overflow(This,pVal) \
(This)->lpVtbl -> get_overflow(This,pVal)
#define IPDContentText_get_threadPtIn(This,pVal) \
(This)->lpVtbl -> get_threadPtIn(This,pVal)
#define IPDContentText_get_threadPtOut(This,pVal) \
(This)->lpVtbl -> get_threadPtOut(This,pVal)
#define IPDContentText_getPosUnderPoint(This,x,y,pNode,pOffset,bHit) \
(This)->lpVtbl -> getPosUnderPoint(This,x,y,pNode,pOffset,bHit)
#define IPDContentText_RenderSelection(This,hDC,matrix,range) \
(This)->lpVtbl -> RenderSelection(This,hDC,matrix,range)
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* __IPDContentText_INTERFACE_DEFINED__ */
#ifndef __IPDContentGraphic_INTERFACE_DEFINED__
#define __IPDContentGraphic_INTERFACE_DEFINED__
/* interface IPDContentGraphic */
/* [unique][helpstring][uuid][object] */
EXTERN_C const IID IID_IPDContentGraphic;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("871E5A3C-30C2-4a3a-ACDB-14959C8F1FF7")
IPDContentGraphic : public IPDObject
{
public:
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_image(
/* [retval][out] */ IPDImage __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_image(
/* [in] */ IPDImage __RPC_FAR *newVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_x(
/* [retval][out] */ double __RPC_FAR *pVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_y(
/* [retval][out] */ double __RPC_FAR *pVal) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE setxy(
/* [in] */ double x,
/* [in] */ double y) = 0;
};
#else /* C style interface */
typedef struct IPDContentGraphicVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
IPDContentGraphic __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
IPDContentGraphic __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
IPDContentGraphic __RPC_FAR * This);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_uniqId )(
IPDContentGraphic __RPC_FAR * This,
/* [retval][out] */ GUID __RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_objectType )(
IPDContentGraphic __RPC_FAR * This,
/* [retval][out] */ PDObjectType __RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_layer )(
IPDContentGraphic __RPC_FAR * This,
/* [retval][out] */ IPDLayer __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_parent )(
IPDContentGraphic __RPC_FAR * This,
/* [retval][out] */ IPDObjectUnknown __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_parent )(
IPDContentGraphic __RPC_FAR * This,
/* [in] */ IPDObjectUnknown __RPC_FAR *newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_nextSibling )(
IPDContentGraphic __RPC_FAR * This,
/* [retval][out] */ IPDObjectUnknown __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_nextSibling )(
IPDContentGraphic __RPC_FAR * This,
/* [in] */ IPDObjectUnknown __RPC_FAR *newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_previousSibling )(
IPDContentGraphic __RPC_FAR * This,
/* [retval][out] */ IPDObjectUnknown __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_previousSibling )(
IPDContentGraphic __RPC_FAR * This,
/* [in] */ IPDObjectUnknown __RPC_FAR *newVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *removeObject )(
IPDContentGraphic __RPC_FAR * This,
/* [in] */ IPDObjectUnknown __RPC_FAR *object);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_spread )(
IPDContentGraphic __RPC_FAR * This,
/* [retval][out] */ IPDSpread __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_spread )(
IPDContentGraphic __RPC_FAR * This,
/* [in] */ IPDSpread __RPC_FAR *newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_document )(
IPDContentGraphic __RPC_FAR * This,
/* [retval][out] */ IPDDocument __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_document )(
IPDContentGraphic __RPC_FAR * This,
/* [in] */ IPDDocument __RPC_FAR *newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_firstChild )(
IPDContentGraphic __RPC_FAR * This,
/* [retval][out] */ IPDObjectUnknown __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_lastChild )(
IPDContentGraphic __RPC_FAR * This,
/* [retval][out] */ IPDObjectUnknown __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_children )(
IPDContentGraphic __RPC_FAR * This,
/* [retval][out] */ IObjectMap __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *getScreenCTM )(
IPDContentGraphic __RPC_FAR * This,
/* [retval][out] */ IPDMatrix __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *clone )(
IPDContentGraphic __RPC_FAR * This,
/* [retval][out] */ IPDObject __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *getExpandedBBox )(
IPDContentGraphic __RPC_FAR * This,
/* [retval][out] */ RectD __RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_image )(
IPDContentGraphic __RPC_FAR * This,
/* [retval][out] */ IPDImage __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_image )(
IPDContentGraphic __RPC_FAR * This,
/* [in] */ IPDImage __RPC_FAR *newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_x )(
IPDContentGraphic __RPC_FAR * This,
/* [retval][out] */ double __RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_y )(
IPDContentGraphic __RPC_FAR * This,
/* [retval][out] */ double __RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *setxy )(
IPDContentGraphic __RPC_FAR * This,
/* [in] */ double x,
/* [in] */ double y);
END_INTERFACE
} IPDContentGraphicVtbl;
interface IPDContentGraphic
{
CONST_VTBL struct IPDContentGraphicVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define IPDContentGraphic_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define IPDContentGraphic_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define IPDContentGraphic_Release(This) \
(This)->lpVtbl -> Release(This)
#define IPDContentGraphic_get_uniqId(This,pVal) \
(This)->lpVtbl -> get_uniqId(This,pVal)
#define IPDContentGraphic_get_objectType(This,pVal) \
(This)->lpVtbl -> get_objectType(This,pVal)
#define IPDContentGraphic_get_layer(This,pVal) \
(This)->lpVtbl -> get_layer(This,pVal)
#define IPDContentGraphic_get_parent(This,pVal) \
(This)->lpVtbl -> get_parent(This,pVal)
#define IPDContentGraphic_put_parent(This,newVal) \
(This)->lpVtbl -> put_parent(This,newVal)
#define IPDContentGraphic_get_nextSibling(This,pVal) \
(This)->lpVtbl -> get_nextSibling(This,pVal)
#define IPDContentGraphic_put_nextSibling(This,newVal) \
(This)->lpVtbl -> put_nextSibling(This,newVal)
#define IPDContentGraphic_get_previousSibling(This,pVal) \
(This)->lpVtbl -> get_previousSibling(This,pVal)
#define IPDContentGraphic_put_previousSibling(This,newVal) \
(This)->lpVtbl -> put_previousSibling(This,newVal)
#define IPDContentGraphic_removeObject(This,object) \
(This)->lpVtbl -> removeObject(This,object)
#define IPDContentGraphic_get_spread(This,pVal) \
(This)->lpVtbl -> get_spread(This,pVal)
#define IPDContentGraphic_put_spread(This,newVal) \
(This)->lpVtbl -> put_spread(This,newVal)
#define IPDContentGraphic_get_document(This,pVal) \
(This)->lpVtbl -> get_document(This,pVal)
#define IPDContentGraphic_put_document(This,newVal) \
(This)->lpVtbl -> put_document(This,newVal)
#define IPDContentGraphic_get_firstChild(This,pVal) \
(This)->lpVtbl -> get_firstChild(This,pVal)
#define IPDContentGraphic_get_lastChild(This,pVal) \
(This)->lpVtbl -> get_lastChild(This,pVal)
#define IPDContentGraphic_get_children(This,pVal) \
(This)->lpVtbl -> get_children(This,pVal)
#define IPDContentGraphic_getScreenCTM(This,pVal) \
(This)->lpVtbl -> getScreenCTM(This,pVal)
#define IPDContentGraphic_clone(This,pVal) \
(This)->lpVtbl -> clone(This,pVal)
#define IPDContentGraphic_getExpandedBBox(This,pVal) \
(This)->lpVtbl -> getExpandedBBox(This,pVal)
#define IPDContentGraphic_get_image(This,pVal) \
(This)->lpVtbl -> get_image(This,pVal)
#define IPDContentGraphic_put_image(This,newVal) \
(This)->lpVtbl -> put_image(This,newVal)
#define IPDContentGraphic_get_x(This,pVal) \
(This)->lpVtbl -> get_x(This,pVal)
#define IPDContentGraphic_get_y(This,pVal) \
(This)->lpVtbl -> get_y(This,pVal)
#define IPDContentGraphic_setxy(This,x,y) \
(This)->lpVtbl -> setxy(This,x,y)
#endif /* COBJMACROS */
#endif /* C style interface */
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDContentGraphic_get_image_Proxy(
IPDContentGraphic __RPC_FAR * This,
/* [retval][out] */ IPDImage __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDContentGraphic_get_image_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IPDContentGraphic_put_image_Proxy(
IPDContentGraphic __RPC_FAR * This,
/* [in] */ IPDImage __RPC_FAR *newVal);
void __RPC_STUB IPDContentGraphic_put_image_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDContentGraphic_get_x_Proxy(
IPDContentGraphic __RPC_FAR * This,
/* [retval][out] */ double __RPC_FAR *pVal);
void __RPC_STUB IPDContentGraphic_get_x_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDContentGraphic_get_y_Proxy(
IPDContentGraphic __RPC_FAR * This,
/* [retval][out] */ double __RPC_FAR *pVal);
void __RPC_STUB IPDContentGraphic_get_y_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDContentGraphic_setxy_Proxy(
IPDContentGraphic __RPC_FAR * This,
/* [in] */ double x,
/* [in] */ double y);
void __RPC_STUB IPDContentGraphic_setxy_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
#endif /* __IPDContentGraphic_INTERFACE_DEFINED__ */
#ifndef __IPDPathText_INTERFACE_DEFINED__
#define __IPDPathText_INTERFACE_DEFINED__
/* interface IPDPathText */
/* [unique][helpstring][uuid][object] */
EXTERN_C const IID IID_IPDPathText;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("E439A088-E1BE-4c54-8E00-8A089DCAEBA5")
IPDPathText : public IPDObjectText
{
public:
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_startOnLength(
/* [retval][out] */ double __RPC_FAR *pVal) = 0;
virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_startOnLength(
/* [in] */ double newVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_endOnLength(
/* [retval][out] */ double __RPC_FAR *pVal) = 0;
virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_endOnLength(
/* [in] */ double newVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_pathTextAlign(
/* [retval][out] */ PDPathTextAlign __RPC_FAR *pVal) = 0;
virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_pathTextAlign(
/* [in] */ PDPathTextAlign newVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_pathTextAlignToPath(
/* [retval][out] */ PDPathTextAlignToPath __RPC_FAR *pVal) = 0;
virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_pathTextAlignToPath(
/* [in] */ PDPathTextAlignToPath newVal) = 0;
};
#else /* C style interface */
typedef struct IPDPathTextVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
IPDPathText __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
IPDPathText __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
IPDPathText __RPC_FAR * This);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_uniqId )(
IPDPathText __RPC_FAR * This,
/* [retval][out] */ GUID __RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_objectType )(
IPDPathText __RPC_FAR * This,
/* [retval][out] */ PDObjectType __RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_layer )(
IPDPathText __RPC_FAR * This,
/* [retval][out] */ IPDLayer __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_parent )(
IPDPathText __RPC_FAR * This,
/* [retval][out] */ IPDObjectUnknown __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_parent )(
IPDPathText __RPC_FAR * This,
/* [in] */ IPDObjectUnknown __RPC_FAR *newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_nextSibling )(
IPDPathText __RPC_FAR * This,
/* [retval][out] */ IPDObjectUnknown __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_nextSibling )(
IPDPathText __RPC_FAR * This,
/* [in] */ IPDObjectUnknown __RPC_FAR *newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_previousSibling )(
IPDPathText __RPC_FAR * This,
/* [retval][out] */ IPDObjectUnknown __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_previousSibling )(
IPDPathText __RPC_FAR * This,
/* [in] */ IPDObjectUnknown __RPC_FAR *newVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *removeObject )(
IPDPathText __RPC_FAR * This,
/* [in] */ IPDObjectUnknown __RPC_FAR *object);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_spread )(
IPDPathText __RPC_FAR * This,
/* [retval][out] */ IPDSpread __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_spread )(
IPDPathText __RPC_FAR * This,
/* [in] */ IPDSpread __RPC_FAR *newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_document )(
IPDPathText __RPC_FAR * This,
/* [retval][out] */ IPDDocument __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_document )(
IPDPathText __RPC_FAR * This,
/* [in] */ IPDDocument __RPC_FAR *newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_firstChild )(
IPDPathText __RPC_FAR * This,
/* [retval][out] */ IPDObjectUnknown __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_lastChild )(
IPDPathText __RPC_FAR * This,
/* [retval][out] */ IPDObjectUnknown __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_children )(
IPDPathText __RPC_FAR * This,
/* [retval][out] */ IObjectMap __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *getScreenCTM )(
IPDPathText __RPC_FAR * This,
/* [retval][out] */ IPDMatrix __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *clone )(
IPDPathText __RPC_FAR * This,
/* [retval][out] */ IPDObject __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *getExpandedBBox )(
IPDPathText __RPC_FAR * This,
/* [retval][out] */ RectD __RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_story )(
IPDPathText __RPC_FAR * This,
/* [retval][out] */ IPDStory __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_story )(
IPDPathText __RPC_FAR * This,
/* [in] */ IPDStory __RPC_FAR *newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_previousTextThread )(
IPDPathText __RPC_FAR * This,
/* [retval][out] */ IPDObjectText __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_previousTextThread )(
IPDPathText __RPC_FAR * This,
/* [in] */ IPDObjectText __RPC_FAR *newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_nextTextThread )(
IPDPathText __RPC_FAR * This,
/* [retval][out] */ IPDObjectText __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_nextTextThread )(
IPDPathText __RPC_FAR * This,
/* [in] */ IPDObjectText __RPC_FAR *newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_overflow )(
IPDPathText __RPC_FAR * This,
/* [retval][out] */ VARIANT_BOOL __RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_threadPtIn )(
IPDPathText __RPC_FAR * This,
/* [retval][out] */ PointD __RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_threadPtOut )(
IPDPathText __RPC_FAR * This,
/* [retval][out] */ PointD __RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *getPosUnderPoint )(
IPDPathText __RPC_FAR * This,
/* [in] */ double x,
/* [in] */ double y,
/* [out] */ ILDOMNode __RPC_FAR *__RPC_FAR *pNode,
/* [out] */ long __RPC_FAR *pOffset,
/* [retval][out] */ BOOL __RPC_FAR *bHit);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *RenderSelection )(
IPDPathText __RPC_FAR * This,
/* [in] */ HDC hDC,
/* [in] */ IPDMatrix __RPC_FAR *matrix,
/* [in] */ ILDOMRange __RPC_FAR *range);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_startOnLength )(
IPDPathText __RPC_FAR * This,
/* [retval][out] */ double __RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_startOnLength )(
IPDPathText __RPC_FAR * This,
/* [in] */ double newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_endOnLength )(
IPDPathText __RPC_FAR * This,
/* [retval][out] */ double __RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_endOnLength )(
IPDPathText __RPC_FAR * This,
/* [in] */ double newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_pathTextAlign )(
IPDPathText __RPC_FAR * This,
/* [retval][out] */ PDPathTextAlign __RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_pathTextAlign )(
IPDPathText __RPC_FAR * This,
/* [in] */ PDPathTextAlign newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_pathTextAlignToPath )(
IPDPathText __RPC_FAR * This,
/* [retval][out] */ PDPathTextAlignToPath __RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_pathTextAlignToPath )(
IPDPathText __RPC_FAR * This,
/* [in] */ PDPathTextAlignToPath newVal);
END_INTERFACE
} IPDPathTextVtbl;
interface IPDPathText
{
CONST_VTBL struct IPDPathTextVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define IPDPathText_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define IPDPathText_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define IPDPathText_Release(This) \
(This)->lpVtbl -> Release(This)
#define IPDPathText_get_uniqId(This,pVal) \
(This)->lpVtbl -> get_uniqId(This,pVal)
#define IPDPathText_get_objectType(This,pVal) \
(This)->lpVtbl -> get_objectType(This,pVal)
#define IPDPathText_get_layer(This,pVal) \
(This)->lpVtbl -> get_layer(This,pVal)
#define IPDPathText_get_parent(This,pVal) \
(This)->lpVtbl -> get_parent(This,pVal)
#define IPDPathText_put_parent(This,newVal) \
(This)->lpVtbl -> put_parent(This,newVal)
#define IPDPathText_get_nextSibling(This,pVal) \
(This)->lpVtbl -> get_nextSibling(This,pVal)
#define IPDPathText_put_nextSibling(This,newVal) \
(This)->lpVtbl -> put_nextSibling(This,newVal)
#define IPDPathText_get_previousSibling(This,pVal) \
(This)->lpVtbl -> get_previousSibling(This,pVal)
#define IPDPathText_put_previousSibling(This,newVal) \
(This)->lpVtbl -> put_previousSibling(This,newVal)
#define IPDPathText_removeObject(This,object) \
(This)->lpVtbl -> removeObject(This,object)
#define IPDPathText_get_spread(This,pVal) \
(This)->lpVtbl -> get_spread(This,pVal)
#define IPDPathText_put_spread(This,newVal) \
(This)->lpVtbl -> put_spread(This,newVal)
#define IPDPathText_get_document(This,pVal) \
(This)->lpVtbl -> get_document(This,pVal)
#define IPDPathText_put_document(This,newVal) \
(This)->lpVtbl -> put_document(This,newVal)
#define IPDPathText_get_firstChild(This,pVal) \
(This)->lpVtbl -> get_firstChild(This,pVal)
#define IPDPathText_get_lastChild(This,pVal) \
(This)->lpVtbl -> get_lastChild(This,pVal)
#define IPDPathText_get_children(This,pVal) \
(This)->lpVtbl -> get_children(This,pVal)
#define IPDPathText_getScreenCTM(This,pVal) \
(This)->lpVtbl -> getScreenCTM(This,pVal)
#define IPDPathText_clone(This,pVal) \
(This)->lpVtbl -> clone(This,pVal)
#define IPDPathText_getExpandedBBox(This,pVal) \
(This)->lpVtbl -> getExpandedBBox(This,pVal)
#define IPDPathText_get_story(This,pVal) \
(This)->lpVtbl -> get_story(This,pVal)
#define IPDPathText_put_story(This,newVal) \
(This)->lpVtbl -> put_story(This,newVal)
#define IPDPathText_get_previousTextThread(This,pVal) \
(This)->lpVtbl -> get_previousTextThread(This,pVal)
#define IPDPathText_put_previousTextThread(This,newVal) \
(This)->lpVtbl -> put_previousTextThread(This,newVal)
#define IPDPathText_get_nextTextThread(This,pVal) \
(This)->lpVtbl -> get_nextTextThread(This,pVal)
#define IPDPathText_put_nextTextThread(This,newVal) \
(This)->lpVtbl -> put_nextTextThread(This,newVal)
#define IPDPathText_get_overflow(This,pVal) \
(This)->lpVtbl -> get_overflow(This,pVal)
#define IPDPathText_get_threadPtIn(This,pVal) \
(This)->lpVtbl -> get_threadPtIn(This,pVal)
#define IPDPathText_get_threadPtOut(This,pVal) \
(This)->lpVtbl -> get_threadPtOut(This,pVal)
#define IPDPathText_getPosUnderPoint(This,x,y,pNode,pOffset,bHit) \
(This)->lpVtbl -> getPosUnderPoint(This,x,y,pNode,pOffset,bHit)
#define IPDPathText_RenderSelection(This,hDC,matrix,range) \
(This)->lpVtbl -> RenderSelection(This,hDC,matrix,range)
#define IPDPathText_get_startOnLength(This,pVal) \
(This)->lpVtbl -> get_startOnLength(This,pVal)
#define IPDPathText_put_startOnLength(This,newVal) \
(This)->lpVtbl -> put_startOnLength(This,newVal)
#define IPDPathText_get_endOnLength(This,pVal) \
(This)->lpVtbl -> get_endOnLength(This,pVal)
#define IPDPathText_put_endOnLength(This,newVal) \
(This)->lpVtbl -> put_endOnLength(This,newVal)
#define IPDPathText_get_pathTextAlign(This,pVal) \
(This)->lpVtbl -> get_pathTextAlign(This,pVal)
#define IPDPathText_put_pathTextAlign(This,newVal) \
(This)->lpVtbl -> put_pathTextAlign(This,newVal)
#define IPDPathText_get_pathTextAlignToPath(This,pVal) \
(This)->lpVtbl -> get_pathTextAlignToPath(This,pVal)
#define IPDPathText_put_pathTextAlignToPath(This,newVal) \
(This)->lpVtbl -> put_pathTextAlignToPath(This,newVal)
#endif /* COBJMACROS */
#endif /* C style interface */
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDPathText_get_startOnLength_Proxy(
IPDPathText __RPC_FAR * This,
/* [retval][out] */ double __RPC_FAR *pVal);
void __RPC_STUB IPDPathText_get_startOnLength_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IPDPathText_put_startOnLength_Proxy(
IPDPathText __RPC_FAR * This,
/* [in] */ double newVal);
void __RPC_STUB IPDPathText_put_startOnLength_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDPathText_get_endOnLength_Proxy(
IPDPathText __RPC_FAR * This,
/* [retval][out] */ double __RPC_FAR *pVal);
void __RPC_STUB IPDPathText_get_endOnLength_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IPDPathText_put_endOnLength_Proxy(
IPDPathText __RPC_FAR * This,
/* [in] */ double newVal);
void __RPC_STUB IPDPathText_put_endOnLength_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDPathText_get_pathTextAlign_Proxy(
IPDPathText __RPC_FAR * This,
/* [retval][out] */ PDPathTextAlign __RPC_FAR *pVal);
void __RPC_STUB IPDPathText_get_pathTextAlign_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IPDPathText_put_pathTextAlign_Proxy(
IPDPathText __RPC_FAR * This,
/* [in] */ PDPathTextAlign newVal);
void __RPC_STUB IPDPathText_put_pathTextAlign_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDPathText_get_pathTextAlignToPath_Proxy(
IPDPathText __RPC_FAR * This,
/* [retval][out] */ PDPathTextAlignToPath __RPC_FAR *pVal);
void __RPC_STUB IPDPathText_get_pathTextAlignToPath_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IPDPathText_put_pathTextAlignToPath_Proxy(
IPDPathText __RPC_FAR * This,
/* [in] */ PDPathTextAlignToPath newVal);
void __RPC_STUB IPDPathText_put_pathTextAlignToPath_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
#endif /* __IPDPathText_INTERFACE_DEFINED__ */
#ifndef __IPDImage_INTERFACE_DEFINED__
#define __IPDImage_INTERFACE_DEFINED__
/* interface IPDImage */
/* [unique][helpstring][uuid][object] */
EXTERN_C const IID IID_IPDImage;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("BB7E7829-BA6E-4e0b-A116-A7F5FD0E8978")
IPDImage : public IPDUnknown
{
public:
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_pathName(
/* [retval][out] */ BSTR __RPC_FAR *pVal) = 0;
virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_pathName(
/* [in] */ BSTR newVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_privateImage(
/* [retval][out] */ DWORD __RPC_FAR *pVal) = 0;
virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_privateImage(
/* [in] */ DWORD newVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_width(
/* [retval][out] */ long __RPC_FAR *pVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_height(
/* [retval][out] */ long __RPC_FAR *pVal) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetProp(
/* [in] */ BSTR name,
/* [in] */ DWORD value) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetProp(
/* [in] */ BSTR name,
/* [retval][out] */ DWORD __RPC_FAR *pVal) = 0;
};
#else /* C style interface */
typedef struct IPDImageVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
IPDImage __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
IPDImage __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
IPDImage __RPC_FAR * This);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_pathName )(
IPDImage __RPC_FAR * This,
/* [retval][out] */ BSTR __RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_pathName )(
IPDImage __RPC_FAR * This,
/* [in] */ BSTR newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_privateImage )(
IPDImage __RPC_FAR * This,
/* [retval][out] */ DWORD __RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_privateImage )(
IPDImage __RPC_FAR * This,
/* [in] */ DWORD newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_width )(
IPDImage __RPC_FAR * This,
/* [retval][out] */ long __RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_height )(
IPDImage __RPC_FAR * This,
/* [retval][out] */ long __RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetProp )(
IPDImage __RPC_FAR * This,
/* [in] */ BSTR name,
/* [in] */ DWORD value);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetProp )(
IPDImage __RPC_FAR * This,
/* [in] */ BSTR name,
/* [retval][out] */ DWORD __RPC_FAR *pVal);
END_INTERFACE
} IPDImageVtbl;
interface IPDImage
{
CONST_VTBL struct IPDImageVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define IPDImage_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define IPDImage_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define IPDImage_Release(This) \
(This)->lpVtbl -> Release(This)
#define IPDImage_get_pathName(This,pVal) \
(This)->lpVtbl -> get_pathName(This,pVal)
#define IPDImage_put_pathName(This,newVal) \
(This)->lpVtbl -> put_pathName(This,newVal)
#define IPDImage_get_privateImage(This,pVal) \
(This)->lpVtbl -> get_privateImage(This,pVal)
#define IPDImage_put_privateImage(This,newVal) \
(This)->lpVtbl -> put_privateImage(This,newVal)
#define IPDImage_get_width(This,pVal) \
(This)->lpVtbl -> get_width(This,pVal)
#define IPDImage_get_height(This,pVal) \
(This)->lpVtbl -> get_height(This,pVal)
#define IPDImage_SetProp(This,name,value) \
(This)->lpVtbl -> SetProp(This,name,value)
#define IPDImage_GetProp(This,name,pVal) \
(This)->lpVtbl -> GetProp(This,name,pVal)
#endif /* COBJMACROS */
#endif /* C style interface */
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDImage_get_pathName_Proxy(
IPDImage __RPC_FAR * This,
/* [retval][out] */ BSTR __RPC_FAR *pVal);
void __RPC_STUB IPDImage_get_pathName_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IPDImage_put_pathName_Proxy(
IPDImage __RPC_FAR * This,
/* [in] */ BSTR newVal);
void __RPC_STUB IPDImage_put_pathName_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDImage_get_privateImage_Proxy(
IPDImage __RPC_FAR * This,
/* [retval][out] */ DWORD __RPC_FAR *pVal);
void __RPC_STUB IPDImage_get_privateImage_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IPDImage_put_privateImage_Proxy(
IPDImage __RPC_FAR * This,
/* [in] */ DWORD newVal);
void __RPC_STUB IPDImage_put_privateImage_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDImage_get_width_Proxy(
IPDImage __RPC_FAR * This,
/* [retval][out] */ long __RPC_FAR *pVal);
void __RPC_STUB IPDImage_get_width_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDImage_get_height_Proxy(
IPDImage __RPC_FAR * This,
/* [retval][out] */ long __RPC_FAR *pVal);
void __RPC_STUB IPDImage_get_height_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDImage_SetProp_Proxy(
IPDImage __RPC_FAR * This,
/* [in] */ BSTR name,
/* [in] */ DWORD value);
void __RPC_STUB IPDImage_SetProp_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDImage_GetProp_Proxy(
IPDImage __RPC_FAR * This,
/* [in] */ BSTR name,
/* [retval][out] */ DWORD __RPC_FAR *pVal);
void __RPC_STUB IPDImage_GetProp_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
#endif /* __IPDImage_INTERFACE_DEFINED__ */
#ifndef __IPDMatrix_INTERFACE_DEFINED__
#define __IPDMatrix_INTERFACE_DEFINED__
/* interface IPDMatrix */
/* [unique][helpstring][uuid][object] */
EXTERN_C const IID IID_IPDMatrix;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("AF13193F-AF95-461c-A90A-326B0B17A4C1")
IPDMatrix : public IUnknown
{
public:
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_a(
/* [retval][out] */ double __RPC_FAR *pVal) = 0;
virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_a(
/* [in] */ double newVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_b(
/* [retval][out] */ double __RPC_FAR *pVal) = 0;
virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_b(
/* [in] */ double newVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_c(
/* [retval][out] */ double __RPC_FAR *pVal) = 0;
virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_c(
/* [in] */ double newVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_d(
/* [retval][out] */ double __RPC_FAR *pVal) = 0;
virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_d(
/* [in] */ double newVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_e(
/* [retval][out] */ double __RPC_FAR *pVal) = 0;
virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_e(
/* [in] */ double newVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_f(
/* [retval][out] */ double __RPC_FAR *pVal) = 0;
virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_f(
/* [in] */ double newVal) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE translate(
/* [in] */ double dx,
/* [in] */ double dy,
/* [retval][out] */ IPDMatrix __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE rotate(
/* [in] */ double angle,
/* [retval][out] */ IPDMatrix __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE scaleNonUniform(
/* [in] */ double sx,
/* [in] */ double sy,
/* [retval][out] */ IPDMatrix __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE transformBezierPoint(
/* [in] */ BezierPoint __RPC_FAR *point,
/* [retval][out] */ BezierPoint __RPC_FAR *pVal) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE inverse(
/* [retval][out] */ IPDMatrix __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE transformPoint(
/* [in] */ PointD __RPC_FAR *point,
/* [retval][out] */ PointD __RPC_FAR *pVal) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE setTranslate(
/* [in] */ double dx,
/* [in] */ double dy) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE setScaleNonUniform(
/* [in] */ double sx,
/* [in] */ double sy) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE multiply(
/* [in] */ IPDMatrix __RPC_FAR *matrix,
/* [retval][out] */ IPDMatrix __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE getRotation(
/* [retval][out] */ double __RPC_FAR *pVal) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE skewX(
/* [in] */ double angle,
/* [retval][out] */ IPDMatrix __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE skewY(
/* [in] */ double angle,
/* [retval][out] */ IPDMatrix __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE copyFrom(
/* [in] */ IPDMatrix __RPC_FAR *from) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE transpose(
/* [retval][out] */ IPDMatrix __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE setRotate(
/* [in] */ double angle) = 0;
};
#else /* C style interface */
typedef struct IPDMatrixVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
IPDMatrix __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
IPDMatrix __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
IPDMatrix __RPC_FAR * This);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_a )(
IPDMatrix __RPC_FAR * This,
/* [retval][out] */ double __RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_a )(
IPDMatrix __RPC_FAR * This,
/* [in] */ double newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_b )(
IPDMatrix __RPC_FAR * This,
/* [retval][out] */ double __RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_b )(
IPDMatrix __RPC_FAR * This,
/* [in] */ double newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_c )(
IPDMatrix __RPC_FAR * This,
/* [retval][out] */ double __RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_c )(
IPDMatrix __RPC_FAR * This,
/* [in] */ double newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_d )(
IPDMatrix __RPC_FAR * This,
/* [retval][out] */ double __RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_d )(
IPDMatrix __RPC_FAR * This,
/* [in] */ double newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_e )(
IPDMatrix __RPC_FAR * This,
/* [retval][out] */ double __RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_e )(
IPDMatrix __RPC_FAR * This,
/* [in] */ double newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_f )(
IPDMatrix __RPC_FAR * This,
/* [retval][out] */ double __RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_f )(
IPDMatrix __RPC_FAR * This,
/* [in] */ double newVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *translate )(
IPDMatrix __RPC_FAR * This,
/* [in] */ double dx,
/* [in] */ double dy,
/* [retval][out] */ IPDMatrix __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *rotate )(
IPDMatrix __RPC_FAR * This,
/* [in] */ double angle,
/* [retval][out] */ IPDMatrix __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *scaleNonUniform )(
IPDMatrix __RPC_FAR * This,
/* [in] */ double sx,
/* [in] */ double sy,
/* [retval][out] */ IPDMatrix __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *transformBezierPoint )(
IPDMatrix __RPC_FAR * This,
/* [in] */ BezierPoint __RPC_FAR *point,
/* [retval][out] */ BezierPoint __RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *inverse )(
IPDMatrix __RPC_FAR * This,
/* [retval][out] */ IPDMatrix __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *transformPoint )(
IPDMatrix __RPC_FAR * This,
/* [in] */ PointD __RPC_FAR *point,
/* [retval][out] */ PointD __RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *setTranslate )(
IPDMatrix __RPC_FAR * This,
/* [in] */ double dx,
/* [in] */ double dy);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *setScaleNonUniform )(
IPDMatrix __RPC_FAR * This,
/* [in] */ double sx,
/* [in] */ double sy);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *multiply )(
IPDMatrix __RPC_FAR * This,
/* [in] */ IPDMatrix __RPC_FAR *matrix,
/* [retval][out] */ IPDMatrix __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *getRotation )(
IPDMatrix __RPC_FAR * This,
/* [retval][out] */ double __RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *skewX )(
IPDMatrix __RPC_FAR * This,
/* [in] */ double angle,
/* [retval][out] */ IPDMatrix __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *skewY )(
IPDMatrix __RPC_FAR * This,
/* [in] */ double angle,
/* [retval][out] */ IPDMatrix __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *copyFrom )(
IPDMatrix __RPC_FAR * This,
/* [in] */ IPDMatrix __RPC_FAR *from);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *transpose )(
IPDMatrix __RPC_FAR * This,
/* [retval][out] */ IPDMatrix __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *setRotate )(
IPDMatrix __RPC_FAR * This,
/* [in] */ double angle);
END_INTERFACE
} IPDMatrixVtbl;
interface IPDMatrix
{
CONST_VTBL struct IPDMatrixVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define IPDMatrix_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define IPDMatrix_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define IPDMatrix_Release(This) \
(This)->lpVtbl -> Release(This)
#define IPDMatrix_get_a(This,pVal) \
(This)->lpVtbl -> get_a(This,pVal)
#define IPDMatrix_put_a(This,newVal) \
(This)->lpVtbl -> put_a(This,newVal)
#define IPDMatrix_get_b(This,pVal) \
(This)->lpVtbl -> get_b(This,pVal)
#define IPDMatrix_put_b(This,newVal) \
(This)->lpVtbl -> put_b(This,newVal)
#define IPDMatrix_get_c(This,pVal) \
(This)->lpVtbl -> get_c(This,pVal)
#define IPDMatrix_put_c(This,newVal) \
(This)->lpVtbl -> put_c(This,newVal)
#define IPDMatrix_get_d(This,pVal) \
(This)->lpVtbl -> get_d(This,pVal)
#define IPDMatrix_put_d(This,newVal) \
(This)->lpVtbl -> put_d(This,newVal)
#define IPDMatrix_get_e(This,pVal) \
(This)->lpVtbl -> get_e(This,pVal)
#define IPDMatrix_put_e(This,newVal) \
(This)->lpVtbl -> put_e(This,newVal)
#define IPDMatrix_get_f(This,pVal) \
(This)->lpVtbl -> get_f(This,pVal)
#define IPDMatrix_put_f(This,newVal) \
(This)->lpVtbl -> put_f(This,newVal)
#define IPDMatrix_translate(This,dx,dy,pVal) \
(This)->lpVtbl -> translate(This,dx,dy,pVal)
#define IPDMatrix_rotate(This,angle,pVal) \
(This)->lpVtbl -> rotate(This,angle,pVal)
#define IPDMatrix_scaleNonUniform(This,sx,sy,pVal) \
(This)->lpVtbl -> scaleNonUniform(This,sx,sy,pVal)
#define IPDMatrix_transformBezierPoint(This,point,pVal) \
(This)->lpVtbl -> transformBezierPoint(This,point,pVal)
#define IPDMatrix_inverse(This,pVal) \
(This)->lpVtbl -> inverse(This,pVal)
#define IPDMatrix_transformPoint(This,point,pVal) \
(This)->lpVtbl -> transformPoint(This,point,pVal)
#define IPDMatrix_setTranslate(This,dx,dy) \
(This)->lpVtbl -> setTranslate(This,dx,dy)
#define IPDMatrix_setScaleNonUniform(This,sx,sy) \
(This)->lpVtbl -> setScaleNonUniform(This,sx,sy)
#define IPDMatrix_multiply(This,matrix,pVal) \
(This)->lpVtbl -> multiply(This,matrix,pVal)
#define IPDMatrix_getRotation(This,pVal) \
(This)->lpVtbl -> getRotation(This,pVal)
#define IPDMatrix_skewX(This,angle,pVal) \
(This)->lpVtbl -> skewX(This,angle,pVal)
#define IPDMatrix_skewY(This,angle,pVal) \
(This)->lpVtbl -> skewY(This,angle,pVal)
#define IPDMatrix_copyFrom(This,from) \
(This)->lpVtbl -> copyFrom(This,from)
#define IPDMatrix_transpose(This,pVal) \
(This)->lpVtbl -> transpose(This,pVal)
#define IPDMatrix_setRotate(This,angle) \
(This)->lpVtbl -> setRotate(This,angle)
#endif /* COBJMACROS */
#endif /* C style interface */
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDMatrix_get_a_Proxy(
IPDMatrix __RPC_FAR * This,
/* [retval][out] */ double __RPC_FAR *pVal);
void __RPC_STUB IPDMatrix_get_a_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IPDMatrix_put_a_Proxy(
IPDMatrix __RPC_FAR * This,
/* [in] */ double newVal);
void __RPC_STUB IPDMatrix_put_a_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDMatrix_get_b_Proxy(
IPDMatrix __RPC_FAR * This,
/* [retval][out] */ double __RPC_FAR *pVal);
void __RPC_STUB IPDMatrix_get_b_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IPDMatrix_put_b_Proxy(
IPDMatrix __RPC_FAR * This,
/* [in] */ double newVal);
void __RPC_STUB IPDMatrix_put_b_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDMatrix_get_c_Proxy(
IPDMatrix __RPC_FAR * This,
/* [retval][out] */ double __RPC_FAR *pVal);
void __RPC_STUB IPDMatrix_get_c_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IPDMatrix_put_c_Proxy(
IPDMatrix __RPC_FAR * This,
/* [in] */ double newVal);
void __RPC_STUB IPDMatrix_put_c_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDMatrix_get_d_Proxy(
IPDMatrix __RPC_FAR * This,
/* [retval][out] */ double __RPC_FAR *pVal);
void __RPC_STUB IPDMatrix_get_d_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IPDMatrix_put_d_Proxy(
IPDMatrix __RPC_FAR * This,
/* [in] */ double newVal);
void __RPC_STUB IPDMatrix_put_d_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDMatrix_get_e_Proxy(
IPDMatrix __RPC_FAR * This,
/* [retval][out] */ double __RPC_FAR *pVal);
void __RPC_STUB IPDMatrix_get_e_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IPDMatrix_put_e_Proxy(
IPDMatrix __RPC_FAR * This,
/* [in] */ double newVal);
void __RPC_STUB IPDMatrix_put_e_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDMatrix_get_f_Proxy(
IPDMatrix __RPC_FAR * This,
/* [retval][out] */ double __RPC_FAR *pVal);
void __RPC_STUB IPDMatrix_get_f_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IPDMatrix_put_f_Proxy(
IPDMatrix __RPC_FAR * This,
/* [in] */ double newVal);
void __RPC_STUB IPDMatrix_put_f_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDMatrix_translate_Proxy(
IPDMatrix __RPC_FAR * This,
/* [in] */ double dx,
/* [in] */ double dy,
/* [retval][out] */ IPDMatrix __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDMatrix_translate_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDMatrix_rotate_Proxy(
IPDMatrix __RPC_FAR * This,
/* [in] */ double angle,
/* [retval][out] */ IPDMatrix __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDMatrix_rotate_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDMatrix_scaleNonUniform_Proxy(
IPDMatrix __RPC_FAR * This,
/* [in] */ double sx,
/* [in] */ double sy,
/* [retval][out] */ IPDMatrix __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDMatrix_scaleNonUniform_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDMatrix_transformBezierPoint_Proxy(
IPDMatrix __RPC_FAR * This,
/* [in] */ BezierPoint __RPC_FAR *point,
/* [retval][out] */ BezierPoint __RPC_FAR *pVal);
void __RPC_STUB IPDMatrix_transformBezierPoint_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDMatrix_inverse_Proxy(
IPDMatrix __RPC_FAR * This,
/* [retval][out] */ IPDMatrix __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDMatrix_inverse_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDMatrix_transformPoint_Proxy(
IPDMatrix __RPC_FAR * This,
/* [in] */ PointD __RPC_FAR *point,
/* [retval][out] */ PointD __RPC_FAR *pVal);
void __RPC_STUB IPDMatrix_transformPoint_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDMatrix_setTranslate_Proxy(
IPDMatrix __RPC_FAR * This,
/* [in] */ double dx,
/* [in] */ double dy);
void __RPC_STUB IPDMatrix_setTranslate_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDMatrix_setScaleNonUniform_Proxy(
IPDMatrix __RPC_FAR * This,
/* [in] */ double sx,
/* [in] */ double sy);
void __RPC_STUB IPDMatrix_setScaleNonUniform_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDMatrix_multiply_Proxy(
IPDMatrix __RPC_FAR * This,
/* [in] */ IPDMatrix __RPC_FAR *matrix,
/* [retval][out] */ IPDMatrix __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDMatrix_multiply_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDMatrix_getRotation_Proxy(
IPDMatrix __RPC_FAR * This,
/* [retval][out] */ double __RPC_FAR *pVal);
void __RPC_STUB IPDMatrix_getRotation_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDMatrix_skewX_Proxy(
IPDMatrix __RPC_FAR * This,
/* [in] */ double angle,
/* [retval][out] */ IPDMatrix __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDMatrix_skewX_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDMatrix_skewY_Proxy(
IPDMatrix __RPC_FAR * This,
/* [in] */ double angle,
/* [retval][out] */ IPDMatrix __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDMatrix_skewY_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDMatrix_copyFrom_Proxy(
IPDMatrix __RPC_FAR * This,
/* [in] */ IPDMatrix __RPC_FAR *from);
void __RPC_STUB IPDMatrix_copyFrom_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDMatrix_transpose_Proxy(
IPDMatrix __RPC_FAR * This,
/* [retval][out] */ IPDMatrix __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDMatrix_transpose_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDMatrix_setRotate_Proxy(
IPDMatrix __RPC_FAR * This,
/* [in] */ double angle);
void __RPC_STUB IPDMatrix_setRotate_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
#endif /* __IPDMatrix_INTERFACE_DEFINED__ */
#ifndef __IPDGuide_INTERFACE_DEFINED__
#define __IPDGuide_INTERFACE_DEFINED__
/* interface IPDGuide */
/* [unique][helpstring][uuid][object] */
EXTERN_C const IID IID_IPDGuide;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("68E597C1-E920-11d5-95F0-0002E3045703")
IPDGuide : public IPDObjectUnknown
{
public:
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_pageIndex(
/* [retval][out] */ long __RPC_FAR *pVal) = 0;
virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_pageIndex(
/* [in] */ long newVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_position(
/* [retval][out] */ double __RPC_FAR *pVal) = 0;
virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_position(
/* [in] */ double newVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_direction(
/* [retval][out] */ long __RPC_FAR *pVal) = 0;
virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_direction(
/* [in] */ long newVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_ownerSpread(
/* [retval][out] */ IPDSpread __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE offsetPosition(
/* [in] */ double delta) = 0;
};
#else /* C style interface */
typedef struct IPDGuideVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
IPDGuide __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
IPDGuide __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
IPDGuide __RPC_FAR * This);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_uniqId )(
IPDGuide __RPC_FAR * This,
/* [retval][out] */ GUID __RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_objectType )(
IPDGuide __RPC_FAR * This,
/* [retval][out] */ PDObjectType __RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_layer )(
IPDGuide __RPC_FAR * This,
/* [retval][out] */ IPDLayer __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_parent )(
IPDGuide __RPC_FAR * This,
/* [retval][out] */ IPDObjectUnknown __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_parent )(
IPDGuide __RPC_FAR * This,
/* [in] */ IPDObjectUnknown __RPC_FAR *newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_nextSibling )(
IPDGuide __RPC_FAR * This,
/* [retval][out] */ IPDObjectUnknown __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_nextSibling )(
IPDGuide __RPC_FAR * This,
/* [in] */ IPDObjectUnknown __RPC_FAR *newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_previousSibling )(
IPDGuide __RPC_FAR * This,
/* [retval][out] */ IPDObjectUnknown __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_previousSibling )(
IPDGuide __RPC_FAR * This,
/* [in] */ IPDObjectUnknown __RPC_FAR *newVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *removeObject )(
IPDGuide __RPC_FAR * This,
/* [in] */ IPDObjectUnknown __RPC_FAR *object);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_spread )(
IPDGuide __RPC_FAR * This,
/* [retval][out] */ IPDSpread __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_spread )(
IPDGuide __RPC_FAR * This,
/* [in] */ IPDSpread __RPC_FAR *newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_document )(
IPDGuide __RPC_FAR * This,
/* [retval][out] */ IPDDocument __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_document )(
IPDGuide __RPC_FAR * This,
/* [in] */ IPDDocument __RPC_FAR *newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_pageIndex )(
IPDGuide __RPC_FAR * This,
/* [retval][out] */ long __RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_pageIndex )(
IPDGuide __RPC_FAR * This,
/* [in] */ long newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_position )(
IPDGuide __RPC_FAR * This,
/* [retval][out] */ double __RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_position )(
IPDGuide __RPC_FAR * This,
/* [in] */ double newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_direction )(
IPDGuide __RPC_FAR * This,
/* [retval][out] */ long __RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_direction )(
IPDGuide __RPC_FAR * This,
/* [in] */ long newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_ownerSpread )(
IPDGuide __RPC_FAR * This,
/* [retval][out] */ IPDSpread __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *offsetPosition )(
IPDGuide __RPC_FAR * This,
/* [in] */ double delta);
END_INTERFACE
} IPDGuideVtbl;
interface IPDGuide
{
CONST_VTBL struct IPDGuideVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define IPDGuide_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define IPDGuide_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define IPDGuide_Release(This) \
(This)->lpVtbl -> Release(This)
#define IPDGuide_get_uniqId(This,pVal) \
(This)->lpVtbl -> get_uniqId(This,pVal)
#define IPDGuide_get_objectType(This,pVal) \
(This)->lpVtbl -> get_objectType(This,pVal)
#define IPDGuide_get_layer(This,pVal) \
(This)->lpVtbl -> get_layer(This,pVal)
#define IPDGuide_get_parent(This,pVal) \
(This)->lpVtbl -> get_parent(This,pVal)
#define IPDGuide_put_parent(This,newVal) \
(This)->lpVtbl -> put_parent(This,newVal)
#define IPDGuide_get_nextSibling(This,pVal) \
(This)->lpVtbl -> get_nextSibling(This,pVal)
#define IPDGuide_put_nextSibling(This,newVal) \
(This)->lpVtbl -> put_nextSibling(This,newVal)
#define IPDGuide_get_previousSibling(This,pVal) \
(This)->lpVtbl -> get_previousSibling(This,pVal)
#define IPDGuide_put_previousSibling(This,newVal) \
(This)->lpVtbl -> put_previousSibling(This,newVal)
#define IPDGuide_removeObject(This,object) \
(This)->lpVtbl -> removeObject(This,object)
#define IPDGuide_get_spread(This,pVal) \
(This)->lpVtbl -> get_spread(This,pVal)
#define IPDGuide_put_spread(This,newVal) \
(This)->lpVtbl -> put_spread(This,newVal)
#define IPDGuide_get_document(This,pVal) \
(This)->lpVtbl -> get_document(This,pVal)
#define IPDGuide_put_document(This,newVal) \
(This)->lpVtbl -> put_document(This,newVal)
#define IPDGuide_get_pageIndex(This,pVal) \
(This)->lpVtbl -> get_pageIndex(This,pVal)
#define IPDGuide_put_pageIndex(This,newVal) \
(This)->lpVtbl -> put_pageIndex(This,newVal)
#define IPDGuide_get_position(This,pVal) \
(This)->lpVtbl -> get_position(This,pVal)
#define IPDGuide_put_position(This,newVal) \
(This)->lpVtbl -> put_position(This,newVal)
#define IPDGuide_get_direction(This,pVal) \
(This)->lpVtbl -> get_direction(This,pVal)
#define IPDGuide_put_direction(This,newVal) \
(This)->lpVtbl -> put_direction(This,newVal)
#define IPDGuide_get_ownerSpread(This,pVal) \
(This)->lpVtbl -> get_ownerSpread(This,pVal)
#define IPDGuide_offsetPosition(This,delta) \
(This)->lpVtbl -> offsetPosition(This,delta)
#endif /* COBJMACROS */
#endif /* C style interface */
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDGuide_get_pageIndex_Proxy(
IPDGuide __RPC_FAR * This,
/* [retval][out] */ long __RPC_FAR *pVal);
void __RPC_STUB IPDGuide_get_pageIndex_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IPDGuide_put_pageIndex_Proxy(
IPDGuide __RPC_FAR * This,
/* [in] */ long newVal);
void __RPC_STUB IPDGuide_put_pageIndex_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDGuide_get_position_Proxy(
IPDGuide __RPC_FAR * This,
/* [retval][out] */ double __RPC_FAR *pVal);
void __RPC_STUB IPDGuide_get_position_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IPDGuide_put_position_Proxy(
IPDGuide __RPC_FAR * This,
/* [in] */ double newVal);
void __RPC_STUB IPDGuide_put_position_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDGuide_get_direction_Proxy(
IPDGuide __RPC_FAR * This,
/* [retval][out] */ long __RPC_FAR *pVal);
void __RPC_STUB IPDGuide_get_direction_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IPDGuide_put_direction_Proxy(
IPDGuide __RPC_FAR * This,
/* [in] */ long newVal);
void __RPC_STUB IPDGuide_put_direction_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDGuide_get_ownerSpread_Proxy(
IPDGuide __RPC_FAR * This,
/* [retval][out] */ IPDSpread __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDGuide_get_ownerSpread_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDGuide_offsetPosition_Proxy(
IPDGuide __RPC_FAR * This,
/* [in] */ double delta);
void __RPC_STUB IPDGuide_offsetPosition_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
#endif /* __IPDGuide_INTERFACE_DEFINED__ */
#ifndef __IPDGuides_INTERFACE_DEFINED__
#define __IPDGuides_INTERFACE_DEFINED__
/* interface IPDGuides */
/* [unique][helpstring][uuid][object] */
EXTERN_C const IID IID_IPDGuides;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("E148D303-205A-11d6-95F0-0002E3045703")
IPDGuides : public IPDObjectUnknown
{
public:
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE createGuide(
/* [in] */ long direction,
/* [retval][out] */ IPDGuide __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE appendGuide(
/* [in] */ IPDGuide __RPC_FAR *guide) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_length(
/* [retval][out] */ long __RPC_FAR *pVal) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE item(
/* [in] */ long index,
/* [retval][out] */ IPDGuide __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE getGuideUnderPoint(
/* [in] */ double x,
/* [in] */ double y,
/* [in] */ double tolerance,
/* [retval][out] */ IPDGuide __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE deleteAllGuides( void) = 0;
};
#else /* C style interface */
typedef struct IPDGuidesVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
IPDGuides __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
IPDGuides __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
IPDGuides __RPC_FAR * This);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_uniqId )(
IPDGuides __RPC_FAR * This,
/* [retval][out] */ GUID __RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_objectType )(
IPDGuides __RPC_FAR * This,
/* [retval][out] */ PDObjectType __RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_layer )(
IPDGuides __RPC_FAR * This,
/* [retval][out] */ IPDLayer __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_parent )(
IPDGuides __RPC_FAR * This,
/* [retval][out] */ IPDObjectUnknown __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_parent )(
IPDGuides __RPC_FAR * This,
/* [in] */ IPDObjectUnknown __RPC_FAR *newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_nextSibling )(
IPDGuides __RPC_FAR * This,
/* [retval][out] */ IPDObjectUnknown __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_nextSibling )(
IPDGuides __RPC_FAR * This,
/* [in] */ IPDObjectUnknown __RPC_FAR *newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_previousSibling )(
IPDGuides __RPC_FAR * This,
/* [retval][out] */ IPDObjectUnknown __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_previousSibling )(
IPDGuides __RPC_FAR * This,
/* [in] */ IPDObjectUnknown __RPC_FAR *newVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *removeObject )(
IPDGuides __RPC_FAR * This,
/* [in] */ IPDObjectUnknown __RPC_FAR *object);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_spread )(
IPDGuides __RPC_FAR * This,
/* [retval][out] */ IPDSpread __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_spread )(
IPDGuides __RPC_FAR * This,
/* [in] */ IPDSpread __RPC_FAR *newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_document )(
IPDGuides __RPC_FAR * This,
/* [retval][out] */ IPDDocument __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_document )(
IPDGuides __RPC_FAR * This,
/* [in] */ IPDDocument __RPC_FAR *newVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *createGuide )(
IPDGuides __RPC_FAR * This,
/* [in] */ long direction,
/* [retval][out] */ IPDGuide __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *appendGuide )(
IPDGuides __RPC_FAR * This,
/* [in] */ IPDGuide __RPC_FAR *guide);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_length )(
IPDGuides __RPC_FAR * This,
/* [retval][out] */ long __RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *item )(
IPDGuides __RPC_FAR * This,
/* [in] */ long index,
/* [retval][out] */ IPDGuide __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *getGuideUnderPoint )(
IPDGuides __RPC_FAR * This,
/* [in] */ double x,
/* [in] */ double y,
/* [in] */ double tolerance,
/* [retval][out] */ IPDGuide __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *deleteAllGuides )(
IPDGuides __RPC_FAR * This);
END_INTERFACE
} IPDGuidesVtbl;
interface IPDGuides
{
CONST_VTBL struct IPDGuidesVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define IPDGuides_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define IPDGuides_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define IPDGuides_Release(This) \
(This)->lpVtbl -> Release(This)
#define IPDGuides_get_uniqId(This,pVal) \
(This)->lpVtbl -> get_uniqId(This,pVal)
#define IPDGuides_get_objectType(This,pVal) \
(This)->lpVtbl -> get_objectType(This,pVal)
#define IPDGuides_get_layer(This,pVal) \
(This)->lpVtbl -> get_layer(This,pVal)
#define IPDGuides_get_parent(This,pVal) \
(This)->lpVtbl -> get_parent(This,pVal)
#define IPDGuides_put_parent(This,newVal) \
(This)->lpVtbl -> put_parent(This,newVal)
#define IPDGuides_get_nextSibling(This,pVal) \
(This)->lpVtbl -> get_nextSibling(This,pVal)
#define IPDGuides_put_nextSibling(This,newVal) \
(This)->lpVtbl -> put_nextSibling(This,newVal)
#define IPDGuides_get_previousSibling(This,pVal) \
(This)->lpVtbl -> get_previousSibling(This,pVal)
#define IPDGuides_put_previousSibling(This,newVal) \
(This)->lpVtbl -> put_previousSibling(This,newVal)
#define IPDGuides_removeObject(This,object) \
(This)->lpVtbl -> removeObject(This,object)
#define IPDGuides_get_spread(This,pVal) \
(This)->lpVtbl -> get_spread(This,pVal)
#define IPDGuides_put_spread(This,newVal) \
(This)->lpVtbl -> put_spread(This,newVal)
#define IPDGuides_get_document(This,pVal) \
(This)->lpVtbl -> get_document(This,pVal)
#define IPDGuides_put_document(This,newVal) \
(This)->lpVtbl -> put_document(This,newVal)
#define IPDGuides_createGuide(This,direction,pVal) \
(This)->lpVtbl -> createGuide(This,direction,pVal)
#define IPDGuides_appendGuide(This,guide) \
(This)->lpVtbl -> appendGuide(This,guide)
#define IPDGuides_get_length(This,pVal) \
(This)->lpVtbl -> get_length(This,pVal)
#define IPDGuides_item(This,index,pVal) \
(This)->lpVtbl -> item(This,index,pVal)
#define IPDGuides_getGuideUnderPoint(This,x,y,tolerance,pVal) \
(This)->lpVtbl -> getGuideUnderPoint(This,x,y,tolerance,pVal)
#define IPDGuides_deleteAllGuides(This) \
(This)->lpVtbl -> deleteAllGuides(This)
#endif /* COBJMACROS */
#endif /* C style interface */
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDGuides_createGuide_Proxy(
IPDGuides __RPC_FAR * This,
/* [in] */ long direction,
/* [retval][out] */ IPDGuide __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDGuides_createGuide_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDGuides_appendGuide_Proxy(
IPDGuides __RPC_FAR * This,
/* [in] */ IPDGuide __RPC_FAR *guide);
void __RPC_STUB IPDGuides_appendGuide_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDGuides_get_length_Proxy(
IPDGuides __RPC_FAR * This,
/* [retval][out] */ long __RPC_FAR *pVal);
void __RPC_STUB IPDGuides_get_length_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDGuides_item_Proxy(
IPDGuides __RPC_FAR * This,
/* [in] */ long index,
/* [retval][out] */ IPDGuide __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDGuides_item_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDGuides_getGuideUnderPoint_Proxy(
IPDGuides __RPC_FAR * This,
/* [in] */ double x,
/* [in] */ double y,
/* [in] */ double tolerance,
/* [retval][out] */ IPDGuide __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDGuides_getGuideUnderPoint_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDGuides_deleteAllGuides_Proxy(
IPDGuides __RPC_FAR * This);
void __RPC_STUB IPDGuides_deleteAllGuides_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
#endif /* __IPDGuides_INTERFACE_DEFINED__ */
#ifndef __IPDSwatch_INTERFACE_DEFINED__
#define __IPDSwatch_INTERFACE_DEFINED__
/* interface IPDSwatch */
/* [unique][helpstring][uuid][object] */
EXTERN_C const IID IID_IPDSwatch;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("7C773A42-86E2-40da-ADB1-A27F1DA4D1E1")
IPDSwatch : public IPDUnknown
{
public:
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_swatchType(
/* [retval][out] */ PDSwatchType __RPC_FAR *pVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_name(
/* [retval][out] */ BSTR __RPC_FAR *pVal) = 0;
virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_name(
/* [in] */ BSTR newVal) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE clone(
/* [retval][out] */ IPDSwatch __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_parent(
/* [retval][out] */ IPDSwatches __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_canDelete(
/* [retval][out] */ VARIANT_BOOL __RPC_FAR *pVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_canEdit(
/* [retval][out] */ VARIANT_BOOL __RPC_FAR *pVal) = 0;
};
#else /* C style interface */
typedef struct IPDSwatchVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
IPDSwatch __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
IPDSwatch __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
IPDSwatch __RPC_FAR * This);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_swatchType )(
IPDSwatch __RPC_FAR * This,
/* [retval][out] */ PDSwatchType __RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_name )(
IPDSwatch __RPC_FAR * This,
/* [retval][out] */ BSTR __RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_name )(
IPDSwatch __RPC_FAR * This,
/* [in] */ BSTR newVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *clone )(
IPDSwatch __RPC_FAR * This,
/* [retval][out] */ IPDSwatch __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_parent )(
IPDSwatch __RPC_FAR * This,
/* [retval][out] */ IPDSwatches __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_canDelete )(
IPDSwatch __RPC_FAR * This,
/* [retval][out] */ VARIANT_BOOL __RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_canEdit )(
IPDSwatch __RPC_FAR * This,
/* [retval][out] */ VARIANT_BOOL __RPC_FAR *pVal);
END_INTERFACE
} IPDSwatchVtbl;
interface IPDSwatch
{
CONST_VTBL struct IPDSwatchVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define IPDSwatch_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define IPDSwatch_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define IPDSwatch_Release(This) \
(This)->lpVtbl -> Release(This)
#define IPDSwatch_get_swatchType(This,pVal) \
(This)->lpVtbl -> get_swatchType(This,pVal)
#define IPDSwatch_get_name(This,pVal) \
(This)->lpVtbl -> get_name(This,pVal)
#define IPDSwatch_put_name(This,newVal) \
(This)->lpVtbl -> put_name(This,newVal)
#define IPDSwatch_clone(This,pVal) \
(This)->lpVtbl -> clone(This,pVal)
#define IPDSwatch_get_parent(This,pVal) \
(This)->lpVtbl -> get_parent(This,pVal)
#define IPDSwatch_get_canDelete(This,pVal) \
(This)->lpVtbl -> get_canDelete(This,pVal)
#define IPDSwatch_get_canEdit(This,pVal) \
(This)->lpVtbl -> get_canEdit(This,pVal)
#endif /* COBJMACROS */
#endif /* C style interface */
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDSwatch_get_swatchType_Proxy(
IPDSwatch __RPC_FAR * This,
/* [retval][out] */ PDSwatchType __RPC_FAR *pVal);
void __RPC_STUB IPDSwatch_get_swatchType_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDSwatch_get_name_Proxy(
IPDSwatch __RPC_FAR * This,
/* [retval][out] */ BSTR __RPC_FAR *pVal);
void __RPC_STUB IPDSwatch_get_name_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IPDSwatch_put_name_Proxy(
IPDSwatch __RPC_FAR * This,
/* [in] */ BSTR newVal);
void __RPC_STUB IPDSwatch_put_name_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDSwatch_clone_Proxy(
IPDSwatch __RPC_FAR * This,
/* [retval][out] */ IPDSwatch __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDSwatch_clone_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDSwatch_get_parent_Proxy(
IPDSwatch __RPC_FAR * This,
/* [retval][out] */ IPDSwatches __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDSwatch_get_parent_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDSwatch_get_canDelete_Proxy(
IPDSwatch __RPC_FAR * This,
/* [retval][out] */ VARIANT_BOOL __RPC_FAR *pVal);
void __RPC_STUB IPDSwatch_get_canDelete_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDSwatch_get_canEdit_Proxy(
IPDSwatch __RPC_FAR * This,
/* [retval][out] */ VARIANT_BOOL __RPC_FAR *pVal);
void __RPC_STUB IPDSwatch_get_canEdit_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
#endif /* __IPDSwatch_INTERFACE_DEFINED__ */
#ifndef __IPDSwatchColor_INTERFACE_DEFINED__
#define __IPDSwatchColor_INTERFACE_DEFINED__
/* interface IPDSwatchColor */
/* [unique][helpstring][uuid][object] */
EXTERN_C const IID IID_IPDSwatchColor;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("E329F433-6771-46b7-A5DA-CC0E7F455CE4")
IPDSwatchColor : public IPDSwatch
{
public:
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_color(
/* [retval][out] */ IPDColor __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_nameWithColorValue(
/* [retval][out] */ VARIANT_BOOL __RPC_FAR *pVal) = 0;
virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_nameWithColorValue(
/* [in] */ VARIANT_BOOL newVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_colorType(
/* [retval][out] */ PDColorType __RPC_FAR *pVal) = 0;
virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_colorType(
/* [in] */ PDColorType newVal) = 0;
};
#else /* C style interface */
typedef struct IPDSwatchColorVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
IPDSwatchColor __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
IPDSwatchColor __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
IPDSwatchColor __RPC_FAR * This);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_swatchType )(
IPDSwatchColor __RPC_FAR * This,
/* [retval][out] */ PDSwatchType __RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_name )(
IPDSwatchColor __RPC_FAR * This,
/* [retval][out] */ BSTR __RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_name )(
IPDSwatchColor __RPC_FAR * This,
/* [in] */ BSTR newVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *clone )(
IPDSwatchColor __RPC_FAR * This,
/* [retval][out] */ IPDSwatch __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_parent )(
IPDSwatchColor __RPC_FAR * This,
/* [retval][out] */ IPDSwatches __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_canDelete )(
IPDSwatchColor __RPC_FAR * This,
/* [retval][out] */ VARIANT_BOOL __RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_canEdit )(
IPDSwatchColor __RPC_FAR * This,
/* [retval][out] */ VARIANT_BOOL __RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_color )(
IPDSwatchColor __RPC_FAR * This,
/* [retval][out] */ IPDColor __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_nameWithColorValue )(
IPDSwatchColor __RPC_FAR * This,
/* [retval][out] */ VARIANT_BOOL __RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_nameWithColorValue )(
IPDSwatchColor __RPC_FAR * This,
/* [in] */ VARIANT_BOOL newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_colorType )(
IPDSwatchColor __RPC_FAR * This,
/* [retval][out] */ PDColorType __RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_colorType )(
IPDSwatchColor __RPC_FAR * This,
/* [in] */ PDColorType newVal);
END_INTERFACE
} IPDSwatchColorVtbl;
interface IPDSwatchColor
{
CONST_VTBL struct IPDSwatchColorVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define IPDSwatchColor_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define IPDSwatchColor_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define IPDSwatchColor_Release(This) \
(This)->lpVtbl -> Release(This)
#define IPDSwatchColor_get_swatchType(This,pVal) \
(This)->lpVtbl -> get_swatchType(This,pVal)
#define IPDSwatchColor_get_name(This,pVal) \
(This)->lpVtbl -> get_name(This,pVal)
#define IPDSwatchColor_put_name(This,newVal) \
(This)->lpVtbl -> put_name(This,newVal)
#define IPDSwatchColor_clone(This,pVal) \
(This)->lpVtbl -> clone(This,pVal)
#define IPDSwatchColor_get_parent(This,pVal) \
(This)->lpVtbl -> get_parent(This,pVal)
#define IPDSwatchColor_get_canDelete(This,pVal) \
(This)->lpVtbl -> get_canDelete(This,pVal)
#define IPDSwatchColor_get_canEdit(This,pVal) \
(This)->lpVtbl -> get_canEdit(This,pVal)
#define IPDSwatchColor_get_color(This,pVal) \
(This)->lpVtbl -> get_color(This,pVal)
#define IPDSwatchColor_get_nameWithColorValue(This,pVal) \
(This)->lpVtbl -> get_nameWithColorValue(This,pVal)
#define IPDSwatchColor_put_nameWithColorValue(This,newVal) \
(This)->lpVtbl -> put_nameWithColorValue(This,newVal)
#define IPDSwatchColor_get_colorType(This,pVal) \
(This)->lpVtbl -> get_colorType(This,pVal)
#define IPDSwatchColor_put_colorType(This,newVal) \
(This)->lpVtbl -> put_colorType(This,newVal)
#endif /* COBJMACROS */
#endif /* C style interface */
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDSwatchColor_get_color_Proxy(
IPDSwatchColor __RPC_FAR * This,
/* [retval][out] */ IPDColor __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDSwatchColor_get_color_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDSwatchColor_get_nameWithColorValue_Proxy(
IPDSwatchColor __RPC_FAR * This,
/* [retval][out] */ VARIANT_BOOL __RPC_FAR *pVal);
void __RPC_STUB IPDSwatchColor_get_nameWithColorValue_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IPDSwatchColor_put_nameWithColorValue_Proxy(
IPDSwatchColor __RPC_FAR * This,
/* [in] */ VARIANT_BOOL newVal);
void __RPC_STUB IPDSwatchColor_put_nameWithColorValue_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDSwatchColor_get_colorType_Proxy(
IPDSwatchColor __RPC_FAR * This,
/* [retval][out] */ PDColorType __RPC_FAR *pVal);
void __RPC_STUB IPDSwatchColor_get_colorType_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IPDSwatchColor_put_colorType_Proxy(
IPDSwatchColor __RPC_FAR * This,
/* [in] */ PDColorType newVal);
void __RPC_STUB IPDSwatchColor_put_colorType_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
#endif /* __IPDSwatchColor_INTERFACE_DEFINED__ */
#ifndef __IPDSwatchTint_INTERFACE_DEFINED__
#define __IPDSwatchTint_INTERFACE_DEFINED__
/* interface IPDSwatchTint */
/* [unique][helpstring][uuid][object] */
EXTERN_C const IID IID_IPDSwatchTint;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("097E1475-C4BC-422e-868F-EEE195576FB5")
IPDSwatchTint : public IPDSwatch
{
public:
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_tint(
/* [retval][out] */ double __RPC_FAR *pVal) = 0;
virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_tint(
/* [in] */ double newVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_swatchColor(
/* [retval][out] */ IPDSwatchColor __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_swatchColor(
/* [in] */ IPDSwatchColor __RPC_FAR *newVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_finalColor(
/* [retval][out] */ IPDColor __RPC_FAR *__RPC_FAR *pVal) = 0;
};
#else /* C style interface */
typedef struct IPDSwatchTintVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
IPDSwatchTint __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
IPDSwatchTint __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
IPDSwatchTint __RPC_FAR * This);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_swatchType )(
IPDSwatchTint __RPC_FAR * This,
/* [retval][out] */ PDSwatchType __RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_name )(
IPDSwatchTint __RPC_FAR * This,
/* [retval][out] */ BSTR __RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_name )(
IPDSwatchTint __RPC_FAR * This,
/* [in] */ BSTR newVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *clone )(
IPDSwatchTint __RPC_FAR * This,
/* [retval][out] */ IPDSwatch __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_parent )(
IPDSwatchTint __RPC_FAR * This,
/* [retval][out] */ IPDSwatches __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_canDelete )(
IPDSwatchTint __RPC_FAR * This,
/* [retval][out] */ VARIANT_BOOL __RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_canEdit )(
IPDSwatchTint __RPC_FAR * This,
/* [retval][out] */ VARIANT_BOOL __RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_tint )(
IPDSwatchTint __RPC_FAR * This,
/* [retval][out] */ double __RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_tint )(
IPDSwatchTint __RPC_FAR * This,
/* [in] */ double newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_swatchColor )(
IPDSwatchTint __RPC_FAR * This,
/* [retval][out] */ IPDSwatchColor __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_swatchColor )(
IPDSwatchTint __RPC_FAR * This,
/* [in] */ IPDSwatchColor __RPC_FAR *newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_finalColor )(
IPDSwatchTint __RPC_FAR * This,
/* [retval][out] */ IPDColor __RPC_FAR *__RPC_FAR *pVal);
END_INTERFACE
} IPDSwatchTintVtbl;
interface IPDSwatchTint
{
CONST_VTBL struct IPDSwatchTintVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define IPDSwatchTint_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define IPDSwatchTint_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define IPDSwatchTint_Release(This) \
(This)->lpVtbl -> Release(This)
#define IPDSwatchTint_get_swatchType(This,pVal) \
(This)->lpVtbl -> get_swatchType(This,pVal)
#define IPDSwatchTint_get_name(This,pVal) \
(This)->lpVtbl -> get_name(This,pVal)
#define IPDSwatchTint_put_name(This,newVal) \
(This)->lpVtbl -> put_name(This,newVal)
#define IPDSwatchTint_clone(This,pVal) \
(This)->lpVtbl -> clone(This,pVal)
#define IPDSwatchTint_get_parent(This,pVal) \
(This)->lpVtbl -> get_parent(This,pVal)
#define IPDSwatchTint_get_canDelete(This,pVal) \
(This)->lpVtbl -> get_canDelete(This,pVal)
#define IPDSwatchTint_get_canEdit(This,pVal) \
(This)->lpVtbl -> get_canEdit(This,pVal)
#define IPDSwatchTint_get_tint(This,pVal) \
(This)->lpVtbl -> get_tint(This,pVal)
#define IPDSwatchTint_put_tint(This,newVal) \
(This)->lpVtbl -> put_tint(This,newVal)
#define IPDSwatchTint_get_swatchColor(This,pVal) \
(This)->lpVtbl -> get_swatchColor(This,pVal)
#define IPDSwatchTint_put_swatchColor(This,newVal) \
(This)->lpVtbl -> put_swatchColor(This,newVal)
#define IPDSwatchTint_get_finalColor(This,pVal) \
(This)->lpVtbl -> get_finalColor(This,pVal)
#endif /* COBJMACROS */
#endif /* C style interface */
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDSwatchTint_get_tint_Proxy(
IPDSwatchTint __RPC_FAR * This,
/* [retval][out] */ double __RPC_FAR *pVal);
void __RPC_STUB IPDSwatchTint_get_tint_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IPDSwatchTint_put_tint_Proxy(
IPDSwatchTint __RPC_FAR * This,
/* [in] */ double newVal);
void __RPC_STUB IPDSwatchTint_put_tint_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDSwatchTint_get_swatchColor_Proxy(
IPDSwatchTint __RPC_FAR * This,
/* [retval][out] */ IPDSwatchColor __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDSwatchTint_get_swatchColor_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IPDSwatchTint_put_swatchColor_Proxy(
IPDSwatchTint __RPC_FAR * This,
/* [in] */ IPDSwatchColor __RPC_FAR *newVal);
void __RPC_STUB IPDSwatchTint_put_swatchColor_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDSwatchTint_get_finalColor_Proxy(
IPDSwatchTint __RPC_FAR * This,
/* [retval][out] */ IPDColor __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDSwatchTint_get_finalColor_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
#endif /* __IPDSwatchTint_INTERFACE_DEFINED__ */
#ifndef __IPDSwatchGradient_INTERFACE_DEFINED__
#define __IPDSwatchGradient_INTERFACE_DEFINED__
/* interface IPDSwatchGradient */
/* [unique][helpstring][uuid][object] */
EXTERN_C const IID IID_IPDSwatchGradient;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("C84E8609-C480-4b3e-8F86-F0DA49475E61")
IPDSwatchGradient : public IPDSwatch
{
public:
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_gradient(
/* [retval][out] */ IPDGradient __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_gradient(
/* [in] */ IPDGradient __RPC_FAR *newVal) = 0;
};
#else /* C style interface */
typedef struct IPDSwatchGradientVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
IPDSwatchGradient __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
IPDSwatchGradient __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
IPDSwatchGradient __RPC_FAR * This);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_swatchType )(
IPDSwatchGradient __RPC_FAR * This,
/* [retval][out] */ PDSwatchType __RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_name )(
IPDSwatchGradient __RPC_FAR * This,
/* [retval][out] */ BSTR __RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_name )(
IPDSwatchGradient __RPC_FAR * This,
/* [in] */ BSTR newVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *clone )(
IPDSwatchGradient __RPC_FAR * This,
/* [retval][out] */ IPDSwatch __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_parent )(
IPDSwatchGradient __RPC_FAR * This,
/* [retval][out] */ IPDSwatches __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_canDelete )(
IPDSwatchGradient __RPC_FAR * This,
/* [retval][out] */ VARIANT_BOOL __RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_canEdit )(
IPDSwatchGradient __RPC_FAR * This,
/* [retval][out] */ VARIANT_BOOL __RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_gradient )(
IPDSwatchGradient __RPC_FAR * This,
/* [retval][out] */ IPDGradient __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_gradient )(
IPDSwatchGradient __RPC_FAR * This,
/* [in] */ IPDGradient __RPC_FAR *newVal);
END_INTERFACE
} IPDSwatchGradientVtbl;
interface IPDSwatchGradient
{
CONST_VTBL struct IPDSwatchGradientVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define IPDSwatchGradient_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define IPDSwatchGradient_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define IPDSwatchGradient_Release(This) \
(This)->lpVtbl -> Release(This)
#define IPDSwatchGradient_get_swatchType(This,pVal) \
(This)->lpVtbl -> get_swatchType(This,pVal)
#define IPDSwatchGradient_get_name(This,pVal) \
(This)->lpVtbl -> get_name(This,pVal)
#define IPDSwatchGradient_put_name(This,newVal) \
(This)->lpVtbl -> put_name(This,newVal)
#define IPDSwatchGradient_clone(This,pVal) \
(This)->lpVtbl -> clone(This,pVal)
#define IPDSwatchGradient_get_parent(This,pVal) \
(This)->lpVtbl -> get_parent(This,pVal)
#define IPDSwatchGradient_get_canDelete(This,pVal) \
(This)->lpVtbl -> get_canDelete(This,pVal)
#define IPDSwatchGradient_get_canEdit(This,pVal) \
(This)->lpVtbl -> get_canEdit(This,pVal)
#define IPDSwatchGradient_get_gradient(This,pVal) \
(This)->lpVtbl -> get_gradient(This,pVal)
#define IPDSwatchGradient_put_gradient(This,newVal) \
(This)->lpVtbl -> put_gradient(This,newVal)
#endif /* COBJMACROS */
#endif /* C style interface */
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDSwatchGradient_get_gradient_Proxy(
IPDSwatchGradient __RPC_FAR * This,
/* [retval][out] */ IPDGradient __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDSwatchGradient_get_gradient_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IPDSwatchGradient_put_gradient_Proxy(
IPDSwatchGradient __RPC_FAR * This,
/* [in] */ IPDGradient __RPC_FAR *newVal);
void __RPC_STUB IPDSwatchGradient_put_gradient_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
#endif /* __IPDSwatchGradient_INTERFACE_DEFINED__ */
#ifndef __IPDSwatchPattern_INTERFACE_DEFINED__
#define __IPDSwatchPattern_INTERFACE_DEFINED__
/* interface IPDSwatchPattern */
/* [unique][helpstring][uuid][object] */
EXTERN_C const IID IID_IPDSwatchPattern;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("99D2DAC7-CE4E-45BD-9C68-981820D3B094")
IPDSwatchPattern : public IPDSwatch
{
public:
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_objectGroup(
/* [retval][out] */ IPDObjectGroup __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_objectGroup(
/* [in] */ IPDObjectGroup __RPC_FAR *newVal) = 0;
};
#else /* C style interface */
typedef struct IPDSwatchPatternVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
IPDSwatchPattern __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
IPDSwatchPattern __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
IPDSwatchPattern __RPC_FAR * This);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_swatchType )(
IPDSwatchPattern __RPC_FAR * This,
/* [retval][out] */ PDSwatchType __RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_name )(
IPDSwatchPattern __RPC_FAR * This,
/* [retval][out] */ BSTR __RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_name )(
IPDSwatchPattern __RPC_FAR * This,
/* [in] */ BSTR newVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *clone )(
IPDSwatchPattern __RPC_FAR * This,
/* [retval][out] */ IPDSwatch __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_parent )(
IPDSwatchPattern __RPC_FAR * This,
/* [retval][out] */ IPDSwatches __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_canDelete )(
IPDSwatchPattern __RPC_FAR * This,
/* [retval][out] */ VARIANT_BOOL __RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_canEdit )(
IPDSwatchPattern __RPC_FAR * This,
/* [retval][out] */ VARIANT_BOOL __RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_objectGroup )(
IPDSwatchPattern __RPC_FAR * This,
/* [retval][out] */ IPDObjectGroup __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_objectGroup )(
IPDSwatchPattern __RPC_FAR * This,
/* [in] */ IPDObjectGroup __RPC_FAR *newVal);
END_INTERFACE
} IPDSwatchPatternVtbl;
interface IPDSwatchPattern
{
CONST_VTBL struct IPDSwatchPatternVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define IPDSwatchPattern_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define IPDSwatchPattern_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define IPDSwatchPattern_Release(This) \
(This)->lpVtbl -> Release(This)
#define IPDSwatchPattern_get_swatchType(This,pVal) \
(This)->lpVtbl -> get_swatchType(This,pVal)
#define IPDSwatchPattern_get_name(This,pVal) \
(This)->lpVtbl -> get_name(This,pVal)
#define IPDSwatchPattern_put_name(This,newVal) \
(This)->lpVtbl -> put_name(This,newVal)
#define IPDSwatchPattern_clone(This,pVal) \
(This)->lpVtbl -> clone(This,pVal)
#define IPDSwatchPattern_get_parent(This,pVal) \
(This)->lpVtbl -> get_parent(This,pVal)
#define IPDSwatchPattern_get_canDelete(This,pVal) \
(This)->lpVtbl -> get_canDelete(This,pVal)
#define IPDSwatchPattern_get_canEdit(This,pVal) \
(This)->lpVtbl -> get_canEdit(This,pVal)
#define IPDSwatchPattern_get_objectGroup(This,pVal) \
(This)->lpVtbl -> get_objectGroup(This,pVal)
#define IPDSwatchPattern_put_objectGroup(This,newVal) \
(This)->lpVtbl -> put_objectGroup(This,newVal)
#endif /* COBJMACROS */
#endif /* C style interface */
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDSwatchPattern_get_objectGroup_Proxy(
IPDSwatchPattern __RPC_FAR * This,
/* [retval][out] */ IPDObjectGroup __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDSwatchPattern_get_objectGroup_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IPDSwatchPattern_put_objectGroup_Proxy(
IPDSwatchPattern __RPC_FAR * This,
/* [in] */ IPDObjectGroup __RPC_FAR *newVal);
void __RPC_STUB IPDSwatchPattern_put_objectGroup_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
#endif /* __IPDSwatchPattern_INTERFACE_DEFINED__ */
#ifndef __IPDSwatches_INTERFACE_DEFINED__
#define __IPDSwatches_INTERFACE_DEFINED__
/* interface IPDSwatches */
/* [unique][helpstring][uuid][object] */
EXTERN_C const IID IID_IPDSwatches;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("F4A86041-ED11-11d5-95F0-0002E3045703")
IPDSwatches : public IPDUnknown
{
public:
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE createSwatchColor(
/* [retval][out] */ IPDSwatchColor __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE createSwatchGradient(
/* [retval][out] */ IPDSwatchGradient __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE createSwatchTint(
/* [in] */ IPDSwatchColor __RPC_FAR *swatchColor,
/* [retval][out] */ IPDSwatchTint __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_length(
/* [retval][out] */ long __RPC_FAR *pVal) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE item(
/* [in] */ long index,
/* [retval][out] */ IPDSwatch __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE appendSwatch(
/* [in] */ IPDSwatch __RPC_FAR *swatch) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE removeSwatch(
/* [in] */ IPDSwatch __RPC_FAR *swatch) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_firstChild(
/* [retval][out] */ IPDSwatch __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_lastChild(
/* [retval][out] */ IPDSwatch __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE createSwatchPattern(
/* [retval][out] */ IPDSwatchPattern __RPC_FAR *__RPC_FAR *pVal) = 0;
};
#else /* C style interface */
typedef struct IPDSwatchesVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
IPDSwatches __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
IPDSwatches __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
IPDSwatches __RPC_FAR * This);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *createSwatchColor )(
IPDSwatches __RPC_FAR * This,
/* [retval][out] */ IPDSwatchColor __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *createSwatchGradient )(
IPDSwatches __RPC_FAR * This,
/* [retval][out] */ IPDSwatchGradient __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *createSwatchTint )(
IPDSwatches __RPC_FAR * This,
/* [in] */ IPDSwatchColor __RPC_FAR *swatchColor,
/* [retval][out] */ IPDSwatchTint __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_length )(
IPDSwatches __RPC_FAR * This,
/* [retval][out] */ long __RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *item )(
IPDSwatches __RPC_FAR * This,
/* [in] */ long index,
/* [retval][out] */ IPDSwatch __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *appendSwatch )(
IPDSwatches __RPC_FAR * This,
/* [in] */ IPDSwatch __RPC_FAR *swatch);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *removeSwatch )(
IPDSwatches __RPC_FAR * This,
/* [in] */ IPDSwatch __RPC_FAR *swatch);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_firstChild )(
IPDSwatches __RPC_FAR * This,
/* [retval][out] */ IPDSwatch __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_lastChild )(
IPDSwatches __RPC_FAR * This,
/* [retval][out] */ IPDSwatch __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *createSwatchPattern )(
IPDSwatches __RPC_FAR * This,
/* [retval][out] */ IPDSwatchPattern __RPC_FAR *__RPC_FAR *pVal);
END_INTERFACE
} IPDSwatchesVtbl;
interface IPDSwatches
{
CONST_VTBL struct IPDSwatchesVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define IPDSwatches_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define IPDSwatches_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define IPDSwatches_Release(This) \
(This)->lpVtbl -> Release(This)
#define IPDSwatches_createSwatchColor(This,pVal) \
(This)->lpVtbl -> createSwatchColor(This,pVal)
#define IPDSwatches_createSwatchGradient(This,pVal) \
(This)->lpVtbl -> createSwatchGradient(This,pVal)
#define IPDSwatches_createSwatchTint(This,swatchColor,pVal) \
(This)->lpVtbl -> createSwatchTint(This,swatchColor,pVal)
#define IPDSwatches_get_length(This,pVal) \
(This)->lpVtbl -> get_length(This,pVal)
#define IPDSwatches_item(This,index,pVal) \
(This)->lpVtbl -> item(This,index,pVal)
#define IPDSwatches_appendSwatch(This,swatch) \
(This)->lpVtbl -> appendSwatch(This,swatch)
#define IPDSwatches_removeSwatch(This,swatch) \
(This)->lpVtbl -> removeSwatch(This,swatch)
#define IPDSwatches_get_firstChild(This,pVal) \
(This)->lpVtbl -> get_firstChild(This,pVal)
#define IPDSwatches_get_lastChild(This,pVal) \
(This)->lpVtbl -> get_lastChild(This,pVal)
#define IPDSwatches_createSwatchPattern(This,pVal) \
(This)->lpVtbl -> createSwatchPattern(This,pVal)
#endif /* COBJMACROS */
#endif /* C style interface */
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDSwatches_createSwatchColor_Proxy(
IPDSwatches __RPC_FAR * This,
/* [retval][out] */ IPDSwatchColor __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDSwatches_createSwatchColor_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDSwatches_createSwatchGradient_Proxy(
IPDSwatches __RPC_FAR * This,
/* [retval][out] */ IPDSwatchGradient __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDSwatches_createSwatchGradient_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDSwatches_createSwatchTint_Proxy(
IPDSwatches __RPC_FAR * This,
/* [in] */ IPDSwatchColor __RPC_FAR *swatchColor,
/* [retval][out] */ IPDSwatchTint __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDSwatches_createSwatchTint_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDSwatches_get_length_Proxy(
IPDSwatches __RPC_FAR * This,
/* [retval][out] */ long __RPC_FAR *pVal);
void __RPC_STUB IPDSwatches_get_length_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDSwatches_item_Proxy(
IPDSwatches __RPC_FAR * This,
/* [in] */ long index,
/* [retval][out] */ IPDSwatch __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDSwatches_item_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDSwatches_appendSwatch_Proxy(
IPDSwatches __RPC_FAR * This,
/* [in] */ IPDSwatch __RPC_FAR *swatch);
void __RPC_STUB IPDSwatches_appendSwatch_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDSwatches_removeSwatch_Proxy(
IPDSwatches __RPC_FAR * This,
/* [in] */ IPDSwatch __RPC_FAR *swatch);
void __RPC_STUB IPDSwatches_removeSwatch_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDSwatches_get_firstChild_Proxy(
IPDSwatches __RPC_FAR * This,
/* [retval][out] */ IPDSwatch __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDSwatches_get_firstChild_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDSwatches_get_lastChild_Proxy(
IPDSwatches __RPC_FAR * This,
/* [retval][out] */ IPDSwatch __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDSwatches_get_lastChild_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDSwatches_createSwatchPattern_Proxy(
IPDSwatches __RPC_FAR * This,
/* [retval][out] */ IPDSwatchPattern __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDSwatches_createSwatchPattern_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
#endif /* __IPDSwatches_INTERFACE_DEFINED__ */
#ifndef __IPDGradient_INTERFACE_DEFINED__
#define __IPDGradient_INTERFACE_DEFINED__
/* interface IPDGradient */
/* [unique][helpstring][uuid][object] */
EXTERN_C const IID IID_IPDGradient;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("C4EC5DBE-5CB5-4aed-AA6A-EFEE6C4079A7")
IPDGradient : public IPDUnknown
{
public:
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_stops(
/* [retval][out] */ IObjectMap __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE append(
/* [in] */ IPDGradientStop __RPC_FAR *stop) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE createStop(
/* [retval][out] */ IPDGradientStop __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE removeStop(
/* [in] */ IPDGradientStop __RPC_FAR *stop) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_firstChild(
/* [retval][out] */ IPDGradientStop __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_lastChild(
/* [retval][out] */ IPDGradientStop __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE Equals(
/* [in] */ IPDGradient __RPC_FAR *gradient,
/* [retval][out] */ VARIANT_BOOL __RPC_FAR *pVal) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE clone(
/* [retval][out] */ IPDGradient __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_type(
/* [retval][out] */ PDGradientType __RPC_FAR *pVal) = 0;
virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_type(
/* [in] */ PDGradientType newVal) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE copy(
/* [in] */ IPDGradient __RPC_FAR *gradient) = 0;
};
#else /* C style interface */
typedef struct IPDGradientVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
IPDGradient __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
IPDGradient __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
IPDGradient __RPC_FAR * This);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_stops )(
IPDGradient __RPC_FAR * This,
/* [retval][out] */ IObjectMap __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *append )(
IPDGradient __RPC_FAR * This,
/* [in] */ IPDGradientStop __RPC_FAR *stop);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *createStop )(
IPDGradient __RPC_FAR * This,
/* [retval][out] */ IPDGradientStop __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *removeStop )(
IPDGradient __RPC_FAR * This,
/* [in] */ IPDGradientStop __RPC_FAR *stop);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_firstChild )(
IPDGradient __RPC_FAR * This,
/* [retval][out] */ IPDGradientStop __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_lastChild )(
IPDGradient __RPC_FAR * This,
/* [retval][out] */ IPDGradientStop __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Equals )(
IPDGradient __RPC_FAR * This,
/* [in] */ IPDGradient __RPC_FAR *gradient,
/* [retval][out] */ VARIANT_BOOL __RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *clone )(
IPDGradient __RPC_FAR * This,
/* [retval][out] */ IPDGradient __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_type )(
IPDGradient __RPC_FAR * This,
/* [retval][out] */ PDGradientType __RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_type )(
IPDGradient __RPC_FAR * This,
/* [in] */ PDGradientType newVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *copy )(
IPDGradient __RPC_FAR * This,
/* [in] */ IPDGradient __RPC_FAR *gradient);
END_INTERFACE
} IPDGradientVtbl;
interface IPDGradient
{
CONST_VTBL struct IPDGradientVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define IPDGradient_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define IPDGradient_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define IPDGradient_Release(This) \
(This)->lpVtbl -> Release(This)
#define IPDGradient_get_stops(This,pVal) \
(This)->lpVtbl -> get_stops(This,pVal)
#define IPDGradient_append(This,stop) \
(This)->lpVtbl -> append(This,stop)
#define IPDGradient_createStop(This,pVal) \
(This)->lpVtbl -> createStop(This,pVal)
#define IPDGradient_removeStop(This,stop) \
(This)->lpVtbl -> removeStop(This,stop)
#define IPDGradient_get_firstChild(This,pVal) \
(This)->lpVtbl -> get_firstChild(This,pVal)
#define IPDGradient_get_lastChild(This,pVal) \
(This)->lpVtbl -> get_lastChild(This,pVal)
#define IPDGradient_Equals(This,gradient,pVal) \
(This)->lpVtbl -> Equals(This,gradient,pVal)
#define IPDGradient_clone(This,pVal) \
(This)->lpVtbl -> clone(This,pVal)
#define IPDGradient_get_type(This,pVal) \
(This)->lpVtbl -> get_type(This,pVal)
#define IPDGradient_put_type(This,newVal) \
(This)->lpVtbl -> put_type(This,newVal)
#define IPDGradient_copy(This,gradient) \
(This)->lpVtbl -> copy(This,gradient)
#endif /* COBJMACROS */
#endif /* C style interface */
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDGradient_get_stops_Proxy(
IPDGradient __RPC_FAR * This,
/* [retval][out] */ IObjectMap __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDGradient_get_stops_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDGradient_append_Proxy(
IPDGradient __RPC_FAR * This,
/* [in] */ IPDGradientStop __RPC_FAR *stop);
void __RPC_STUB IPDGradient_append_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDGradient_createStop_Proxy(
IPDGradient __RPC_FAR * This,
/* [retval][out] */ IPDGradientStop __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDGradient_createStop_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDGradient_removeStop_Proxy(
IPDGradient __RPC_FAR * This,
/* [in] */ IPDGradientStop __RPC_FAR *stop);
void __RPC_STUB IPDGradient_removeStop_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDGradient_get_firstChild_Proxy(
IPDGradient __RPC_FAR * This,
/* [retval][out] */ IPDGradientStop __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDGradient_get_firstChild_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDGradient_get_lastChild_Proxy(
IPDGradient __RPC_FAR * This,
/* [retval][out] */ IPDGradientStop __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDGradient_get_lastChild_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDGradient_Equals_Proxy(
IPDGradient __RPC_FAR * This,
/* [in] */ IPDGradient __RPC_FAR *gradient,
/* [retval][out] */ VARIANT_BOOL __RPC_FAR *pVal);
void __RPC_STUB IPDGradient_Equals_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDGradient_clone_Proxy(
IPDGradient __RPC_FAR * This,
/* [retval][out] */ IPDGradient __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDGradient_clone_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDGradient_get_type_Proxy(
IPDGradient __RPC_FAR * This,
/* [retval][out] */ PDGradientType __RPC_FAR *pVal);
void __RPC_STUB IPDGradient_get_type_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IPDGradient_put_type_Proxy(
IPDGradient __RPC_FAR * This,
/* [in] */ PDGradientType newVal);
void __RPC_STUB IPDGradient_put_type_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDGradient_copy_Proxy(
IPDGradient __RPC_FAR * This,
/* [in] */ IPDGradient __RPC_FAR *gradient);
void __RPC_STUB IPDGradient_copy_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
#endif /* __IPDGradient_INTERFACE_DEFINED__ */
#ifndef __IPDGradientStop_INTERFACE_DEFINED__
#define __IPDGradientStop_INTERFACE_DEFINED__
/* interface IPDGradientStop */
/* [unique][helpstring][uuid][object] */
EXTERN_C const IID IID_IPDGradientStop;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("C2DFC862-2498-42e6-8261-C8D8D47D4827")
IPDGradientStop : public IPDUnknown
{
public:
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_middle(
/* [retval][out] */ double __RPC_FAR *pVal) = 0;
virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_middle(
/* [in] */ double newVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_offset(
/* [retval][out] */ double __RPC_FAR *pVal) = 0;
virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_offset(
/* [in] */ double newVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_color(
/* [retval][out] */ IPDColor __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE setColorRGB(
/* [in] */ long red,
/* [in] */ long green,
/* [in] */ long blue) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_parent(
/* [retval][out] */ IPDGradient __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_previousSibling(
/* [retval][out] */ IPDGradientStop __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_nextSibling(
/* [retval][out] */ IPDGradientStop __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_swatch(
/* [retval][out] */ IPDSwatch __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_swatch(
/* [in] */ IPDSwatch __RPC_FAR *newVal) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE getFinalColor(
/* [retval][out] */ IPDColor __RPC_FAR *__RPC_FAR *pVal) = 0;
};
#else /* C style interface */
typedef struct IPDGradientStopVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
IPDGradientStop __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
IPDGradientStop __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
IPDGradientStop __RPC_FAR * This);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_middle )(
IPDGradientStop __RPC_FAR * This,
/* [retval][out] */ double __RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_middle )(
IPDGradientStop __RPC_FAR * This,
/* [in] */ double newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_offset )(
IPDGradientStop __RPC_FAR * This,
/* [retval][out] */ double __RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_offset )(
IPDGradientStop __RPC_FAR * This,
/* [in] */ double newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_color )(
IPDGradientStop __RPC_FAR * This,
/* [retval][out] */ IPDColor __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *setColorRGB )(
IPDGradientStop __RPC_FAR * This,
/* [in] */ long red,
/* [in] */ long green,
/* [in] */ long blue);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_parent )(
IPDGradientStop __RPC_FAR * This,
/* [retval][out] */ IPDGradient __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_previousSibling )(
IPDGradientStop __RPC_FAR * This,
/* [retval][out] */ IPDGradientStop __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_nextSibling )(
IPDGradientStop __RPC_FAR * This,
/* [retval][out] */ IPDGradientStop __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_swatch )(
IPDGradientStop __RPC_FAR * This,
/* [retval][out] */ IPDSwatch __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_swatch )(
IPDGradientStop __RPC_FAR * This,
/* [in] */ IPDSwatch __RPC_FAR *newVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *getFinalColor )(
IPDGradientStop __RPC_FAR * This,
/* [retval][out] */ IPDColor __RPC_FAR *__RPC_FAR *pVal);
END_INTERFACE
} IPDGradientStopVtbl;
interface IPDGradientStop
{
CONST_VTBL struct IPDGradientStopVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define IPDGradientStop_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define IPDGradientStop_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define IPDGradientStop_Release(This) \
(This)->lpVtbl -> Release(This)
#define IPDGradientStop_get_middle(This,pVal) \
(This)->lpVtbl -> get_middle(This,pVal)
#define IPDGradientStop_put_middle(This,newVal) \
(This)->lpVtbl -> put_middle(This,newVal)
#define IPDGradientStop_get_offset(This,pVal) \
(This)->lpVtbl -> get_offset(This,pVal)
#define IPDGradientStop_put_offset(This,newVal) \
(This)->lpVtbl -> put_offset(This,newVal)
#define IPDGradientStop_get_color(This,pVal) \
(This)->lpVtbl -> get_color(This,pVal)
#define IPDGradientStop_setColorRGB(This,red,green,blue) \
(This)->lpVtbl -> setColorRGB(This,red,green,blue)
#define IPDGradientStop_get_parent(This,pVal) \
(This)->lpVtbl -> get_parent(This,pVal)
#define IPDGradientStop_get_previousSibling(This,pVal) \
(This)->lpVtbl -> get_previousSibling(This,pVal)
#define IPDGradientStop_get_nextSibling(This,pVal) \
(This)->lpVtbl -> get_nextSibling(This,pVal)
#define IPDGradientStop_get_swatch(This,pVal) \
(This)->lpVtbl -> get_swatch(This,pVal)
#define IPDGradientStop_put_swatch(This,newVal) \
(This)->lpVtbl -> put_swatch(This,newVal)
#define IPDGradientStop_getFinalColor(This,pVal) \
(This)->lpVtbl -> getFinalColor(This,pVal)
#endif /* COBJMACROS */
#endif /* C style interface */
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDGradientStop_get_middle_Proxy(
IPDGradientStop __RPC_FAR * This,
/* [retval][out] */ double __RPC_FAR *pVal);
void __RPC_STUB IPDGradientStop_get_middle_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IPDGradientStop_put_middle_Proxy(
IPDGradientStop __RPC_FAR * This,
/* [in] */ double newVal);
void __RPC_STUB IPDGradientStop_put_middle_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDGradientStop_get_offset_Proxy(
IPDGradientStop __RPC_FAR * This,
/* [retval][out] */ double __RPC_FAR *pVal);
void __RPC_STUB IPDGradientStop_get_offset_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IPDGradientStop_put_offset_Proxy(
IPDGradientStop __RPC_FAR * This,
/* [in] */ double newVal);
void __RPC_STUB IPDGradientStop_put_offset_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDGradientStop_get_color_Proxy(
IPDGradientStop __RPC_FAR * This,
/* [retval][out] */ IPDColor __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDGradientStop_get_color_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDGradientStop_setColorRGB_Proxy(
IPDGradientStop __RPC_FAR * This,
/* [in] */ long red,
/* [in] */ long green,
/* [in] */ long blue);
void __RPC_STUB IPDGradientStop_setColorRGB_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDGradientStop_get_parent_Proxy(
IPDGradientStop __RPC_FAR * This,
/* [retval][out] */ IPDGradient __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDGradientStop_get_parent_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDGradientStop_get_previousSibling_Proxy(
IPDGradientStop __RPC_FAR * This,
/* [retval][out] */ IPDGradientStop __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDGradientStop_get_previousSibling_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDGradientStop_get_nextSibling_Proxy(
IPDGradientStop __RPC_FAR * This,
/* [retval][out] */ IPDGradientStop __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDGradientStop_get_nextSibling_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDGradientStop_get_swatch_Proxy(
IPDGradientStop __RPC_FAR * This,
/* [retval][out] */ IPDSwatch __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDGradientStop_get_swatch_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IPDGradientStop_put_swatch_Proxy(
IPDGradientStop __RPC_FAR * This,
/* [in] */ IPDSwatch __RPC_FAR *newVal);
void __RPC_STUB IPDGradientStop_put_swatch_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDGradientStop_getFinalColor_Proxy(
IPDGradientStop __RPC_FAR * This,
/* [retval][out] */ IPDColor __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDGradientStop_getFinalColor_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
#endif /* __IPDGradientStop_INTERFACE_DEFINED__ */
#ifndef __IPDBrush_INTERFACE_DEFINED__
#define __IPDBrush_INTERFACE_DEFINED__
/* interface IPDBrush */
/* [unique][helpstring][uuid][object] */
EXTERN_C const IID IID_IPDBrush;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("27F17041-EEC5-11d5-95F0-0002E3045703")
IPDBrush : public IPDUnknown
{
public:
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_brushType(
/* [retval][out] */ PDBrushType __RPC_FAR *pVal) = 0;
virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_brushType(
/* [in] */ PDBrushType newVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_swatch(
/* [retval][out] */ IPDSwatch __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_swatch(
/* [in] */ IPDSwatch __RPC_FAR *newVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_gradient(
/* [retval][out] */ IPDGradient __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_color(
/* [retval][out] */ IPDColor __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_colorTint(
/* [retval][out] */ double __RPC_FAR *pVal) = 0;
virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_colorTint(
/* [in] */ double newVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_tintedRGBColor(
/* [retval][out] */ IPDColor __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE setNone( void) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE setGradient(
/* [retval][out] */ IPDGradient __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE setColor(
/* [retval][out] */ IPDColor __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_x1(
/* [retval][out] */ double __RPC_FAR *pVal) = 0;
virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_x1(
/* [in] */ double newVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_y1(
/* [retval][out] */ double __RPC_FAR *pVal) = 0;
virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_y1(
/* [in] */ double newVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_x2(
/* [retval][out] */ double __RPC_FAR *pVal) = 0;
virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_x2(
/* [in] */ double newVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_y2(
/* [retval][out] */ double __RPC_FAR *pVal) = 0;
virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_y2(
/* [in] */ double newVal) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE clone(
/* [retval][out] */ IPDBrush __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_tintedColor(
/* [retval][out] */ IPDColor __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE IsEqual(
/* [in] */ IPDBrush __RPC_FAR *brush) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE setCommon(
/* [in] */ IPDBrush __RPC_FAR *brush) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE getCommon(
/* [in] */ IPDBrush __RPC_FAR *brush) = 0;
};
#else /* C style interface */
typedef struct IPDBrushVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
IPDBrush __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
IPDBrush __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
IPDBrush __RPC_FAR * This);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_brushType )(
IPDBrush __RPC_FAR * This,
/* [retval][out] */ PDBrushType __RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_brushType )(
IPDBrush __RPC_FAR * This,
/* [in] */ PDBrushType newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_swatch )(
IPDBrush __RPC_FAR * This,
/* [retval][out] */ IPDSwatch __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_swatch )(
IPDBrush __RPC_FAR * This,
/* [in] */ IPDSwatch __RPC_FAR *newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_gradient )(
IPDBrush __RPC_FAR * This,
/* [retval][out] */ IPDGradient __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_color )(
IPDBrush __RPC_FAR * This,
/* [retval][out] */ IPDColor __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_colorTint )(
IPDBrush __RPC_FAR * This,
/* [retval][out] */ double __RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_colorTint )(
IPDBrush __RPC_FAR * This,
/* [in] */ double newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_tintedRGBColor )(
IPDBrush __RPC_FAR * This,
/* [retval][out] */ IPDColor __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *setNone )(
IPDBrush __RPC_FAR * This);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *setGradient )(
IPDBrush __RPC_FAR * This,
/* [retval][out] */ IPDGradient __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *setColor )(
IPDBrush __RPC_FAR * This,
/* [retval][out] */ IPDColor __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_x1 )(
IPDBrush __RPC_FAR * This,
/* [retval][out] */ double __RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_x1 )(
IPDBrush __RPC_FAR * This,
/* [in] */ double newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_y1 )(
IPDBrush __RPC_FAR * This,
/* [retval][out] */ double __RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_y1 )(
IPDBrush __RPC_FAR * This,
/* [in] */ double newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_x2 )(
IPDBrush __RPC_FAR * This,
/* [retval][out] */ double __RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_x2 )(
IPDBrush __RPC_FAR * This,
/* [in] */ double newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_y2 )(
IPDBrush __RPC_FAR * This,
/* [retval][out] */ double __RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_y2 )(
IPDBrush __RPC_FAR * This,
/* [in] */ double newVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *clone )(
IPDBrush __RPC_FAR * This,
/* [retval][out] */ IPDBrush __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_tintedColor )(
IPDBrush __RPC_FAR * This,
/* [retval][out] */ IPDColor __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *IsEqual )(
IPDBrush __RPC_FAR * This,
/* [in] */ IPDBrush __RPC_FAR *brush);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *setCommon )(
IPDBrush __RPC_FAR * This,
/* [in] */ IPDBrush __RPC_FAR *brush);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *getCommon )(
IPDBrush __RPC_FAR * This,
/* [in] */ IPDBrush __RPC_FAR *brush);
END_INTERFACE
} IPDBrushVtbl;
interface IPDBrush
{
CONST_VTBL struct IPDBrushVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define IPDBrush_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define IPDBrush_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define IPDBrush_Release(This) \
(This)->lpVtbl -> Release(This)
#define IPDBrush_get_brushType(This,pVal) \
(This)->lpVtbl -> get_brushType(This,pVal)
#define IPDBrush_put_brushType(This,newVal) \
(This)->lpVtbl -> put_brushType(This,newVal)
#define IPDBrush_get_swatch(This,pVal) \
(This)->lpVtbl -> get_swatch(This,pVal)
#define IPDBrush_put_swatch(This,newVal) \
(This)->lpVtbl -> put_swatch(This,newVal)
#define IPDBrush_get_gradient(This,pVal) \
(This)->lpVtbl -> get_gradient(This,pVal)
#define IPDBrush_get_color(This,pVal) \
(This)->lpVtbl -> get_color(This,pVal)
#define IPDBrush_get_colorTint(This,pVal) \
(This)->lpVtbl -> get_colorTint(This,pVal)
#define IPDBrush_put_colorTint(This,newVal) \
(This)->lpVtbl -> put_colorTint(This,newVal)
#define IPDBrush_get_tintedRGBColor(This,pVal) \
(This)->lpVtbl -> get_tintedRGBColor(This,pVal)
#define IPDBrush_setNone(This) \
(This)->lpVtbl -> setNone(This)
#define IPDBrush_setGradient(This,pVal) \
(This)->lpVtbl -> setGradient(This,pVal)
#define IPDBrush_setColor(This,pVal) \
(This)->lpVtbl -> setColor(This,pVal)
#define IPDBrush_get_x1(This,pVal) \
(This)->lpVtbl -> get_x1(This,pVal)
#define IPDBrush_put_x1(This,newVal) \
(This)->lpVtbl -> put_x1(This,newVal)
#define IPDBrush_get_y1(This,pVal) \
(This)->lpVtbl -> get_y1(This,pVal)
#define IPDBrush_put_y1(This,newVal) \
(This)->lpVtbl -> put_y1(This,newVal)
#define IPDBrush_get_x2(This,pVal) \
(This)->lpVtbl -> get_x2(This,pVal)
#define IPDBrush_put_x2(This,newVal) \
(This)->lpVtbl -> put_x2(This,newVal)
#define IPDBrush_get_y2(This,pVal) \
(This)->lpVtbl -> get_y2(This,pVal)
#define IPDBrush_put_y2(This,newVal) \
(This)->lpVtbl -> put_y2(This,newVal)
#define IPDBrush_clone(This,pVal) \
(This)->lpVtbl -> clone(This,pVal)
#define IPDBrush_get_tintedColor(This,pVal) \
(This)->lpVtbl -> get_tintedColor(This,pVal)
#define IPDBrush_IsEqual(This,brush) \
(This)->lpVtbl -> IsEqual(This,brush)
#define IPDBrush_setCommon(This,brush) \
(This)->lpVtbl -> setCommon(This,brush)
#define IPDBrush_getCommon(This,brush) \
(This)->lpVtbl -> getCommon(This,brush)
#endif /* COBJMACROS */
#endif /* C style interface */
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDBrush_get_brushType_Proxy(
IPDBrush __RPC_FAR * This,
/* [retval][out] */ PDBrushType __RPC_FAR *pVal);
void __RPC_STUB IPDBrush_get_brushType_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IPDBrush_put_brushType_Proxy(
IPDBrush __RPC_FAR * This,
/* [in] */ PDBrushType newVal);
void __RPC_STUB IPDBrush_put_brushType_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDBrush_get_swatch_Proxy(
IPDBrush __RPC_FAR * This,
/* [retval][out] */ IPDSwatch __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDBrush_get_swatch_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IPDBrush_put_swatch_Proxy(
IPDBrush __RPC_FAR * This,
/* [in] */ IPDSwatch __RPC_FAR *newVal);
void __RPC_STUB IPDBrush_put_swatch_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDBrush_get_gradient_Proxy(
IPDBrush __RPC_FAR * This,
/* [retval][out] */ IPDGradient __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDBrush_get_gradient_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDBrush_get_color_Proxy(
IPDBrush __RPC_FAR * This,
/* [retval][out] */ IPDColor __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDBrush_get_color_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDBrush_get_colorTint_Proxy(
IPDBrush __RPC_FAR * This,
/* [retval][out] */ double __RPC_FAR *pVal);
void __RPC_STUB IPDBrush_get_colorTint_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IPDBrush_put_colorTint_Proxy(
IPDBrush __RPC_FAR * This,
/* [in] */ double newVal);
void __RPC_STUB IPDBrush_put_colorTint_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDBrush_get_tintedRGBColor_Proxy(
IPDBrush __RPC_FAR * This,
/* [retval][out] */ IPDColor __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDBrush_get_tintedRGBColor_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDBrush_setNone_Proxy(
IPDBrush __RPC_FAR * This);
void __RPC_STUB IPDBrush_setNone_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDBrush_setGradient_Proxy(
IPDBrush __RPC_FAR * This,
/* [retval][out] */ IPDGradient __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDBrush_setGradient_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDBrush_setColor_Proxy(
IPDBrush __RPC_FAR * This,
/* [retval][out] */ IPDColor __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDBrush_setColor_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDBrush_get_x1_Proxy(
IPDBrush __RPC_FAR * This,
/* [retval][out] */ double __RPC_FAR *pVal);
void __RPC_STUB IPDBrush_get_x1_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IPDBrush_put_x1_Proxy(
IPDBrush __RPC_FAR * This,
/* [in] */ double newVal);
void __RPC_STUB IPDBrush_put_x1_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDBrush_get_y1_Proxy(
IPDBrush __RPC_FAR * This,
/* [retval][out] */ double __RPC_FAR *pVal);
void __RPC_STUB IPDBrush_get_y1_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IPDBrush_put_y1_Proxy(
IPDBrush __RPC_FAR * This,
/* [in] */ double newVal);
void __RPC_STUB IPDBrush_put_y1_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDBrush_get_x2_Proxy(
IPDBrush __RPC_FAR * This,
/* [retval][out] */ double __RPC_FAR *pVal);
void __RPC_STUB IPDBrush_get_x2_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IPDBrush_put_x2_Proxy(
IPDBrush __RPC_FAR * This,
/* [in] */ double newVal);
void __RPC_STUB IPDBrush_put_x2_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDBrush_get_y2_Proxy(
IPDBrush __RPC_FAR * This,
/* [retval][out] */ double __RPC_FAR *pVal);
void __RPC_STUB IPDBrush_get_y2_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IPDBrush_put_y2_Proxy(
IPDBrush __RPC_FAR * This,
/* [in] */ double newVal);
void __RPC_STUB IPDBrush_put_y2_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDBrush_clone_Proxy(
IPDBrush __RPC_FAR * This,
/* [retval][out] */ IPDBrush __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDBrush_clone_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDBrush_get_tintedColor_Proxy(
IPDBrush __RPC_FAR * This,
/* [retval][out] */ IPDColor __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDBrush_get_tintedColor_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDBrush_IsEqual_Proxy(
IPDBrush __RPC_FAR * This,
/* [in] */ IPDBrush __RPC_FAR *brush);
void __RPC_STUB IPDBrush_IsEqual_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDBrush_setCommon_Proxy(
IPDBrush __RPC_FAR * This,
/* [in] */ IPDBrush __RPC_FAR *brush);
void __RPC_STUB IPDBrush_setCommon_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDBrush_getCommon_Proxy(
IPDBrush __RPC_FAR * This,
/* [in] */ IPDBrush __RPC_FAR *brush);
void __RPC_STUB IPDBrush_getCommon_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
#endif /* __IPDBrush_INTERFACE_DEFINED__ */
#ifndef __IPDObjectWithBrush_INTERFACE_DEFINED__
#define __IPDObjectWithBrush_INTERFACE_DEFINED__
/* interface IPDObjectWithBrush */
/* [unique][helpstring][uuid][object] */
EXTERN_C const IID IID_IPDObjectWithBrush;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("C552AD1F-7EDA-4b23-9439-DED6C0265AD7")
IPDObjectWithBrush : public IPDObject
{
public:
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_brush(
/* [retval][out] */ IPDBrush __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_brush(
/* [in] */ IPDBrush __RPC_FAR *newVal) = 0;
};
#else /* C style interface */
typedef struct IPDObjectWithBrushVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
IPDObjectWithBrush __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
IPDObjectWithBrush __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
IPDObjectWithBrush __RPC_FAR * This);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_uniqId )(
IPDObjectWithBrush __RPC_FAR * This,
/* [retval][out] */ GUID __RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_objectType )(
IPDObjectWithBrush __RPC_FAR * This,
/* [retval][out] */ PDObjectType __RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_layer )(
IPDObjectWithBrush __RPC_FAR * This,
/* [retval][out] */ IPDLayer __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_parent )(
IPDObjectWithBrush __RPC_FAR * This,
/* [retval][out] */ IPDObjectUnknown __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_parent )(
IPDObjectWithBrush __RPC_FAR * This,
/* [in] */ IPDObjectUnknown __RPC_FAR *newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_nextSibling )(
IPDObjectWithBrush __RPC_FAR * This,
/* [retval][out] */ IPDObjectUnknown __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_nextSibling )(
IPDObjectWithBrush __RPC_FAR * This,
/* [in] */ IPDObjectUnknown __RPC_FAR *newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_previousSibling )(
IPDObjectWithBrush __RPC_FAR * This,
/* [retval][out] */ IPDObjectUnknown __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_previousSibling )(
IPDObjectWithBrush __RPC_FAR * This,
/* [in] */ IPDObjectUnknown __RPC_FAR *newVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *removeObject )(
IPDObjectWithBrush __RPC_FAR * This,
/* [in] */ IPDObjectUnknown __RPC_FAR *object);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_spread )(
IPDObjectWithBrush __RPC_FAR * This,
/* [retval][out] */ IPDSpread __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_spread )(
IPDObjectWithBrush __RPC_FAR * This,
/* [in] */ IPDSpread __RPC_FAR *newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_document )(
IPDObjectWithBrush __RPC_FAR * This,
/* [retval][out] */ IPDDocument __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_document )(
IPDObjectWithBrush __RPC_FAR * This,
/* [in] */ IPDDocument __RPC_FAR *newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_firstChild )(
IPDObjectWithBrush __RPC_FAR * This,
/* [retval][out] */ IPDObjectUnknown __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_lastChild )(
IPDObjectWithBrush __RPC_FAR * This,
/* [retval][out] */ IPDObjectUnknown __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_children )(
IPDObjectWithBrush __RPC_FAR * This,
/* [retval][out] */ IObjectMap __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *getScreenCTM )(
IPDObjectWithBrush __RPC_FAR * This,
/* [retval][out] */ IPDMatrix __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *clone )(
IPDObjectWithBrush __RPC_FAR * This,
/* [retval][out] */ IPDObject __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *getExpandedBBox )(
IPDObjectWithBrush __RPC_FAR * This,
/* [retval][out] */ RectD __RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_brush )(
IPDObjectWithBrush __RPC_FAR * This,
/* [retval][out] */ IPDBrush __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_brush )(
IPDObjectWithBrush __RPC_FAR * This,
/* [in] */ IPDBrush __RPC_FAR *newVal);
END_INTERFACE
} IPDObjectWithBrushVtbl;
interface IPDObjectWithBrush
{
CONST_VTBL struct IPDObjectWithBrushVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define IPDObjectWithBrush_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define IPDObjectWithBrush_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define IPDObjectWithBrush_Release(This) \
(This)->lpVtbl -> Release(This)
#define IPDObjectWithBrush_get_uniqId(This,pVal) \
(This)->lpVtbl -> get_uniqId(This,pVal)
#define IPDObjectWithBrush_get_objectType(This,pVal) \
(This)->lpVtbl -> get_objectType(This,pVal)
#define IPDObjectWithBrush_get_layer(This,pVal) \
(This)->lpVtbl -> get_layer(This,pVal)
#define IPDObjectWithBrush_get_parent(This,pVal) \
(This)->lpVtbl -> get_parent(This,pVal)
#define IPDObjectWithBrush_put_parent(This,newVal) \
(This)->lpVtbl -> put_parent(This,newVal)
#define IPDObjectWithBrush_get_nextSibling(This,pVal) \
(This)->lpVtbl -> get_nextSibling(This,pVal)
#define IPDObjectWithBrush_put_nextSibling(This,newVal) \
(This)->lpVtbl -> put_nextSibling(This,newVal)
#define IPDObjectWithBrush_get_previousSibling(This,pVal) \
(This)->lpVtbl -> get_previousSibling(This,pVal)
#define IPDObjectWithBrush_put_previousSibling(This,newVal) \
(This)->lpVtbl -> put_previousSibling(This,newVal)
#define IPDObjectWithBrush_removeObject(This,object) \
(This)->lpVtbl -> removeObject(This,object)
#define IPDObjectWithBrush_get_spread(This,pVal) \
(This)->lpVtbl -> get_spread(This,pVal)
#define IPDObjectWithBrush_put_spread(This,newVal) \
(This)->lpVtbl -> put_spread(This,newVal)
#define IPDObjectWithBrush_get_document(This,pVal) \
(This)->lpVtbl -> get_document(This,pVal)
#define IPDObjectWithBrush_put_document(This,newVal) \
(This)->lpVtbl -> put_document(This,newVal)
#define IPDObjectWithBrush_get_firstChild(This,pVal) \
(This)->lpVtbl -> get_firstChild(This,pVal)
#define IPDObjectWithBrush_get_lastChild(This,pVal) \
(This)->lpVtbl -> get_lastChild(This,pVal)
#define IPDObjectWithBrush_get_children(This,pVal) \
(This)->lpVtbl -> get_children(This,pVal)
#define IPDObjectWithBrush_getScreenCTM(This,pVal) \
(This)->lpVtbl -> getScreenCTM(This,pVal)
#define IPDObjectWithBrush_clone(This,pVal) \
(This)->lpVtbl -> clone(This,pVal)
#define IPDObjectWithBrush_getExpandedBBox(This,pVal) \
(This)->lpVtbl -> getExpandedBBox(This,pVal)
#define IPDObjectWithBrush_get_brush(This,pVal) \
(This)->lpVtbl -> get_brush(This,pVal)
#define IPDObjectWithBrush_put_brush(This,newVal) \
(This)->lpVtbl -> put_brush(This,newVal)
#endif /* COBJMACROS */
#endif /* C style interface */
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDObjectWithBrush_get_brush_Proxy(
IPDObjectWithBrush __RPC_FAR * This,
/* [retval][out] */ IPDBrush __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDObjectWithBrush_get_brush_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IPDObjectWithBrush_put_brush_Proxy(
IPDObjectWithBrush __RPC_FAR * This,
/* [in] */ IPDBrush __RPC_FAR *newVal);
void __RPC_STUB IPDObjectWithBrush_put_brush_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
#endif /* __IPDObjectWithBrush_INTERFACE_DEFINED__ */
#ifndef __IPDObjectStroke_INTERFACE_DEFINED__
#define __IPDObjectStroke_INTERFACE_DEFINED__
/* interface IPDObjectStroke */
/* [unique][helpstring][uuid][object] */
EXTERN_C const IID IID_IPDObjectStroke;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("4835BA71-ED77-4E51-A05E-0AC693849A64")
IPDObjectStroke : public IPDObjectWithBrush
{
public:
};
#else /* C style interface */
typedef struct IPDObjectStrokeVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
IPDObjectStroke __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
IPDObjectStroke __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
IPDObjectStroke __RPC_FAR * This);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_uniqId )(
IPDObjectStroke __RPC_FAR * This,
/* [retval][out] */ GUID __RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_objectType )(
IPDObjectStroke __RPC_FAR * This,
/* [retval][out] */ PDObjectType __RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_layer )(
IPDObjectStroke __RPC_FAR * This,
/* [retval][out] */ IPDLayer __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_parent )(
IPDObjectStroke __RPC_FAR * This,
/* [retval][out] */ IPDObjectUnknown __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_parent )(
IPDObjectStroke __RPC_FAR * This,
/* [in] */ IPDObjectUnknown __RPC_FAR *newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_nextSibling )(
IPDObjectStroke __RPC_FAR * This,
/* [retval][out] */ IPDObjectUnknown __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_nextSibling )(
IPDObjectStroke __RPC_FAR * This,
/* [in] */ IPDObjectUnknown __RPC_FAR *newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_previousSibling )(
IPDObjectStroke __RPC_FAR * This,
/* [retval][out] */ IPDObjectUnknown __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_previousSibling )(
IPDObjectStroke __RPC_FAR * This,
/* [in] */ IPDObjectUnknown __RPC_FAR *newVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *removeObject )(
IPDObjectStroke __RPC_FAR * This,
/* [in] */ IPDObjectUnknown __RPC_FAR *object);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_spread )(
IPDObjectStroke __RPC_FAR * This,
/* [retval][out] */ IPDSpread __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_spread )(
IPDObjectStroke __RPC_FAR * This,
/* [in] */ IPDSpread __RPC_FAR *newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_document )(
IPDObjectStroke __RPC_FAR * This,
/* [retval][out] */ IPDDocument __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_document )(
IPDObjectStroke __RPC_FAR * This,
/* [in] */ IPDDocument __RPC_FAR *newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_firstChild )(
IPDObjectStroke __RPC_FAR * This,
/* [retval][out] */ IPDObjectUnknown __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_lastChild )(
IPDObjectStroke __RPC_FAR * This,
/* [retval][out] */ IPDObjectUnknown __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_children )(
IPDObjectStroke __RPC_FAR * This,
/* [retval][out] */ IObjectMap __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *getScreenCTM )(
IPDObjectStroke __RPC_FAR * This,
/* [retval][out] */ IPDMatrix __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *clone )(
IPDObjectStroke __RPC_FAR * This,
/* [retval][out] */ IPDObject __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *getExpandedBBox )(
IPDObjectStroke __RPC_FAR * This,
/* [retval][out] */ RectD __RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_brush )(
IPDObjectStroke __RPC_FAR * This,
/* [retval][out] */ IPDBrush __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_brush )(
IPDObjectStroke __RPC_FAR * This,
/* [in] */ IPDBrush __RPC_FAR *newVal);
END_INTERFACE
} IPDObjectStrokeVtbl;
interface IPDObjectStroke
{
CONST_VTBL struct IPDObjectStrokeVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define IPDObjectStroke_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define IPDObjectStroke_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define IPDObjectStroke_Release(This) \
(This)->lpVtbl -> Release(This)
#define IPDObjectStroke_get_uniqId(This,pVal) \
(This)->lpVtbl -> get_uniqId(This,pVal)
#define IPDObjectStroke_get_objectType(This,pVal) \
(This)->lpVtbl -> get_objectType(This,pVal)
#define IPDObjectStroke_get_layer(This,pVal) \
(This)->lpVtbl -> get_layer(This,pVal)
#define IPDObjectStroke_get_parent(This,pVal) \
(This)->lpVtbl -> get_parent(This,pVal)
#define IPDObjectStroke_put_parent(This,newVal) \
(This)->lpVtbl -> put_parent(This,newVal)
#define IPDObjectStroke_get_nextSibling(This,pVal) \
(This)->lpVtbl -> get_nextSibling(This,pVal)
#define IPDObjectStroke_put_nextSibling(This,newVal) \
(This)->lpVtbl -> put_nextSibling(This,newVal)
#define IPDObjectStroke_get_previousSibling(This,pVal) \
(This)->lpVtbl -> get_previousSibling(This,pVal)
#define IPDObjectStroke_put_previousSibling(This,newVal) \
(This)->lpVtbl -> put_previousSibling(This,newVal)
#define IPDObjectStroke_removeObject(This,object) \
(This)->lpVtbl -> removeObject(This,object)
#define IPDObjectStroke_get_spread(This,pVal) \
(This)->lpVtbl -> get_spread(This,pVal)
#define IPDObjectStroke_put_spread(This,newVal) \
(This)->lpVtbl -> put_spread(This,newVal)
#define IPDObjectStroke_get_document(This,pVal) \
(This)->lpVtbl -> get_document(This,pVal)
#define IPDObjectStroke_put_document(This,newVal) \
(This)->lpVtbl -> put_document(This,newVal)
#define IPDObjectStroke_get_firstChild(This,pVal) \
(This)->lpVtbl -> get_firstChild(This,pVal)
#define IPDObjectStroke_get_lastChild(This,pVal) \
(This)->lpVtbl -> get_lastChild(This,pVal)
#define IPDObjectStroke_get_children(This,pVal) \
(This)->lpVtbl -> get_children(This,pVal)
#define IPDObjectStroke_getScreenCTM(This,pVal) \
(This)->lpVtbl -> getScreenCTM(This,pVal)
#define IPDObjectStroke_clone(This,pVal) \
(This)->lpVtbl -> clone(This,pVal)
#define IPDObjectStroke_getExpandedBBox(This,pVal) \
(This)->lpVtbl -> getExpandedBBox(This,pVal)
#define IPDObjectStroke_get_brush(This,pVal) \
(This)->lpVtbl -> get_brush(This,pVal)
#define IPDObjectStroke_put_brush(This,newVal) \
(This)->lpVtbl -> put_brush(This,newVal)
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* __IPDObjectStroke_INTERFACE_DEFINED__ */
#ifndef __IPDObjectFill_INTERFACE_DEFINED__
#define __IPDObjectFill_INTERFACE_DEFINED__
/* interface IPDObjectFill */
/* [unique][helpstring][uuid][object] */
EXTERN_C const IID IID_IPDObjectFill;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("36494C03-75E7-4264-B442-E126171CB20E")
IPDObjectFill : public IPDObjectWithBrush
{
public:
};
#else /* C style interface */
typedef struct IPDObjectFillVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
IPDObjectFill __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
IPDObjectFill __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
IPDObjectFill __RPC_FAR * This);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_uniqId )(
IPDObjectFill __RPC_FAR * This,
/* [retval][out] */ GUID __RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_objectType )(
IPDObjectFill __RPC_FAR * This,
/* [retval][out] */ PDObjectType __RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_layer )(
IPDObjectFill __RPC_FAR * This,
/* [retval][out] */ IPDLayer __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_parent )(
IPDObjectFill __RPC_FAR * This,
/* [retval][out] */ IPDObjectUnknown __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_parent )(
IPDObjectFill __RPC_FAR * This,
/* [in] */ IPDObjectUnknown __RPC_FAR *newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_nextSibling )(
IPDObjectFill __RPC_FAR * This,
/* [retval][out] */ IPDObjectUnknown __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_nextSibling )(
IPDObjectFill __RPC_FAR * This,
/* [in] */ IPDObjectUnknown __RPC_FAR *newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_previousSibling )(
IPDObjectFill __RPC_FAR * This,
/* [retval][out] */ IPDObjectUnknown __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_previousSibling )(
IPDObjectFill __RPC_FAR * This,
/* [in] */ IPDObjectUnknown __RPC_FAR *newVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *removeObject )(
IPDObjectFill __RPC_FAR * This,
/* [in] */ IPDObjectUnknown __RPC_FAR *object);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_spread )(
IPDObjectFill __RPC_FAR * This,
/* [retval][out] */ IPDSpread __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_spread )(
IPDObjectFill __RPC_FAR * This,
/* [in] */ IPDSpread __RPC_FAR *newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_document )(
IPDObjectFill __RPC_FAR * This,
/* [retval][out] */ IPDDocument __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_document )(
IPDObjectFill __RPC_FAR * This,
/* [in] */ IPDDocument __RPC_FAR *newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_firstChild )(
IPDObjectFill __RPC_FAR * This,
/* [retval][out] */ IPDObjectUnknown __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_lastChild )(
IPDObjectFill __RPC_FAR * This,
/* [retval][out] */ IPDObjectUnknown __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_children )(
IPDObjectFill __RPC_FAR * This,
/* [retval][out] */ IObjectMap __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *getScreenCTM )(
IPDObjectFill __RPC_FAR * This,
/* [retval][out] */ IPDMatrix __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *clone )(
IPDObjectFill __RPC_FAR * This,
/* [retval][out] */ IPDObject __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *getExpandedBBox )(
IPDObjectFill __RPC_FAR * This,
/* [retval][out] */ RectD __RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_brush )(
IPDObjectFill __RPC_FAR * This,
/* [retval][out] */ IPDBrush __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_brush )(
IPDObjectFill __RPC_FAR * This,
/* [in] */ IPDBrush __RPC_FAR *newVal);
END_INTERFACE
} IPDObjectFillVtbl;
interface IPDObjectFill
{
CONST_VTBL struct IPDObjectFillVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define IPDObjectFill_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define IPDObjectFill_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define IPDObjectFill_Release(This) \
(This)->lpVtbl -> Release(This)
#define IPDObjectFill_get_uniqId(This,pVal) \
(This)->lpVtbl -> get_uniqId(This,pVal)
#define IPDObjectFill_get_objectType(This,pVal) \
(This)->lpVtbl -> get_objectType(This,pVal)
#define IPDObjectFill_get_layer(This,pVal) \
(This)->lpVtbl -> get_layer(This,pVal)
#define IPDObjectFill_get_parent(This,pVal) \
(This)->lpVtbl -> get_parent(This,pVal)
#define IPDObjectFill_put_parent(This,newVal) \
(This)->lpVtbl -> put_parent(This,newVal)
#define IPDObjectFill_get_nextSibling(This,pVal) \
(This)->lpVtbl -> get_nextSibling(This,pVal)
#define IPDObjectFill_put_nextSibling(This,newVal) \
(This)->lpVtbl -> put_nextSibling(This,newVal)
#define IPDObjectFill_get_previousSibling(This,pVal) \
(This)->lpVtbl -> get_previousSibling(This,pVal)
#define IPDObjectFill_put_previousSibling(This,newVal) \
(This)->lpVtbl -> put_previousSibling(This,newVal)
#define IPDObjectFill_removeObject(This,object) \
(This)->lpVtbl -> removeObject(This,object)
#define IPDObjectFill_get_spread(This,pVal) \
(This)->lpVtbl -> get_spread(This,pVal)
#define IPDObjectFill_put_spread(This,newVal) \
(This)->lpVtbl -> put_spread(This,newVal)
#define IPDObjectFill_get_document(This,pVal) \
(This)->lpVtbl -> get_document(This,pVal)
#define IPDObjectFill_put_document(This,newVal) \
(This)->lpVtbl -> put_document(This,newVal)
#define IPDObjectFill_get_firstChild(This,pVal) \
(This)->lpVtbl -> get_firstChild(This,pVal)
#define IPDObjectFill_get_lastChild(This,pVal) \
(This)->lpVtbl -> get_lastChild(This,pVal)
#define IPDObjectFill_get_children(This,pVal) \
(This)->lpVtbl -> get_children(This,pVal)
#define IPDObjectFill_getScreenCTM(This,pVal) \
(This)->lpVtbl -> getScreenCTM(This,pVal)
#define IPDObjectFill_clone(This,pVal) \
(This)->lpVtbl -> clone(This,pVal)
#define IPDObjectFill_getExpandedBBox(This,pVal) \
(This)->lpVtbl -> getExpandedBBox(This,pVal)
#define IPDObjectFill_get_brush(This,pVal) \
(This)->lpVtbl -> get_brush(This,pVal)
#define IPDObjectFill_put_brush(This,newVal) \
(This)->lpVtbl -> put_brush(This,newVal)
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* __IPDObjectFill_INTERFACE_DEFINED__ */
#ifndef __IPDStory_INTERFACE_DEFINED__
#define __IPDStory_INTERFACE_DEFINED__
/* interface IPDStory */
/* [unique][helpstring][uuid][object] */
EXTERN_C const IID IID_IPDStory;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("A790F0E6-2DE1-4873-8690-0FC6D9F24797")
IPDStory : public IPDUnknown
{
public:
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_textDocument(
/* [retval][out] */ ILDOMDocument __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_textDocument(
/* [in] */ ILDOMDocument __RPC_FAR *newVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_textContents(
/* [retval][out] */ IObjectMap __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_firstTextThread(
/* [retval][out] */ IPDObjectText __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_lastTextThread(
/* [retval][out] */ IPDObjectText __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE appendTextThread(
/* [in] */ IPDObjectText __RPC_FAR *node) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE insertTextThreadBefore(
/* [in] */ IPDObjectText __RPC_FAR *node,
/* [in] */ IPDObjectText __RPC_FAR *before) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE removeTextThread(
/* [in] */ IPDObjectText __RPC_FAR *node) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_inlineObjects(
/* [retval][out] */ IObjectMap __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE appendInlineObject(
/* [in] */ IPDObject __RPC_FAR *object) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE getInlineObjectById(
/* [in] */ GUID guid,
/* [retval][out] */ IPDObject __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetTextFont(
/* [in] */ IPDTextRange __RPC_FAR *range,
/* [retval][out] */ IPDTextFont __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetTextFont(
/* [in] */ IPDTextRange __RPC_FAR *range,
/* [in] */ IPDTextFont __RPC_FAR *textFont) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetTextPara(
/* [in] */ IPDTextRange __RPC_FAR *range,
/* [retval][out] */ IPDTextPara __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetTextPara(
/* [in] */ IPDTextRange __RPC_FAR *range,
/* [in] */ IPDTextPara __RPC_FAR *textPara) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE NewRange(
/* [retval][out] */ IPDTextRange __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetObjectTextFromRangePosition(
/* [in] */ ILDOMNode __RPC_FAR *container,
/* [in] */ long offset,
/* [retval][out] */ IPDObjectText __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE NewSelection(
/* [retval][out] */ IPDTextSelection __RPC_FAR *__RPC_FAR *pVal) = 0;
};
#else /* C style interface */
typedef struct IPDStoryVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
IPDStory __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
IPDStory __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
IPDStory __RPC_FAR * This);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_textDocument )(
IPDStory __RPC_FAR * This,
/* [retval][out] */ ILDOMDocument __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_textDocument )(
IPDStory __RPC_FAR * This,
/* [in] */ ILDOMDocument __RPC_FAR *newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_textContents )(
IPDStory __RPC_FAR * This,
/* [retval][out] */ IObjectMap __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_firstTextThread )(
IPDStory __RPC_FAR * This,
/* [retval][out] */ IPDObjectText __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_lastTextThread )(
IPDStory __RPC_FAR * This,
/* [retval][out] */ IPDObjectText __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *appendTextThread )(
IPDStory __RPC_FAR * This,
/* [in] */ IPDObjectText __RPC_FAR *node);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *insertTextThreadBefore )(
IPDStory __RPC_FAR * This,
/* [in] */ IPDObjectText __RPC_FAR *node,
/* [in] */ IPDObjectText __RPC_FAR *before);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *removeTextThread )(
IPDStory __RPC_FAR * This,
/* [in] */ IPDObjectText __RPC_FAR *node);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_inlineObjects )(
IPDStory __RPC_FAR * This,
/* [retval][out] */ IObjectMap __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *appendInlineObject )(
IPDStory __RPC_FAR * This,
/* [in] */ IPDObject __RPC_FAR *object);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *getInlineObjectById )(
IPDStory __RPC_FAR * This,
/* [in] */ GUID guid,
/* [retval][out] */ IPDObject __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTextFont )(
IPDStory __RPC_FAR * This,
/* [in] */ IPDTextRange __RPC_FAR *range,
/* [retval][out] */ IPDTextFont __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetTextFont )(
IPDStory __RPC_FAR * This,
/* [in] */ IPDTextRange __RPC_FAR *range,
/* [in] */ IPDTextFont __RPC_FAR *textFont);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTextPara )(
IPDStory __RPC_FAR * This,
/* [in] */ IPDTextRange __RPC_FAR *range,
/* [retval][out] */ IPDTextPara __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetTextPara )(
IPDStory __RPC_FAR * This,
/* [in] */ IPDTextRange __RPC_FAR *range,
/* [in] */ IPDTextPara __RPC_FAR *textPara);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *NewRange )(
IPDStory __RPC_FAR * This,
/* [retval][out] */ IPDTextRange __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetObjectTextFromRangePosition )(
IPDStory __RPC_FAR * This,
/* [in] */ ILDOMNode __RPC_FAR *container,
/* [in] */ long offset,
/* [retval][out] */ IPDObjectText __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *NewSelection )(
IPDStory __RPC_FAR * This,
/* [retval][out] */ IPDTextSelection __RPC_FAR *__RPC_FAR *pVal);
END_INTERFACE
} IPDStoryVtbl;
interface IPDStory
{
CONST_VTBL struct IPDStoryVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define IPDStory_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define IPDStory_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define IPDStory_Release(This) \
(This)->lpVtbl -> Release(This)
#define IPDStory_get_textDocument(This,pVal) \
(This)->lpVtbl -> get_textDocument(This,pVal)
#define IPDStory_put_textDocument(This,newVal) \
(This)->lpVtbl -> put_textDocument(This,newVal)
#define IPDStory_get_textContents(This,pVal) \
(This)->lpVtbl -> get_textContents(This,pVal)
#define IPDStory_get_firstTextThread(This,pVal) \
(This)->lpVtbl -> get_firstTextThread(This,pVal)
#define IPDStory_get_lastTextThread(This,pVal) \
(This)->lpVtbl -> get_lastTextThread(This,pVal)
#define IPDStory_appendTextThread(This,node) \
(This)->lpVtbl -> appendTextThread(This,node)
#define IPDStory_insertTextThreadBefore(This,node,before) \
(This)->lpVtbl -> insertTextThreadBefore(This,node,before)
#define IPDStory_removeTextThread(This,node) \
(This)->lpVtbl -> removeTextThread(This,node)
#define IPDStory_get_inlineObjects(This,pVal) \
(This)->lpVtbl -> get_inlineObjects(This,pVal)
#define IPDStory_appendInlineObject(This,object) \
(This)->lpVtbl -> appendInlineObject(This,object)
#define IPDStory_getInlineObjectById(This,guid,pVal) \
(This)->lpVtbl -> getInlineObjectById(This,guid,pVal)
#define IPDStory_GetTextFont(This,range,pVal) \
(This)->lpVtbl -> GetTextFont(This,range,pVal)
#define IPDStory_SetTextFont(This,range,textFont) \
(This)->lpVtbl -> SetTextFont(This,range,textFont)
#define IPDStory_GetTextPara(This,range,pVal) \
(This)->lpVtbl -> GetTextPara(This,range,pVal)
#define IPDStory_SetTextPara(This,range,textPara) \
(This)->lpVtbl -> SetTextPara(This,range,textPara)
#define IPDStory_NewRange(This,pVal) \
(This)->lpVtbl -> NewRange(This,pVal)
#define IPDStory_GetObjectTextFromRangePosition(This,container,offset,pVal) \
(This)->lpVtbl -> GetObjectTextFromRangePosition(This,container,offset,pVal)
#define IPDStory_NewSelection(This,pVal) \
(This)->lpVtbl -> NewSelection(This,pVal)
#endif /* COBJMACROS */
#endif /* C style interface */
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDStory_get_textDocument_Proxy(
IPDStory __RPC_FAR * This,
/* [retval][out] */ ILDOMDocument __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDStory_get_textDocument_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IPDStory_put_textDocument_Proxy(
IPDStory __RPC_FAR * This,
/* [in] */ ILDOMDocument __RPC_FAR *newVal);
void __RPC_STUB IPDStory_put_textDocument_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDStory_get_textContents_Proxy(
IPDStory __RPC_FAR * This,
/* [retval][out] */ IObjectMap __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDStory_get_textContents_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDStory_get_firstTextThread_Proxy(
IPDStory __RPC_FAR * This,
/* [retval][out] */ IPDObjectText __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDStory_get_firstTextThread_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDStory_get_lastTextThread_Proxy(
IPDStory __RPC_FAR * This,
/* [retval][out] */ IPDObjectText __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDStory_get_lastTextThread_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDStory_appendTextThread_Proxy(
IPDStory __RPC_FAR * This,
/* [in] */ IPDObjectText __RPC_FAR *node);
void __RPC_STUB IPDStory_appendTextThread_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDStory_insertTextThreadBefore_Proxy(
IPDStory __RPC_FAR * This,
/* [in] */ IPDObjectText __RPC_FAR *node,
/* [in] */ IPDObjectText __RPC_FAR *before);
void __RPC_STUB IPDStory_insertTextThreadBefore_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDStory_removeTextThread_Proxy(
IPDStory __RPC_FAR * This,
/* [in] */ IPDObjectText __RPC_FAR *node);
void __RPC_STUB IPDStory_removeTextThread_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDStory_get_inlineObjects_Proxy(
IPDStory __RPC_FAR * This,
/* [retval][out] */ IObjectMap __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDStory_get_inlineObjects_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDStory_appendInlineObject_Proxy(
IPDStory __RPC_FAR * This,
/* [in] */ IPDObject __RPC_FAR *object);
void __RPC_STUB IPDStory_appendInlineObject_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDStory_getInlineObjectById_Proxy(
IPDStory __RPC_FAR * This,
/* [in] */ GUID guid,
/* [retval][out] */ IPDObject __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDStory_getInlineObjectById_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDStory_GetTextFont_Proxy(
IPDStory __RPC_FAR * This,
/* [in] */ IPDTextRange __RPC_FAR *range,
/* [retval][out] */ IPDTextFont __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDStory_GetTextFont_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDStory_SetTextFont_Proxy(
IPDStory __RPC_FAR * This,
/* [in] */ IPDTextRange __RPC_FAR *range,
/* [in] */ IPDTextFont __RPC_FAR *textFont);
void __RPC_STUB IPDStory_SetTextFont_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDStory_GetTextPara_Proxy(
IPDStory __RPC_FAR * This,
/* [in] */ IPDTextRange __RPC_FAR *range,
/* [retval][out] */ IPDTextPara __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDStory_GetTextPara_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDStory_SetTextPara_Proxy(
IPDStory __RPC_FAR * This,
/* [in] */ IPDTextRange __RPC_FAR *range,
/* [in] */ IPDTextPara __RPC_FAR *textPara);
void __RPC_STUB IPDStory_SetTextPara_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDStory_NewRange_Proxy(
IPDStory __RPC_FAR * This,
/* [retval][out] */ IPDTextRange __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDStory_NewRange_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDStory_GetObjectTextFromRangePosition_Proxy(
IPDStory __RPC_FAR * This,
/* [in] */ ILDOMNode __RPC_FAR *container,
/* [in] */ long offset,
/* [retval][out] */ IPDObjectText __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDStory_GetObjectTextFromRangePosition_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDStory_NewSelection_Proxy(
IPDStory __RPC_FAR * This,
/* [retval][out] */ IPDTextSelection __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDStory_NewSelection_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
#endif /* __IPDStory_INTERFACE_DEFINED__ */
#ifndef __IPDObjectWithChildren_INTERFACE_DEFINED__
#define __IPDObjectWithChildren_INTERFACE_DEFINED__
/* interface IPDObjectWithChildren */
/* [unique][helpstring][uuid][object] */
EXTERN_C const IID IID_IPDObjectWithChildren;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("E148D302-205A-11d6-95F0-0002E3045703")
IPDObjectWithChildren : public IUnknown
{
public:
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_children(
/* [retval][out] */ IObjectMap __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_firstChild(
/* [retval][out] */ IPDObjectUnknown __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_lastChild(
/* [retval][out] */ IPDObjectUnknown __RPC_FAR *__RPC_FAR *pVal) = 0;
};
#else /* C style interface */
typedef struct IPDObjectWithChildrenVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
IPDObjectWithChildren __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
IPDObjectWithChildren __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
IPDObjectWithChildren __RPC_FAR * This);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_children )(
IPDObjectWithChildren __RPC_FAR * This,
/* [retval][out] */ IObjectMap __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_firstChild )(
IPDObjectWithChildren __RPC_FAR * This,
/* [retval][out] */ IPDObjectUnknown __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_lastChild )(
IPDObjectWithChildren __RPC_FAR * This,
/* [retval][out] */ IPDObjectUnknown __RPC_FAR *__RPC_FAR *pVal);
END_INTERFACE
} IPDObjectWithChildrenVtbl;
interface IPDObjectWithChildren
{
CONST_VTBL struct IPDObjectWithChildrenVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define IPDObjectWithChildren_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define IPDObjectWithChildren_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define IPDObjectWithChildren_Release(This) \
(This)->lpVtbl -> Release(This)
#define IPDObjectWithChildren_get_children(This,pVal) \
(This)->lpVtbl -> get_children(This,pVal)
#define IPDObjectWithChildren_get_firstChild(This,pVal) \
(This)->lpVtbl -> get_firstChild(This,pVal)
#define IPDObjectWithChildren_get_lastChild(This,pVal) \
(This)->lpVtbl -> get_lastChild(This,pVal)
#endif /* COBJMACROS */
#endif /* C style interface */
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDObjectWithChildren_get_children_Proxy(
IPDObjectWithChildren __RPC_FAR * This,
/* [retval][out] */ IObjectMap __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDObjectWithChildren_get_children_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDObjectWithChildren_get_firstChild_Proxy(
IPDObjectWithChildren __RPC_FAR * This,
/* [retval][out] */ IPDObjectUnknown __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDObjectWithChildren_get_firstChild_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDObjectWithChildren_get_lastChild_Proxy(
IPDObjectWithChildren __RPC_FAR * This,
/* [retval][out] */ IPDObjectUnknown __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDObjectWithChildren_get_lastChild_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
#endif /* __IPDObjectWithChildren_INTERFACE_DEFINED__ */
#ifndef __IPDAppearance_INTERFACE_DEFINED__
#define __IPDAppearance_INTERFACE_DEFINED__
/* interface IPDAppearance */
/* [unique][helpstring][uuid][object] */
EXTERN_C const IID IID_IPDAppearance;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("64FC9301-2874-11d6-95F0-0002E3045703")
IPDAppearance : public IPDUnknown
{
public:
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_filterEffects(
/* [retval][out] */ IObjectMap __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_firstChild(
/* [retval][out] */ IPDFilterPrimitive __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_lastChild(
/* [retval][out] */ IPDFilterPrimitive __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE insertEffect(
/* [in] */ IPDFilterPrimitive __RPC_FAR *object,
/* [in] */ IPDFilterPrimitive __RPC_FAR *before) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE removeEffect(
/* [in] */ IPDFilterPrimitive __RPC_FAR *object) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE IsEqual(
/* [in] */ IPDAppearance __RPC_FAR *appearance) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE clone(
/* [retval][out] */ IPDAppearance __RPC_FAR *__RPC_FAR *pVal) = 0;
};
#else /* C style interface */
typedef struct IPDAppearanceVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
IPDAppearance __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
IPDAppearance __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
IPDAppearance __RPC_FAR * This);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_filterEffects )(
IPDAppearance __RPC_FAR * This,
/* [retval][out] */ IObjectMap __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_firstChild )(
IPDAppearance __RPC_FAR * This,
/* [retval][out] */ IPDFilterPrimitive __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_lastChild )(
IPDAppearance __RPC_FAR * This,
/* [retval][out] */ IPDFilterPrimitive __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *insertEffect )(
IPDAppearance __RPC_FAR * This,
/* [in] */ IPDFilterPrimitive __RPC_FAR *object,
/* [in] */ IPDFilterPrimitive __RPC_FAR *before);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *removeEffect )(
IPDAppearance __RPC_FAR * This,
/* [in] */ IPDFilterPrimitive __RPC_FAR *object);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *IsEqual )(
IPDAppearance __RPC_FAR * This,
/* [in] */ IPDAppearance __RPC_FAR *appearance);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *clone )(
IPDAppearance __RPC_FAR * This,
/* [retval][out] */ IPDAppearance __RPC_FAR *__RPC_FAR *pVal);
END_INTERFACE
} IPDAppearanceVtbl;
interface IPDAppearance
{
CONST_VTBL struct IPDAppearanceVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define IPDAppearance_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define IPDAppearance_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define IPDAppearance_Release(This) \
(This)->lpVtbl -> Release(This)
#define IPDAppearance_get_filterEffects(This,pVal) \
(This)->lpVtbl -> get_filterEffects(This,pVal)
#define IPDAppearance_get_firstChild(This,pVal) \
(This)->lpVtbl -> get_firstChild(This,pVal)
#define IPDAppearance_get_lastChild(This,pVal) \
(This)->lpVtbl -> get_lastChild(This,pVal)
#define IPDAppearance_insertEffect(This,object,before) \
(This)->lpVtbl -> insertEffect(This,object,before)
#define IPDAppearance_removeEffect(This,object) \
(This)->lpVtbl -> removeEffect(This,object)
#define IPDAppearance_IsEqual(This,appearance) \
(This)->lpVtbl -> IsEqual(This,appearance)
#define IPDAppearance_clone(This,pVal) \
(This)->lpVtbl -> clone(This,pVal)
#endif /* COBJMACROS */
#endif /* C style interface */
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDAppearance_get_filterEffects_Proxy(
IPDAppearance __RPC_FAR * This,
/* [retval][out] */ IObjectMap __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDAppearance_get_filterEffects_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDAppearance_get_firstChild_Proxy(
IPDAppearance __RPC_FAR * This,
/* [retval][out] */ IPDFilterPrimitive __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDAppearance_get_firstChild_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDAppearance_get_lastChild_Proxy(
IPDAppearance __RPC_FAR * This,
/* [retval][out] */ IPDFilterPrimitive __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDAppearance_get_lastChild_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDAppearance_insertEffect_Proxy(
IPDAppearance __RPC_FAR * This,
/* [in] */ IPDFilterPrimitive __RPC_FAR *object,
/* [in] */ IPDFilterPrimitive __RPC_FAR *before);
void __RPC_STUB IPDAppearance_insertEffect_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDAppearance_removeEffect_Proxy(
IPDAppearance __RPC_FAR * This,
/* [in] */ IPDFilterPrimitive __RPC_FAR *object);
void __RPC_STUB IPDAppearance_removeEffect_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDAppearance_IsEqual_Proxy(
IPDAppearance __RPC_FAR * This,
/* [in] */ IPDAppearance __RPC_FAR *appearance);
void __RPC_STUB IPDAppearance_IsEqual_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDAppearance_clone_Proxy(
IPDAppearance __RPC_FAR * This,
/* [retval][out] */ IPDAppearance __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDAppearance_clone_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
#endif /* __IPDAppearance_INTERFACE_DEFINED__ */
#ifndef __IPDTextRange_INTERFACE_DEFINED__
#define __IPDTextRange_INTERFACE_DEFINED__
/* interface IPDTextRange */
/* [unique][helpstring][uuid][object] */
EXTERN_C const IID IID_IPDTextRange;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("6CF071C1-2712-11d6-95F0-0002E3045703")
IPDTextRange : public IPDUnknown
{
public:
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetDOMRange(
/* [retval][out] */ ILDOMRange __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetStory(
/* [retval][out] */ IPDStory __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE Delete(
/* [in] */ long Unit,
/* [in] */ long Count,
/* [retval][out] */ long __RPC_FAR *pDelta) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE IsCollapsed(
/* [retval][out] */ VARIANT_BOOL __RPC_FAR *pVal) = 0;
};
#else /* C style interface */
typedef struct IPDTextRangeVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
IPDTextRange __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
IPDTextRange __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
IPDTextRange __RPC_FAR * This);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetDOMRange )(
IPDTextRange __RPC_FAR * This,
/* [retval][out] */ ILDOMRange __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetStory )(
IPDTextRange __RPC_FAR * This,
/* [retval][out] */ IPDStory __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Delete )(
IPDTextRange __RPC_FAR * This,
/* [in] */ long Unit,
/* [in] */ long Count,
/* [retval][out] */ long __RPC_FAR *pDelta);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *IsCollapsed )(
IPDTextRange __RPC_FAR * This,
/* [retval][out] */ VARIANT_BOOL __RPC_FAR *pVal);
END_INTERFACE
} IPDTextRangeVtbl;
interface IPDTextRange
{
CONST_VTBL struct IPDTextRangeVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define IPDTextRange_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define IPDTextRange_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define IPDTextRange_Release(This) \
(This)->lpVtbl -> Release(This)
#define IPDTextRange_GetDOMRange(This,pVal) \
(This)->lpVtbl -> GetDOMRange(This,pVal)
#define IPDTextRange_GetStory(This,pVal) \
(This)->lpVtbl -> GetStory(This,pVal)
#define IPDTextRange_Delete(This,Unit,Count,pDelta) \
(This)->lpVtbl -> Delete(This,Unit,Count,pDelta)
#define IPDTextRange_IsCollapsed(This,pVal) \
(This)->lpVtbl -> IsCollapsed(This,pVal)
#endif /* COBJMACROS */
#endif /* C style interface */
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDTextRange_GetDOMRange_Proxy(
IPDTextRange __RPC_FAR * This,
/* [retval][out] */ ILDOMRange __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDTextRange_GetDOMRange_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDTextRange_GetStory_Proxy(
IPDTextRange __RPC_FAR * This,
/* [retval][out] */ IPDStory __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDTextRange_GetStory_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDTextRange_Delete_Proxy(
IPDTextRange __RPC_FAR * This,
/* [in] */ long Unit,
/* [in] */ long Count,
/* [retval][out] */ long __RPC_FAR *pDelta);
void __RPC_STUB IPDTextRange_Delete_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDTextRange_IsCollapsed_Proxy(
IPDTextRange __RPC_FAR * This,
/* [retval][out] */ VARIANT_BOOL __RPC_FAR *pVal);
void __RPC_STUB IPDTextRange_IsCollapsed_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
#endif /* __IPDTextRange_INTERFACE_DEFINED__ */
#ifndef __IPDTextFont_INTERFACE_DEFINED__
#define __IPDTextFont_INTERFACE_DEFINED__
/* interface IPDTextFont */
/* [unique][helpstring][uuid][object] */
EXTERN_C const IID IID_IPDTextFont;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("182779E1-22DF-11d6-95F0-0002E3045703")
IPDTextFont : public IPDUnknown
{
public:
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetName(
/* [retval][out] */ BSTR __RPC_FAR *pVal) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetSize(
/* [retval][out] */ float __RPC_FAR *pVal) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetName(
/* [in] */ BSTR newVal) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetLineHeight(
/* [retval][out] */ float __RPC_FAR *pVal) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetSize(
/* [in] */ float newVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_strokeBrush(
/* [retval][out] */ IPDBrush __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_strokeBrush(
/* [in] */ IPDBrush __RPC_FAR *newVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_fillBrush(
/* [retval][out] */ IPDBrush __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_fillBrush(
/* [in] */ IPDBrush __RPC_FAR *newVal) = 0;
};
#else /* C style interface */
typedef struct IPDTextFontVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
IPDTextFont __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
IPDTextFont __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
IPDTextFont __RPC_FAR * This);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetName )(
IPDTextFont __RPC_FAR * This,
/* [retval][out] */ BSTR __RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetSize )(
IPDTextFont __RPC_FAR * This,
/* [retval][out] */ float __RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetName )(
IPDTextFont __RPC_FAR * This,
/* [in] */ BSTR newVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetLineHeight )(
IPDTextFont __RPC_FAR * This,
/* [retval][out] */ float __RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetSize )(
IPDTextFont __RPC_FAR * This,
/* [in] */ float newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_strokeBrush )(
IPDTextFont __RPC_FAR * This,
/* [retval][out] */ IPDBrush __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_strokeBrush )(
IPDTextFont __RPC_FAR * This,
/* [in] */ IPDBrush __RPC_FAR *newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_fillBrush )(
IPDTextFont __RPC_FAR * This,
/* [retval][out] */ IPDBrush __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_fillBrush )(
IPDTextFont __RPC_FAR * This,
/* [in] */ IPDBrush __RPC_FAR *newVal);
END_INTERFACE
} IPDTextFontVtbl;
interface IPDTextFont
{
CONST_VTBL struct IPDTextFontVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define IPDTextFont_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define IPDTextFont_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define IPDTextFont_Release(This) \
(This)->lpVtbl -> Release(This)
#define IPDTextFont_GetName(This,pVal) \
(This)->lpVtbl -> GetName(This,pVal)
#define IPDTextFont_GetSize(This,pVal) \
(This)->lpVtbl -> GetSize(This,pVal)
#define IPDTextFont_SetName(This,newVal) \
(This)->lpVtbl -> SetName(This,newVal)
#define IPDTextFont_GetLineHeight(This,pVal) \
(This)->lpVtbl -> GetLineHeight(This,pVal)
#define IPDTextFont_SetSize(This,newVal) \
(This)->lpVtbl -> SetSize(This,newVal)
#define IPDTextFont_get_strokeBrush(This,pVal) \
(This)->lpVtbl -> get_strokeBrush(This,pVal)
#define IPDTextFont_put_strokeBrush(This,newVal) \
(This)->lpVtbl -> put_strokeBrush(This,newVal)
#define IPDTextFont_get_fillBrush(This,pVal) \
(This)->lpVtbl -> get_fillBrush(This,pVal)
#define IPDTextFont_put_fillBrush(This,newVal) \
(This)->lpVtbl -> put_fillBrush(This,newVal)
#endif /* COBJMACROS */
#endif /* C style interface */
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDTextFont_GetName_Proxy(
IPDTextFont __RPC_FAR * This,
/* [retval][out] */ BSTR __RPC_FAR *pVal);
void __RPC_STUB IPDTextFont_GetName_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDTextFont_GetSize_Proxy(
IPDTextFont __RPC_FAR * This,
/* [retval][out] */ float __RPC_FAR *pVal);
void __RPC_STUB IPDTextFont_GetSize_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDTextFont_SetName_Proxy(
IPDTextFont __RPC_FAR * This,
/* [in] */ BSTR newVal);
void __RPC_STUB IPDTextFont_SetName_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDTextFont_GetLineHeight_Proxy(
IPDTextFont __RPC_FAR * This,
/* [retval][out] */ float __RPC_FAR *pVal);
void __RPC_STUB IPDTextFont_GetLineHeight_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDTextFont_SetSize_Proxy(
IPDTextFont __RPC_FAR * This,
/* [in] */ float newVal);
void __RPC_STUB IPDTextFont_SetSize_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDTextFont_get_strokeBrush_Proxy(
IPDTextFont __RPC_FAR * This,
/* [retval][out] */ IPDBrush __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDTextFont_get_strokeBrush_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IPDTextFont_put_strokeBrush_Proxy(
IPDTextFont __RPC_FAR * This,
/* [in] */ IPDBrush __RPC_FAR *newVal);
void __RPC_STUB IPDTextFont_put_strokeBrush_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDTextFont_get_fillBrush_Proxy(
IPDTextFont __RPC_FAR * This,
/* [retval][out] */ IPDBrush __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDTextFont_get_fillBrush_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IPDTextFont_put_fillBrush_Proxy(
IPDTextFont __RPC_FAR * This,
/* [in] */ IPDBrush __RPC_FAR *newVal);
void __RPC_STUB IPDTextFont_put_fillBrush_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
#endif /* __IPDTextFont_INTERFACE_DEFINED__ */
#ifndef __IPDTextPara_INTERFACE_DEFINED__
#define __IPDTextPara_INTERFACE_DEFINED__
/* interface IPDTextPara */
/* [unique][helpstring][uuid][object] */
EXTERN_C const IID IID_IPDTextPara;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("182779E2-22DF-11d6-95F0-0002E3045703")
IPDTextPara : public IPDUnknown
{
public:
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetAlignment(
/* [retval][out] */ long __RPC_FAR *pVal) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE AddTab(
/* [in] */ float tbPos,
/* [in] */ long tbAlign,
/* [in] */ long tbLeader) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE ClearAllTabs( void) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE DeleteTab(
/* [in] */ float tbPos) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetTabCount(
/* [retval][out] */ long __RPC_FAR *pVal) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetTab(
/* [in] */ long iTab,
/* [out] */ float __RPC_FAR *ptbPos,
/* [out] */ long __RPC_FAR *ptbAlign,
/* [out] */ long __RPC_FAR *ptbLeader) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetFirstLineIndent(
/* [retval][out] */ float __RPC_FAR *pVal) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetIndents(
/* [in] */ float first,
/* [in] */ float left,
/* [in] */ float right) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetRightIndent(
/* [in] */ float newVal) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetRightIndent(
/* [retval][out] */ float __RPC_FAR *pVal) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetLeftIndent(
/* [retval][out] */ float __RPC_FAR *pVal) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetRange(
/* [retval][out] */ IPDTextRange __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetTabPos(
/* [in] */ long iTab,
/* [in] */ float tbPos,
/* [retval][out] */ long __RPC_FAR *pVal) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetAlignment(
/* [in] */ long newVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_dropCapLines(
/* [retval][out] */ long __RPC_FAR *pVal) = 0;
virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_dropCapLines(
/* [in] */ long newVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_dropCapChars(
/* [retval][out] */ long __RPC_FAR *pVal) = 0;
virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_dropCapChars(
/* [in] */ long newVal) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE AddTabEx(
/* [in] */ float tbPos,
/* [in] */ long tbAlign,
/* [in] */ long tbLeader,
/* [retval][out] */ long __RPC_FAR *pVal) = 0;
};
#else /* C style interface */
typedef struct IPDTextParaVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
IPDTextPara __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
IPDTextPara __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
IPDTextPara __RPC_FAR * This);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetAlignment )(
IPDTextPara __RPC_FAR * This,
/* [retval][out] */ long __RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *AddTab )(
IPDTextPara __RPC_FAR * This,
/* [in] */ float tbPos,
/* [in] */ long tbAlign,
/* [in] */ long tbLeader);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ClearAllTabs )(
IPDTextPara __RPC_FAR * This);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *DeleteTab )(
IPDTextPara __RPC_FAR * This,
/* [in] */ float tbPos);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTabCount )(
IPDTextPara __RPC_FAR * This,
/* [retval][out] */ long __RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTab )(
IPDTextPara __RPC_FAR * This,
/* [in] */ long iTab,
/* [out] */ float __RPC_FAR *ptbPos,
/* [out] */ long __RPC_FAR *ptbAlign,
/* [out] */ long __RPC_FAR *ptbLeader);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetFirstLineIndent )(
IPDTextPara __RPC_FAR * This,
/* [retval][out] */ float __RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetIndents )(
IPDTextPara __RPC_FAR * This,
/* [in] */ float first,
/* [in] */ float left,
/* [in] */ float right);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetRightIndent )(
IPDTextPara __RPC_FAR * This,
/* [in] */ float newVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetRightIndent )(
IPDTextPara __RPC_FAR * This,
/* [retval][out] */ float __RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetLeftIndent )(
IPDTextPara __RPC_FAR * This,
/* [retval][out] */ float __RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetRange )(
IPDTextPara __RPC_FAR * This,
/* [retval][out] */ IPDTextRange __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetTabPos )(
IPDTextPara __RPC_FAR * This,
/* [in] */ long iTab,
/* [in] */ float tbPos,
/* [retval][out] */ long __RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetAlignment )(
IPDTextPara __RPC_FAR * This,
/* [in] */ long newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_dropCapLines )(
IPDTextPara __RPC_FAR * This,
/* [retval][out] */ long __RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_dropCapLines )(
IPDTextPara __RPC_FAR * This,
/* [in] */ long newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_dropCapChars )(
IPDTextPara __RPC_FAR * This,
/* [retval][out] */ long __RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_dropCapChars )(
IPDTextPara __RPC_FAR * This,
/* [in] */ long newVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *AddTabEx )(
IPDTextPara __RPC_FAR * This,
/* [in] */ float tbPos,
/* [in] */ long tbAlign,
/* [in] */ long tbLeader,
/* [retval][out] */ long __RPC_FAR *pVal);
END_INTERFACE
} IPDTextParaVtbl;
interface IPDTextPara
{
CONST_VTBL struct IPDTextParaVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define IPDTextPara_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define IPDTextPara_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define IPDTextPara_Release(This) \
(This)->lpVtbl -> Release(This)
#define IPDTextPara_GetAlignment(This,pVal) \
(This)->lpVtbl -> GetAlignment(This,pVal)
#define IPDTextPara_AddTab(This,tbPos,tbAlign,tbLeader) \
(This)->lpVtbl -> AddTab(This,tbPos,tbAlign,tbLeader)
#define IPDTextPara_ClearAllTabs(This) \
(This)->lpVtbl -> ClearAllTabs(This)
#define IPDTextPara_DeleteTab(This,tbPos) \
(This)->lpVtbl -> DeleteTab(This,tbPos)
#define IPDTextPara_GetTabCount(This,pVal) \
(This)->lpVtbl -> GetTabCount(This,pVal)
#define IPDTextPara_GetTab(This,iTab,ptbPos,ptbAlign,ptbLeader) \
(This)->lpVtbl -> GetTab(This,iTab,ptbPos,ptbAlign,ptbLeader)
#define IPDTextPara_GetFirstLineIndent(This,pVal) \
(This)->lpVtbl -> GetFirstLineIndent(This,pVal)
#define IPDTextPara_SetIndents(This,first,left,right) \
(This)->lpVtbl -> SetIndents(This,first,left,right)
#define IPDTextPara_SetRightIndent(This,newVal) \
(This)->lpVtbl -> SetRightIndent(This,newVal)
#define IPDTextPara_GetRightIndent(This,pVal) \
(This)->lpVtbl -> GetRightIndent(This,pVal)
#define IPDTextPara_GetLeftIndent(This,pVal) \
(This)->lpVtbl -> GetLeftIndent(This,pVal)
#define IPDTextPara_GetRange(This,pVal) \
(This)->lpVtbl -> GetRange(This,pVal)
#define IPDTextPara_SetTabPos(This,iTab,tbPos,pVal) \
(This)->lpVtbl -> SetTabPos(This,iTab,tbPos,pVal)
#define IPDTextPara_SetAlignment(This,newVal) \
(This)->lpVtbl -> SetAlignment(This,newVal)
#define IPDTextPara_get_dropCapLines(This,pVal) \
(This)->lpVtbl -> get_dropCapLines(This,pVal)
#define IPDTextPara_put_dropCapLines(This,newVal) \
(This)->lpVtbl -> put_dropCapLines(This,newVal)
#define IPDTextPara_get_dropCapChars(This,pVal) \
(This)->lpVtbl -> get_dropCapChars(This,pVal)
#define IPDTextPara_put_dropCapChars(This,newVal) \
(This)->lpVtbl -> put_dropCapChars(This,newVal)
#define IPDTextPara_AddTabEx(This,tbPos,tbAlign,tbLeader,pVal) \
(This)->lpVtbl -> AddTabEx(This,tbPos,tbAlign,tbLeader,pVal)
#endif /* COBJMACROS */
#endif /* C style interface */
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDTextPara_GetAlignment_Proxy(
IPDTextPara __RPC_FAR * This,
/* [retval][out] */ long __RPC_FAR *pVal);
void __RPC_STUB IPDTextPara_GetAlignment_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDTextPara_AddTab_Proxy(
IPDTextPara __RPC_FAR * This,
/* [in] */ float tbPos,
/* [in] */ long tbAlign,
/* [in] */ long tbLeader);
void __RPC_STUB IPDTextPara_AddTab_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDTextPara_ClearAllTabs_Proxy(
IPDTextPara __RPC_FAR * This);
void __RPC_STUB IPDTextPara_ClearAllTabs_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDTextPara_DeleteTab_Proxy(
IPDTextPara __RPC_FAR * This,
/* [in] */ float tbPos);
void __RPC_STUB IPDTextPara_DeleteTab_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDTextPara_GetTabCount_Proxy(
IPDTextPara __RPC_FAR * This,
/* [retval][out] */ long __RPC_FAR *pVal);
void __RPC_STUB IPDTextPara_GetTabCount_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDTextPara_GetTab_Proxy(
IPDTextPara __RPC_FAR * This,
/* [in] */ long iTab,
/* [out] */ float __RPC_FAR *ptbPos,
/* [out] */ long __RPC_FAR *ptbAlign,
/* [out] */ long __RPC_FAR *ptbLeader);
void __RPC_STUB IPDTextPara_GetTab_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDTextPara_GetFirstLineIndent_Proxy(
IPDTextPara __RPC_FAR * This,
/* [retval][out] */ float __RPC_FAR *pVal);
void __RPC_STUB IPDTextPara_GetFirstLineIndent_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDTextPara_SetIndents_Proxy(
IPDTextPara __RPC_FAR * This,
/* [in] */ float first,
/* [in] */ float left,
/* [in] */ float right);
void __RPC_STUB IPDTextPara_SetIndents_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDTextPara_SetRightIndent_Proxy(
IPDTextPara __RPC_FAR * This,
/* [in] */ float newVal);
void __RPC_STUB IPDTextPara_SetRightIndent_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDTextPara_GetRightIndent_Proxy(
IPDTextPara __RPC_FAR * This,
/* [retval][out] */ float __RPC_FAR *pVal);
void __RPC_STUB IPDTextPara_GetRightIndent_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDTextPara_GetLeftIndent_Proxy(
IPDTextPara __RPC_FAR * This,
/* [retval][out] */ float __RPC_FAR *pVal);
void __RPC_STUB IPDTextPara_GetLeftIndent_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDTextPara_GetRange_Proxy(
IPDTextPara __RPC_FAR * This,
/* [retval][out] */ IPDTextRange __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDTextPara_GetRange_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDTextPara_SetTabPos_Proxy(
IPDTextPara __RPC_FAR * This,
/* [in] */ long iTab,
/* [in] */ float tbPos,
/* [retval][out] */ long __RPC_FAR *pVal);
void __RPC_STUB IPDTextPara_SetTabPos_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDTextPara_SetAlignment_Proxy(
IPDTextPara __RPC_FAR * This,
/* [in] */ long newVal);
void __RPC_STUB IPDTextPara_SetAlignment_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDTextPara_get_dropCapLines_Proxy(
IPDTextPara __RPC_FAR * This,
/* [retval][out] */ long __RPC_FAR *pVal);
void __RPC_STUB IPDTextPara_get_dropCapLines_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IPDTextPara_put_dropCapLines_Proxy(
IPDTextPara __RPC_FAR * This,
/* [in] */ long newVal);
void __RPC_STUB IPDTextPara_put_dropCapLines_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDTextPara_get_dropCapChars_Proxy(
IPDTextPara __RPC_FAR * This,
/* [retval][out] */ long __RPC_FAR *pVal);
void __RPC_STUB IPDTextPara_get_dropCapChars_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IPDTextPara_put_dropCapChars_Proxy(
IPDTextPara __RPC_FAR * This,
/* [in] */ long newVal);
void __RPC_STUB IPDTextPara_put_dropCapChars_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDTextPara_AddTabEx_Proxy(
IPDTextPara __RPC_FAR * This,
/* [in] */ float tbPos,
/* [in] */ long tbAlign,
/* [in] */ long tbLeader,
/* [retval][out] */ long __RPC_FAR *pVal);
void __RPC_STUB IPDTextPara_AddTabEx_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
#endif /* __IPDTextPara_INTERFACE_DEFINED__ */
#ifndef __IPDRenderer_INTERFACE_DEFINED__
#define __IPDRenderer_INTERFACE_DEFINED__
/* interface IPDRenderer */
/* [unique][helpstring][dual][uuid][object] */
EXTERN_C const IID IID_IPDRenderer;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("F07DD9C5-0D81-4BD7-A5DD-1F1F1000072B")
IPDRenderer : public IDispatch
{
public:
virtual /* [helpstring][local][id][propget] */ HRESULT STDMETHODCALLTYPE get_targetHDC(
/* [retval][out] */ HDC __RPC_FAR *pVal) = 0;
virtual /* [helpstring][local][id][propput] */ HRESULT STDMETHODCALLTYPE put_targetHDC(
/* [in] */ HDC newVal) = 0;
virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE RenderSpread(
/* [in] */ IPDSpread __RPC_FAR *spread,
/* [in] */ double left,
/* [in] */ double top,
/* [in] */ double width,
/* [in] */ double height) = 0;
virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE RenderGuide(
/* [in] */ IPDSpread __RPC_FAR *spread,
/* [in] */ IPDGuide __RPC_FAR *guide,
/* [in] */ DWORD color,
/* [in] */ double left,
/* [in] */ double top,
/* [in] */ double width,
/* [in] */ double height) = 0;
virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_magnify(
/* [retval][out] */ double __RPC_FAR *pVal) = 0;
virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_magnify(
/* [in] */ double newVal) = 0;
virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE RenderSpreadBackground(
/* [in] */ IPDSpread __RPC_FAR *ispread) = 0;
virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE AddCustomRenderer(
/* [in] */ IPDCustomRenderer __RPC_FAR *customRenderer) = 0;
virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE RenderObject(
/* [in] */ IPDObject __RPC_FAR *object) = 0;
};
#else /* C style interface */
typedef struct IPDRendererVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
IPDRenderer __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
IPDRenderer __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
IPDRenderer __RPC_FAR * This);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
IPDRenderer __RPC_FAR * This,
/* [out] */ UINT __RPC_FAR *pctinfo);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
IPDRenderer __RPC_FAR * This,
/* [in] */ UINT iTInfo,
/* [in] */ LCID lcid,
/* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
IPDRenderer __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
/* [in] */ UINT cNames,
/* [in] */ LCID lcid,
/* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
/* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
IPDRenderer __RPC_FAR * This,
/* [in] */ DISPID dispIdMember,
/* [in] */ REFIID riid,
/* [in] */ LCID lcid,
/* [in] */ WORD wFlags,
/* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
/* [out] */ VARIANT __RPC_FAR *pVarResult,
/* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
/* [out] */ UINT __RPC_FAR *puArgErr);
/* [helpstring][local][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_targetHDC )(
IPDRenderer __RPC_FAR * This,
/* [retval][out] */ HDC __RPC_FAR *pVal);
/* [helpstring][local][id][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_targetHDC )(
IPDRenderer __RPC_FAR * This,
/* [in] */ HDC newVal);
/* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *RenderSpread )(
IPDRenderer __RPC_FAR * This,
/* [in] */ IPDSpread __RPC_FAR *spread,
/* [in] */ double left,
/* [in] */ double top,
/* [in] */ double width,
/* [in] */ double height);
/* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *RenderGuide )(
IPDRenderer __RPC_FAR * This,
/* [in] */ IPDSpread __RPC_FAR *spread,
/* [in] */ IPDGuide __RPC_FAR *guide,
/* [in] */ DWORD color,
/* [in] */ double left,
/* [in] */ double top,
/* [in] */ double width,
/* [in] */ double height);
/* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_magnify )(
IPDRenderer __RPC_FAR * This,
/* [retval][out] */ double __RPC_FAR *pVal);
/* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_magnify )(
IPDRenderer __RPC_FAR * This,
/* [in] */ double newVal);
/* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *RenderSpreadBackground )(
IPDRenderer __RPC_FAR * This,
/* [in] */ IPDSpread __RPC_FAR *ispread);
/* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *AddCustomRenderer )(
IPDRenderer __RPC_FAR * This,
/* [in] */ IPDCustomRenderer __RPC_FAR *customRenderer);
/* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *RenderObject )(
IPDRenderer __RPC_FAR * This,
/* [in] */ IPDObject __RPC_FAR *object);
END_INTERFACE
} IPDRendererVtbl;
interface IPDRenderer
{
CONST_VTBL struct IPDRendererVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define IPDRenderer_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define IPDRenderer_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define IPDRenderer_Release(This) \
(This)->lpVtbl -> Release(This)
#define IPDRenderer_GetTypeInfoCount(This,pctinfo) \
(This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
#define IPDRenderer_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
(This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
#define IPDRenderer_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
(This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
#define IPDRenderer_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
(This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
#define IPDRenderer_get_targetHDC(This,pVal) \
(This)->lpVtbl -> get_targetHDC(This,pVal)
#define IPDRenderer_put_targetHDC(This,newVal) \
(This)->lpVtbl -> put_targetHDC(This,newVal)
#define IPDRenderer_RenderSpread(This,spread,left,top,width,height) \
(This)->lpVtbl -> RenderSpread(This,spread,left,top,width,height)
#define IPDRenderer_RenderGuide(This,spread,guide,color,left,top,width,height) \
(This)->lpVtbl -> RenderGuide(This,spread,guide,color,left,top,width,height)
#define IPDRenderer_get_magnify(This,pVal) \
(This)->lpVtbl -> get_magnify(This,pVal)
#define IPDRenderer_put_magnify(This,newVal) \
(This)->lpVtbl -> put_magnify(This,newVal)
#define IPDRenderer_RenderSpreadBackground(This,ispread) \
(This)->lpVtbl -> RenderSpreadBackground(This,ispread)
#define IPDRenderer_AddCustomRenderer(This,customRenderer) \
(This)->lpVtbl -> AddCustomRenderer(This,customRenderer)
#define IPDRenderer_RenderObject(This,object) \
(This)->lpVtbl -> RenderObject(This,object)
#endif /* COBJMACROS */
#endif /* C style interface */
/* [helpstring][local][id][propget] */ HRESULT STDMETHODCALLTYPE IPDRenderer_get_targetHDC_Proxy(
IPDRenderer __RPC_FAR * This,
/* [retval][out] */ HDC __RPC_FAR *pVal);
void __RPC_STUB IPDRenderer_get_targetHDC_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][local][id][propput] */ HRESULT STDMETHODCALLTYPE IPDRenderer_put_targetHDC_Proxy(
IPDRenderer __RPC_FAR * This,
/* [in] */ HDC newVal);
void __RPC_STUB IPDRenderer_put_targetHDC_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IPDRenderer_RenderSpread_Proxy(
IPDRenderer __RPC_FAR * This,
/* [in] */ IPDSpread __RPC_FAR *spread,
/* [in] */ double left,
/* [in] */ double top,
/* [in] */ double width,
/* [in] */ double height);
void __RPC_STUB IPDRenderer_RenderSpread_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IPDRenderer_RenderGuide_Proxy(
IPDRenderer __RPC_FAR * This,
/* [in] */ IPDSpread __RPC_FAR *spread,
/* [in] */ IPDGuide __RPC_FAR *guide,
/* [in] */ DWORD color,
/* [in] */ double left,
/* [in] */ double top,
/* [in] */ double width,
/* [in] */ double height);
void __RPC_STUB IPDRenderer_RenderGuide_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IPDRenderer_get_magnify_Proxy(
IPDRenderer __RPC_FAR * This,
/* [retval][out] */ double __RPC_FAR *pVal);
void __RPC_STUB IPDRenderer_get_magnify_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE IPDRenderer_put_magnify_Proxy(
IPDRenderer __RPC_FAR * This,
/* [in] */ double newVal);
void __RPC_STUB IPDRenderer_put_magnify_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IPDRenderer_RenderSpreadBackground_Proxy(
IPDRenderer __RPC_FAR * This,
/* [in] */ IPDSpread __RPC_FAR *ispread);
void __RPC_STUB IPDRenderer_RenderSpreadBackground_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IPDRenderer_AddCustomRenderer_Proxy(
IPDRenderer __RPC_FAR * This,
/* [in] */ IPDCustomRenderer __RPC_FAR *customRenderer);
void __RPC_STUB IPDRenderer_AddCustomRenderer_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IPDRenderer_RenderObject_Proxy(
IPDRenderer __RPC_FAR * This,
/* [in] */ IPDObject __RPC_FAR *object);
void __RPC_STUB IPDRenderer_RenderObject_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
#endif /* __IPDRenderer_INTERFACE_DEFINED__ */
#ifndef __IPDFilterPrimitive_INTERFACE_DEFINED__
#define __IPDFilterPrimitive_INTERFACE_DEFINED__
/* interface IPDFilterPrimitive */
/* [unique][helpstring][uuid][object] */
EXTERN_C const IID IID_IPDFilterPrimitive;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("74917DB6-0FF9-43cd-897E-13FE1205A4F9")
IPDFilterPrimitive : public IPDUnknown
{
public:
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_nextSibling(
/* [retval][out] */ IPDFilterPrimitive __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_nextSibling(
/* [in] */ IPDFilterPrimitive __RPC_FAR *newVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_previousSibling(
/* [retval][out] */ IPDFilterPrimitive __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_previousSibling(
/* [in] */ IPDFilterPrimitive __RPC_FAR *newVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_parent(
/* [retval][out] */ IPDAppearance __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_parent(
/* [in] */ IPDAppearance __RPC_FAR *newVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_pluginFilter(
/* [retval][out] */ IPluginFilter __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_pluginFilter(
/* [in] */ IPluginFilter __RPC_FAR *newVal) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetInPin(
/* [in] */ long n,
/* [retval][out] */ IPDFilterPrimitive __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_name(
/* [retval][out] */ BSTR __RPC_FAR *pVal) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetInPin(
/* [in] */ long n,
/* [in] */ IPDFilterPrimitive __RPC_FAR *newVal) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetType(
/* [retval][out] */ long __RPC_FAR *pVal) = 0;
};
#else /* C style interface */
typedef struct IPDFilterPrimitiveVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
IPDFilterPrimitive __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
IPDFilterPrimitive __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
IPDFilterPrimitive __RPC_FAR * This);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_nextSibling )(
IPDFilterPrimitive __RPC_FAR * This,
/* [retval][out] */ IPDFilterPrimitive __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_nextSibling )(
IPDFilterPrimitive __RPC_FAR * This,
/* [in] */ IPDFilterPrimitive __RPC_FAR *newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_previousSibling )(
IPDFilterPrimitive __RPC_FAR * This,
/* [retval][out] */ IPDFilterPrimitive __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_previousSibling )(
IPDFilterPrimitive __RPC_FAR * This,
/* [in] */ IPDFilterPrimitive __RPC_FAR *newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_parent )(
IPDFilterPrimitive __RPC_FAR * This,
/* [retval][out] */ IPDAppearance __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_parent )(
IPDFilterPrimitive __RPC_FAR * This,
/* [in] */ IPDAppearance __RPC_FAR *newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_pluginFilter )(
IPDFilterPrimitive __RPC_FAR * This,
/* [retval][out] */ IPluginFilter __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_pluginFilter )(
IPDFilterPrimitive __RPC_FAR * This,
/* [in] */ IPluginFilter __RPC_FAR *newVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetInPin )(
IPDFilterPrimitive __RPC_FAR * This,
/* [in] */ long n,
/* [retval][out] */ IPDFilterPrimitive __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_name )(
IPDFilterPrimitive __RPC_FAR * This,
/* [retval][out] */ BSTR __RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetInPin )(
IPDFilterPrimitive __RPC_FAR * This,
/* [in] */ long n,
/* [in] */ IPDFilterPrimitive __RPC_FAR *newVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetType )(
IPDFilterPrimitive __RPC_FAR * This,
/* [retval][out] */ long __RPC_FAR *pVal);
END_INTERFACE
} IPDFilterPrimitiveVtbl;
interface IPDFilterPrimitive
{
CONST_VTBL struct IPDFilterPrimitiveVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define IPDFilterPrimitive_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define IPDFilterPrimitive_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define IPDFilterPrimitive_Release(This) \
(This)->lpVtbl -> Release(This)
#define IPDFilterPrimitive_get_nextSibling(This,pVal) \
(This)->lpVtbl -> get_nextSibling(This,pVal)
#define IPDFilterPrimitive_put_nextSibling(This,newVal) \
(This)->lpVtbl -> put_nextSibling(This,newVal)
#define IPDFilterPrimitive_get_previousSibling(This,pVal) \
(This)->lpVtbl -> get_previousSibling(This,pVal)
#define IPDFilterPrimitive_put_previousSibling(This,newVal) \
(This)->lpVtbl -> put_previousSibling(This,newVal)
#define IPDFilterPrimitive_get_parent(This,pVal) \
(This)->lpVtbl -> get_parent(This,pVal)
#define IPDFilterPrimitive_put_parent(This,newVal) \
(This)->lpVtbl -> put_parent(This,newVal)
#define IPDFilterPrimitive_get_pluginFilter(This,pVal) \
(This)->lpVtbl -> get_pluginFilter(This,pVal)
#define IPDFilterPrimitive_put_pluginFilter(This,newVal) \
(This)->lpVtbl -> put_pluginFilter(This,newVal)
#define IPDFilterPrimitive_GetInPin(This,n,pVal) \
(This)->lpVtbl -> GetInPin(This,n,pVal)
#define IPDFilterPrimitive_get_name(This,pVal) \
(This)->lpVtbl -> get_name(This,pVal)
#define IPDFilterPrimitive_SetInPin(This,n,newVal) \
(This)->lpVtbl -> SetInPin(This,n,newVal)
#define IPDFilterPrimitive_GetType(This,pVal) \
(This)->lpVtbl -> GetType(This,pVal)
#endif /* COBJMACROS */
#endif /* C style interface */
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDFilterPrimitive_get_nextSibling_Proxy(
IPDFilterPrimitive __RPC_FAR * This,
/* [retval][out] */ IPDFilterPrimitive __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDFilterPrimitive_get_nextSibling_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IPDFilterPrimitive_put_nextSibling_Proxy(
IPDFilterPrimitive __RPC_FAR * This,
/* [in] */ IPDFilterPrimitive __RPC_FAR *newVal);
void __RPC_STUB IPDFilterPrimitive_put_nextSibling_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDFilterPrimitive_get_previousSibling_Proxy(
IPDFilterPrimitive __RPC_FAR * This,
/* [retval][out] */ IPDFilterPrimitive __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDFilterPrimitive_get_previousSibling_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IPDFilterPrimitive_put_previousSibling_Proxy(
IPDFilterPrimitive __RPC_FAR * This,
/* [in] */ IPDFilterPrimitive __RPC_FAR *newVal);
void __RPC_STUB IPDFilterPrimitive_put_previousSibling_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDFilterPrimitive_get_parent_Proxy(
IPDFilterPrimitive __RPC_FAR * This,
/* [retval][out] */ IPDAppearance __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDFilterPrimitive_get_parent_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IPDFilterPrimitive_put_parent_Proxy(
IPDFilterPrimitive __RPC_FAR * This,
/* [in] */ IPDAppearance __RPC_FAR *newVal);
void __RPC_STUB IPDFilterPrimitive_put_parent_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDFilterPrimitive_get_pluginFilter_Proxy(
IPDFilterPrimitive __RPC_FAR * This,
/* [retval][out] */ IPluginFilter __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDFilterPrimitive_get_pluginFilter_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IPDFilterPrimitive_put_pluginFilter_Proxy(
IPDFilterPrimitive __RPC_FAR * This,
/* [in] */ IPluginFilter __RPC_FAR *newVal);
void __RPC_STUB IPDFilterPrimitive_put_pluginFilter_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDFilterPrimitive_GetInPin_Proxy(
IPDFilterPrimitive __RPC_FAR * This,
/* [in] */ long n,
/* [retval][out] */ IPDFilterPrimitive __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDFilterPrimitive_GetInPin_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDFilterPrimitive_get_name_Proxy(
IPDFilterPrimitive __RPC_FAR * This,
/* [retval][out] */ BSTR __RPC_FAR *pVal);
void __RPC_STUB IPDFilterPrimitive_get_name_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDFilterPrimitive_SetInPin_Proxy(
IPDFilterPrimitive __RPC_FAR * This,
/* [in] */ long n,
/* [in] */ IPDFilterPrimitive __RPC_FAR *newVal);
void __RPC_STUB IPDFilterPrimitive_SetInPin_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDFilterPrimitive_GetType_Proxy(
IPDFilterPrimitive __RPC_FAR * This,
/* [retval][out] */ long __RPC_FAR *pVal);
void __RPC_STUB IPDFilterPrimitive_GetType_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
#endif /* __IPDFilterPrimitive_INTERFACE_DEFINED__ */
#ifndef __IPDSymbol_INTERFACE_DEFINED__
#define __IPDSymbol_INTERFACE_DEFINED__
/* interface IPDSymbol */
/* [unique][helpstring][uuid][object] */
EXTERN_C const IID IID_IPDSymbol;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("3E91BB7D-2C21-4D3A-9522-F1290FC23941")
IPDSymbol : public IUnknown
{
public:
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_symbolObject(
/* [retval][out] */ IPDObject __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_symbolObject(
/* [in] */ IPDObject __RPC_FAR *newVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_name(
/* [retval][out] */ BSTR __RPC_FAR *pVal) = 0;
virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_name(
/* [in] */ BSTR newVal) = 0;
};
#else /* C style interface */
typedef struct IPDSymbolVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
IPDSymbol __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
IPDSymbol __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
IPDSymbol __RPC_FAR * This);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_symbolObject )(
IPDSymbol __RPC_FAR * This,
/* [retval][out] */ IPDObject __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_symbolObject )(
IPDSymbol __RPC_FAR * This,
/* [in] */ IPDObject __RPC_FAR *newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_name )(
IPDSymbol __RPC_FAR * This,
/* [retval][out] */ BSTR __RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_name )(
IPDSymbol __RPC_FAR * This,
/* [in] */ BSTR newVal);
END_INTERFACE
} IPDSymbolVtbl;
interface IPDSymbol
{
CONST_VTBL struct IPDSymbolVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define IPDSymbol_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define IPDSymbol_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define IPDSymbol_Release(This) \
(This)->lpVtbl -> Release(This)
#define IPDSymbol_get_symbolObject(This,pVal) \
(This)->lpVtbl -> get_symbolObject(This,pVal)
#define IPDSymbol_put_symbolObject(This,newVal) \
(This)->lpVtbl -> put_symbolObject(This,newVal)
#define IPDSymbol_get_name(This,pVal) \
(This)->lpVtbl -> get_name(This,pVal)
#define IPDSymbol_put_name(This,newVal) \
(This)->lpVtbl -> put_name(This,newVal)
#endif /* COBJMACROS */
#endif /* C style interface */
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDSymbol_get_symbolObject_Proxy(
IPDSymbol __RPC_FAR * This,
/* [retval][out] */ IPDObject __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDSymbol_get_symbolObject_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IPDSymbol_put_symbolObject_Proxy(
IPDSymbol __RPC_FAR * This,
/* [in] */ IPDObject __RPC_FAR *newVal);
void __RPC_STUB IPDSymbol_put_symbolObject_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDSymbol_get_name_Proxy(
IPDSymbol __RPC_FAR * This,
/* [retval][out] */ BSTR __RPC_FAR *pVal);
void __RPC_STUB IPDSymbol_get_name_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IPDSymbol_put_name_Proxy(
IPDSymbol __RPC_FAR * This,
/* [in] */ BSTR newVal);
void __RPC_STUB IPDSymbol_put_name_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
#endif /* __IPDSymbol_INTERFACE_DEFINED__ */
#ifndef __IPDSpreadDocument_INTERFACE_DEFINED__
#define __IPDSpreadDocument_INTERFACE_DEFINED__
/* interface IPDSpreadDocument */
/* [unique][helpstring][uuid][object] */
EXTERN_C const IID IID_IPDSpreadDocument;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("FCE21B23-89A1-4433-8448-F60FB825B5C9")
IPDSpreadDocument : public IPDSpread
{
public:
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_keepSpreadTogether(
/* [retval][out] */ VARIANT_BOOL __RPC_FAR *pVal) = 0;
virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_keepSpreadTogether(
/* [in] */ VARIANT_BOOL newVal) = 0;
};
#else /* C style interface */
typedef struct IPDSpreadDocumentVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
IPDSpreadDocument __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
IPDSpreadDocument __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
IPDSpreadDocument __RPC_FAR * This);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_pages )(
IPDSpreadDocument __RPC_FAR * This,
/* [retval][out] */ IObjectMap __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_layergroups )(
IPDSpreadDocument __RPC_FAR * This,
/* [retval][out] */ IObjectMap __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_spine )(
IPDSpreadDocument __RPC_FAR * This,
/* [retval][out] */ long __RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_spine )(
IPDSpreadDocument __RPC_FAR * This,
/* [in] */ long newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_ownerDocument )(
IPDSpreadDocument __RPC_FAR * This,
/* [retval][out] */ IPDDocument __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_uniqId )(
IPDSpreadDocument __RPC_FAR * This,
/* [retval][out] */ GUID __RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *getLayerGroupFromLayer )(
IPDSpreadDocument __RPC_FAR * This,
/* [in] */ IPDLayer __RPC_FAR *layer,
/* [retval][out] */ IPDObjectLayerGroup __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *getObjectByUniqId )(
IPDSpreadDocument __RPC_FAR * This,
/* [in] */ GUID guid,
/* [retval][out] */ IPDObjectUnknown __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *removeLayerGroup )(
IPDSpreadDocument __RPC_FAR * This,
/* [in] */ IPDObjectLayerGroup __RPC_FAR *object);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_firstLayerGroup )(
IPDSpreadDocument __RPC_FAR * This,
/* [retval][out] */ IPDObjectUnknown __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_lastLayerGroup )(
IPDSpreadDocument __RPC_FAR * This,
/* [retval][out] */ IPDObjectUnknown __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_keepSpreadTogether )(
IPDSpreadDocument __RPC_FAR * This,
/* [retval][out] */ VARIANT_BOOL __RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_keepSpreadTogether )(
IPDSpreadDocument __RPC_FAR * This,
/* [in] */ VARIANT_BOOL newVal);
END_INTERFACE
} IPDSpreadDocumentVtbl;
interface IPDSpreadDocument
{
CONST_VTBL struct IPDSpreadDocumentVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define IPDSpreadDocument_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define IPDSpreadDocument_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define IPDSpreadDocument_Release(This) \
(This)->lpVtbl -> Release(This)
#define IPDSpreadDocument_get_pages(This,pVal) \
(This)->lpVtbl -> get_pages(This,pVal)
#define IPDSpreadDocument_get_layergroups(This,pVal) \
(This)->lpVtbl -> get_layergroups(This,pVal)
#define IPDSpreadDocument_get_spine(This,pVal) \
(This)->lpVtbl -> get_spine(This,pVal)
#define IPDSpreadDocument_put_spine(This,newVal) \
(This)->lpVtbl -> put_spine(This,newVal)
#define IPDSpreadDocument_get_ownerDocument(This,pVal) \
(This)->lpVtbl -> get_ownerDocument(This,pVal)
#define IPDSpreadDocument_get_uniqId(This,pVal) \
(This)->lpVtbl -> get_uniqId(This,pVal)
#define IPDSpreadDocument_getLayerGroupFromLayer(This,layer,pVal) \
(This)->lpVtbl -> getLayerGroupFromLayer(This,layer,pVal)
#define IPDSpreadDocument_getObjectByUniqId(This,guid,pVal) \
(This)->lpVtbl -> getObjectByUniqId(This,guid,pVal)
#define IPDSpreadDocument_removeLayerGroup(This,object) \
(This)->lpVtbl -> removeLayerGroup(This,object)
#define IPDSpreadDocument_get_firstLayerGroup(This,pVal) \
(This)->lpVtbl -> get_firstLayerGroup(This,pVal)
#define IPDSpreadDocument_get_lastLayerGroup(This,pVal) \
(This)->lpVtbl -> get_lastLayerGroup(This,pVal)
#define IPDSpreadDocument_get_keepSpreadTogether(This,pVal) \
(This)->lpVtbl -> get_keepSpreadTogether(This,pVal)
#define IPDSpreadDocument_put_keepSpreadTogether(This,newVal) \
(This)->lpVtbl -> put_keepSpreadTogether(This,newVal)
#endif /* COBJMACROS */
#endif /* C style interface */
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDSpreadDocument_get_keepSpreadTogether_Proxy(
IPDSpreadDocument __RPC_FAR * This,
/* [retval][out] */ VARIANT_BOOL __RPC_FAR *pVal);
void __RPC_STUB IPDSpreadDocument_get_keepSpreadTogether_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IPDSpreadDocument_put_keepSpreadTogether_Proxy(
IPDSpreadDocument __RPC_FAR * This,
/* [in] */ VARIANT_BOOL newVal);
void __RPC_STUB IPDSpreadDocument_put_keepSpreadTogether_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
#endif /* __IPDSpreadDocument_INTERFACE_DEFINED__ */
#ifndef __IArchive_INTERFACE_DEFINED__
#define __IArchive_INTERFACE_DEFINED__
/* interface IArchive */
/* [unique][helpstring][dual][uuid][object] */
EXTERN_C const IID IID_IArchive;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("3304AD56-664A-42FD-8FD8-1B0F2363C3D8")
IArchive : public IDispatch
{
public:
virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Open(
/* [in] */ BSTR pathName,
/* [in] */ DWORD dwMode,
/* [in] */ BSTR rootName,
/* [retval][out] */ IArchiveElement __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE MapObject(
/* [in] */ IUnknown __RPC_FAR *pUnk) = 0;
};
#else /* C style interface */
typedef struct IArchiveVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
IArchive __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
IArchive __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
IArchive __RPC_FAR * This);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
IArchive __RPC_FAR * This,
/* [out] */ UINT __RPC_FAR *pctinfo);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
IArchive __RPC_FAR * This,
/* [in] */ UINT iTInfo,
/* [in] */ LCID lcid,
/* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
IArchive __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
/* [in] */ UINT cNames,
/* [in] */ LCID lcid,
/* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
/* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
IArchive __RPC_FAR * This,
/* [in] */ DISPID dispIdMember,
/* [in] */ REFIID riid,
/* [in] */ LCID lcid,
/* [in] */ WORD wFlags,
/* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
/* [out] */ VARIANT __RPC_FAR *pVarResult,
/* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
/* [out] */ UINT __RPC_FAR *puArgErr);
/* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Open )(
IArchive __RPC_FAR * This,
/* [in] */ BSTR pathName,
/* [in] */ DWORD dwMode,
/* [in] */ BSTR rootName,
/* [retval][out] */ IArchiveElement __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *MapObject )(
IArchive __RPC_FAR * This,
/* [in] */ IUnknown __RPC_FAR *pUnk);
END_INTERFACE
} IArchiveVtbl;
interface IArchive
{
CONST_VTBL struct IArchiveVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define IArchive_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define IArchive_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define IArchive_Release(This) \
(This)->lpVtbl -> Release(This)
#define IArchive_GetTypeInfoCount(This,pctinfo) \
(This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
#define IArchive_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
(This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
#define IArchive_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
(This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
#define IArchive_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
(This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
#define IArchive_Open(This,pathName,dwMode,rootName,pVal) \
(This)->lpVtbl -> Open(This,pathName,dwMode,rootName,pVal)
#define IArchive_MapObject(This,pUnk) \
(This)->lpVtbl -> MapObject(This,pUnk)
#endif /* COBJMACROS */
#endif /* C style interface */
/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IArchive_Open_Proxy(
IArchive __RPC_FAR * This,
/* [in] */ BSTR pathName,
/* [in] */ DWORD dwMode,
/* [in] */ BSTR rootName,
/* [retval][out] */ IArchiveElement __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IArchive_Open_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IArchive_MapObject_Proxy(
IArchive __RPC_FAR * This,
/* [in] */ IUnknown __RPC_FAR *pUnk);
void __RPC_STUB IArchive_MapObject_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
#endif /* __IArchive_INTERFACE_DEFINED__ */
#ifndef __IArchiveElement_INTERFACE_DEFINED__
#define __IArchiveElement_INTERFACE_DEFINED__
/* interface IArchiveElement */
/* [unique][helpstring][dual][uuid][object] */
EXTERN_C const IID IID_IArchiveElement;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("BFDE0299-C6C5-489b-BF40-F2E08E0CDA06")
IArchiveElement : public IDispatch
{
public:
virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE putAttribute(
/* [in] */ BSTR name,
/* [in] */ VARIANT value) = 0;
virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE getAttribute(
/* [in] */ BSTR name,
/* [retval][out] */ VARIANT __RPC_FAR *pVal) = 0;
virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE putElement(
/* [in] */ BSTR name,
/* [in] */ IUnknown __RPC_FAR *pUnk) = 0;
virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE putData(
/* [in] */ VARIANT value) = 0;
virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE putObjectMap(
/* [in] */ BSTR name,
/* [in] */ IObjectMap __RPC_FAR *objectmap) = 0;
virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE getObjectMap(
/* [in] */ BSTR name,
/* [in] */ IObjectMap __RPC_FAR *objectmap,
/* [in] */ IUnknown __RPC_FAR *pUnkExtra) = 0;
virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE getElement(
/* [in] */ BSTR name,
/* [in] */ IUnknown __RPC_FAR *pUnkExtra,
/* [retval][out] */ IUnknown __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE getData(
/* [retval][out] */ VARIANT __RPC_FAR *pVal) = 0;
virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE getAttributeNode(
/* [in] */ BSTR name,
/* [retval][out] */ IArchiveElement __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE serializeElement(
/* [in] */ BSTR name,
/* [in] */ IUnknown __RPC_FAR *pUnk) = 0;
virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE deserializeElement(
/* [in] */ BSTR name,
/* [in] */ IUnknown __RPC_FAR *pUnk,
/* [in] */ IUnknown __RPC_FAR *pUnkExtra) = 0;
virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE putObject(
/* [in] */ IUnknown __RPC_FAR *pUnk) = 0;
virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE deserializeObjectMap(
/* [in] */ IObjectMap __RPC_FAR *objectmap,
/* [in] */ IUnknown __RPC_FAR *pUnkExtra) = 0;
virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE serializeObjectMap(
/* [in] */ IObjectMap __RPC_FAR *objectmap) = 0;
virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE getObject(
/* [in] */ IUnknown __RPC_FAR *pUnkExtra,
/* [retval][out] */ IUnknown __RPC_FAR *__RPC_FAR *pVal) = 0;
};
#else /* C style interface */
typedef struct IArchiveElementVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
IArchiveElement __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
IArchiveElement __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
IArchiveElement __RPC_FAR * This);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
IArchiveElement __RPC_FAR * This,
/* [out] */ UINT __RPC_FAR *pctinfo);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
IArchiveElement __RPC_FAR * This,
/* [in] */ UINT iTInfo,
/* [in] */ LCID lcid,
/* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
IArchiveElement __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
/* [in] */ UINT cNames,
/* [in] */ LCID lcid,
/* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
/* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
IArchiveElement __RPC_FAR * This,
/* [in] */ DISPID dispIdMember,
/* [in] */ REFIID riid,
/* [in] */ LCID lcid,
/* [in] */ WORD wFlags,
/* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
/* [out] */ VARIANT __RPC_FAR *pVarResult,
/* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
/* [out] */ UINT __RPC_FAR *puArgErr);
/* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *putAttribute )(
IArchiveElement __RPC_FAR * This,
/* [in] */ BSTR name,
/* [in] */ VARIANT value);
/* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *getAttribute )(
IArchiveElement __RPC_FAR * This,
/* [in] */ BSTR name,
/* [retval][out] */ VARIANT __RPC_FAR *pVal);
/* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *putElement )(
IArchiveElement __RPC_FAR * This,
/* [in] */ BSTR name,
/* [in] */ IUnknown __RPC_FAR *pUnk);
/* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *putData )(
IArchiveElement __RPC_FAR * This,
/* [in] */ VARIANT value);
/* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *putObjectMap )(
IArchiveElement __RPC_FAR * This,
/* [in] */ BSTR name,
/* [in] */ IObjectMap __RPC_FAR *objectmap);
/* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *getObjectMap )(
IArchiveElement __RPC_FAR * This,
/* [in] */ BSTR name,
/* [in] */ IObjectMap __RPC_FAR *objectmap,
/* [in] */ IUnknown __RPC_FAR *pUnkExtra);
/* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *getElement )(
IArchiveElement __RPC_FAR * This,
/* [in] */ BSTR name,
/* [in] */ IUnknown __RPC_FAR *pUnkExtra,
/* [retval][out] */ IUnknown __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *getData )(
IArchiveElement __RPC_FAR * This,
/* [retval][out] */ VARIANT __RPC_FAR *pVal);
/* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *getAttributeNode )(
IArchiveElement __RPC_FAR * This,
/* [in] */ BSTR name,
/* [retval][out] */ IArchiveElement __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *serializeElement )(
IArchiveElement __RPC_FAR * This,
/* [in] */ BSTR name,
/* [in] */ IUnknown __RPC_FAR *pUnk);
/* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *deserializeElement )(
IArchiveElement __RPC_FAR * This,
/* [in] */ BSTR name,
/* [in] */ IUnknown __RPC_FAR *pUnk,
/* [in] */ IUnknown __RPC_FAR *pUnkExtra);
/* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *putObject )(
IArchiveElement __RPC_FAR * This,
/* [in] */ IUnknown __RPC_FAR *pUnk);
/* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *deserializeObjectMap )(
IArchiveElement __RPC_FAR * This,
/* [in] */ IObjectMap __RPC_FAR *objectmap,
/* [in] */ IUnknown __RPC_FAR *pUnkExtra);
/* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *serializeObjectMap )(
IArchiveElement __RPC_FAR * This,
/* [in] */ IObjectMap __RPC_FAR *objectmap);
/* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *getObject )(
IArchiveElement __RPC_FAR * This,
/* [in] */ IUnknown __RPC_FAR *pUnkExtra,
/* [retval][out] */ IUnknown __RPC_FAR *__RPC_FAR *pVal);
END_INTERFACE
} IArchiveElementVtbl;
interface IArchiveElement
{
CONST_VTBL struct IArchiveElementVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define IArchiveElement_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define IArchiveElement_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define IArchiveElement_Release(This) \
(This)->lpVtbl -> Release(This)
#define IArchiveElement_GetTypeInfoCount(This,pctinfo) \
(This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
#define IArchiveElement_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
(This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
#define IArchiveElement_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
(This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
#define IArchiveElement_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
(This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
#define IArchiveElement_putAttribute(This,name,value) \
(This)->lpVtbl -> putAttribute(This,name,value)
#define IArchiveElement_getAttribute(This,name,pVal) \
(This)->lpVtbl -> getAttribute(This,name,pVal)
#define IArchiveElement_putElement(This,name,pUnk) \
(This)->lpVtbl -> putElement(This,name,pUnk)
#define IArchiveElement_putData(This,value) \
(This)->lpVtbl -> putData(This,value)
#define IArchiveElement_putObjectMap(This,name,objectmap) \
(This)->lpVtbl -> putObjectMap(This,name,objectmap)
#define IArchiveElement_getObjectMap(This,name,objectmap,pUnkExtra) \
(This)->lpVtbl -> getObjectMap(This,name,objectmap,pUnkExtra)
#define IArchiveElement_getElement(This,name,pUnkExtra,pVal) \
(This)->lpVtbl -> getElement(This,name,pUnkExtra,pVal)
#define IArchiveElement_getData(This,pVal) \
(This)->lpVtbl -> getData(This,pVal)
#define IArchiveElement_getAttributeNode(This,name,pVal) \
(This)->lpVtbl -> getAttributeNode(This,name,pVal)
#define IArchiveElement_serializeElement(This,name,pUnk) \
(This)->lpVtbl -> serializeElement(This,name,pUnk)
#define IArchiveElement_deserializeElement(This,name,pUnk,pUnkExtra) \
(This)->lpVtbl -> deserializeElement(This,name,pUnk,pUnkExtra)
#define IArchiveElement_putObject(This,pUnk) \
(This)->lpVtbl -> putObject(This,pUnk)
#define IArchiveElement_deserializeObjectMap(This,objectmap,pUnkExtra) \
(This)->lpVtbl -> deserializeObjectMap(This,objectmap,pUnkExtra)
#define IArchiveElement_serializeObjectMap(This,objectmap) \
(This)->lpVtbl -> serializeObjectMap(This,objectmap)
#define IArchiveElement_getObject(This,pUnkExtra,pVal) \
(This)->lpVtbl -> getObject(This,pUnkExtra,pVal)
#endif /* COBJMACROS */
#endif /* C style interface */
/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IArchiveElement_putAttribute_Proxy(
IArchiveElement __RPC_FAR * This,
/* [in] */ BSTR name,
/* [in] */ VARIANT value);
void __RPC_STUB IArchiveElement_putAttribute_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IArchiveElement_getAttribute_Proxy(
IArchiveElement __RPC_FAR * This,
/* [in] */ BSTR name,
/* [retval][out] */ VARIANT __RPC_FAR *pVal);
void __RPC_STUB IArchiveElement_getAttribute_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IArchiveElement_putElement_Proxy(
IArchiveElement __RPC_FAR * This,
/* [in] */ BSTR name,
/* [in] */ IUnknown __RPC_FAR *pUnk);
void __RPC_STUB IArchiveElement_putElement_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IArchiveElement_putData_Proxy(
IArchiveElement __RPC_FAR * This,
/* [in] */ VARIANT value);
void __RPC_STUB IArchiveElement_putData_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IArchiveElement_putObjectMap_Proxy(
IArchiveElement __RPC_FAR * This,
/* [in] */ BSTR name,
/* [in] */ IObjectMap __RPC_FAR *objectmap);
void __RPC_STUB IArchiveElement_putObjectMap_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IArchiveElement_getObjectMap_Proxy(
IArchiveElement __RPC_FAR * This,
/* [in] */ BSTR name,
/* [in] */ IObjectMap __RPC_FAR *objectmap,
/* [in] */ IUnknown __RPC_FAR *pUnkExtra);
void __RPC_STUB IArchiveElement_getObjectMap_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IArchiveElement_getElement_Proxy(
IArchiveElement __RPC_FAR * This,
/* [in] */ BSTR name,
/* [in] */ IUnknown __RPC_FAR *pUnkExtra,
/* [retval][out] */ IUnknown __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IArchiveElement_getElement_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IArchiveElement_getData_Proxy(
IArchiveElement __RPC_FAR * This,
/* [retval][out] */ VARIANT __RPC_FAR *pVal);
void __RPC_STUB IArchiveElement_getData_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IArchiveElement_getAttributeNode_Proxy(
IArchiveElement __RPC_FAR * This,
/* [in] */ BSTR name,
/* [retval][out] */ IArchiveElement __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IArchiveElement_getAttributeNode_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IArchiveElement_serializeElement_Proxy(
IArchiveElement __RPC_FAR * This,
/* [in] */ BSTR name,
/* [in] */ IUnknown __RPC_FAR *pUnk);
void __RPC_STUB IArchiveElement_serializeElement_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IArchiveElement_deserializeElement_Proxy(
IArchiveElement __RPC_FAR * This,
/* [in] */ BSTR name,
/* [in] */ IUnknown __RPC_FAR *pUnk,
/* [in] */ IUnknown __RPC_FAR *pUnkExtra);
void __RPC_STUB IArchiveElement_deserializeElement_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IArchiveElement_putObject_Proxy(
IArchiveElement __RPC_FAR * This,
/* [in] */ IUnknown __RPC_FAR *pUnk);
void __RPC_STUB IArchiveElement_putObject_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IArchiveElement_deserializeObjectMap_Proxy(
IArchiveElement __RPC_FAR * This,
/* [in] */ IObjectMap __RPC_FAR *objectmap,
/* [in] */ IUnknown __RPC_FAR *pUnkExtra);
void __RPC_STUB IArchiveElement_deserializeObjectMap_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IArchiveElement_serializeObjectMap_Proxy(
IArchiveElement __RPC_FAR * This,
/* [in] */ IObjectMap __RPC_FAR *objectmap);
void __RPC_STUB IArchiveElement_serializeObjectMap_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IArchiveElement_getObject_Proxy(
IArchiveElement __RPC_FAR * This,
/* [in] */ IUnknown __RPC_FAR *pUnkExtra,
/* [retval][out] */ IUnknown __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IArchiveElement_getObject_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
#endif /* __IArchiveElement_INTERFACE_DEFINED__ */
#ifndef __IPageDesignerApp_INTERFACE_DEFINED__
#define __IPageDesignerApp_INTERFACE_DEFINED__
/* interface IPageDesignerApp */
/* [unique][helpstring][dual][uuid][object] */
EXTERN_C const IID IID_IPageDesignerApp;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("14A92517-0DC2-4a19-B2A5-4536BEBD97AC")
IPageDesignerApp : public IDispatch
{
public:
virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_frame(
/* [retval][out] */ IPageDesignerFrame __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_uiManager(
/* [retval][out] */ IUnknown __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Run(
/* [retval][out] */ long __RPC_FAR *result) = 0;
virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE OpenDocument(
/* [in] */ BSTR pathName,
/* [retval][out] */ VARIANT_BOOL __RPC_FAR *success) = 0;
virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_swatches(
/* [retval][out] */ IPDSwatches __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_newArtHasBasicAppearance(
/* [retval][out] */ VARIANT_BOOL __RPC_FAR *pVal) = 0;
virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_newArtHasBasicAppearance(
/* [in] */ VARIANT_BOOL newVal) = 0;
virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_strokeOrFill(
/* [retval][out] */ long __RPC_FAR *pVal) = 0;
virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_strokeOrFill(
/* [in] */ long newVal) = 0;
};
#else /* C style interface */
typedef struct IPageDesignerAppVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
IPageDesignerApp __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
IPageDesignerApp __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
IPageDesignerApp __RPC_FAR * This);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
IPageDesignerApp __RPC_FAR * This,
/* [out] */ UINT __RPC_FAR *pctinfo);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
IPageDesignerApp __RPC_FAR * This,
/* [in] */ UINT iTInfo,
/* [in] */ LCID lcid,
/* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
IPageDesignerApp __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
/* [in] */ UINT cNames,
/* [in] */ LCID lcid,
/* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
/* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
IPageDesignerApp __RPC_FAR * This,
/* [in] */ DISPID dispIdMember,
/* [in] */ REFIID riid,
/* [in] */ LCID lcid,
/* [in] */ WORD wFlags,
/* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
/* [out] */ VARIANT __RPC_FAR *pVarResult,
/* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
/* [out] */ UINT __RPC_FAR *puArgErr);
/* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_frame )(
IPageDesignerApp __RPC_FAR * This,
/* [retval][out] */ IPageDesignerFrame __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_uiManager )(
IPageDesignerApp __RPC_FAR * This,
/* [retval][out] */ IUnknown __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Run )(
IPageDesignerApp __RPC_FAR * This,
/* [retval][out] */ long __RPC_FAR *result);
/* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *OpenDocument )(
IPageDesignerApp __RPC_FAR * This,
/* [in] */ BSTR pathName,
/* [retval][out] */ VARIANT_BOOL __RPC_FAR *success);
/* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_swatches )(
IPageDesignerApp __RPC_FAR * This,
/* [retval][out] */ IPDSwatches __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_newArtHasBasicAppearance )(
IPageDesignerApp __RPC_FAR * This,
/* [retval][out] */ VARIANT_BOOL __RPC_FAR *pVal);
/* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_newArtHasBasicAppearance )(
IPageDesignerApp __RPC_FAR * This,
/* [in] */ VARIANT_BOOL newVal);
/* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_strokeOrFill )(
IPageDesignerApp __RPC_FAR * This,
/* [retval][out] */ long __RPC_FAR *pVal);
/* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_strokeOrFill )(
IPageDesignerApp __RPC_FAR * This,
/* [in] */ long newVal);
END_INTERFACE
} IPageDesignerAppVtbl;
interface IPageDesignerApp
{
CONST_VTBL struct IPageDesignerAppVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define IPageDesignerApp_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define IPageDesignerApp_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define IPageDesignerApp_Release(This) \
(This)->lpVtbl -> Release(This)
#define IPageDesignerApp_GetTypeInfoCount(This,pctinfo) \
(This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
#define IPageDesignerApp_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
(This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
#define IPageDesignerApp_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
(This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
#define IPageDesignerApp_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
(This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
#define IPageDesignerApp_get_frame(This,pVal) \
(This)->lpVtbl -> get_frame(This,pVal)
#define IPageDesignerApp_get_uiManager(This,pVal) \
(This)->lpVtbl -> get_uiManager(This,pVal)
#define IPageDesignerApp_Run(This,result) \
(This)->lpVtbl -> Run(This,result)
#define IPageDesignerApp_OpenDocument(This,pathName,success) \
(This)->lpVtbl -> OpenDocument(This,pathName,success)
#define IPageDesignerApp_get_swatches(This,pVal) \
(This)->lpVtbl -> get_swatches(This,pVal)
#define IPageDesignerApp_get_newArtHasBasicAppearance(This,pVal) \
(This)->lpVtbl -> get_newArtHasBasicAppearance(This,pVal)
#define IPageDesignerApp_put_newArtHasBasicAppearance(This,newVal) \
(This)->lpVtbl -> put_newArtHasBasicAppearance(This,newVal)
#define IPageDesignerApp_get_strokeOrFill(This,pVal) \
(This)->lpVtbl -> get_strokeOrFill(This,pVal)
#define IPageDesignerApp_put_strokeOrFill(This,newVal) \
(This)->lpVtbl -> put_strokeOrFill(This,newVal)
#endif /* COBJMACROS */
#endif /* C style interface */
/* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IPageDesignerApp_get_frame_Proxy(
IPageDesignerApp __RPC_FAR * This,
/* [retval][out] */ IPageDesignerFrame __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPageDesignerApp_get_frame_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IPageDesignerApp_get_uiManager_Proxy(
IPageDesignerApp __RPC_FAR * This,
/* [retval][out] */ IUnknown __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPageDesignerApp_get_uiManager_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IPageDesignerApp_Run_Proxy(
IPageDesignerApp __RPC_FAR * This,
/* [retval][out] */ long __RPC_FAR *result);
void __RPC_STUB IPageDesignerApp_Run_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IPageDesignerApp_OpenDocument_Proxy(
IPageDesignerApp __RPC_FAR * This,
/* [in] */ BSTR pathName,
/* [retval][out] */ VARIANT_BOOL __RPC_FAR *success);
void __RPC_STUB IPageDesignerApp_OpenDocument_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IPageDesignerApp_get_swatches_Proxy(
IPageDesignerApp __RPC_FAR * This,
/* [retval][out] */ IPDSwatches __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPageDesignerApp_get_swatches_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IPageDesignerApp_get_newArtHasBasicAppearance_Proxy(
IPageDesignerApp __RPC_FAR * This,
/* [retval][out] */ VARIANT_BOOL __RPC_FAR *pVal);
void __RPC_STUB IPageDesignerApp_get_newArtHasBasicAppearance_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE IPageDesignerApp_put_newArtHasBasicAppearance_Proxy(
IPageDesignerApp __RPC_FAR * This,
/* [in] */ VARIANT_BOOL newVal);
void __RPC_STUB IPageDesignerApp_put_newArtHasBasicAppearance_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IPageDesignerApp_get_strokeOrFill_Proxy(
IPageDesignerApp __RPC_FAR * This,
/* [retval][out] */ long __RPC_FAR *pVal);
void __RPC_STUB IPageDesignerApp_get_strokeOrFill_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE IPageDesignerApp_put_strokeOrFill_Proxy(
IPageDesignerApp __RPC_FAR * This,
/* [in] */ long newVal);
void __RPC_STUB IPageDesignerApp_put_strokeOrFill_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
#endif /* __IPageDesignerApp_INTERFACE_DEFINED__ */
#ifndef __DispIPageDesignerFrame_INTERFACE_DEFINED__
#define __DispIPageDesignerFrame_INTERFACE_DEFINED__
/* interface DispIPageDesignerFrame */
/* [unique][helpstring][dual][uuid][object] */
EXTERN_C const IID IID_DispIPageDesignerFrame;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("5D42AF42-8C5E-4a26-A6D0-9079E60171DD")
DispIPageDesignerFrame : public IDispatch
{
public:
};
#else /* C style interface */
typedef struct DispIPageDesignerFrameVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
DispIPageDesignerFrame __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
DispIPageDesignerFrame __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
DispIPageDesignerFrame __RPC_FAR * This);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
DispIPageDesignerFrame __RPC_FAR * This,
/* [out] */ UINT __RPC_FAR *pctinfo);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
DispIPageDesignerFrame __RPC_FAR * This,
/* [in] */ UINT iTInfo,
/* [in] */ LCID lcid,
/* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
DispIPageDesignerFrame __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
/* [in] */ UINT cNames,
/* [in] */ LCID lcid,
/* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
/* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
DispIPageDesignerFrame __RPC_FAR * This,
/* [in] */ DISPID dispIdMember,
/* [in] */ REFIID riid,
/* [in] */ LCID lcid,
/* [in] */ WORD wFlags,
/* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
/* [out] */ VARIANT __RPC_FAR *pVarResult,
/* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
/* [out] */ UINT __RPC_FAR *puArgErr);
END_INTERFACE
} DispIPageDesignerFrameVtbl;
interface DispIPageDesignerFrame
{
CONST_VTBL struct DispIPageDesignerFrameVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define DispIPageDesignerFrame_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define DispIPageDesignerFrame_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define DispIPageDesignerFrame_Release(This) \
(This)->lpVtbl -> Release(This)
#define DispIPageDesignerFrame_GetTypeInfoCount(This,pctinfo) \
(This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
#define DispIPageDesignerFrame_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
(This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
#define DispIPageDesignerFrame_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
(This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
#define DispIPageDesignerFrame_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
(This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* __DispIPageDesignerFrame_INTERFACE_DEFINED__ */
#ifndef __IObjectMap_INTERFACE_DEFINED__
#define __IObjectMap_INTERFACE_DEFINED__
/* interface IObjectMap */
/* [unique][helpstring][uuid][object] */
EXTERN_C const IID IID_IObjectMap;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("B12CC07A-9D5C-4bf4-8444-66F52AE5F930")
IObjectMap : public IUnknown
{
public:
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_length(
/* [retval][out] */ long __RPC_FAR *pVal) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE item(
/* [in] */ long index,
/* [retval][out] */ IUnknown __RPC_FAR *__RPC_FAR *pVal) = 0;
};
#else /* C style interface */
typedef struct IObjectMapVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
IObjectMap __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
IObjectMap __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
IObjectMap __RPC_FAR * This);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_length )(
IObjectMap __RPC_FAR * This,
/* [retval][out] */ long __RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *item )(
IObjectMap __RPC_FAR * This,
/* [in] */ long index,
/* [retval][out] */ IUnknown __RPC_FAR *__RPC_FAR *pVal);
END_INTERFACE
} IObjectMapVtbl;
interface IObjectMap
{
CONST_VTBL struct IObjectMapVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define IObjectMap_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define IObjectMap_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define IObjectMap_Release(This) \
(This)->lpVtbl -> Release(This)
#define IObjectMap_get_length(This,pVal) \
(This)->lpVtbl -> get_length(This,pVal)
#define IObjectMap_item(This,index,pVal) \
(This)->lpVtbl -> item(This,index,pVal)
#endif /* COBJMACROS */
#endif /* C style interface */
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IObjectMap_get_length_Proxy(
IObjectMap __RPC_FAR * This,
/* [retval][out] */ long __RPC_FAR *pVal);
void __RPC_STUB IObjectMap_get_length_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IObjectMap_item_Proxy(
IObjectMap __RPC_FAR * This,
/* [in] */ long index,
/* [retval][out] */ IUnknown __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IObjectMap_item_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
#endif /* __IObjectMap_INTERFACE_DEFINED__ */
#ifndef __IPDColor_INTERFACE_DEFINED__
#define __IPDColor_INTERFACE_DEFINED__
/* interface IPDColor */
/* [unique][helpstring][uuid][object] */
EXTERN_C const IID IID_IPDColor;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("B4EC94DD-0D2F-4c7d-A15E-F312A38DA906")
IPDColor : public IPDUnknown
{
public:
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_colorMode(
/* [retval][out] */ PDColorMode __RPC_FAR *pVal) = 0;
virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_colorMode(
/* [in] */ PDColorMode newVal) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE putChannel(
/* [in] */ long n,
/* [in] */ double value) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE getChannel(
/* [in] */ long n,
/* [retval][out] */ double __RPC_FAR *pVal) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE setRGB(
/* [in] */ long red,
/* [in] */ long green,
/* [in] */ long blue) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE clone(
/* [retval][out] */ IPDColor __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE copy(
/* [in] */ IPDColor __RPC_FAR *color) = 0;
};
#else /* C style interface */
typedef struct IPDColorVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
IPDColor __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
IPDColor __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
IPDColor __RPC_FAR * This);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_colorMode )(
IPDColor __RPC_FAR * This,
/* [retval][out] */ PDColorMode __RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_colorMode )(
IPDColor __RPC_FAR * This,
/* [in] */ PDColorMode newVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *putChannel )(
IPDColor __RPC_FAR * This,
/* [in] */ long n,
/* [in] */ double value);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *getChannel )(
IPDColor __RPC_FAR * This,
/* [in] */ long n,
/* [retval][out] */ double __RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *setRGB )(
IPDColor __RPC_FAR * This,
/* [in] */ long red,
/* [in] */ long green,
/* [in] */ long blue);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *clone )(
IPDColor __RPC_FAR * This,
/* [retval][out] */ IPDColor __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *copy )(
IPDColor __RPC_FAR * This,
/* [in] */ IPDColor __RPC_FAR *color);
END_INTERFACE
} IPDColorVtbl;
interface IPDColor
{
CONST_VTBL struct IPDColorVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define IPDColor_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define IPDColor_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define IPDColor_Release(This) \
(This)->lpVtbl -> Release(This)
#define IPDColor_get_colorMode(This,pVal) \
(This)->lpVtbl -> get_colorMode(This,pVal)
#define IPDColor_put_colorMode(This,newVal) \
(This)->lpVtbl -> put_colorMode(This,newVal)
#define IPDColor_putChannel(This,n,value) \
(This)->lpVtbl -> putChannel(This,n,value)
#define IPDColor_getChannel(This,n,pVal) \
(This)->lpVtbl -> getChannel(This,n,pVal)
#define IPDColor_setRGB(This,red,green,blue) \
(This)->lpVtbl -> setRGB(This,red,green,blue)
#define IPDColor_clone(This,pVal) \
(This)->lpVtbl -> clone(This,pVal)
#define IPDColor_copy(This,color) \
(This)->lpVtbl -> copy(This,color)
#endif /* COBJMACROS */
#endif /* C style interface */
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDColor_get_colorMode_Proxy(
IPDColor __RPC_FAR * This,
/* [retval][out] */ PDColorMode __RPC_FAR *pVal);
void __RPC_STUB IPDColor_get_colorMode_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IPDColor_put_colorMode_Proxy(
IPDColor __RPC_FAR * This,
/* [in] */ PDColorMode newVal);
void __RPC_STUB IPDColor_put_colorMode_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDColor_putChannel_Proxy(
IPDColor __RPC_FAR * This,
/* [in] */ long n,
/* [in] */ double value);
void __RPC_STUB IPDColor_putChannel_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDColor_getChannel_Proxy(
IPDColor __RPC_FAR * This,
/* [in] */ long n,
/* [retval][out] */ double __RPC_FAR *pVal);
void __RPC_STUB IPDColor_getChannel_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDColor_setRGB_Proxy(
IPDColor __RPC_FAR * This,
/* [in] */ long red,
/* [in] */ long green,
/* [in] */ long blue);
void __RPC_STUB IPDColor_setRGB_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDColor_clone_Proxy(
IPDColor __RPC_FAR * This,
/* [retval][out] */ IPDColor __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDColor_clone_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDColor_copy_Proxy(
IPDColor __RPC_FAR * This,
/* [in] */ IPDColor __RPC_FAR *color);
void __RPC_STUB IPDColor_copy_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
#endif /* __IPDColor_INTERFACE_DEFINED__ */
#ifndef __IPluginFilterClass_INTERFACE_DEFINED__
#define __IPluginFilterClass_INTERFACE_DEFINED__
/* interface IPluginFilterClass */
/* [unique][helpstring][uuid][object] */
EXTERN_C const IID IID_IPluginFilterClass;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("C5AF8445-22BB-4298-8AC3-53114CA231DC")
IPluginFilterClass : public IUnknown
{
public:
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetName(
/* [retval][out] */ BSTR __RPC_FAR *pVal) = 0;
};
#else /* C style interface */
typedef struct IPluginFilterClassVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
IPluginFilterClass __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
IPluginFilterClass __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
IPluginFilterClass __RPC_FAR * This);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetName )(
IPluginFilterClass __RPC_FAR * This,
/* [retval][out] */ BSTR __RPC_FAR *pVal);
END_INTERFACE
} IPluginFilterClassVtbl;
interface IPluginFilterClass
{
CONST_VTBL struct IPluginFilterClassVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define IPluginFilterClass_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define IPluginFilterClass_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define IPluginFilterClass_Release(This) \
(This)->lpVtbl -> Release(This)
#define IPluginFilterClass_GetName(This,pVal) \
(This)->lpVtbl -> GetName(This,pVal)
#endif /* COBJMACROS */
#endif /* C style interface */
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPluginFilterClass_GetName_Proxy(
IPluginFilterClass __RPC_FAR * This,
/* [retval][out] */ BSTR __RPC_FAR *pVal);
void __RPC_STUB IPluginFilterClass_GetName_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
#endif /* __IPluginFilterClass_INTERFACE_DEFINED__ */
#ifndef __IPluginFilter_INTERFACE_DEFINED__
#define __IPluginFilter_INTERFACE_DEFINED__
/* interface IPluginFilter */
/* [unique][helpstring][uuid][object] */
EXTERN_C const IID IID_IPluginFilter;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("24F1463B-F0D6-49a7-BBEA-1394795F2DFC")
IPluginFilter : public IUnknown
{
public:
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetInPinCount(
/* [retval][out] */ long __RPC_FAR *pVal) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetInPinType(
/* [in] */ long n,
/* [retval][out] */ long __RPC_FAR *pVal) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetResultType(
/* [retval][out] */ long __RPC_FAR *pVal) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetName(
/* [retval][out] */ BSTR __RPC_FAR *pVal) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE FrameSetup(
/* [in] */ DWORD filterRecord) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE FrameSetdown(
/* [in] */ DWORD filterRecord) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE Filter(
/* [in] */ DWORD filterRecord) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE ShowOptions(
/* [in] */ HWND hParent) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetPluginFilterClass(
/* [in] */ IPluginFilterClass __RPC_FAR *newVal) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetPluginFilterClass(
/* [retval][out] */ IPluginFilterClass __RPC_FAR *__RPC_FAR *pVal) = 0;
};
#else /* C style interface */
typedef struct IPluginFilterVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
IPluginFilter __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
IPluginFilter __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
IPluginFilter __RPC_FAR * This);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetInPinCount )(
IPluginFilter __RPC_FAR * This,
/* [retval][out] */ long __RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetInPinType )(
IPluginFilter __RPC_FAR * This,
/* [in] */ long n,
/* [retval][out] */ long __RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetResultType )(
IPluginFilter __RPC_FAR * This,
/* [retval][out] */ long __RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetName )(
IPluginFilter __RPC_FAR * This,
/* [retval][out] */ BSTR __RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *FrameSetup )(
IPluginFilter __RPC_FAR * This,
/* [in] */ DWORD filterRecord);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *FrameSetdown )(
IPluginFilter __RPC_FAR * This,
/* [in] */ DWORD filterRecord);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Filter )(
IPluginFilter __RPC_FAR * This,
/* [in] */ DWORD filterRecord);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ShowOptions )(
IPluginFilter __RPC_FAR * This,
/* [in] */ HWND hParent);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetPluginFilterClass )(
IPluginFilter __RPC_FAR * This,
/* [in] */ IPluginFilterClass __RPC_FAR *newVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetPluginFilterClass )(
IPluginFilter __RPC_FAR * This,
/* [retval][out] */ IPluginFilterClass __RPC_FAR *__RPC_FAR *pVal);
END_INTERFACE
} IPluginFilterVtbl;
interface IPluginFilter
{
CONST_VTBL struct IPluginFilterVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define IPluginFilter_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define IPluginFilter_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define IPluginFilter_Release(This) \
(This)->lpVtbl -> Release(This)
#define IPluginFilter_GetInPinCount(This,pVal) \
(This)->lpVtbl -> GetInPinCount(This,pVal)
#define IPluginFilter_GetInPinType(This,n,pVal) \
(This)->lpVtbl -> GetInPinType(This,n,pVal)
#define IPluginFilter_GetResultType(This,pVal) \
(This)->lpVtbl -> GetResultType(This,pVal)
#define IPluginFilter_GetName(This,pVal) \
(This)->lpVtbl -> GetName(This,pVal)
#define IPluginFilter_FrameSetup(This,filterRecord) \
(This)->lpVtbl -> FrameSetup(This,filterRecord)
#define IPluginFilter_FrameSetdown(This,filterRecord) \
(This)->lpVtbl -> FrameSetdown(This,filterRecord)
#define IPluginFilter_Filter(This,filterRecord) \
(This)->lpVtbl -> Filter(This,filterRecord)
#define IPluginFilter_ShowOptions(This,hParent) \
(This)->lpVtbl -> ShowOptions(This,hParent)
#define IPluginFilter_SetPluginFilterClass(This,newVal) \
(This)->lpVtbl -> SetPluginFilterClass(This,newVal)
#define IPluginFilter_GetPluginFilterClass(This,pVal) \
(This)->lpVtbl -> GetPluginFilterClass(This,pVal)
#endif /* COBJMACROS */
#endif /* C style interface */
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPluginFilter_GetInPinCount_Proxy(
IPluginFilter __RPC_FAR * This,
/* [retval][out] */ long __RPC_FAR *pVal);
void __RPC_STUB IPluginFilter_GetInPinCount_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPluginFilter_GetInPinType_Proxy(
IPluginFilter __RPC_FAR * This,
/* [in] */ long n,
/* [retval][out] */ long __RPC_FAR *pVal);
void __RPC_STUB IPluginFilter_GetInPinType_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPluginFilter_GetResultType_Proxy(
IPluginFilter __RPC_FAR * This,
/* [retval][out] */ long __RPC_FAR *pVal);
void __RPC_STUB IPluginFilter_GetResultType_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPluginFilter_GetName_Proxy(
IPluginFilter __RPC_FAR * This,
/* [retval][out] */ BSTR __RPC_FAR *pVal);
void __RPC_STUB IPluginFilter_GetName_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPluginFilter_FrameSetup_Proxy(
IPluginFilter __RPC_FAR * This,
/* [in] */ DWORD filterRecord);
void __RPC_STUB IPluginFilter_FrameSetup_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPluginFilter_FrameSetdown_Proxy(
IPluginFilter __RPC_FAR * This,
/* [in] */ DWORD filterRecord);
void __RPC_STUB IPluginFilter_FrameSetdown_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPluginFilter_Filter_Proxy(
IPluginFilter __RPC_FAR * This,
/* [in] */ DWORD filterRecord);
void __RPC_STUB IPluginFilter_Filter_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPluginFilter_ShowOptions_Proxy(
IPluginFilter __RPC_FAR * This,
/* [in] */ HWND hParent);
void __RPC_STUB IPluginFilter_ShowOptions_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPluginFilter_SetPluginFilterClass_Proxy(
IPluginFilter __RPC_FAR * This,
/* [in] */ IPluginFilterClass __RPC_FAR *newVal);
void __RPC_STUB IPluginFilter_SetPluginFilterClass_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPluginFilter_GetPluginFilterClass_Proxy(
IPluginFilter __RPC_FAR * This,
/* [retval][out] */ IPluginFilterClass __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPluginFilter_GetPluginFilterClass_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
#endif /* __IPluginFilter_INTERFACE_DEFINED__ */
#ifndef __IPDSection_INTERFACE_DEFINED__
#define __IPDSection_INTERFACE_DEFINED__
/* interface IPDSection */
/* [unique][helpstring][uuid][object] */
EXTERN_C const IID IID_IPDSection;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("9CA96A21-0A9D-11d6-95F0-0002E3045703")
IPDSection : public IPDUnknown
{
public:
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_pageNumbering(
/* [retval][out] */ long __RPC_FAR *pVal) = 0;
virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_pageNumbering(
/* [in] */ long newVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_pageNumberingStartAt(
/* [retval][out] */ long __RPC_FAR *pVal) = 0;
virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_pageNumberingStartAt(
/* [in] */ long newVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_style(
/* [retval][out] */ long __RPC_FAR *pVal) = 0;
virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_style(
/* [in] */ long newVal) = 0;
};
#else /* C style interface */
typedef struct IPDSectionVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
IPDSection __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
IPDSection __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
IPDSection __RPC_FAR * This);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_pageNumbering )(
IPDSection __RPC_FAR * This,
/* [retval][out] */ long __RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_pageNumbering )(
IPDSection __RPC_FAR * This,
/* [in] */ long newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_pageNumberingStartAt )(
IPDSection __RPC_FAR * This,
/* [retval][out] */ long __RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_pageNumberingStartAt )(
IPDSection __RPC_FAR * This,
/* [in] */ long newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_style )(
IPDSection __RPC_FAR * This,
/* [retval][out] */ long __RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_style )(
IPDSection __RPC_FAR * This,
/* [in] */ long newVal);
END_INTERFACE
} IPDSectionVtbl;
interface IPDSection
{
CONST_VTBL struct IPDSectionVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define IPDSection_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define IPDSection_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define IPDSection_Release(This) \
(This)->lpVtbl -> Release(This)
#define IPDSection_get_pageNumbering(This,pVal) \
(This)->lpVtbl -> get_pageNumbering(This,pVal)
#define IPDSection_put_pageNumbering(This,newVal) \
(This)->lpVtbl -> put_pageNumbering(This,newVal)
#define IPDSection_get_pageNumberingStartAt(This,pVal) \
(This)->lpVtbl -> get_pageNumberingStartAt(This,pVal)
#define IPDSection_put_pageNumberingStartAt(This,newVal) \
(This)->lpVtbl -> put_pageNumberingStartAt(This,newVal)
#define IPDSection_get_style(This,pVal) \
(This)->lpVtbl -> get_style(This,pVal)
#define IPDSection_put_style(This,newVal) \
(This)->lpVtbl -> put_style(This,newVal)
#endif /* COBJMACROS */
#endif /* C style interface */
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDSection_get_pageNumbering_Proxy(
IPDSection __RPC_FAR * This,
/* [retval][out] */ long __RPC_FAR *pVal);
void __RPC_STUB IPDSection_get_pageNumbering_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IPDSection_put_pageNumbering_Proxy(
IPDSection __RPC_FAR * This,
/* [in] */ long newVal);
void __RPC_STUB IPDSection_put_pageNumbering_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDSection_get_pageNumberingStartAt_Proxy(
IPDSection __RPC_FAR * This,
/* [retval][out] */ long __RPC_FAR *pVal);
void __RPC_STUB IPDSection_get_pageNumberingStartAt_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IPDSection_put_pageNumberingStartAt_Proxy(
IPDSection __RPC_FAR * This,
/* [in] */ long newVal);
void __RPC_STUB IPDSection_put_pageNumberingStartAt_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDSection_get_style_Proxy(
IPDSection __RPC_FAR * This,
/* [retval][out] */ long __RPC_FAR *pVal);
void __RPC_STUB IPDSection_get_style_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IPDSection_put_style_Proxy(
IPDSection __RPC_FAR * This,
/* [in] */ long newVal);
void __RPC_STUB IPDSection_put_style_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
#endif /* __IPDSection_INTERFACE_DEFINED__ */
#ifndef __IPDDocumentSettings_INTERFACE_DEFINED__
#define __IPDDocumentSettings_INTERFACE_DEFINED__
/* interface IPDDocumentSettings */
/* [unique][helpstring][uuid][object] */
EXTERN_C const IID IID_IPDDocumentSettings;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("86D802E1-13FF-11d6-95F0-0002E3045703")
IPDDocumentSettings : public IUnknown
{
public:
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_horizontalGridlineEvery(
/* [retval][out] */ double __RPC_FAR *pVal) = 0;
virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_horizontalGridlineEvery(
/* [in] */ double newVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_verticalGridlineEvery(
/* [retval][out] */ double __RPC_FAR *pVal) = 0;
virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_verticalGridlineEvery(
/* [in] */ double newVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_horizontalGridSubdivisions(
/* [retval][out] */ long __RPC_FAR *pVal) = 0;
virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_horizontalGridSubdivisions(
/* [in] */ long newVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_verticalGridSubdivisions(
/* [retval][out] */ long __RPC_FAR *pVal) = 0;
virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_verticalGridSubdivisions(
/* [in] */ long newVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_horizontalRulerUnits(
/* [retval][out] */ PDUnit __RPC_FAR *pVal) = 0;
virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_horizontalRulerUnits(
/* [in] */ PDUnit newVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_verticalRulerUnits(
/* [retval][out] */ PDUnit __RPC_FAR *pVal) = 0;
virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_verticalRulerUnits(
/* [in] */ PDUnit newVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_transpGridColor0(
/* [retval][out] */ OLE_COLOR __RPC_FAR *pVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_transpGridColor1(
/* [retval][out] */ OLE_COLOR __RPC_FAR *pVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_transpGridSizeX(
/* [retval][out] */ long __RPC_FAR *pVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_transpGridSizeY(
/* [retval][out] */ long __RPC_FAR *pVal) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE setTranspGrid(
/* [in] */ long transpGridSizeX,
/* [in] */ long transpGridSizeY,
/* [in] */ OLE_COLOR transpGridColor0,
/* [in] */ OLE_COLOR transpGridColor1) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE copyDocumentSettingsFrom(
/* [in] */ IPDDocumentSettings __RPC_FAR *other) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_rasterResolution(
/* [retval][out] */ long __RPC_FAR *pVal) = 0;
virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_rasterResolution(
/* [in] */ long newVal) = 0;
};
#else /* C style interface */
typedef struct IPDDocumentSettingsVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
IPDDocumentSettings __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
IPDDocumentSettings __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
IPDDocumentSettings __RPC_FAR * This);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_horizontalGridlineEvery )(
IPDDocumentSettings __RPC_FAR * This,
/* [retval][out] */ double __RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_horizontalGridlineEvery )(
IPDDocumentSettings __RPC_FAR * This,
/* [in] */ double newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_verticalGridlineEvery )(
IPDDocumentSettings __RPC_FAR * This,
/* [retval][out] */ double __RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_verticalGridlineEvery )(
IPDDocumentSettings __RPC_FAR * This,
/* [in] */ double newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_horizontalGridSubdivisions )(
IPDDocumentSettings __RPC_FAR * This,
/* [retval][out] */ long __RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_horizontalGridSubdivisions )(
IPDDocumentSettings __RPC_FAR * This,
/* [in] */ long newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_verticalGridSubdivisions )(
IPDDocumentSettings __RPC_FAR * This,
/* [retval][out] */ long __RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_verticalGridSubdivisions )(
IPDDocumentSettings __RPC_FAR * This,
/* [in] */ long newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_horizontalRulerUnits )(
IPDDocumentSettings __RPC_FAR * This,
/* [retval][out] */ PDUnit __RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_horizontalRulerUnits )(
IPDDocumentSettings __RPC_FAR * This,
/* [in] */ PDUnit newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_verticalRulerUnits )(
IPDDocumentSettings __RPC_FAR * This,
/* [retval][out] */ PDUnit __RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_verticalRulerUnits )(
IPDDocumentSettings __RPC_FAR * This,
/* [in] */ PDUnit newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_transpGridColor0 )(
IPDDocumentSettings __RPC_FAR * This,
/* [retval][out] */ OLE_COLOR __RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_transpGridColor1 )(
IPDDocumentSettings __RPC_FAR * This,
/* [retval][out] */ OLE_COLOR __RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_transpGridSizeX )(
IPDDocumentSettings __RPC_FAR * This,
/* [retval][out] */ long __RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_transpGridSizeY )(
IPDDocumentSettings __RPC_FAR * This,
/* [retval][out] */ long __RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *setTranspGrid )(
IPDDocumentSettings __RPC_FAR * This,
/* [in] */ long transpGridSizeX,
/* [in] */ long transpGridSizeY,
/* [in] */ OLE_COLOR transpGridColor0,
/* [in] */ OLE_COLOR transpGridColor1);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *copyDocumentSettingsFrom )(
IPDDocumentSettings __RPC_FAR * This,
/* [in] */ IPDDocumentSettings __RPC_FAR *other);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_rasterResolution )(
IPDDocumentSettings __RPC_FAR * This,
/* [retval][out] */ long __RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_rasterResolution )(
IPDDocumentSettings __RPC_FAR * This,
/* [in] */ long newVal);
END_INTERFACE
} IPDDocumentSettingsVtbl;
interface IPDDocumentSettings
{
CONST_VTBL struct IPDDocumentSettingsVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define IPDDocumentSettings_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define IPDDocumentSettings_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define IPDDocumentSettings_Release(This) \
(This)->lpVtbl -> Release(This)
#define IPDDocumentSettings_get_horizontalGridlineEvery(This,pVal) \
(This)->lpVtbl -> get_horizontalGridlineEvery(This,pVal)
#define IPDDocumentSettings_put_horizontalGridlineEvery(This,newVal) \
(This)->lpVtbl -> put_horizontalGridlineEvery(This,newVal)
#define IPDDocumentSettings_get_verticalGridlineEvery(This,pVal) \
(This)->lpVtbl -> get_verticalGridlineEvery(This,pVal)
#define IPDDocumentSettings_put_verticalGridlineEvery(This,newVal) \
(This)->lpVtbl -> put_verticalGridlineEvery(This,newVal)
#define IPDDocumentSettings_get_horizontalGridSubdivisions(This,pVal) \
(This)->lpVtbl -> get_horizontalGridSubdivisions(This,pVal)
#define IPDDocumentSettings_put_horizontalGridSubdivisions(This,newVal) \
(This)->lpVtbl -> put_horizontalGridSubdivisions(This,newVal)
#define IPDDocumentSettings_get_verticalGridSubdivisions(This,pVal) \
(This)->lpVtbl -> get_verticalGridSubdivisions(This,pVal)
#define IPDDocumentSettings_put_verticalGridSubdivisions(This,newVal) \
(This)->lpVtbl -> put_verticalGridSubdivisions(This,newVal)
#define IPDDocumentSettings_get_horizontalRulerUnits(This,pVal) \
(This)->lpVtbl -> get_horizontalRulerUnits(This,pVal)
#define IPDDocumentSettings_put_horizontalRulerUnits(This,newVal) \
(This)->lpVtbl -> put_horizontalRulerUnits(This,newVal)
#define IPDDocumentSettings_get_verticalRulerUnits(This,pVal) \
(This)->lpVtbl -> get_verticalRulerUnits(This,pVal)
#define IPDDocumentSettings_put_verticalRulerUnits(This,newVal) \
(This)->lpVtbl -> put_verticalRulerUnits(This,newVal)
#define IPDDocumentSettings_get_transpGridColor0(This,pVal) \
(This)->lpVtbl -> get_transpGridColor0(This,pVal)
#define IPDDocumentSettings_get_transpGridColor1(This,pVal) \
(This)->lpVtbl -> get_transpGridColor1(This,pVal)
#define IPDDocumentSettings_get_transpGridSizeX(This,pVal) \
(This)->lpVtbl -> get_transpGridSizeX(This,pVal)
#define IPDDocumentSettings_get_transpGridSizeY(This,pVal) \
(This)->lpVtbl -> get_transpGridSizeY(This,pVal)
#define IPDDocumentSettings_setTranspGrid(This,transpGridSizeX,transpGridSizeY,transpGridColor0,transpGridColor1) \
(This)->lpVtbl -> setTranspGrid(This,transpGridSizeX,transpGridSizeY,transpGridColor0,transpGridColor1)
#define IPDDocumentSettings_copyDocumentSettingsFrom(This,other) \
(This)->lpVtbl -> copyDocumentSettingsFrom(This,other)
#define IPDDocumentSettings_get_rasterResolution(This,pVal) \
(This)->lpVtbl -> get_rasterResolution(This,pVal)
#define IPDDocumentSettings_put_rasterResolution(This,newVal) \
(This)->lpVtbl -> put_rasterResolution(This,newVal)
#endif /* COBJMACROS */
#endif /* C style interface */
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDDocumentSettings_get_horizontalGridlineEvery_Proxy(
IPDDocumentSettings __RPC_FAR * This,
/* [retval][out] */ double __RPC_FAR *pVal);
void __RPC_STUB IPDDocumentSettings_get_horizontalGridlineEvery_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IPDDocumentSettings_put_horizontalGridlineEvery_Proxy(
IPDDocumentSettings __RPC_FAR * This,
/* [in] */ double newVal);
void __RPC_STUB IPDDocumentSettings_put_horizontalGridlineEvery_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDDocumentSettings_get_verticalGridlineEvery_Proxy(
IPDDocumentSettings __RPC_FAR * This,
/* [retval][out] */ double __RPC_FAR *pVal);
void __RPC_STUB IPDDocumentSettings_get_verticalGridlineEvery_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IPDDocumentSettings_put_verticalGridlineEvery_Proxy(
IPDDocumentSettings __RPC_FAR * This,
/* [in] */ double newVal);
void __RPC_STUB IPDDocumentSettings_put_verticalGridlineEvery_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDDocumentSettings_get_horizontalGridSubdivisions_Proxy(
IPDDocumentSettings __RPC_FAR * This,
/* [retval][out] */ long __RPC_FAR *pVal);
void __RPC_STUB IPDDocumentSettings_get_horizontalGridSubdivisions_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IPDDocumentSettings_put_horizontalGridSubdivisions_Proxy(
IPDDocumentSettings __RPC_FAR * This,
/* [in] */ long newVal);
void __RPC_STUB IPDDocumentSettings_put_horizontalGridSubdivisions_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDDocumentSettings_get_verticalGridSubdivisions_Proxy(
IPDDocumentSettings __RPC_FAR * This,
/* [retval][out] */ long __RPC_FAR *pVal);
void __RPC_STUB IPDDocumentSettings_get_verticalGridSubdivisions_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IPDDocumentSettings_put_verticalGridSubdivisions_Proxy(
IPDDocumentSettings __RPC_FAR * This,
/* [in] */ long newVal);
void __RPC_STUB IPDDocumentSettings_put_verticalGridSubdivisions_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDDocumentSettings_get_horizontalRulerUnits_Proxy(
IPDDocumentSettings __RPC_FAR * This,
/* [retval][out] */ PDUnit __RPC_FAR *pVal);
void __RPC_STUB IPDDocumentSettings_get_horizontalRulerUnits_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IPDDocumentSettings_put_horizontalRulerUnits_Proxy(
IPDDocumentSettings __RPC_FAR * This,
/* [in] */ PDUnit newVal);
void __RPC_STUB IPDDocumentSettings_put_horizontalRulerUnits_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDDocumentSettings_get_verticalRulerUnits_Proxy(
IPDDocumentSettings __RPC_FAR * This,
/* [retval][out] */ PDUnit __RPC_FAR *pVal);
void __RPC_STUB IPDDocumentSettings_get_verticalRulerUnits_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IPDDocumentSettings_put_verticalRulerUnits_Proxy(
IPDDocumentSettings __RPC_FAR * This,
/* [in] */ PDUnit newVal);
void __RPC_STUB IPDDocumentSettings_put_verticalRulerUnits_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDDocumentSettings_get_transpGridColor0_Proxy(
IPDDocumentSettings __RPC_FAR * This,
/* [retval][out] */ OLE_COLOR __RPC_FAR *pVal);
void __RPC_STUB IPDDocumentSettings_get_transpGridColor0_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDDocumentSettings_get_transpGridColor1_Proxy(
IPDDocumentSettings __RPC_FAR * This,
/* [retval][out] */ OLE_COLOR __RPC_FAR *pVal);
void __RPC_STUB IPDDocumentSettings_get_transpGridColor1_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDDocumentSettings_get_transpGridSizeX_Proxy(
IPDDocumentSettings __RPC_FAR * This,
/* [retval][out] */ long __RPC_FAR *pVal);
void __RPC_STUB IPDDocumentSettings_get_transpGridSizeX_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDDocumentSettings_get_transpGridSizeY_Proxy(
IPDDocumentSettings __RPC_FAR * This,
/* [retval][out] */ long __RPC_FAR *pVal);
void __RPC_STUB IPDDocumentSettings_get_transpGridSizeY_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDDocumentSettings_setTranspGrid_Proxy(
IPDDocumentSettings __RPC_FAR * This,
/* [in] */ long transpGridSizeX,
/* [in] */ long transpGridSizeY,
/* [in] */ OLE_COLOR transpGridColor0,
/* [in] */ OLE_COLOR transpGridColor1);
void __RPC_STUB IPDDocumentSettings_setTranspGrid_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDDocumentSettings_copyDocumentSettingsFrom_Proxy(
IPDDocumentSettings __RPC_FAR * This,
/* [in] */ IPDDocumentSettings __RPC_FAR *other);
void __RPC_STUB IPDDocumentSettings_copyDocumentSettingsFrom_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDDocumentSettings_get_rasterResolution_Proxy(
IPDDocumentSettings __RPC_FAR * This,
/* [retval][out] */ long __RPC_FAR *pVal);
void __RPC_STUB IPDDocumentSettings_get_rasterResolution_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IPDDocumentSettings_put_rasterResolution_Proxy(
IPDDocumentSettings __RPC_FAR * This,
/* [in] */ long newVal);
void __RPC_STUB IPDDocumentSettings_put_rasterResolution_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
#endif /* __IPDDocumentSettings_INTERFACE_DEFINED__ */
#ifndef __IPDApplicationSettings_INTERFACE_DEFINED__
#define __IPDApplicationSettings_INTERFACE_DEFINED__
/* interface IPDApplicationSettings */
/* [unique][helpstring][uuid][object] */
EXTERN_C const IID IID_IPDApplicationSettings;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("3776D1EB-24CD-4ce6-967C-F1615B7EED2C")
IPDApplicationSettings : public IUnknown
{
public:
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_clipboardSavePNG(
/* [retval][out] */ VARIANT_BOOL __RPC_FAR *pVal) = 0;
virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_clipboardSavePNG(
/* [in] */ VARIANT_BOOL newVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_clipboardSaveJPEG(
/* [retval][out] */ VARIANT_BOOL __RPC_FAR *pVal) = 0;
virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_clipboardSaveJPEG(
/* [in] */ VARIANT_BOOL newVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_clipboardSaveGIF(
/* [retval][out] */ VARIANT_BOOL __RPC_FAR *pVal) = 0;
virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_clipboardSaveGIF(
/* [in] */ VARIANT_BOOL newVal) = 0;
};
#else /* C style interface */
typedef struct IPDApplicationSettingsVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
IPDApplicationSettings __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
IPDApplicationSettings __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
IPDApplicationSettings __RPC_FAR * This);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_clipboardSavePNG )(
IPDApplicationSettings __RPC_FAR * This,
/* [retval][out] */ VARIANT_BOOL __RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_clipboardSavePNG )(
IPDApplicationSettings __RPC_FAR * This,
/* [in] */ VARIANT_BOOL newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_clipboardSaveJPEG )(
IPDApplicationSettings __RPC_FAR * This,
/* [retval][out] */ VARIANT_BOOL __RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_clipboardSaveJPEG )(
IPDApplicationSettings __RPC_FAR * This,
/* [in] */ VARIANT_BOOL newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_clipboardSaveGIF )(
IPDApplicationSettings __RPC_FAR * This,
/* [retval][out] */ VARIANT_BOOL __RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_clipboardSaveGIF )(
IPDApplicationSettings __RPC_FAR * This,
/* [in] */ VARIANT_BOOL newVal);
END_INTERFACE
} IPDApplicationSettingsVtbl;
interface IPDApplicationSettings
{
CONST_VTBL struct IPDApplicationSettingsVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define IPDApplicationSettings_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define IPDApplicationSettings_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define IPDApplicationSettings_Release(This) \
(This)->lpVtbl -> Release(This)
#define IPDApplicationSettings_get_clipboardSavePNG(This,pVal) \
(This)->lpVtbl -> get_clipboardSavePNG(This,pVal)
#define IPDApplicationSettings_put_clipboardSavePNG(This,newVal) \
(This)->lpVtbl -> put_clipboardSavePNG(This,newVal)
#define IPDApplicationSettings_get_clipboardSaveJPEG(This,pVal) \
(This)->lpVtbl -> get_clipboardSaveJPEG(This,pVal)
#define IPDApplicationSettings_put_clipboardSaveJPEG(This,newVal) \
(This)->lpVtbl -> put_clipboardSaveJPEG(This,newVal)
#define IPDApplicationSettings_get_clipboardSaveGIF(This,pVal) \
(This)->lpVtbl -> get_clipboardSaveGIF(This,pVal)
#define IPDApplicationSettings_put_clipboardSaveGIF(This,newVal) \
(This)->lpVtbl -> put_clipboardSaveGIF(This,newVal)
#endif /* COBJMACROS */
#endif /* C style interface */
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDApplicationSettings_get_clipboardSavePNG_Proxy(
IPDApplicationSettings __RPC_FAR * This,
/* [retval][out] */ VARIANT_BOOL __RPC_FAR *pVal);
void __RPC_STUB IPDApplicationSettings_get_clipboardSavePNG_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IPDApplicationSettings_put_clipboardSavePNG_Proxy(
IPDApplicationSettings __RPC_FAR * This,
/* [in] */ VARIANT_BOOL newVal);
void __RPC_STUB IPDApplicationSettings_put_clipboardSavePNG_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDApplicationSettings_get_clipboardSaveJPEG_Proxy(
IPDApplicationSettings __RPC_FAR * This,
/* [retval][out] */ VARIANT_BOOL __RPC_FAR *pVal);
void __RPC_STUB IPDApplicationSettings_get_clipboardSaveJPEG_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IPDApplicationSettings_put_clipboardSaveJPEG_Proxy(
IPDApplicationSettings __RPC_FAR * This,
/* [in] */ VARIANT_BOOL newVal);
void __RPC_STUB IPDApplicationSettings_put_clipboardSaveJPEG_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDApplicationSettings_get_clipboardSaveGIF_Proxy(
IPDApplicationSettings __RPC_FAR * This,
/* [retval][out] */ VARIANT_BOOL __RPC_FAR *pVal);
void __RPC_STUB IPDApplicationSettings_get_clipboardSaveGIF_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IPDApplicationSettings_put_clipboardSaveGIF_Proxy(
IPDApplicationSettings __RPC_FAR * This,
/* [in] */ VARIANT_BOOL newVal);
void __RPC_STUB IPDApplicationSettings_put_clipboardSaveGIF_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
#endif /* __IPDApplicationSettings_INTERFACE_DEFINED__ */
#ifndef __IPDBrushSettings_INTERFACE_DEFINED__
#define __IPDBrushSettings_INTERFACE_DEFINED__
/* interface IPDBrushSettings */
/* [unique][helpstring][uuid][object] */
EXTERN_C const IID IID_IPDBrushSettings;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("BB749961-2623-11d6-95F0-0002E3045703")
IPDBrushSettings : public IUnknown
{
public:
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_brushWidth(
/* [retval][out] */ double __RPC_FAR *pVal) = 0;
virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_brushWidth(
/* [in] */ double newVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_brushHeight(
/* [retval][out] */ double __RPC_FAR *pVal) = 0;
virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_brushHeight(
/* [in] */ double newVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_brushAngle(
/* [retval][out] */ double __RPC_FAR *pVal) = 0;
virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_brushAngle(
/* [in] */ double newVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_showBrushSize(
/* [retval][out] */ VARIANT_BOOL __RPC_FAR *pVal) = 0;
virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_showBrushSize(
/* [in] */ VARIANT_BOOL newVal) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE getBrushMatrix(
/* [retval][out] */ IPDMatrix __RPC_FAR *__RPC_FAR *pVal) = 0;
};
#else /* C style interface */
typedef struct IPDBrushSettingsVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
IPDBrushSettings __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
IPDBrushSettings __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
IPDBrushSettings __RPC_FAR * This);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_brushWidth )(
IPDBrushSettings __RPC_FAR * This,
/* [retval][out] */ double __RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_brushWidth )(
IPDBrushSettings __RPC_FAR * This,
/* [in] */ double newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_brushHeight )(
IPDBrushSettings __RPC_FAR * This,
/* [retval][out] */ double __RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_brushHeight )(
IPDBrushSettings __RPC_FAR * This,
/* [in] */ double newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_brushAngle )(
IPDBrushSettings __RPC_FAR * This,
/* [retval][out] */ double __RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_brushAngle )(
IPDBrushSettings __RPC_FAR * This,
/* [in] */ double newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_showBrushSize )(
IPDBrushSettings __RPC_FAR * This,
/* [retval][out] */ VARIANT_BOOL __RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_showBrushSize )(
IPDBrushSettings __RPC_FAR * This,
/* [in] */ VARIANT_BOOL newVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *getBrushMatrix )(
IPDBrushSettings __RPC_FAR * This,
/* [retval][out] */ IPDMatrix __RPC_FAR *__RPC_FAR *pVal);
END_INTERFACE
} IPDBrushSettingsVtbl;
interface IPDBrushSettings
{
CONST_VTBL struct IPDBrushSettingsVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define IPDBrushSettings_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define IPDBrushSettings_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define IPDBrushSettings_Release(This) \
(This)->lpVtbl -> Release(This)
#define IPDBrushSettings_get_brushWidth(This,pVal) \
(This)->lpVtbl -> get_brushWidth(This,pVal)
#define IPDBrushSettings_put_brushWidth(This,newVal) \
(This)->lpVtbl -> put_brushWidth(This,newVal)
#define IPDBrushSettings_get_brushHeight(This,pVal) \
(This)->lpVtbl -> get_brushHeight(This,pVal)
#define IPDBrushSettings_put_brushHeight(This,newVal) \
(This)->lpVtbl -> put_brushHeight(This,newVal)
#define IPDBrushSettings_get_brushAngle(This,pVal) \
(This)->lpVtbl -> get_brushAngle(This,pVal)
#define IPDBrushSettings_put_brushAngle(This,newVal) \
(This)->lpVtbl -> put_brushAngle(This,newVal)
#define IPDBrushSettings_get_showBrushSize(This,pVal) \
(This)->lpVtbl -> get_showBrushSize(This,pVal)
#define IPDBrushSettings_put_showBrushSize(This,newVal) \
(This)->lpVtbl -> put_showBrushSize(This,newVal)
#define IPDBrushSettings_getBrushMatrix(This,pVal) \
(This)->lpVtbl -> getBrushMatrix(This,pVal)
#endif /* COBJMACROS */
#endif /* C style interface */
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDBrushSettings_get_brushWidth_Proxy(
IPDBrushSettings __RPC_FAR * This,
/* [retval][out] */ double __RPC_FAR *pVal);
void __RPC_STUB IPDBrushSettings_get_brushWidth_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IPDBrushSettings_put_brushWidth_Proxy(
IPDBrushSettings __RPC_FAR * This,
/* [in] */ double newVal);
void __RPC_STUB IPDBrushSettings_put_brushWidth_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDBrushSettings_get_brushHeight_Proxy(
IPDBrushSettings __RPC_FAR * This,
/* [retval][out] */ double __RPC_FAR *pVal);
void __RPC_STUB IPDBrushSettings_get_brushHeight_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IPDBrushSettings_put_brushHeight_Proxy(
IPDBrushSettings __RPC_FAR * This,
/* [in] */ double newVal);
void __RPC_STUB IPDBrushSettings_put_brushHeight_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDBrushSettings_get_brushAngle_Proxy(
IPDBrushSettings __RPC_FAR * This,
/* [retval][out] */ double __RPC_FAR *pVal);
void __RPC_STUB IPDBrushSettings_get_brushAngle_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IPDBrushSettings_put_brushAngle_Proxy(
IPDBrushSettings __RPC_FAR * This,
/* [in] */ double newVal);
void __RPC_STUB IPDBrushSettings_put_brushAngle_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDBrushSettings_get_showBrushSize_Proxy(
IPDBrushSettings __RPC_FAR * This,
/* [retval][out] */ VARIANT_BOOL __RPC_FAR *pVal);
void __RPC_STUB IPDBrushSettings_get_showBrushSize_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IPDBrushSettings_put_showBrushSize_Proxy(
IPDBrushSettings __RPC_FAR * This,
/* [in] */ VARIANT_BOOL newVal);
void __RPC_STUB IPDBrushSettings_put_showBrushSize_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDBrushSettings_getBrushMatrix_Proxy(
IPDBrushSettings __RPC_FAR * This,
/* [retval][out] */ IPDMatrix __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDBrushSettings_getBrushMatrix_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
#endif /* __IPDBrushSettings_INTERFACE_DEFINED__ */
#ifndef __IPDDocument_INTERFACE_DEFINED__
#define __IPDDocument_INTERFACE_DEFINED__
/* interface IPDDocument */
/* [unique][helpstring][uuid][object] */
EXTERN_C const IID IID_IPDDocument;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("AC7AA05E-34AA-437c-9DC2-971F0F524D18")
IPDDocument : public IPDUnknown
{
public:
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_filePath(
/* [retval][out] */ BSTR __RPC_FAR *pVal) = 0;
virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_filePath(
/* [in] */ BSTR newVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_undoManager(
/* [retval][out] */ IOleUndoManager __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_spreads(
/* [retval][out] */ IObjectMap __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_pages(
/* [retval][out] */ IObjectMap __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_pageWidth(
/* [retval][out] */ double __RPC_FAR *pVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_pageHeight(
/* [retval][out] */ double __RPC_FAR *pVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_facingPages(
/* [retval][out] */ VARIANT_BOOL __RPC_FAR *pVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_layers(
/* [retval][out] */ IObjectMap __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_masterSpreads(
/* [retval][out] */ IObjectMap __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_masterPages(
/* [retval][out] */ IObjectMap __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_images(
/* [retval][out] */ IObjectMap __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_swatches(
/* [retval][out] */ IPDSwatches __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_stories(
/* [retval][out] */ IObjectMap __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE ShowViews( void) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE NewDocument( void) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE createObjectFrame(
/* [retval][out] */ IPDObjectFrame __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE createContentGraphic(
/* [retval][out] */ IPDContentGraphic __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE loadImage(
/* [in] */ BSTR pathName,
/* [retval][out] */ IPDImage __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE createContentText(
/* [retval][out] */ IPDContentText __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE getMasterSpreadByName(
/* [in] */ BSTR prefix,
/* [in] */ BSTR name,
/* [retval][out] */ IPDSpreadMaster __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE getSpreadByUniqId(
/* [in] */ GUID guid,
/* [retval][out] */ IPDSpread __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE createObjectGroup(
/* [in] */ GUID guid,
/* [retval][out] */ IPDObjectGroup __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE NewWindow(
/* [retval][out] */ IPDDocumentView __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE createStory(
/* [retval][out] */ IPDStory __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE appendStory(
/* [in] */ IPDStory __RPC_FAR *story) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE createPathText(
/* [retval][out] */ IPDPathText __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE insertPagesBefore(
/* [in] */ long nPages,
/* [in] */ long nBeforePage) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE insertPagesAfter(
/* [in] */ long nPages,
/* [in] */ long nAfterPage) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE getStoryById(
/* [in] */ GUID guid,
/* [retval][out] */ IPDStory __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_firstSection(
/* [retval][out] */ IPDSection __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE createSection(
/* [retval][out] */ IPDSection __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE deleteLayer(
/* [in] */ IPDLayer __RPC_FAR *layer) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE insertLayerBefore(
/* [in] */ IPDLayer __RPC_FAR *layer,
/* [in] */ IPDLayer __RPC_FAR *before) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE getLayerByUniqId(
/* [in] */ GUID guid,
/* [retval][out] */ IPDLayer __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_fileTitle(
/* [retval][out] */ BSTR __RPC_FAR *pVal) = 0;
virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_fileTitle(
/* [in] */ BSTR newVal) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE removeStory(
/* [in] */ IPDStory __RPC_FAR *story) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE createImage(
/* [in] */ long width,
/* [in] */ long height,
/* [in] */ DWORD mode,
/* [retval][out] */ IPDImage __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_symbols(
/* [retval][out] */ IObjectMap __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE appendSymbol(
/* [in] */ IPDSymbol __RPC_FAR *symbol) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE getSymbolByName(
/* [in] */ BSTR name,
/* [retval][out] */ IPDSymbol __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_firstSpread(
/* [retval][out] */ IPDSpreadDocument __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_lastSpread(
/* [retval][out] */ IPDSpreadDocument __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE loadImageFromStream(
/* [in] */ IStream __RPC_FAR *stream,
/* [retval][out] */ IPDImage __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_showTextThreads(
/* [retval][out] */ VARIANT_BOOL __RPC_FAR *pVal) = 0;
virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_showTextThreads(
/* [in] */ VARIANT_BOOL newVal) = 0;
};
#else /* C style interface */
typedef struct IPDDocumentVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
IPDDocument __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
IPDDocument __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
IPDDocument __RPC_FAR * This);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_filePath )(
IPDDocument __RPC_FAR * This,
/* [retval][out] */ BSTR __RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_filePath )(
IPDDocument __RPC_FAR * This,
/* [in] */ BSTR newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_undoManager )(
IPDDocument __RPC_FAR * This,
/* [retval][out] */ IOleUndoManager __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_spreads )(
IPDDocument __RPC_FAR * This,
/* [retval][out] */ IObjectMap __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_pages )(
IPDDocument __RPC_FAR * This,
/* [retval][out] */ IObjectMap __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_pageWidth )(
IPDDocument __RPC_FAR * This,
/* [retval][out] */ double __RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_pageHeight )(
IPDDocument __RPC_FAR * This,
/* [retval][out] */ double __RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_facingPages )(
IPDDocument __RPC_FAR * This,
/* [retval][out] */ VARIANT_BOOL __RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_layers )(
IPDDocument __RPC_FAR * This,
/* [retval][out] */ IObjectMap __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_masterSpreads )(
IPDDocument __RPC_FAR * This,
/* [retval][out] */ IObjectMap __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_masterPages )(
IPDDocument __RPC_FAR * This,
/* [retval][out] */ IObjectMap __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_images )(
IPDDocument __RPC_FAR * This,
/* [retval][out] */ IObjectMap __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_swatches )(
IPDDocument __RPC_FAR * This,
/* [retval][out] */ IPDSwatches __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_stories )(
IPDDocument __RPC_FAR * This,
/* [retval][out] */ IObjectMap __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ShowViews )(
IPDDocument __RPC_FAR * This);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *NewDocument )(
IPDDocument __RPC_FAR * This);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *createObjectFrame )(
IPDDocument __RPC_FAR * This,
/* [retval][out] */ IPDObjectFrame __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *createContentGraphic )(
IPDDocument __RPC_FAR * This,
/* [retval][out] */ IPDContentGraphic __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *loadImage )(
IPDDocument __RPC_FAR * This,
/* [in] */ BSTR pathName,
/* [retval][out] */ IPDImage __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *createContentText )(
IPDDocument __RPC_FAR * This,
/* [retval][out] */ IPDContentText __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *getMasterSpreadByName )(
IPDDocument __RPC_FAR * This,
/* [in] */ BSTR prefix,
/* [in] */ BSTR name,
/* [retval][out] */ IPDSpreadMaster __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *getSpreadByUniqId )(
IPDDocument __RPC_FAR * This,
/* [in] */ GUID guid,
/* [retval][out] */ IPDSpread __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *createObjectGroup )(
IPDDocument __RPC_FAR * This,
/* [in] */ GUID guid,
/* [retval][out] */ IPDObjectGroup __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *NewWindow )(
IPDDocument __RPC_FAR * This,
/* [retval][out] */ IPDDocumentView __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *createStory )(
IPDDocument __RPC_FAR * This,
/* [retval][out] */ IPDStory __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *appendStory )(
IPDDocument __RPC_FAR * This,
/* [in] */ IPDStory __RPC_FAR *story);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *createPathText )(
IPDDocument __RPC_FAR * This,
/* [retval][out] */ IPDPathText __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *insertPagesBefore )(
IPDDocument __RPC_FAR * This,
/* [in] */ long nPages,
/* [in] */ long nBeforePage);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *insertPagesAfter )(
IPDDocument __RPC_FAR * This,
/* [in] */ long nPages,
/* [in] */ long nAfterPage);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *getStoryById )(
IPDDocument __RPC_FAR * This,
/* [in] */ GUID guid,
/* [retval][out] */ IPDStory __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_firstSection )(
IPDDocument __RPC_FAR * This,
/* [retval][out] */ IPDSection __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *createSection )(
IPDDocument __RPC_FAR * This,
/* [retval][out] */ IPDSection __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *deleteLayer )(
IPDDocument __RPC_FAR * This,
/* [in] */ IPDLayer __RPC_FAR *layer);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *insertLayerBefore )(
IPDDocument __RPC_FAR * This,
/* [in] */ IPDLayer __RPC_FAR *layer,
/* [in] */ IPDLayer __RPC_FAR *before);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *getLayerByUniqId )(
IPDDocument __RPC_FAR * This,
/* [in] */ GUID guid,
/* [retval][out] */ IPDLayer __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_fileTitle )(
IPDDocument __RPC_FAR * This,
/* [retval][out] */ BSTR __RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_fileTitle )(
IPDDocument __RPC_FAR * This,
/* [in] */ BSTR newVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *removeStory )(
IPDDocument __RPC_FAR * This,
/* [in] */ IPDStory __RPC_FAR *story);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *createImage )(
IPDDocument __RPC_FAR * This,
/* [in] */ long width,
/* [in] */ long height,
/* [in] */ DWORD mode,
/* [retval][out] */ IPDImage __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_symbols )(
IPDDocument __RPC_FAR * This,
/* [retval][out] */ IObjectMap __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *appendSymbol )(
IPDDocument __RPC_FAR * This,
/* [in] */ IPDSymbol __RPC_FAR *symbol);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *getSymbolByName )(
IPDDocument __RPC_FAR * This,
/* [in] */ BSTR name,
/* [retval][out] */ IPDSymbol __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_firstSpread )(
IPDDocument __RPC_FAR * This,
/* [retval][out] */ IPDSpreadDocument __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_lastSpread )(
IPDDocument __RPC_FAR * This,
/* [retval][out] */ IPDSpreadDocument __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *loadImageFromStream )(
IPDDocument __RPC_FAR * This,
/* [in] */ IStream __RPC_FAR *stream,
/* [retval][out] */ IPDImage __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_showTextThreads )(
IPDDocument __RPC_FAR * This,
/* [retval][out] */ VARIANT_BOOL __RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_showTextThreads )(
IPDDocument __RPC_FAR * This,
/* [in] */ VARIANT_BOOL newVal);
END_INTERFACE
} IPDDocumentVtbl;
interface IPDDocument
{
CONST_VTBL struct IPDDocumentVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define IPDDocument_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define IPDDocument_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define IPDDocument_Release(This) \
(This)->lpVtbl -> Release(This)
#define IPDDocument_get_filePath(This,pVal) \
(This)->lpVtbl -> get_filePath(This,pVal)
#define IPDDocument_put_filePath(This,newVal) \
(This)->lpVtbl -> put_filePath(This,newVal)
#define IPDDocument_get_undoManager(This,pVal) \
(This)->lpVtbl -> get_undoManager(This,pVal)
#define IPDDocument_get_spreads(This,pVal) \
(This)->lpVtbl -> get_spreads(This,pVal)
#define IPDDocument_get_pages(This,pVal) \
(This)->lpVtbl -> get_pages(This,pVal)
#define IPDDocument_get_pageWidth(This,pVal) \
(This)->lpVtbl -> get_pageWidth(This,pVal)
#define IPDDocument_get_pageHeight(This,pVal) \
(This)->lpVtbl -> get_pageHeight(This,pVal)
#define IPDDocument_get_facingPages(This,pVal) \
(This)->lpVtbl -> get_facingPages(This,pVal)
#define IPDDocument_get_layers(This,pVal) \
(This)->lpVtbl -> get_layers(This,pVal)
#define IPDDocument_get_masterSpreads(This,pVal) \
(This)->lpVtbl -> get_masterSpreads(This,pVal)
#define IPDDocument_get_masterPages(This,pVal) \
(This)->lpVtbl -> get_masterPages(This,pVal)
#define IPDDocument_get_images(This,pVal) \
(This)->lpVtbl -> get_images(This,pVal)
#define IPDDocument_get_swatches(This,pVal) \
(This)->lpVtbl -> get_swatches(This,pVal)
#define IPDDocument_get_stories(This,pVal) \
(This)->lpVtbl -> get_stories(This,pVal)
#define IPDDocument_ShowViews(This) \
(This)->lpVtbl -> ShowViews(This)
#define IPDDocument_NewDocument(This) \
(This)->lpVtbl -> NewDocument(This)
#define IPDDocument_createObjectFrame(This,pVal) \
(This)->lpVtbl -> createObjectFrame(This,pVal)
#define IPDDocument_createContentGraphic(This,pVal) \
(This)->lpVtbl -> createContentGraphic(This,pVal)
#define IPDDocument_loadImage(This,pathName,pVal) \
(This)->lpVtbl -> loadImage(This,pathName,pVal)
#define IPDDocument_createContentText(This,pVal) \
(This)->lpVtbl -> createContentText(This,pVal)
#define IPDDocument_getMasterSpreadByName(This,prefix,name,pVal) \
(This)->lpVtbl -> getMasterSpreadByName(This,prefix,name,pVal)
#define IPDDocument_getSpreadByUniqId(This,guid,pVal) \
(This)->lpVtbl -> getSpreadByUniqId(This,guid,pVal)
#define IPDDocument_createObjectGroup(This,guid,pVal) \
(This)->lpVtbl -> createObjectGroup(This,guid,pVal)
#define IPDDocument_NewWindow(This,pVal) \
(This)->lpVtbl -> NewWindow(This,pVal)
#define IPDDocument_createStory(This,pVal) \
(This)->lpVtbl -> createStory(This,pVal)
#define IPDDocument_appendStory(This,story) \
(This)->lpVtbl -> appendStory(This,story)
#define IPDDocument_createPathText(This,pVal) \
(This)->lpVtbl -> createPathText(This,pVal)
#define IPDDocument_insertPagesBefore(This,nPages,nBeforePage) \
(This)->lpVtbl -> insertPagesBefore(This,nPages,nBeforePage)
#define IPDDocument_insertPagesAfter(This,nPages,nAfterPage) \
(This)->lpVtbl -> insertPagesAfter(This,nPages,nAfterPage)
#define IPDDocument_getStoryById(This,guid,pVal) \
(This)->lpVtbl -> getStoryById(This,guid,pVal)
#define IPDDocument_get_firstSection(This,pVal) \
(This)->lpVtbl -> get_firstSection(This,pVal)
#define IPDDocument_createSection(This,pVal) \
(This)->lpVtbl -> createSection(This,pVal)
#define IPDDocument_deleteLayer(This,layer) \
(This)->lpVtbl -> deleteLayer(This,layer)
#define IPDDocument_insertLayerBefore(This,layer,before) \
(This)->lpVtbl -> insertLayerBefore(This,layer,before)
#define IPDDocument_getLayerByUniqId(This,guid,pVal) \
(This)->lpVtbl -> getLayerByUniqId(This,guid,pVal)
#define IPDDocument_get_fileTitle(This,pVal) \
(This)->lpVtbl -> get_fileTitle(This,pVal)
#define IPDDocument_put_fileTitle(This,newVal) \
(This)->lpVtbl -> put_fileTitle(This,newVal)
#define IPDDocument_removeStory(This,story) \
(This)->lpVtbl -> removeStory(This,story)
#define IPDDocument_createImage(This,width,height,mode,pVal) \
(This)->lpVtbl -> createImage(This,width,height,mode,pVal)
#define IPDDocument_get_symbols(This,pVal) \
(This)->lpVtbl -> get_symbols(This,pVal)
#define IPDDocument_appendSymbol(This,symbol) \
(This)->lpVtbl -> appendSymbol(This,symbol)
#define IPDDocument_getSymbolByName(This,name,pVal) \
(This)->lpVtbl -> getSymbolByName(This,name,pVal)
#define IPDDocument_get_firstSpread(This,pVal) \
(This)->lpVtbl -> get_firstSpread(This,pVal)
#define IPDDocument_get_lastSpread(This,pVal) \
(This)->lpVtbl -> get_lastSpread(This,pVal)
#define IPDDocument_loadImageFromStream(This,stream,pVal) \
(This)->lpVtbl -> loadImageFromStream(This,stream,pVal)
#define IPDDocument_get_showTextThreads(This,pVal) \
(This)->lpVtbl -> get_showTextThreads(This,pVal)
#define IPDDocument_put_showTextThreads(This,newVal) \
(This)->lpVtbl -> put_showTextThreads(This,newVal)
#endif /* COBJMACROS */
#endif /* C style interface */
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDDocument_get_filePath_Proxy(
IPDDocument __RPC_FAR * This,
/* [retval][out] */ BSTR __RPC_FAR *pVal);
void __RPC_STUB IPDDocument_get_filePath_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IPDDocument_put_filePath_Proxy(
IPDDocument __RPC_FAR * This,
/* [in] */ BSTR newVal);
void __RPC_STUB IPDDocument_put_filePath_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDDocument_get_undoManager_Proxy(
IPDDocument __RPC_FAR * This,
/* [retval][out] */ IOleUndoManager __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDDocument_get_undoManager_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDDocument_get_spreads_Proxy(
IPDDocument __RPC_FAR * This,
/* [retval][out] */ IObjectMap __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDDocument_get_spreads_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDDocument_get_pages_Proxy(
IPDDocument __RPC_FAR * This,
/* [retval][out] */ IObjectMap __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDDocument_get_pages_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDDocument_get_pageWidth_Proxy(
IPDDocument __RPC_FAR * This,
/* [retval][out] */ double __RPC_FAR *pVal);
void __RPC_STUB IPDDocument_get_pageWidth_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDDocument_get_pageHeight_Proxy(
IPDDocument __RPC_FAR * This,
/* [retval][out] */ double __RPC_FAR *pVal);
void __RPC_STUB IPDDocument_get_pageHeight_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDDocument_get_facingPages_Proxy(
IPDDocument __RPC_FAR * This,
/* [retval][out] */ VARIANT_BOOL __RPC_FAR *pVal);
void __RPC_STUB IPDDocument_get_facingPages_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDDocument_get_layers_Proxy(
IPDDocument __RPC_FAR * This,
/* [retval][out] */ IObjectMap __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDDocument_get_layers_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDDocument_get_masterSpreads_Proxy(
IPDDocument __RPC_FAR * This,
/* [retval][out] */ IObjectMap __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDDocument_get_masterSpreads_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDDocument_get_masterPages_Proxy(
IPDDocument __RPC_FAR * This,
/* [retval][out] */ IObjectMap __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDDocument_get_masterPages_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDDocument_get_images_Proxy(
IPDDocument __RPC_FAR * This,
/* [retval][out] */ IObjectMap __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDDocument_get_images_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDDocument_get_swatches_Proxy(
IPDDocument __RPC_FAR * This,
/* [retval][out] */ IPDSwatches __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDDocument_get_swatches_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDDocument_get_stories_Proxy(
IPDDocument __RPC_FAR * This,
/* [retval][out] */ IObjectMap __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDDocument_get_stories_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDDocument_ShowViews_Proxy(
IPDDocument __RPC_FAR * This);
void __RPC_STUB IPDDocument_ShowViews_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDDocument_NewDocument_Proxy(
IPDDocument __RPC_FAR * This);
void __RPC_STUB IPDDocument_NewDocument_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDDocument_createObjectFrame_Proxy(
IPDDocument __RPC_FAR * This,
/* [retval][out] */ IPDObjectFrame __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDDocument_createObjectFrame_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDDocument_createContentGraphic_Proxy(
IPDDocument __RPC_FAR * This,
/* [retval][out] */ IPDContentGraphic __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDDocument_createContentGraphic_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDDocument_loadImage_Proxy(
IPDDocument __RPC_FAR * This,
/* [in] */ BSTR pathName,
/* [retval][out] */ IPDImage __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDDocument_loadImage_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDDocument_createContentText_Proxy(
IPDDocument __RPC_FAR * This,
/* [retval][out] */ IPDContentText __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDDocument_createContentText_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDDocument_getMasterSpreadByName_Proxy(
IPDDocument __RPC_FAR * This,
/* [in] */ BSTR prefix,
/* [in] */ BSTR name,
/* [retval][out] */ IPDSpreadMaster __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDDocument_getMasterSpreadByName_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDDocument_getSpreadByUniqId_Proxy(
IPDDocument __RPC_FAR * This,
/* [in] */ GUID guid,
/* [retval][out] */ IPDSpread __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDDocument_getSpreadByUniqId_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDDocument_createObjectGroup_Proxy(
IPDDocument __RPC_FAR * This,
/* [in] */ GUID guid,
/* [retval][out] */ IPDObjectGroup __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDDocument_createObjectGroup_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDDocument_NewWindow_Proxy(
IPDDocument __RPC_FAR * This,
/* [retval][out] */ IPDDocumentView __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDDocument_NewWindow_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDDocument_createStory_Proxy(
IPDDocument __RPC_FAR * This,
/* [retval][out] */ IPDStory __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDDocument_createStory_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDDocument_appendStory_Proxy(
IPDDocument __RPC_FAR * This,
/* [in] */ IPDStory __RPC_FAR *story);
void __RPC_STUB IPDDocument_appendStory_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDDocument_createPathText_Proxy(
IPDDocument __RPC_FAR * This,
/* [retval][out] */ IPDPathText __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDDocument_createPathText_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDDocument_insertPagesBefore_Proxy(
IPDDocument __RPC_FAR * This,
/* [in] */ long nPages,
/* [in] */ long nBeforePage);
void __RPC_STUB IPDDocument_insertPagesBefore_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDDocument_insertPagesAfter_Proxy(
IPDDocument __RPC_FAR * This,
/* [in] */ long nPages,
/* [in] */ long nAfterPage);
void __RPC_STUB IPDDocument_insertPagesAfter_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDDocument_getStoryById_Proxy(
IPDDocument __RPC_FAR * This,
/* [in] */ GUID guid,
/* [retval][out] */ IPDStory __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDDocument_getStoryById_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDDocument_get_firstSection_Proxy(
IPDDocument __RPC_FAR * This,
/* [retval][out] */ IPDSection __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDDocument_get_firstSection_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDDocument_createSection_Proxy(
IPDDocument __RPC_FAR * This,
/* [retval][out] */ IPDSection __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDDocument_createSection_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDDocument_deleteLayer_Proxy(
IPDDocument __RPC_FAR * This,
/* [in] */ IPDLayer __RPC_FAR *layer);
void __RPC_STUB IPDDocument_deleteLayer_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDDocument_insertLayerBefore_Proxy(
IPDDocument __RPC_FAR * This,
/* [in] */ IPDLayer __RPC_FAR *layer,
/* [in] */ IPDLayer __RPC_FAR *before);
void __RPC_STUB IPDDocument_insertLayerBefore_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDDocument_getLayerByUniqId_Proxy(
IPDDocument __RPC_FAR * This,
/* [in] */ GUID guid,
/* [retval][out] */ IPDLayer __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDDocument_getLayerByUniqId_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDDocument_get_fileTitle_Proxy(
IPDDocument __RPC_FAR * This,
/* [retval][out] */ BSTR __RPC_FAR *pVal);
void __RPC_STUB IPDDocument_get_fileTitle_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IPDDocument_put_fileTitle_Proxy(
IPDDocument __RPC_FAR * This,
/* [in] */ BSTR newVal);
void __RPC_STUB IPDDocument_put_fileTitle_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDDocument_removeStory_Proxy(
IPDDocument __RPC_FAR * This,
/* [in] */ IPDStory __RPC_FAR *story);
void __RPC_STUB IPDDocument_removeStory_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDDocument_createImage_Proxy(
IPDDocument __RPC_FAR * This,
/* [in] */ long width,
/* [in] */ long height,
/* [in] */ DWORD mode,
/* [retval][out] */ IPDImage __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDDocument_createImage_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDDocument_get_symbols_Proxy(
IPDDocument __RPC_FAR * This,
/* [retval][out] */ IObjectMap __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDDocument_get_symbols_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDDocument_appendSymbol_Proxy(
IPDDocument __RPC_FAR * This,
/* [in] */ IPDSymbol __RPC_FAR *symbol);
void __RPC_STUB IPDDocument_appendSymbol_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDDocument_getSymbolByName_Proxy(
IPDDocument __RPC_FAR * This,
/* [in] */ BSTR name,
/* [retval][out] */ IPDSymbol __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDDocument_getSymbolByName_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDDocument_get_firstSpread_Proxy(
IPDDocument __RPC_FAR * This,
/* [retval][out] */ IPDSpreadDocument __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDDocument_get_firstSpread_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDDocument_get_lastSpread_Proxy(
IPDDocument __RPC_FAR * This,
/* [retval][out] */ IPDSpreadDocument __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDDocument_get_lastSpread_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDDocument_loadImageFromStream_Proxy(
IPDDocument __RPC_FAR * This,
/* [in] */ IStream __RPC_FAR *stream,
/* [retval][out] */ IPDImage __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDDocument_loadImageFromStream_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDDocument_get_showTextThreads_Proxy(
IPDDocument __RPC_FAR * This,
/* [retval][out] */ VARIANT_BOOL __RPC_FAR *pVal);
void __RPC_STUB IPDDocument_get_showTextThreads_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IPDDocument_put_showTextThreads_Proxy(
IPDDocument __RPC_FAR * This,
/* [in] */ VARIANT_BOOL newVal);
void __RPC_STUB IPDDocument_put_showTextThreads_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
#endif /* __IPDDocument_INTERFACE_DEFINED__ */
#ifndef __IPDTextSelection_INTERFACE_DEFINED__
#define __IPDTextSelection_INTERFACE_DEFINED__
/* interface IPDTextSelection */
/* [unique][helpstring][uuid][object] */
EXTERN_C const IID IID_IPDTextSelection;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("CDE1F90E-48F6-4803-BFE4-97FFC6674D9B")
IPDTextSelection : public IPDTextRange
{
public:
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE EndKey(
/* [in] */ long Unit,
/* [in] */ long Extend,
/* [retval][out] */ long __RPC_FAR *pDelta) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE HomeKey(
/* [in] */ long Unit,
/* [in] */ long Extend,
/* [retval][out] */ long __RPC_FAR *pDelta) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE MoveRight(
/* [in] */ long Unit,
/* [in] */ long Count,
/* [in] */ long Extend,
/* [retval][out] */ long __RPC_FAR *pDelta) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE MoveLeft(
/* [in] */ long Unit,
/* [in] */ long Count,
/* [in] */ long Extend,
/* [retval][out] */ long __RPC_FAR *pDelta) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE MoveUp(
/* [in] */ long Unit,
/* [in] */ long Count,
/* [in] */ long Extend,
/* [retval][out] */ long __RPC_FAR *pDelta) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE MoveDown(
/* [in] */ long Unit,
/* [in] */ long Count,
/* [in] */ long Extend,
/* [retval][out] */ long __RPC_FAR *pDelta) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE Set(
/* [in] */ ILDOMNode __RPC_FAR *node,
/* [in] */ long offset) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE MoveDOM(
/* [in] */ ILDOMNode __RPC_FAR *node,
/* [in] */ long offset) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE TypeText(
/* [in] */ BSTR bstr) = 0;
};
#else /* C style interface */
typedef struct IPDTextSelectionVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
IPDTextSelection __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
IPDTextSelection __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
IPDTextSelection __RPC_FAR * This);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetDOMRange )(
IPDTextSelection __RPC_FAR * This,
/* [retval][out] */ ILDOMRange __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetStory )(
IPDTextSelection __RPC_FAR * This,
/* [retval][out] */ IPDStory __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Delete )(
IPDTextSelection __RPC_FAR * This,
/* [in] */ long Unit,
/* [in] */ long Count,
/* [retval][out] */ long __RPC_FAR *pDelta);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *IsCollapsed )(
IPDTextSelection __RPC_FAR * This,
/* [retval][out] */ VARIANT_BOOL __RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *EndKey )(
IPDTextSelection __RPC_FAR * This,
/* [in] */ long Unit,
/* [in] */ long Extend,
/* [retval][out] */ long __RPC_FAR *pDelta);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *HomeKey )(
IPDTextSelection __RPC_FAR * This,
/* [in] */ long Unit,
/* [in] */ long Extend,
/* [retval][out] */ long __RPC_FAR *pDelta);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *MoveRight )(
IPDTextSelection __RPC_FAR * This,
/* [in] */ long Unit,
/* [in] */ long Count,
/* [in] */ long Extend,
/* [retval][out] */ long __RPC_FAR *pDelta);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *MoveLeft )(
IPDTextSelection __RPC_FAR * This,
/* [in] */ long Unit,
/* [in] */ long Count,
/* [in] */ long Extend,
/* [retval][out] */ long __RPC_FAR *pDelta);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *MoveUp )(
IPDTextSelection __RPC_FAR * This,
/* [in] */ long Unit,
/* [in] */ long Count,
/* [in] */ long Extend,
/* [retval][out] */ long __RPC_FAR *pDelta);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *MoveDown )(
IPDTextSelection __RPC_FAR * This,
/* [in] */ long Unit,
/* [in] */ long Count,
/* [in] */ long Extend,
/* [retval][out] */ long __RPC_FAR *pDelta);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Set )(
IPDTextSelection __RPC_FAR * This,
/* [in] */ ILDOMNode __RPC_FAR *node,
/* [in] */ long offset);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *MoveDOM )(
IPDTextSelection __RPC_FAR * This,
/* [in] */ ILDOMNode __RPC_FAR *node,
/* [in] */ long offset);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *TypeText )(
IPDTextSelection __RPC_FAR * This,
/* [in] */ BSTR bstr);
END_INTERFACE
} IPDTextSelectionVtbl;
interface IPDTextSelection
{
CONST_VTBL struct IPDTextSelectionVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define IPDTextSelection_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define IPDTextSelection_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define IPDTextSelection_Release(This) \
(This)->lpVtbl -> Release(This)
#define IPDTextSelection_GetDOMRange(This,pVal) \
(This)->lpVtbl -> GetDOMRange(This,pVal)
#define IPDTextSelection_GetStory(This,pVal) \
(This)->lpVtbl -> GetStory(This,pVal)
#define IPDTextSelection_Delete(This,Unit,Count,pDelta) \
(This)->lpVtbl -> Delete(This,Unit,Count,pDelta)
#define IPDTextSelection_IsCollapsed(This,pVal) \
(This)->lpVtbl -> IsCollapsed(This,pVal)
#define IPDTextSelection_EndKey(This,Unit,Extend,pDelta) \
(This)->lpVtbl -> EndKey(This,Unit,Extend,pDelta)
#define IPDTextSelection_HomeKey(This,Unit,Extend,pDelta) \
(This)->lpVtbl -> HomeKey(This,Unit,Extend,pDelta)
#define IPDTextSelection_MoveRight(This,Unit,Count,Extend,pDelta) \
(This)->lpVtbl -> MoveRight(This,Unit,Count,Extend,pDelta)
#define IPDTextSelection_MoveLeft(This,Unit,Count,Extend,pDelta) \
(This)->lpVtbl -> MoveLeft(This,Unit,Count,Extend,pDelta)
#define IPDTextSelection_MoveUp(This,Unit,Count,Extend,pDelta) \
(This)->lpVtbl -> MoveUp(This,Unit,Count,Extend,pDelta)
#define IPDTextSelection_MoveDown(This,Unit,Count,Extend,pDelta) \
(This)->lpVtbl -> MoveDown(This,Unit,Count,Extend,pDelta)
#define IPDTextSelection_Set(This,node,offset) \
(This)->lpVtbl -> Set(This,node,offset)
#define IPDTextSelection_MoveDOM(This,node,offset) \
(This)->lpVtbl -> MoveDOM(This,node,offset)
#define IPDTextSelection_TypeText(This,bstr) \
(This)->lpVtbl -> TypeText(This,bstr)
#endif /* COBJMACROS */
#endif /* C style interface */
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDTextSelection_EndKey_Proxy(
IPDTextSelection __RPC_FAR * This,
/* [in] */ long Unit,
/* [in] */ long Extend,
/* [retval][out] */ long __RPC_FAR *pDelta);
void __RPC_STUB IPDTextSelection_EndKey_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDTextSelection_HomeKey_Proxy(
IPDTextSelection __RPC_FAR * This,
/* [in] */ long Unit,
/* [in] */ long Extend,
/* [retval][out] */ long __RPC_FAR *pDelta);
void __RPC_STUB IPDTextSelection_HomeKey_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDTextSelection_MoveRight_Proxy(
IPDTextSelection __RPC_FAR * This,
/* [in] */ long Unit,
/* [in] */ long Count,
/* [in] */ long Extend,
/* [retval][out] */ long __RPC_FAR *pDelta);
void __RPC_STUB IPDTextSelection_MoveRight_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDTextSelection_MoveLeft_Proxy(
IPDTextSelection __RPC_FAR * This,
/* [in] */ long Unit,
/* [in] */ long Count,
/* [in] */ long Extend,
/* [retval][out] */ long __RPC_FAR *pDelta);
void __RPC_STUB IPDTextSelection_MoveLeft_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDTextSelection_MoveUp_Proxy(
IPDTextSelection __RPC_FAR * This,
/* [in] */ long Unit,
/* [in] */ long Count,
/* [in] */ long Extend,
/* [retval][out] */ long __RPC_FAR *pDelta);
void __RPC_STUB IPDTextSelection_MoveUp_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDTextSelection_MoveDown_Proxy(
IPDTextSelection __RPC_FAR * This,
/* [in] */ long Unit,
/* [in] */ long Count,
/* [in] */ long Extend,
/* [retval][out] */ long __RPC_FAR *pDelta);
void __RPC_STUB IPDTextSelection_MoveDown_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDTextSelection_Set_Proxy(
IPDTextSelection __RPC_FAR * This,
/* [in] */ ILDOMNode __RPC_FAR *node,
/* [in] */ long offset);
void __RPC_STUB IPDTextSelection_Set_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDTextSelection_MoveDOM_Proxy(
IPDTextSelection __RPC_FAR * This,
/* [in] */ ILDOMNode __RPC_FAR *node,
/* [in] */ long offset);
void __RPC_STUB IPDTextSelection_MoveDOM_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDTextSelection_TypeText_Proxy(
IPDTextSelection __RPC_FAR * This,
/* [in] */ BSTR bstr);
void __RPC_STUB IPDTextSelection_TypeText_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
#endif /* __IPDTextSelection_INTERFACE_DEFINED__ */
#ifndef __DispIPDDocument_INTERFACE_DEFINED__
#define __DispIPDDocument_INTERFACE_DEFINED__
/* interface DispIPDDocument */
/* [unique][helpstring][dual][uuid][object] */
EXTERN_C const IID IID_DispIPDDocument;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("D3FAE561-227D-11d6-95F0-0002E3045703")
DispIPDDocument : public IDispatch
{
public:
};
#else /* C style interface */
typedef struct DispIPDDocumentVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
DispIPDDocument __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
DispIPDDocument __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
DispIPDDocument __RPC_FAR * This);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
DispIPDDocument __RPC_FAR * This,
/* [out] */ UINT __RPC_FAR *pctinfo);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
DispIPDDocument __RPC_FAR * This,
/* [in] */ UINT iTInfo,
/* [in] */ LCID lcid,
/* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
DispIPDDocument __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
/* [in] */ UINT cNames,
/* [in] */ LCID lcid,
/* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
/* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
DispIPDDocument __RPC_FAR * This,
/* [in] */ DISPID dispIdMember,
/* [in] */ REFIID riid,
/* [in] */ LCID lcid,
/* [in] */ WORD wFlags,
/* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
/* [out] */ VARIANT __RPC_FAR *pVarResult,
/* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
/* [out] */ UINT __RPC_FAR *puArgErr);
END_INTERFACE
} DispIPDDocumentVtbl;
interface DispIPDDocument
{
CONST_VTBL struct DispIPDDocumentVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define DispIPDDocument_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define DispIPDDocument_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define DispIPDDocument_Release(This) \
(This)->lpVtbl -> Release(This)
#define DispIPDDocument_GetTypeInfoCount(This,pctinfo) \
(This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
#define DispIPDDocument_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
(This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
#define DispIPDDocument_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
(This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
#define DispIPDDocument_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
(This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* __DispIPDDocument_INTERFACE_DEFINED__ */
#ifndef __IPDPage_INTERFACE_DEFINED__
#define __IPDPage_INTERFACE_DEFINED__
/* interface IPDPage */
/* [unique][helpstring][uuid][object] */
EXTERN_C const IID IID_IPDPage;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("ECA9360F-2E0C-44cd-8FDC-9A0E5E44EEB9")
IPDPage : public IPDUnknown
{
public:
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_marginTop(
/* [retval][out] */ double __RPC_FAR *pVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_marginBottom(
/* [retval][out] */ double __RPC_FAR *pVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_marginLeft(
/* [retval][out] */ double __RPC_FAR *pVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_marginRight(
/* [retval][out] */ double __RPC_FAR *pVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_marginInside(
/* [retval][out] */ double __RPC_FAR *pVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_marginOutside(
/* [retval][out] */ double __RPC_FAR *pVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_ownerSpread(
/* [retval][out] */ IPDSpread __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_baseMaster(
/* [retval][out] */ IPDSpreadMaster __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_baseMaster(
/* [in] */ IPDSpreadMaster __RPC_FAR *newVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_section(
/* [retval][out] */ IPDSection __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_section(
/* [in] */ IPDSection __RPC_FAR *newVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_columnNumber(
/* [retval][out] */ long __RPC_FAR *pVal) = 0;
virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_columnNumber(
/* [in] */ long newVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_columnGutter(
/* [retval][out] */ double __RPC_FAR *pVal) = 0;
virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_columnGutter(
/* [in] */ double newVal) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE setMarginsAndColumns(
/* [in] */ double marginTop,
/* [in] */ double marginBottom,
/* [in] */ double marginInside,
/* [in] */ double marginOutside,
/* [in] */ long columnNumber,
/* [in] */ double columnGutter) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE getPageRect(
/* [retval][out] */ RectD __RPC_FAR *pVal) = 0;
};
#else /* C style interface */
typedef struct IPDPageVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
IPDPage __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
IPDPage __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
IPDPage __RPC_FAR * This);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_marginTop )(
IPDPage __RPC_FAR * This,
/* [retval][out] */ double __RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_marginBottom )(
IPDPage __RPC_FAR * This,
/* [retval][out] */ double __RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_marginLeft )(
IPDPage __RPC_FAR * This,
/* [retval][out] */ double __RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_marginRight )(
IPDPage __RPC_FAR * This,
/* [retval][out] */ double __RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_marginInside )(
IPDPage __RPC_FAR * This,
/* [retval][out] */ double __RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_marginOutside )(
IPDPage __RPC_FAR * This,
/* [retval][out] */ double __RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_ownerSpread )(
IPDPage __RPC_FAR * This,
/* [retval][out] */ IPDSpread __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_baseMaster )(
IPDPage __RPC_FAR * This,
/* [retval][out] */ IPDSpreadMaster __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_baseMaster )(
IPDPage __RPC_FAR * This,
/* [in] */ IPDSpreadMaster __RPC_FAR *newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_section )(
IPDPage __RPC_FAR * This,
/* [retval][out] */ IPDSection __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_section )(
IPDPage __RPC_FAR * This,
/* [in] */ IPDSection __RPC_FAR *newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_columnNumber )(
IPDPage __RPC_FAR * This,
/* [retval][out] */ long __RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_columnNumber )(
IPDPage __RPC_FAR * This,
/* [in] */ long newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_columnGutter )(
IPDPage __RPC_FAR * This,
/* [retval][out] */ double __RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_columnGutter )(
IPDPage __RPC_FAR * This,
/* [in] */ double newVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *setMarginsAndColumns )(
IPDPage __RPC_FAR * This,
/* [in] */ double marginTop,
/* [in] */ double marginBottom,
/* [in] */ double marginInside,
/* [in] */ double marginOutside,
/* [in] */ long columnNumber,
/* [in] */ double columnGutter);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *getPageRect )(
IPDPage __RPC_FAR * This,
/* [retval][out] */ RectD __RPC_FAR *pVal);
END_INTERFACE
} IPDPageVtbl;
interface IPDPage
{
CONST_VTBL struct IPDPageVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define IPDPage_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define IPDPage_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define IPDPage_Release(This) \
(This)->lpVtbl -> Release(This)
#define IPDPage_get_marginTop(This,pVal) \
(This)->lpVtbl -> get_marginTop(This,pVal)
#define IPDPage_get_marginBottom(This,pVal) \
(This)->lpVtbl -> get_marginBottom(This,pVal)
#define IPDPage_get_marginLeft(This,pVal) \
(This)->lpVtbl -> get_marginLeft(This,pVal)
#define IPDPage_get_marginRight(This,pVal) \
(This)->lpVtbl -> get_marginRight(This,pVal)
#define IPDPage_get_marginInside(This,pVal) \
(This)->lpVtbl -> get_marginInside(This,pVal)
#define IPDPage_get_marginOutside(This,pVal) \
(This)->lpVtbl -> get_marginOutside(This,pVal)
#define IPDPage_get_ownerSpread(This,pVal) \
(This)->lpVtbl -> get_ownerSpread(This,pVal)
#define IPDPage_get_baseMaster(This,pVal) \
(This)->lpVtbl -> get_baseMaster(This,pVal)
#define IPDPage_put_baseMaster(This,newVal) \
(This)->lpVtbl -> put_baseMaster(This,newVal)
#define IPDPage_get_section(This,pVal) \
(This)->lpVtbl -> get_section(This,pVal)
#define IPDPage_put_section(This,newVal) \
(This)->lpVtbl -> put_section(This,newVal)
#define IPDPage_get_columnNumber(This,pVal) \
(This)->lpVtbl -> get_columnNumber(This,pVal)
#define IPDPage_put_columnNumber(This,newVal) \
(This)->lpVtbl -> put_columnNumber(This,newVal)
#define IPDPage_get_columnGutter(This,pVal) \
(This)->lpVtbl -> get_columnGutter(This,pVal)
#define IPDPage_put_columnGutter(This,newVal) \
(This)->lpVtbl -> put_columnGutter(This,newVal)
#define IPDPage_setMarginsAndColumns(This,marginTop,marginBottom,marginInside,marginOutside,columnNumber,columnGutter) \
(This)->lpVtbl -> setMarginsAndColumns(This,marginTop,marginBottom,marginInside,marginOutside,columnNumber,columnGutter)
#define IPDPage_getPageRect(This,pVal) \
(This)->lpVtbl -> getPageRect(This,pVal)
#endif /* COBJMACROS */
#endif /* C style interface */
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDPage_get_marginTop_Proxy(
IPDPage __RPC_FAR * This,
/* [retval][out] */ double __RPC_FAR *pVal);
void __RPC_STUB IPDPage_get_marginTop_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDPage_get_marginBottom_Proxy(
IPDPage __RPC_FAR * This,
/* [retval][out] */ double __RPC_FAR *pVal);
void __RPC_STUB IPDPage_get_marginBottom_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDPage_get_marginLeft_Proxy(
IPDPage __RPC_FAR * This,
/* [retval][out] */ double __RPC_FAR *pVal);
void __RPC_STUB IPDPage_get_marginLeft_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDPage_get_marginRight_Proxy(
IPDPage __RPC_FAR * This,
/* [retval][out] */ double __RPC_FAR *pVal);
void __RPC_STUB IPDPage_get_marginRight_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDPage_get_marginInside_Proxy(
IPDPage __RPC_FAR * This,
/* [retval][out] */ double __RPC_FAR *pVal);
void __RPC_STUB IPDPage_get_marginInside_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDPage_get_marginOutside_Proxy(
IPDPage __RPC_FAR * This,
/* [retval][out] */ double __RPC_FAR *pVal);
void __RPC_STUB IPDPage_get_marginOutside_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDPage_get_ownerSpread_Proxy(
IPDPage __RPC_FAR * This,
/* [retval][out] */ IPDSpread __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDPage_get_ownerSpread_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDPage_get_baseMaster_Proxy(
IPDPage __RPC_FAR * This,
/* [retval][out] */ IPDSpreadMaster __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDPage_get_baseMaster_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IPDPage_put_baseMaster_Proxy(
IPDPage __RPC_FAR * This,
/* [in] */ IPDSpreadMaster __RPC_FAR *newVal);
void __RPC_STUB IPDPage_put_baseMaster_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDPage_get_section_Proxy(
IPDPage __RPC_FAR * This,
/* [retval][out] */ IPDSection __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDPage_get_section_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IPDPage_put_section_Proxy(
IPDPage __RPC_FAR * This,
/* [in] */ IPDSection __RPC_FAR *newVal);
void __RPC_STUB IPDPage_put_section_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDPage_get_columnNumber_Proxy(
IPDPage __RPC_FAR * This,
/* [retval][out] */ long __RPC_FAR *pVal);
void __RPC_STUB IPDPage_get_columnNumber_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IPDPage_put_columnNumber_Proxy(
IPDPage __RPC_FAR * This,
/* [in] */ long newVal);
void __RPC_STUB IPDPage_put_columnNumber_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDPage_get_columnGutter_Proxy(
IPDPage __RPC_FAR * This,
/* [retval][out] */ double __RPC_FAR *pVal);
void __RPC_STUB IPDPage_get_columnGutter_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IPDPage_put_columnGutter_Proxy(
IPDPage __RPC_FAR * This,
/* [in] */ double newVal);
void __RPC_STUB IPDPage_put_columnGutter_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDPage_setMarginsAndColumns_Proxy(
IPDPage __RPC_FAR * This,
/* [in] */ double marginTop,
/* [in] */ double marginBottom,
/* [in] */ double marginInside,
/* [in] */ double marginOutside,
/* [in] */ long columnNumber,
/* [in] */ double columnGutter);
void __RPC_STUB IPDPage_setMarginsAndColumns_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDPage_getPageRect_Proxy(
IPDPage __RPC_FAR * This,
/* [retval][out] */ RectD __RPC_FAR *pVal);
void __RPC_STUB IPDPage_getPageRect_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
#endif /* __IPDPage_INTERFACE_DEFINED__ */
#ifndef __IPDSubPath_INTERFACE_DEFINED__
#define __IPDSubPath_INTERFACE_DEFINED__
/* interface IPDSubPath */
/* [unique][helpstring][uuid][object] */
EXTERN_C const IID IID_IPDSubPath;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("BE2171BE-E3BD-4c9e-BD2F-747D2EDF0810")
IPDSubPath : public IPDUnknown
{
public:
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_pointCount(
/* [retval][out] */ long __RPC_FAR *pVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_closed(
/* [retval][out] */ VARIANT_BOOL __RPC_FAR *pVal) = 0;
virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_closed(
/* [in] */ VARIANT_BOOL newVal) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE reverse( void) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE getPoint(
/* [in] */ long index,
/* [retval][out] */ BezierPoint __RPC_FAR *pVal) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE setPoint(
/* [in] */ long index,
/* [in] */ BezierPoint __RPC_FAR *point) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE setEllipse(
/* [in] */ double left,
/* [in] */ double top,
/* [in] */ double right,
/* [in] */ double bottom) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE setRectangle(
/* [in] */ double left,
/* [in] */ double top,
/* [in] */ double right,
/* [in] */ double bottom) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE Move(
/* [in] */ double dx,
/* [in] */ double dy) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE appendPoint(
/* [in] */ double x,
/* [in] */ double y,
/* [in] */ double x1,
/* [in] */ double y1,
/* [in] */ double x2,
/* [in] */ double y2,
/* [retval][out] */ long __RPC_FAR *pVal) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE insertPoint(
/* [in] */ long index,
/* [in] */ double x,
/* [in] */ double y,
/* [in] */ double x1,
/* [in] */ double y1,
/* [in] */ double x2,
/* [in] */ double y2) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE getLength(
/* [retval][out] */ double __RPC_FAR *pVal) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE getPointOnLength(
/* [in] */ double onlength,
/* [out] */ double __RPC_FAR *px,
/* [out] */ double __RPC_FAR *py,
/* [out] */ double __RPC_FAR *angle) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE setLine(
/* [in] */ double x1,
/* [in] */ double y1,
/* [in] */ double x2,
/* [in] */ double y2) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE insertAnchorPointAt(
/* [in] */ long segment,
/* [in] */ double t) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE deleteAnchorPoint(
/* [in] */ long index) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE appendSubPathPoints(
/* [in] */ IPDSubPath __RPC_FAR *subpath) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE removeAllPoints( void) = 0;
};
#else /* C style interface */
typedef struct IPDSubPathVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
IPDSubPath __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
IPDSubPath __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
IPDSubPath __RPC_FAR * This);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_pointCount )(
IPDSubPath __RPC_FAR * This,
/* [retval][out] */ long __RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_closed )(
IPDSubPath __RPC_FAR * This,
/* [retval][out] */ VARIANT_BOOL __RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_closed )(
IPDSubPath __RPC_FAR * This,
/* [in] */ VARIANT_BOOL newVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *reverse )(
IPDSubPath __RPC_FAR * This);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *getPoint )(
IPDSubPath __RPC_FAR * This,
/* [in] */ long index,
/* [retval][out] */ BezierPoint __RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *setPoint )(
IPDSubPath __RPC_FAR * This,
/* [in] */ long index,
/* [in] */ BezierPoint __RPC_FAR *point);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *setEllipse )(
IPDSubPath __RPC_FAR * This,
/* [in] */ double left,
/* [in] */ double top,
/* [in] */ double right,
/* [in] */ double bottom);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *setRectangle )(
IPDSubPath __RPC_FAR * This,
/* [in] */ double left,
/* [in] */ double top,
/* [in] */ double right,
/* [in] */ double bottom);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Move )(
IPDSubPath __RPC_FAR * This,
/* [in] */ double dx,
/* [in] */ double dy);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *appendPoint )(
IPDSubPath __RPC_FAR * This,
/* [in] */ double x,
/* [in] */ double y,
/* [in] */ double x1,
/* [in] */ double y1,
/* [in] */ double x2,
/* [in] */ double y2,
/* [retval][out] */ long __RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *insertPoint )(
IPDSubPath __RPC_FAR * This,
/* [in] */ long index,
/* [in] */ double x,
/* [in] */ double y,
/* [in] */ double x1,
/* [in] */ double y1,
/* [in] */ double x2,
/* [in] */ double y2);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *getLength )(
IPDSubPath __RPC_FAR * This,
/* [retval][out] */ double __RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *getPointOnLength )(
IPDSubPath __RPC_FAR * This,
/* [in] */ double onlength,
/* [out] */ double __RPC_FAR *px,
/* [out] */ double __RPC_FAR *py,
/* [out] */ double __RPC_FAR *angle);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *setLine )(
IPDSubPath __RPC_FAR * This,
/* [in] */ double x1,
/* [in] */ double y1,
/* [in] */ double x2,
/* [in] */ double y2);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *insertAnchorPointAt )(
IPDSubPath __RPC_FAR * This,
/* [in] */ long segment,
/* [in] */ double t);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *deleteAnchorPoint )(
IPDSubPath __RPC_FAR * This,
/* [in] */ long index);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *appendSubPathPoints )(
IPDSubPath __RPC_FAR * This,
/* [in] */ IPDSubPath __RPC_FAR *subpath);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *removeAllPoints )(
IPDSubPath __RPC_FAR * This);
END_INTERFACE
} IPDSubPathVtbl;
interface IPDSubPath
{
CONST_VTBL struct IPDSubPathVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define IPDSubPath_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define IPDSubPath_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define IPDSubPath_Release(This) \
(This)->lpVtbl -> Release(This)
#define IPDSubPath_get_pointCount(This,pVal) \
(This)->lpVtbl -> get_pointCount(This,pVal)
#define IPDSubPath_get_closed(This,pVal) \
(This)->lpVtbl -> get_closed(This,pVal)
#define IPDSubPath_put_closed(This,newVal) \
(This)->lpVtbl -> put_closed(This,newVal)
#define IPDSubPath_reverse(This) \
(This)->lpVtbl -> reverse(This)
#define IPDSubPath_getPoint(This,index,pVal) \
(This)->lpVtbl -> getPoint(This,index,pVal)
#define IPDSubPath_setPoint(This,index,point) \
(This)->lpVtbl -> setPoint(This,index,point)
#define IPDSubPath_setEllipse(This,left,top,right,bottom) \
(This)->lpVtbl -> setEllipse(This,left,top,right,bottom)
#define IPDSubPath_setRectangle(This,left,top,right,bottom) \
(This)->lpVtbl -> setRectangle(This,left,top,right,bottom)
#define IPDSubPath_Move(This,dx,dy) \
(This)->lpVtbl -> Move(This,dx,dy)
#define IPDSubPath_appendPoint(This,x,y,x1,y1,x2,y2,pVal) \
(This)->lpVtbl -> appendPoint(This,x,y,x1,y1,x2,y2,pVal)
#define IPDSubPath_insertPoint(This,index,x,y,x1,y1,x2,y2) \
(This)->lpVtbl -> insertPoint(This,index,x,y,x1,y1,x2,y2)
#define IPDSubPath_getLength(This,pVal) \
(This)->lpVtbl -> getLength(This,pVal)
#define IPDSubPath_getPointOnLength(This,onlength,px,py,angle) \
(This)->lpVtbl -> getPointOnLength(This,onlength,px,py,angle)
#define IPDSubPath_setLine(This,x1,y1,x2,y2) \
(This)->lpVtbl -> setLine(This,x1,y1,x2,y2)
#define IPDSubPath_insertAnchorPointAt(This,segment,t) \
(This)->lpVtbl -> insertAnchorPointAt(This,segment,t)
#define IPDSubPath_deleteAnchorPoint(This,index) \
(This)->lpVtbl -> deleteAnchorPoint(This,index)
#define IPDSubPath_appendSubPathPoints(This,subpath) \
(This)->lpVtbl -> appendSubPathPoints(This,subpath)
#define IPDSubPath_removeAllPoints(This) \
(This)->lpVtbl -> removeAllPoints(This)
#endif /* COBJMACROS */
#endif /* C style interface */
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDSubPath_get_pointCount_Proxy(
IPDSubPath __RPC_FAR * This,
/* [retval][out] */ long __RPC_FAR *pVal);
void __RPC_STUB IPDSubPath_get_pointCount_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDSubPath_get_closed_Proxy(
IPDSubPath __RPC_FAR * This,
/* [retval][out] */ VARIANT_BOOL __RPC_FAR *pVal);
void __RPC_STUB IPDSubPath_get_closed_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IPDSubPath_put_closed_Proxy(
IPDSubPath __RPC_FAR * This,
/* [in] */ VARIANT_BOOL newVal);
void __RPC_STUB IPDSubPath_put_closed_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDSubPath_reverse_Proxy(
IPDSubPath __RPC_FAR * This);
void __RPC_STUB IPDSubPath_reverse_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDSubPath_getPoint_Proxy(
IPDSubPath __RPC_FAR * This,
/* [in] */ long index,
/* [retval][out] */ BezierPoint __RPC_FAR *pVal);
void __RPC_STUB IPDSubPath_getPoint_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDSubPath_setPoint_Proxy(
IPDSubPath __RPC_FAR * This,
/* [in] */ long index,
/* [in] */ BezierPoint __RPC_FAR *point);
void __RPC_STUB IPDSubPath_setPoint_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDSubPath_setEllipse_Proxy(
IPDSubPath __RPC_FAR * This,
/* [in] */ double left,
/* [in] */ double top,
/* [in] */ double right,
/* [in] */ double bottom);
void __RPC_STUB IPDSubPath_setEllipse_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDSubPath_setRectangle_Proxy(
IPDSubPath __RPC_FAR * This,
/* [in] */ double left,
/* [in] */ double top,
/* [in] */ double right,
/* [in] */ double bottom);
void __RPC_STUB IPDSubPath_setRectangle_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDSubPath_Move_Proxy(
IPDSubPath __RPC_FAR * This,
/* [in] */ double dx,
/* [in] */ double dy);
void __RPC_STUB IPDSubPath_Move_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDSubPath_appendPoint_Proxy(
IPDSubPath __RPC_FAR * This,
/* [in] */ double x,
/* [in] */ double y,
/* [in] */ double x1,
/* [in] */ double y1,
/* [in] */ double x2,
/* [in] */ double y2,
/* [retval][out] */ long __RPC_FAR *pVal);
void __RPC_STUB IPDSubPath_appendPoint_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDSubPath_insertPoint_Proxy(
IPDSubPath __RPC_FAR * This,
/* [in] */ long index,
/* [in] */ double x,
/* [in] */ double y,
/* [in] */ double x1,
/* [in] */ double y1,
/* [in] */ double x2,
/* [in] */ double y2);
void __RPC_STUB IPDSubPath_insertPoint_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDSubPath_getLength_Proxy(
IPDSubPath __RPC_FAR * This,
/* [retval][out] */ double __RPC_FAR *pVal);
void __RPC_STUB IPDSubPath_getLength_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDSubPath_getPointOnLength_Proxy(
IPDSubPath __RPC_FAR * This,
/* [in] */ double onlength,
/* [out] */ double __RPC_FAR *px,
/* [out] */ double __RPC_FAR *py,
/* [out] */ double __RPC_FAR *angle);
void __RPC_STUB IPDSubPath_getPointOnLength_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDSubPath_setLine_Proxy(
IPDSubPath __RPC_FAR * This,
/* [in] */ double x1,
/* [in] */ double y1,
/* [in] */ double x2,
/* [in] */ double y2);
void __RPC_STUB IPDSubPath_setLine_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDSubPath_insertAnchorPointAt_Proxy(
IPDSubPath __RPC_FAR * This,
/* [in] */ long segment,
/* [in] */ double t);
void __RPC_STUB IPDSubPath_insertAnchorPointAt_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDSubPath_deleteAnchorPoint_Proxy(
IPDSubPath __RPC_FAR * This,
/* [in] */ long index);
void __RPC_STUB IPDSubPath_deleteAnchorPoint_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDSubPath_appendSubPathPoints_Proxy(
IPDSubPath __RPC_FAR * This,
/* [in] */ IPDSubPath __RPC_FAR *subpath);
void __RPC_STUB IPDSubPath_appendSubPathPoints_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDSubPath_removeAllPoints_Proxy(
IPDSubPath __RPC_FAR * This);
void __RPC_STUB IPDSubPath_removeAllPoints_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
#endif /* __IPDSubPath_INTERFACE_DEFINED__ */
#ifndef __IPDPath_INTERFACE_DEFINED__
#define __IPDPath_INTERFACE_DEFINED__
/* interface IPDPath */
/* [unique][helpstring][uuid][object] */
EXTERN_C const IID IID_IPDPath;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("752A4765-EE35-43fb-B4FD-D60D877182CB")
IPDPath : public IPDUnknown
{
public:
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_pointCount(
/* [retval][out] */ long __RPC_FAR *pVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_subPathCount(
/* [retval][out] */ long __RPC_FAR *pVal) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE getSubPath(
/* [in] */ long index,
/* [retval][out] */ IPDSubPath __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE insertSubPath(
/* [in] */ long index,
/* [in] */ IPDSubPath __RPC_FAR *subPath) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE removeSubPath(
/* [in] */ IPDSubPath __RPC_FAR *subpath) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE removeSubPathByIndex(
/* [in] */ long index,
/* [retval][out] */ IPDSubPath __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE createSubPath(
/* [retval][out] */ IPDSubPath __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE Move(
/* [in] */ double dx,
/* [in] */ double dy) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE getPoint(
/* [in] */ long index,
/* [retval][out] */ BezierPoint __RPC_FAR *pVal) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE setPoint(
/* [in] */ long index,
/* [in] */ BezierPoint __RPC_FAR *point) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE insertPointBefore(
/* [in] */ long index,
/* [in] */ double x,
/* [in] */ double y,
/* [in] */ double x1,
/* [in] */ double y1,
/* [in] */ double x2,
/* [in] */ double y2) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE insertPointAfter(
/* [in] */ long index,
/* [in] */ double x,
/* [in] */ double y,
/* [in] */ double x1,
/* [in] */ double y1,
/* [in] */ double x2,
/* [in] */ double y2) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE calculateBBox(
/* [in] */ IPDMatrix __RPC_FAR *matrix,
/* [retval][out] */ RectD __RPC_FAR *bbox) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE offset(
/* [in] */ double distance,
/* [in] */ double tolerance,
/* [in] */ IPDPath __RPC_FAR *other) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE getPointNearPath(
/* [in] */ IPDMatrix __RPC_FAR *matrix,
/* [in] */ double mousex,
/* [in] */ double mousey,
/* [in] */ double tolerance,
/* [out] */ long __RPC_FAR *segindex,
/* [out] */ double __RPC_FAR *pt,
/* [retval][out] */ BOOL __RPC_FAR *pVal) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE getPointNearAnchorPoint(
/* [in] */ IPDMatrix __RPC_FAR *matrix,
/* [in] */ double mousex,
/* [in] */ double mousey,
/* [in] */ double tolerance,
/* [retval][out] */ long __RPC_FAR *pIndex) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE IsRectangular(
/* [retval][out] */ VARIANT_BOOL __RPC_FAR *pVal) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE insertAnchorPointAt(
/* [in] */ long segment,
/* [in] */ double t) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE getSubPathFromIndex(
/* [in] */ long index,
/* [out] */ long __RPC_FAR *pindex,
/* [retval][out] */ IPDSubPath __RPC_FAR *__RPC_FAR *psubpath) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE deleteAnchorPoint(
/* [in] */ long index) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE splitOnSegment(
/* [in] */ long segindex,
/* [retval][out] */ long __RPC_FAR *pRotateVal) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE splitOnAnchor(
/* [in] */ long index,
/* [retval][out] */ long __RPC_FAR *pRotateVal) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE removeSubPaths( void) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE transformPoints(
/* [in] */ IPDMatrix __RPC_FAR *matrix) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE setRectangle(
/* [in] */ double left,
/* [in] */ double top,
/* [in] */ double right,
/* [in] */ double bottom) = 0;
};
#else /* C style interface */
typedef struct IPDPathVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
IPDPath __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
IPDPath __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
IPDPath __RPC_FAR * This);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_pointCount )(
IPDPath __RPC_FAR * This,
/* [retval][out] */ long __RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_subPathCount )(
IPDPath __RPC_FAR * This,
/* [retval][out] */ long __RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *getSubPath )(
IPDPath __RPC_FAR * This,
/* [in] */ long index,
/* [retval][out] */ IPDSubPath __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *insertSubPath )(
IPDPath __RPC_FAR * This,
/* [in] */ long index,
/* [in] */ IPDSubPath __RPC_FAR *subPath);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *removeSubPath )(
IPDPath __RPC_FAR * This,
/* [in] */ IPDSubPath __RPC_FAR *subpath);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *removeSubPathByIndex )(
IPDPath __RPC_FAR * This,
/* [in] */ long index,
/* [retval][out] */ IPDSubPath __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *createSubPath )(
IPDPath __RPC_FAR * This,
/* [retval][out] */ IPDSubPath __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Move )(
IPDPath __RPC_FAR * This,
/* [in] */ double dx,
/* [in] */ double dy);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *getPoint )(
IPDPath __RPC_FAR * This,
/* [in] */ long index,
/* [retval][out] */ BezierPoint __RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *setPoint )(
IPDPath __RPC_FAR * This,
/* [in] */ long index,
/* [in] */ BezierPoint __RPC_FAR *point);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *insertPointBefore )(
IPDPath __RPC_FAR * This,
/* [in] */ long index,
/* [in] */ double x,
/* [in] */ double y,
/* [in] */ double x1,
/* [in] */ double y1,
/* [in] */ double x2,
/* [in] */ double y2);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *insertPointAfter )(
IPDPath __RPC_FAR * This,
/* [in] */ long index,
/* [in] */ double x,
/* [in] */ double y,
/* [in] */ double x1,
/* [in] */ double y1,
/* [in] */ double x2,
/* [in] */ double y2);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *calculateBBox )(
IPDPath __RPC_FAR * This,
/* [in] */ IPDMatrix __RPC_FAR *matrix,
/* [retval][out] */ RectD __RPC_FAR *bbox);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *offset )(
IPDPath __RPC_FAR * This,
/* [in] */ double distance,
/* [in] */ double tolerance,
/* [in] */ IPDPath __RPC_FAR *other);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *getPointNearPath )(
IPDPath __RPC_FAR * This,
/* [in] */ IPDMatrix __RPC_FAR *matrix,
/* [in] */ double mousex,
/* [in] */ double mousey,
/* [in] */ double tolerance,
/* [out] */ long __RPC_FAR *segindex,
/* [out] */ double __RPC_FAR *pt,
/* [retval][out] */ BOOL __RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *getPointNearAnchorPoint )(
IPDPath __RPC_FAR * This,
/* [in] */ IPDMatrix __RPC_FAR *matrix,
/* [in] */ double mousex,
/* [in] */ double mousey,
/* [in] */ double tolerance,
/* [retval][out] */ long __RPC_FAR *pIndex);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *IsRectangular )(
IPDPath __RPC_FAR * This,
/* [retval][out] */ VARIANT_BOOL __RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *insertAnchorPointAt )(
IPDPath __RPC_FAR * This,
/* [in] */ long segment,
/* [in] */ double t);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *getSubPathFromIndex )(
IPDPath __RPC_FAR * This,
/* [in] */ long index,
/* [out] */ long __RPC_FAR *pindex,
/* [retval][out] */ IPDSubPath __RPC_FAR *__RPC_FAR *psubpath);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *deleteAnchorPoint )(
IPDPath __RPC_FAR * This,
/* [in] */ long index);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *splitOnSegment )(
IPDPath __RPC_FAR * This,
/* [in] */ long segindex,
/* [retval][out] */ long __RPC_FAR *pRotateVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *splitOnAnchor )(
IPDPath __RPC_FAR * This,
/* [in] */ long index,
/* [retval][out] */ long __RPC_FAR *pRotateVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *removeSubPaths )(
IPDPath __RPC_FAR * This);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *transformPoints )(
IPDPath __RPC_FAR * This,
/* [in] */ IPDMatrix __RPC_FAR *matrix);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *setRectangle )(
IPDPath __RPC_FAR * This,
/* [in] */ double left,
/* [in] */ double top,
/* [in] */ double right,
/* [in] */ double bottom);
END_INTERFACE
} IPDPathVtbl;
interface IPDPath
{
CONST_VTBL struct IPDPathVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define IPDPath_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define IPDPath_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define IPDPath_Release(This) \
(This)->lpVtbl -> Release(This)
#define IPDPath_get_pointCount(This,pVal) \
(This)->lpVtbl -> get_pointCount(This,pVal)
#define IPDPath_get_subPathCount(This,pVal) \
(This)->lpVtbl -> get_subPathCount(This,pVal)
#define IPDPath_getSubPath(This,index,pVal) \
(This)->lpVtbl -> getSubPath(This,index,pVal)
#define IPDPath_insertSubPath(This,index,subPath) \
(This)->lpVtbl -> insertSubPath(This,index,subPath)
#define IPDPath_removeSubPath(This,subpath) \
(This)->lpVtbl -> removeSubPath(This,subpath)
#define IPDPath_removeSubPathByIndex(This,index,pVal) \
(This)->lpVtbl -> removeSubPathByIndex(This,index,pVal)
#define IPDPath_createSubPath(This,pVal) \
(This)->lpVtbl -> createSubPath(This,pVal)
#define IPDPath_Move(This,dx,dy) \
(This)->lpVtbl -> Move(This,dx,dy)
#define IPDPath_getPoint(This,index,pVal) \
(This)->lpVtbl -> getPoint(This,index,pVal)
#define IPDPath_setPoint(This,index,point) \
(This)->lpVtbl -> setPoint(This,index,point)
#define IPDPath_insertPointBefore(This,index,x,y,x1,y1,x2,y2) \
(This)->lpVtbl -> insertPointBefore(This,index,x,y,x1,y1,x2,y2)
#define IPDPath_insertPointAfter(This,index,x,y,x1,y1,x2,y2) \
(This)->lpVtbl -> insertPointAfter(This,index,x,y,x1,y1,x2,y2)
#define IPDPath_calculateBBox(This,matrix,bbox) \
(This)->lpVtbl -> calculateBBox(This,matrix,bbox)
#define IPDPath_offset(This,distance,tolerance,other) \
(This)->lpVtbl -> offset(This,distance,tolerance,other)
#define IPDPath_getPointNearPath(This,matrix,mousex,mousey,tolerance,segindex,pt,pVal) \
(This)->lpVtbl -> getPointNearPath(This,matrix,mousex,mousey,tolerance,segindex,pt,pVal)
#define IPDPath_getPointNearAnchorPoint(This,matrix,mousex,mousey,tolerance,pIndex) \
(This)->lpVtbl -> getPointNearAnchorPoint(This,matrix,mousex,mousey,tolerance,pIndex)
#define IPDPath_IsRectangular(This,pVal) \
(This)->lpVtbl -> IsRectangular(This,pVal)
#define IPDPath_insertAnchorPointAt(This,segment,t) \
(This)->lpVtbl -> insertAnchorPointAt(This,segment,t)
#define IPDPath_getSubPathFromIndex(This,index,pindex,psubpath) \
(This)->lpVtbl -> getSubPathFromIndex(This,index,pindex,psubpath)
#define IPDPath_deleteAnchorPoint(This,index) \
(This)->lpVtbl -> deleteAnchorPoint(This,index)
#define IPDPath_splitOnSegment(This,segindex,pRotateVal) \
(This)->lpVtbl -> splitOnSegment(This,segindex,pRotateVal)
#define IPDPath_splitOnAnchor(This,index,pRotateVal) \
(This)->lpVtbl -> splitOnAnchor(This,index,pRotateVal)
#define IPDPath_removeSubPaths(This) \
(This)->lpVtbl -> removeSubPaths(This)
#define IPDPath_transformPoints(This,matrix) \
(This)->lpVtbl -> transformPoints(This,matrix)
#define IPDPath_setRectangle(This,left,top,right,bottom) \
(This)->lpVtbl -> setRectangle(This,left,top,right,bottom)
#endif /* COBJMACROS */
#endif /* C style interface */
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDPath_get_pointCount_Proxy(
IPDPath __RPC_FAR * This,
/* [retval][out] */ long __RPC_FAR *pVal);
void __RPC_STUB IPDPath_get_pointCount_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDPath_get_subPathCount_Proxy(
IPDPath __RPC_FAR * This,
/* [retval][out] */ long __RPC_FAR *pVal);
void __RPC_STUB IPDPath_get_subPathCount_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDPath_getSubPath_Proxy(
IPDPath __RPC_FAR * This,
/* [in] */ long index,
/* [retval][out] */ IPDSubPath __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDPath_getSubPath_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDPath_insertSubPath_Proxy(
IPDPath __RPC_FAR * This,
/* [in] */ long index,
/* [in] */ IPDSubPath __RPC_FAR *subPath);
void __RPC_STUB IPDPath_insertSubPath_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDPath_removeSubPath_Proxy(
IPDPath __RPC_FAR * This,
/* [in] */ IPDSubPath __RPC_FAR *subpath);
void __RPC_STUB IPDPath_removeSubPath_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDPath_removeSubPathByIndex_Proxy(
IPDPath __RPC_FAR * This,
/* [in] */ long index,
/* [retval][out] */ IPDSubPath __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDPath_removeSubPathByIndex_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDPath_createSubPath_Proxy(
IPDPath __RPC_FAR * This,
/* [retval][out] */ IPDSubPath __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDPath_createSubPath_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDPath_Move_Proxy(
IPDPath __RPC_FAR * This,
/* [in] */ double dx,
/* [in] */ double dy);
void __RPC_STUB IPDPath_Move_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDPath_getPoint_Proxy(
IPDPath __RPC_FAR * This,
/* [in] */ long index,
/* [retval][out] */ BezierPoint __RPC_FAR *pVal);
void __RPC_STUB IPDPath_getPoint_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDPath_setPoint_Proxy(
IPDPath __RPC_FAR * This,
/* [in] */ long index,
/* [in] */ BezierPoint __RPC_FAR *point);
void __RPC_STUB IPDPath_setPoint_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDPath_insertPointBefore_Proxy(
IPDPath __RPC_FAR * This,
/* [in] */ long index,
/* [in] */ double x,
/* [in] */ double y,
/* [in] */ double x1,
/* [in] */ double y1,
/* [in] */ double x2,
/* [in] */ double y2);
void __RPC_STUB IPDPath_insertPointBefore_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDPath_insertPointAfter_Proxy(
IPDPath __RPC_FAR * This,
/* [in] */ long index,
/* [in] */ double x,
/* [in] */ double y,
/* [in] */ double x1,
/* [in] */ double y1,
/* [in] */ double x2,
/* [in] */ double y2);
void __RPC_STUB IPDPath_insertPointAfter_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDPath_calculateBBox_Proxy(
IPDPath __RPC_FAR * This,
/* [in] */ IPDMatrix __RPC_FAR *matrix,
/* [retval][out] */ RectD __RPC_FAR *bbox);
void __RPC_STUB IPDPath_calculateBBox_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDPath_offset_Proxy(
IPDPath __RPC_FAR * This,
/* [in] */ double distance,
/* [in] */ double tolerance,
/* [in] */ IPDPath __RPC_FAR *other);
void __RPC_STUB IPDPath_offset_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDPath_getPointNearPath_Proxy(
IPDPath __RPC_FAR * This,
/* [in] */ IPDMatrix __RPC_FAR *matrix,
/* [in] */ double mousex,
/* [in] */ double mousey,
/* [in] */ double tolerance,
/* [out] */ long __RPC_FAR *segindex,
/* [out] */ double __RPC_FAR *pt,
/* [retval][out] */ BOOL __RPC_FAR *pVal);
void __RPC_STUB IPDPath_getPointNearPath_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDPath_getPointNearAnchorPoint_Proxy(
IPDPath __RPC_FAR * This,
/* [in] */ IPDMatrix __RPC_FAR *matrix,
/* [in] */ double mousex,
/* [in] */ double mousey,
/* [in] */ double tolerance,
/* [retval][out] */ long __RPC_FAR *pIndex);
void __RPC_STUB IPDPath_getPointNearAnchorPoint_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDPath_IsRectangular_Proxy(
IPDPath __RPC_FAR * This,
/* [retval][out] */ VARIANT_BOOL __RPC_FAR *pVal);
void __RPC_STUB IPDPath_IsRectangular_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDPath_insertAnchorPointAt_Proxy(
IPDPath __RPC_FAR * This,
/* [in] */ long segment,
/* [in] */ double t);
void __RPC_STUB IPDPath_insertAnchorPointAt_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDPath_getSubPathFromIndex_Proxy(
IPDPath __RPC_FAR * This,
/* [in] */ long index,
/* [out] */ long __RPC_FAR *pindex,
/* [retval][out] */ IPDSubPath __RPC_FAR *__RPC_FAR *psubpath);
void __RPC_STUB IPDPath_getSubPathFromIndex_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDPath_deleteAnchorPoint_Proxy(
IPDPath __RPC_FAR * This,
/* [in] */ long index);
void __RPC_STUB IPDPath_deleteAnchorPoint_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDPath_splitOnSegment_Proxy(
IPDPath __RPC_FAR * This,
/* [in] */ long segindex,
/* [retval][out] */ long __RPC_FAR *pRotateVal);
void __RPC_STUB IPDPath_splitOnSegment_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDPath_splitOnAnchor_Proxy(
IPDPath __RPC_FAR * This,
/* [in] */ long index,
/* [retval][out] */ long __RPC_FAR *pRotateVal);
void __RPC_STUB IPDPath_splitOnAnchor_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDPath_removeSubPaths_Proxy(
IPDPath __RPC_FAR * This);
void __RPC_STUB IPDPath_removeSubPaths_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDPath_transformPoints_Proxy(
IPDPath __RPC_FAR * This,
/* [in] */ IPDMatrix __RPC_FAR *matrix);
void __RPC_STUB IPDPath_transformPoints_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDPath_setRectangle_Proxy(
IPDPath __RPC_FAR * This,
/* [in] */ double left,
/* [in] */ double top,
/* [in] */ double right,
/* [in] */ double bottom);
void __RPC_STUB IPDPath_setRectangle_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
#endif /* __IPDPath_INTERFACE_DEFINED__ */
#ifndef __IPDObjectLocatable_INTERFACE_DEFINED__
#define __IPDObjectLocatable_INTERFACE_DEFINED__
/* interface IPDObjectLocatable */
/* [unique][helpstring][uuid][object] */
EXTERN_C const IID IID_IPDObjectLocatable;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("25D89B8E-7E43-4218-AFF5-195B84D9989C")
IPDObjectLocatable : public IUnknown
{
public:
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_bounds(
/* [retval][out] */ RectD __RPC_FAR *pVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_xbounds(
/* [retval][out] */ RectD __RPC_FAR *pVal) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE Move(
/* [in] */ double dx,
/* [in] */ double dy) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE Scale(
/* [in] */ double originx,
/* [in] */ double originy,
/* [in] */ double sx,
/* [in] */ double sy) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE getScreenBBox(
/* [retval][out] */ RectD __RPC_FAR *pVal) = 0;
};
#else /* C style interface */
typedef struct IPDObjectLocatableVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
IPDObjectLocatable __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
IPDObjectLocatable __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
IPDObjectLocatable __RPC_FAR * This);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_bounds )(
IPDObjectLocatable __RPC_FAR * This,
/* [retval][out] */ RectD __RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_xbounds )(
IPDObjectLocatable __RPC_FAR * This,
/* [retval][out] */ RectD __RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Move )(
IPDObjectLocatable __RPC_FAR * This,
/* [in] */ double dx,
/* [in] */ double dy);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Scale )(
IPDObjectLocatable __RPC_FAR * This,
/* [in] */ double originx,
/* [in] */ double originy,
/* [in] */ double sx,
/* [in] */ double sy);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *getScreenBBox )(
IPDObjectLocatable __RPC_FAR * This,
/* [retval][out] */ RectD __RPC_FAR *pVal);
END_INTERFACE
} IPDObjectLocatableVtbl;
interface IPDObjectLocatable
{
CONST_VTBL struct IPDObjectLocatableVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define IPDObjectLocatable_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define IPDObjectLocatable_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define IPDObjectLocatable_Release(This) \
(This)->lpVtbl -> Release(This)
#define IPDObjectLocatable_get_bounds(This,pVal) \
(This)->lpVtbl -> get_bounds(This,pVal)
#define IPDObjectLocatable_get_xbounds(This,pVal) \
(This)->lpVtbl -> get_xbounds(This,pVal)
#define IPDObjectLocatable_Move(This,dx,dy) \
(This)->lpVtbl -> Move(This,dx,dy)
#define IPDObjectLocatable_Scale(This,originx,originy,sx,sy) \
(This)->lpVtbl -> Scale(This,originx,originy,sx,sy)
#define IPDObjectLocatable_getScreenBBox(This,pVal) \
(This)->lpVtbl -> getScreenBBox(This,pVal)
#endif /* COBJMACROS */
#endif /* C style interface */
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDObjectLocatable_get_bounds_Proxy(
IPDObjectLocatable __RPC_FAR * This,
/* [retval][out] */ RectD __RPC_FAR *pVal);
void __RPC_STUB IPDObjectLocatable_get_bounds_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDObjectLocatable_get_xbounds_Proxy(
IPDObjectLocatable __RPC_FAR * This,
/* [retval][out] */ RectD __RPC_FAR *pVal);
void __RPC_STUB IPDObjectLocatable_get_xbounds_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDObjectLocatable_Move_Proxy(
IPDObjectLocatable __RPC_FAR * This,
/* [in] */ double dx,
/* [in] */ double dy);
void __RPC_STUB IPDObjectLocatable_Move_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDObjectLocatable_Scale_Proxy(
IPDObjectLocatable __RPC_FAR * This,
/* [in] */ double originx,
/* [in] */ double originy,
/* [in] */ double sx,
/* [in] */ double sy);
void __RPC_STUB IPDObjectLocatable_Scale_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDObjectLocatable_getScreenBBox_Proxy(
IPDObjectLocatable __RPC_FAR * This,
/* [retval][out] */ RectD __RPC_FAR *pVal);
void __RPC_STUB IPDObjectLocatable_getScreenBBox_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
#endif /* __IPDObjectLocatable_INTERFACE_DEFINED__ */
#ifndef __IPDObjectTransformable_INTERFACE_DEFINED__
#define __IPDObjectTransformable_INTERFACE_DEFINED__
/* interface IPDObjectTransformable */
/* [unique][helpstring][uuid][object] */
EXTERN_C const IID IID_IPDObjectTransformable;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("CA848302-0F5F-11d6-95F0-0002E3045703")
IPDObjectTransformable : public IPDObjectLocatable
{
public:
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_transformMatrix(
/* [retval][out] */ IPDMatrix __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_transformMatrix(
/* [in] */ IPDMatrix __RPC_FAR *newVal) = 0;
};
#else /* C style interface */
typedef struct IPDObjectTransformableVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
IPDObjectTransformable __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
IPDObjectTransformable __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
IPDObjectTransformable __RPC_FAR * This);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_bounds )(
IPDObjectTransformable __RPC_FAR * This,
/* [retval][out] */ RectD __RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_xbounds )(
IPDObjectTransformable __RPC_FAR * This,
/* [retval][out] */ RectD __RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Move )(
IPDObjectTransformable __RPC_FAR * This,
/* [in] */ double dx,
/* [in] */ double dy);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Scale )(
IPDObjectTransformable __RPC_FAR * This,
/* [in] */ double originx,
/* [in] */ double originy,
/* [in] */ double sx,
/* [in] */ double sy);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *getScreenBBox )(
IPDObjectTransformable __RPC_FAR * This,
/* [retval][out] */ RectD __RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_transformMatrix )(
IPDObjectTransformable __RPC_FAR * This,
/* [retval][out] */ IPDMatrix __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_transformMatrix )(
IPDObjectTransformable __RPC_FAR * This,
/* [in] */ IPDMatrix __RPC_FAR *newVal);
END_INTERFACE
} IPDObjectTransformableVtbl;
interface IPDObjectTransformable
{
CONST_VTBL struct IPDObjectTransformableVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define IPDObjectTransformable_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define IPDObjectTransformable_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define IPDObjectTransformable_Release(This) \
(This)->lpVtbl -> Release(This)
#define IPDObjectTransformable_get_bounds(This,pVal) \
(This)->lpVtbl -> get_bounds(This,pVal)
#define IPDObjectTransformable_get_xbounds(This,pVal) \
(This)->lpVtbl -> get_xbounds(This,pVal)
#define IPDObjectTransformable_Move(This,dx,dy) \
(This)->lpVtbl -> Move(This,dx,dy)
#define IPDObjectTransformable_Scale(This,originx,originy,sx,sy) \
(This)->lpVtbl -> Scale(This,originx,originy,sx,sy)
#define IPDObjectTransformable_getScreenBBox(This,pVal) \
(This)->lpVtbl -> getScreenBBox(This,pVal)
#define IPDObjectTransformable_get_transformMatrix(This,pVal) \
(This)->lpVtbl -> get_transformMatrix(This,pVal)
#define IPDObjectTransformable_put_transformMatrix(This,newVal) \
(This)->lpVtbl -> put_transformMatrix(This,newVal)
#endif /* COBJMACROS */
#endif /* C style interface */
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDObjectTransformable_get_transformMatrix_Proxy(
IPDObjectTransformable __RPC_FAR * This,
/* [retval][out] */ IPDMatrix __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDObjectTransformable_get_transformMatrix_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IPDObjectTransformable_put_transformMatrix_Proxy(
IPDObjectTransformable __RPC_FAR * This,
/* [in] */ IPDMatrix __RPC_FAR *newVal);
void __RPC_STUB IPDObjectTransformable_put_transformMatrix_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
#endif /* __IPDObjectTransformable_INTERFACE_DEFINED__ */
#ifndef __IPDObjectWrappable_INTERFACE_DEFINED__
#define __IPDObjectWrappable_INTERFACE_DEFINED__
/* interface IPDObjectWrappable */
/* [unique][helpstring][uuid][object] */
EXTERN_C const IID IID_IPDObjectWrappable;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("CA848301-0F5F-11d6-95F0-0002E3045703")
IPDObjectWrappable : public IUnknown
{
public:
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_textWrap(
/* [retval][out] */ PDTextWrap __RPC_FAR *pVal) = 0;
virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_textWrap(
/* [in] */ PDTextWrap newVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_wrapPath(
/* [retval][out] */ IPDPath __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_wrapPath(
/* [in] */ IPDPath __RPC_FAR *newVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_editedWrapPath(
/* [retval][out] */ BOOL __RPC_FAR *pVal) = 0;
virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_editedWrapPath(
/* [in] */ BOOL newVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_topOffset(
/* [retval][out] */ double __RPC_FAR *pVal) = 0;
virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_topOffset(
/* [in] */ double newVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_leftOffset(
/* [retval][out] */ double __RPC_FAR *pVal) = 0;
virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_leftOffset(
/* [in] */ double newVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_bottomOffset(
/* [retval][out] */ double __RPC_FAR *pVal) = 0;
virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_bottomOffset(
/* [in] */ double newVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_rightOffset(
/* [retval][out] */ double __RPC_FAR *pVal) = 0;
virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_rightOffset(
/* [in] */ double newVal) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE IsRectangular(
/* [retval][out] */ VARIANT_BOOL __RPC_FAR *pVal) = 0;
};
#else /* C style interface */
typedef struct IPDObjectWrappableVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
IPDObjectWrappable __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
IPDObjectWrappable __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
IPDObjectWrappable __RPC_FAR * This);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_textWrap )(
IPDObjectWrappable __RPC_FAR * This,
/* [retval][out] */ PDTextWrap __RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_textWrap )(
IPDObjectWrappable __RPC_FAR * This,
/* [in] */ PDTextWrap newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_wrapPath )(
IPDObjectWrappable __RPC_FAR * This,
/* [retval][out] */ IPDPath __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_wrapPath )(
IPDObjectWrappable __RPC_FAR * This,
/* [in] */ IPDPath __RPC_FAR *newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_editedWrapPath )(
IPDObjectWrappable __RPC_FAR * This,
/* [retval][out] */ BOOL __RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_editedWrapPath )(
IPDObjectWrappable __RPC_FAR * This,
/* [in] */ BOOL newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_topOffset )(
IPDObjectWrappable __RPC_FAR * This,
/* [retval][out] */ double __RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_topOffset )(
IPDObjectWrappable __RPC_FAR * This,
/* [in] */ double newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_leftOffset )(
IPDObjectWrappable __RPC_FAR * This,
/* [retval][out] */ double __RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_leftOffset )(
IPDObjectWrappable __RPC_FAR * This,
/* [in] */ double newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_bottomOffset )(
IPDObjectWrappable __RPC_FAR * This,
/* [retval][out] */ double __RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_bottomOffset )(
IPDObjectWrappable __RPC_FAR * This,
/* [in] */ double newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_rightOffset )(
IPDObjectWrappable __RPC_FAR * This,
/* [retval][out] */ double __RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_rightOffset )(
IPDObjectWrappable __RPC_FAR * This,
/* [in] */ double newVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *IsRectangular )(
IPDObjectWrappable __RPC_FAR * This,
/* [retval][out] */ VARIANT_BOOL __RPC_FAR *pVal);
END_INTERFACE
} IPDObjectWrappableVtbl;
interface IPDObjectWrappable
{
CONST_VTBL struct IPDObjectWrappableVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define IPDObjectWrappable_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define IPDObjectWrappable_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define IPDObjectWrappable_Release(This) \
(This)->lpVtbl -> Release(This)
#define IPDObjectWrappable_get_textWrap(This,pVal) \
(This)->lpVtbl -> get_textWrap(This,pVal)
#define IPDObjectWrappable_put_textWrap(This,newVal) \
(This)->lpVtbl -> put_textWrap(This,newVal)
#define IPDObjectWrappable_get_wrapPath(This,pVal) \
(This)->lpVtbl -> get_wrapPath(This,pVal)
#define IPDObjectWrappable_put_wrapPath(This,newVal) \
(This)->lpVtbl -> put_wrapPath(This,newVal)
#define IPDObjectWrappable_get_editedWrapPath(This,pVal) \
(This)->lpVtbl -> get_editedWrapPath(This,pVal)
#define IPDObjectWrappable_put_editedWrapPath(This,newVal) \
(This)->lpVtbl -> put_editedWrapPath(This,newVal)
#define IPDObjectWrappable_get_topOffset(This,pVal) \
(This)->lpVtbl -> get_topOffset(This,pVal)
#define IPDObjectWrappable_put_topOffset(This,newVal) \
(This)->lpVtbl -> put_topOffset(This,newVal)
#define IPDObjectWrappable_get_leftOffset(This,pVal) \
(This)->lpVtbl -> get_leftOffset(This,pVal)
#define IPDObjectWrappable_put_leftOffset(This,newVal) \
(This)->lpVtbl -> put_leftOffset(This,newVal)
#define IPDObjectWrappable_get_bottomOffset(This,pVal) \
(This)->lpVtbl -> get_bottomOffset(This,pVal)
#define IPDObjectWrappable_put_bottomOffset(This,newVal) \
(This)->lpVtbl -> put_bottomOffset(This,newVal)
#define IPDObjectWrappable_get_rightOffset(This,pVal) \
(This)->lpVtbl -> get_rightOffset(This,pVal)
#define IPDObjectWrappable_put_rightOffset(This,newVal) \
(This)->lpVtbl -> put_rightOffset(This,newVal)
#define IPDObjectWrappable_IsRectangular(This,pVal) \
(This)->lpVtbl -> IsRectangular(This,pVal)
#endif /* COBJMACROS */
#endif /* C style interface */
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDObjectWrappable_get_textWrap_Proxy(
IPDObjectWrappable __RPC_FAR * This,
/* [retval][out] */ PDTextWrap __RPC_FAR *pVal);
void __RPC_STUB IPDObjectWrappable_get_textWrap_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IPDObjectWrappable_put_textWrap_Proxy(
IPDObjectWrappable __RPC_FAR * This,
/* [in] */ PDTextWrap newVal);
void __RPC_STUB IPDObjectWrappable_put_textWrap_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDObjectWrappable_get_wrapPath_Proxy(
IPDObjectWrappable __RPC_FAR * This,
/* [retval][out] */ IPDPath __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDObjectWrappable_get_wrapPath_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IPDObjectWrappable_put_wrapPath_Proxy(
IPDObjectWrappable __RPC_FAR * This,
/* [in] */ IPDPath __RPC_FAR *newVal);
void __RPC_STUB IPDObjectWrappable_put_wrapPath_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDObjectWrappable_get_editedWrapPath_Proxy(
IPDObjectWrappable __RPC_FAR * This,
/* [retval][out] */ BOOL __RPC_FAR *pVal);
void __RPC_STUB IPDObjectWrappable_get_editedWrapPath_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IPDObjectWrappable_put_editedWrapPath_Proxy(
IPDObjectWrappable __RPC_FAR * This,
/* [in] */ BOOL newVal);
void __RPC_STUB IPDObjectWrappable_put_editedWrapPath_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDObjectWrappable_get_topOffset_Proxy(
IPDObjectWrappable __RPC_FAR * This,
/* [retval][out] */ double __RPC_FAR *pVal);
void __RPC_STUB IPDObjectWrappable_get_topOffset_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IPDObjectWrappable_put_topOffset_Proxy(
IPDObjectWrappable __RPC_FAR * This,
/* [in] */ double newVal);
void __RPC_STUB IPDObjectWrappable_put_topOffset_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDObjectWrappable_get_leftOffset_Proxy(
IPDObjectWrappable __RPC_FAR * This,
/* [retval][out] */ double __RPC_FAR *pVal);
void __RPC_STUB IPDObjectWrappable_get_leftOffset_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IPDObjectWrappable_put_leftOffset_Proxy(
IPDObjectWrappable __RPC_FAR * This,
/* [in] */ double newVal);
void __RPC_STUB IPDObjectWrappable_put_leftOffset_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDObjectWrappable_get_bottomOffset_Proxy(
IPDObjectWrappable __RPC_FAR * This,
/* [retval][out] */ double __RPC_FAR *pVal);
void __RPC_STUB IPDObjectWrappable_get_bottomOffset_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IPDObjectWrappable_put_bottomOffset_Proxy(
IPDObjectWrappable __RPC_FAR * This,
/* [in] */ double newVal);
void __RPC_STUB IPDObjectWrappable_put_bottomOffset_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDObjectWrappable_get_rightOffset_Proxy(
IPDObjectWrappable __RPC_FAR * This,
/* [retval][out] */ double __RPC_FAR *pVal);
void __RPC_STUB IPDObjectWrappable_get_rightOffset_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IPDObjectWrappable_put_rightOffset_Proxy(
IPDObjectWrappable __RPC_FAR * This,
/* [in] */ double newVal);
void __RPC_STUB IPDObjectWrappable_put_rightOffset_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDObjectWrappable_IsRectangular_Proxy(
IPDObjectWrappable __RPC_FAR * This,
/* [retval][out] */ VARIANT_BOOL __RPC_FAR *pVal);
void __RPC_STUB IPDObjectWrappable_IsRectangular_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
#endif /* __IPDObjectWrappable_INTERFACE_DEFINED__ */
#ifndef __IPDObjectWithAppearance_INTERFACE_DEFINED__
#define __IPDObjectWithAppearance_INTERFACE_DEFINED__
/* interface IPDObjectWithAppearance */
/* [unique][helpstring][uuid][object] */
EXTERN_C const IID IID_IPDObjectWithAppearance;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("B1F20717-5556-4974-99DC-398C2AC4B49E")
IPDObjectWithAppearance : public IUnknown
{
public:
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_appearance(
/* [retval][out] */ IPDAppearance __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_appearance(
/* [in] */ IPDAppearance __RPC_FAR *newVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_filterRect(
/* [retval][out] */ RectD __RPC_FAR *pVal) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE Render2(
/* [in] */ DWORD dwBitmap,
/* [in] */ DWORD dwGraphics,
/* [in] */ double scaleX,
/* [in] */ double scaleY) = 0;
};
#else /* C style interface */
typedef struct IPDObjectWithAppearanceVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
IPDObjectWithAppearance __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
IPDObjectWithAppearance __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
IPDObjectWithAppearance __RPC_FAR * This);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_appearance )(
IPDObjectWithAppearance __RPC_FAR * This,
/* [retval][out] */ IPDAppearance __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_appearance )(
IPDObjectWithAppearance __RPC_FAR * This,
/* [in] */ IPDAppearance __RPC_FAR *newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_filterRect )(
IPDObjectWithAppearance __RPC_FAR * This,
/* [retval][out] */ RectD __RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Render2 )(
IPDObjectWithAppearance __RPC_FAR * This,
/* [in] */ DWORD dwBitmap,
/* [in] */ DWORD dwGraphics,
/* [in] */ double scaleX,
/* [in] */ double scaleY);
END_INTERFACE
} IPDObjectWithAppearanceVtbl;
interface IPDObjectWithAppearance
{
CONST_VTBL struct IPDObjectWithAppearanceVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define IPDObjectWithAppearance_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define IPDObjectWithAppearance_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define IPDObjectWithAppearance_Release(This) \
(This)->lpVtbl -> Release(This)
#define IPDObjectWithAppearance_get_appearance(This,pVal) \
(This)->lpVtbl -> get_appearance(This,pVal)
#define IPDObjectWithAppearance_put_appearance(This,newVal) \
(This)->lpVtbl -> put_appearance(This,newVal)
#define IPDObjectWithAppearance_get_filterRect(This,pVal) \
(This)->lpVtbl -> get_filterRect(This,pVal)
#define IPDObjectWithAppearance_Render2(This,dwBitmap,dwGraphics,scaleX,scaleY) \
(This)->lpVtbl -> Render2(This,dwBitmap,dwGraphics,scaleX,scaleY)
#endif /* COBJMACROS */
#endif /* C style interface */
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDObjectWithAppearance_get_appearance_Proxy(
IPDObjectWithAppearance __RPC_FAR * This,
/* [retval][out] */ IPDAppearance __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDObjectWithAppearance_get_appearance_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IPDObjectWithAppearance_put_appearance_Proxy(
IPDObjectWithAppearance __RPC_FAR * This,
/* [in] */ IPDAppearance __RPC_FAR *newVal);
void __RPC_STUB IPDObjectWithAppearance_put_appearance_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDObjectWithAppearance_get_filterRect_Proxy(
IPDObjectWithAppearance __RPC_FAR * This,
/* [retval][out] */ RectD __RPC_FAR *pVal);
void __RPC_STUB IPDObjectWithAppearance_get_filterRect_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDObjectWithAppearance_Render2_Proxy(
IPDObjectWithAppearance __RPC_FAR * This,
/* [in] */ DWORD dwBitmap,
/* [in] */ DWORD dwGraphics,
/* [in] */ double scaleX,
/* [in] */ double scaleY);
void __RPC_STUB IPDObjectWithAppearance_Render2_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
#endif /* __IPDObjectWithAppearance_INTERFACE_DEFINED__ */
#ifndef __IPDObjectWithAppearanceAndStrokeFill_INTERFACE_DEFINED__
#define __IPDObjectWithAppearanceAndStrokeFill_INTERFACE_DEFINED__
/* interface IPDObjectWithAppearanceAndStrokeFill */
/* [unique][helpstring][uuid][object] */
EXTERN_C const IID IID_IPDObjectWithAppearanceAndStrokeFill;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("FD56D926-34B6-426c-BB73-70F67CBC3AE2")
IPDObjectWithAppearanceAndStrokeFill : public IPDObjectWithAppearance
{
public:
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE appendSubObject(
/* [in] */ IPDObjectWithBrush __RPC_FAR *object) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE removeSubObject(
/* [in] */ IPDObjectWithBrush __RPC_FAR *object) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE copyAppearanceFrom(
/* [in] */ VARIANT_BOOL newArtHasBasicAppearance,
/* [in] */ IPDObjectWithAppearanceAndStrokeFill __RPC_FAR *other) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_subObjects(
/* [retval][out] */ IObjectMap __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_activeStroke(
/* [retval][out] */ IPDObjectStroke __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_activeStroke(
/* [in] */ IPDObjectStroke __RPC_FAR *newVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_activeFill(
/* [retval][out] */ IPDObjectFill __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_activeFill(
/* [in] */ IPDObjectFill __RPC_FAR *newVal) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE removeSubObjects( void) = 0;
};
#else /* C style interface */
typedef struct IPDObjectWithAppearanceAndStrokeFillVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
IPDObjectWithAppearanceAndStrokeFill __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
IPDObjectWithAppearanceAndStrokeFill __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
IPDObjectWithAppearanceAndStrokeFill __RPC_FAR * This);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_appearance )(
IPDObjectWithAppearanceAndStrokeFill __RPC_FAR * This,
/* [retval][out] */ IPDAppearance __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_appearance )(
IPDObjectWithAppearanceAndStrokeFill __RPC_FAR * This,
/* [in] */ IPDAppearance __RPC_FAR *newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_filterRect )(
IPDObjectWithAppearanceAndStrokeFill __RPC_FAR * This,
/* [retval][out] */ RectD __RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Render2 )(
IPDObjectWithAppearanceAndStrokeFill __RPC_FAR * This,
/* [in] */ DWORD dwBitmap,
/* [in] */ DWORD dwGraphics,
/* [in] */ double scaleX,
/* [in] */ double scaleY);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *appendSubObject )(
IPDObjectWithAppearanceAndStrokeFill __RPC_FAR * This,
/* [in] */ IPDObjectWithBrush __RPC_FAR *object);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *removeSubObject )(
IPDObjectWithAppearanceAndStrokeFill __RPC_FAR * This,
/* [in] */ IPDObjectWithBrush __RPC_FAR *object);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *copyAppearanceFrom )(
IPDObjectWithAppearanceAndStrokeFill __RPC_FAR * This,
/* [in] */ VARIANT_BOOL newArtHasBasicAppearance,
/* [in] */ IPDObjectWithAppearanceAndStrokeFill __RPC_FAR *other);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_subObjects )(
IPDObjectWithAppearanceAndStrokeFill __RPC_FAR * This,
/* [retval][out] */ IObjectMap __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_activeStroke )(
IPDObjectWithAppearanceAndStrokeFill __RPC_FAR * This,
/* [retval][out] */ IPDObjectStroke __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_activeStroke )(
IPDObjectWithAppearanceAndStrokeFill __RPC_FAR * This,
/* [in] */ IPDObjectStroke __RPC_FAR *newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_activeFill )(
IPDObjectWithAppearanceAndStrokeFill __RPC_FAR * This,
/* [retval][out] */ IPDObjectFill __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_activeFill )(
IPDObjectWithAppearanceAndStrokeFill __RPC_FAR * This,
/* [in] */ IPDObjectFill __RPC_FAR *newVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *removeSubObjects )(
IPDObjectWithAppearanceAndStrokeFill __RPC_FAR * This);
END_INTERFACE
} IPDObjectWithAppearanceAndStrokeFillVtbl;
interface IPDObjectWithAppearanceAndStrokeFill
{
CONST_VTBL struct IPDObjectWithAppearanceAndStrokeFillVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define IPDObjectWithAppearanceAndStrokeFill_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define IPDObjectWithAppearanceAndStrokeFill_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define IPDObjectWithAppearanceAndStrokeFill_Release(This) \
(This)->lpVtbl -> Release(This)
#define IPDObjectWithAppearanceAndStrokeFill_get_appearance(This,pVal) \
(This)->lpVtbl -> get_appearance(This,pVal)
#define IPDObjectWithAppearanceAndStrokeFill_put_appearance(This,newVal) \
(This)->lpVtbl -> put_appearance(This,newVal)
#define IPDObjectWithAppearanceAndStrokeFill_get_filterRect(This,pVal) \
(This)->lpVtbl -> get_filterRect(This,pVal)
#define IPDObjectWithAppearanceAndStrokeFill_Render2(This,dwBitmap,dwGraphics,scaleX,scaleY) \
(This)->lpVtbl -> Render2(This,dwBitmap,dwGraphics,scaleX,scaleY)
#define IPDObjectWithAppearanceAndStrokeFill_appendSubObject(This,object) \
(This)->lpVtbl -> appendSubObject(This,object)
#define IPDObjectWithAppearanceAndStrokeFill_removeSubObject(This,object) \
(This)->lpVtbl -> removeSubObject(This,object)
#define IPDObjectWithAppearanceAndStrokeFill_copyAppearanceFrom(This,newArtHasBasicAppearance,other) \
(This)->lpVtbl -> copyAppearanceFrom(This,newArtHasBasicAppearance,other)
#define IPDObjectWithAppearanceAndStrokeFill_get_subObjects(This,pVal) \
(This)->lpVtbl -> get_subObjects(This,pVal)
#define IPDObjectWithAppearanceAndStrokeFill_get_activeStroke(This,pVal) \
(This)->lpVtbl -> get_activeStroke(This,pVal)
#define IPDObjectWithAppearanceAndStrokeFill_put_activeStroke(This,newVal) \
(This)->lpVtbl -> put_activeStroke(This,newVal)
#define IPDObjectWithAppearanceAndStrokeFill_get_activeFill(This,pVal) \
(This)->lpVtbl -> get_activeFill(This,pVal)
#define IPDObjectWithAppearanceAndStrokeFill_put_activeFill(This,newVal) \
(This)->lpVtbl -> put_activeFill(This,newVal)
#define IPDObjectWithAppearanceAndStrokeFill_removeSubObjects(This) \
(This)->lpVtbl -> removeSubObjects(This)
#endif /* COBJMACROS */
#endif /* C style interface */
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDObjectWithAppearanceAndStrokeFill_appendSubObject_Proxy(
IPDObjectWithAppearanceAndStrokeFill __RPC_FAR * This,
/* [in] */ IPDObjectWithBrush __RPC_FAR *object);
void __RPC_STUB IPDObjectWithAppearanceAndStrokeFill_appendSubObject_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDObjectWithAppearanceAndStrokeFill_removeSubObject_Proxy(
IPDObjectWithAppearanceAndStrokeFill __RPC_FAR * This,
/* [in] */ IPDObjectWithBrush __RPC_FAR *object);
void __RPC_STUB IPDObjectWithAppearanceAndStrokeFill_removeSubObject_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDObjectWithAppearanceAndStrokeFill_copyAppearanceFrom_Proxy(
IPDObjectWithAppearanceAndStrokeFill __RPC_FAR * This,
/* [in] */ VARIANT_BOOL newArtHasBasicAppearance,
/* [in] */ IPDObjectWithAppearanceAndStrokeFill __RPC_FAR *other);
void __RPC_STUB IPDObjectWithAppearanceAndStrokeFill_copyAppearanceFrom_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDObjectWithAppearanceAndStrokeFill_get_subObjects_Proxy(
IPDObjectWithAppearanceAndStrokeFill __RPC_FAR * This,
/* [retval][out] */ IObjectMap __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDObjectWithAppearanceAndStrokeFill_get_subObjects_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDObjectWithAppearanceAndStrokeFill_get_activeStroke_Proxy(
IPDObjectWithAppearanceAndStrokeFill __RPC_FAR * This,
/* [retval][out] */ IPDObjectStroke __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDObjectWithAppearanceAndStrokeFill_get_activeStroke_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IPDObjectWithAppearanceAndStrokeFill_put_activeStroke_Proxy(
IPDObjectWithAppearanceAndStrokeFill __RPC_FAR * This,
/* [in] */ IPDObjectStroke __RPC_FAR *newVal);
void __RPC_STUB IPDObjectWithAppearanceAndStrokeFill_put_activeStroke_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDObjectWithAppearanceAndStrokeFill_get_activeFill_Proxy(
IPDObjectWithAppearanceAndStrokeFill __RPC_FAR * This,
/* [retval][out] */ IPDObjectFill __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDObjectWithAppearanceAndStrokeFill_get_activeFill_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IPDObjectWithAppearanceAndStrokeFill_put_activeFill_Proxy(
IPDObjectWithAppearanceAndStrokeFill __RPC_FAR * This,
/* [in] */ IPDObjectFill __RPC_FAR *newVal);
void __RPC_STUB IPDObjectWithAppearanceAndStrokeFill_put_activeFill_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDObjectWithAppearanceAndStrokeFill_removeSubObjects_Proxy(
IPDObjectWithAppearanceAndStrokeFill __RPC_FAR * This);
void __RPC_STUB IPDObjectWithAppearanceAndStrokeFill_removeSubObjects_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
#endif /* __IPDObjectWithAppearanceAndStrokeFill_INTERFACE_DEFINED__ */
#ifndef __IPDObjectWithOpacityMask_INTERFACE_DEFINED__
#define __IPDObjectWithOpacityMask_INTERFACE_DEFINED__
/* interface IPDObjectWithOpacityMask */
/* [unique][helpstring][uuid][object] */
EXTERN_C const IID IID_IPDObjectWithOpacityMask;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("F6694FC1-298E-11d6-95F0-0002E3045703")
IPDObjectWithOpacityMask : public IUnknown
{
public:
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_opacityMaskGroup(
/* [retval][out] */ IPDObjectGroup __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_opacityMaskGroup(
/* [in] */ IPDObjectGroup __RPC_FAR *newVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_opacityMaskClip(
/* [retval][out] */ VARIANT_BOOL __RPC_FAR *pVal) = 0;
virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_opacityMaskClip(
/* [in] */ VARIANT_BOOL newVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_opacityMaskInvert(
/* [retval][out] */ VARIANT_BOOL __RPC_FAR *pVal) = 0;
virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_opacityMaskInvert(
/* [in] */ VARIANT_BOOL newVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_opacityMaskEnabled(
/* [retval][out] */ VARIANT_BOOL __RPC_FAR *pVal) = 0;
virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_opacityMaskEnabled(
/* [in] */ VARIANT_BOOL newVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_opacityMaskLinked(
/* [retval][out] */ VARIANT_BOOL __RPC_FAR *pVal) = 0;
virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_opacityMaskLinked(
/* [in] */ VARIANT_BOOL newVal) = 0;
};
#else /* C style interface */
typedef struct IPDObjectWithOpacityMaskVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
IPDObjectWithOpacityMask __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
IPDObjectWithOpacityMask __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
IPDObjectWithOpacityMask __RPC_FAR * This);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_opacityMaskGroup )(
IPDObjectWithOpacityMask __RPC_FAR * This,
/* [retval][out] */ IPDObjectGroup __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_opacityMaskGroup )(
IPDObjectWithOpacityMask __RPC_FAR * This,
/* [in] */ IPDObjectGroup __RPC_FAR *newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_opacityMaskClip )(
IPDObjectWithOpacityMask __RPC_FAR * This,
/* [retval][out] */ VARIANT_BOOL __RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_opacityMaskClip )(
IPDObjectWithOpacityMask __RPC_FAR * This,
/* [in] */ VARIANT_BOOL newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_opacityMaskInvert )(
IPDObjectWithOpacityMask __RPC_FAR * This,
/* [retval][out] */ VARIANT_BOOL __RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_opacityMaskInvert )(
IPDObjectWithOpacityMask __RPC_FAR * This,
/* [in] */ VARIANT_BOOL newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_opacityMaskEnabled )(
IPDObjectWithOpacityMask __RPC_FAR * This,
/* [retval][out] */ VARIANT_BOOL __RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_opacityMaskEnabled )(
IPDObjectWithOpacityMask __RPC_FAR * This,
/* [in] */ VARIANT_BOOL newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_opacityMaskLinked )(
IPDObjectWithOpacityMask __RPC_FAR * This,
/* [retval][out] */ VARIANT_BOOL __RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_opacityMaskLinked )(
IPDObjectWithOpacityMask __RPC_FAR * This,
/* [in] */ VARIANT_BOOL newVal);
END_INTERFACE
} IPDObjectWithOpacityMaskVtbl;
interface IPDObjectWithOpacityMask
{
CONST_VTBL struct IPDObjectWithOpacityMaskVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define IPDObjectWithOpacityMask_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define IPDObjectWithOpacityMask_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define IPDObjectWithOpacityMask_Release(This) \
(This)->lpVtbl -> Release(This)
#define IPDObjectWithOpacityMask_get_opacityMaskGroup(This,pVal) \
(This)->lpVtbl -> get_opacityMaskGroup(This,pVal)
#define IPDObjectWithOpacityMask_put_opacityMaskGroup(This,newVal) \
(This)->lpVtbl -> put_opacityMaskGroup(This,newVal)
#define IPDObjectWithOpacityMask_get_opacityMaskClip(This,pVal) \
(This)->lpVtbl -> get_opacityMaskClip(This,pVal)
#define IPDObjectWithOpacityMask_put_opacityMaskClip(This,newVal) \
(This)->lpVtbl -> put_opacityMaskClip(This,newVal)
#define IPDObjectWithOpacityMask_get_opacityMaskInvert(This,pVal) \
(This)->lpVtbl -> get_opacityMaskInvert(This,pVal)
#define IPDObjectWithOpacityMask_put_opacityMaskInvert(This,newVal) \
(This)->lpVtbl -> put_opacityMaskInvert(This,newVal)
#define IPDObjectWithOpacityMask_get_opacityMaskEnabled(This,pVal) \
(This)->lpVtbl -> get_opacityMaskEnabled(This,pVal)
#define IPDObjectWithOpacityMask_put_opacityMaskEnabled(This,newVal) \
(This)->lpVtbl -> put_opacityMaskEnabled(This,newVal)
#define IPDObjectWithOpacityMask_get_opacityMaskLinked(This,pVal) \
(This)->lpVtbl -> get_opacityMaskLinked(This,pVal)
#define IPDObjectWithOpacityMask_put_opacityMaskLinked(This,newVal) \
(This)->lpVtbl -> put_opacityMaskLinked(This,newVal)
#endif /* COBJMACROS */
#endif /* C style interface */
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDObjectWithOpacityMask_get_opacityMaskGroup_Proxy(
IPDObjectWithOpacityMask __RPC_FAR * This,
/* [retval][out] */ IPDObjectGroup __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDObjectWithOpacityMask_get_opacityMaskGroup_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IPDObjectWithOpacityMask_put_opacityMaskGroup_Proxy(
IPDObjectWithOpacityMask __RPC_FAR * This,
/* [in] */ IPDObjectGroup __RPC_FAR *newVal);
void __RPC_STUB IPDObjectWithOpacityMask_put_opacityMaskGroup_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDObjectWithOpacityMask_get_opacityMaskClip_Proxy(
IPDObjectWithOpacityMask __RPC_FAR * This,
/* [retval][out] */ VARIANT_BOOL __RPC_FAR *pVal);
void __RPC_STUB IPDObjectWithOpacityMask_get_opacityMaskClip_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IPDObjectWithOpacityMask_put_opacityMaskClip_Proxy(
IPDObjectWithOpacityMask __RPC_FAR * This,
/* [in] */ VARIANT_BOOL newVal);
void __RPC_STUB IPDObjectWithOpacityMask_put_opacityMaskClip_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDObjectWithOpacityMask_get_opacityMaskInvert_Proxy(
IPDObjectWithOpacityMask __RPC_FAR * This,
/* [retval][out] */ VARIANT_BOOL __RPC_FAR *pVal);
void __RPC_STUB IPDObjectWithOpacityMask_get_opacityMaskInvert_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IPDObjectWithOpacityMask_put_opacityMaskInvert_Proxy(
IPDObjectWithOpacityMask __RPC_FAR * This,
/* [in] */ VARIANT_BOOL newVal);
void __RPC_STUB IPDObjectWithOpacityMask_put_opacityMaskInvert_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDObjectWithOpacityMask_get_opacityMaskEnabled_Proxy(
IPDObjectWithOpacityMask __RPC_FAR * This,
/* [retval][out] */ VARIANT_BOOL __RPC_FAR *pVal);
void __RPC_STUB IPDObjectWithOpacityMask_get_opacityMaskEnabled_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IPDObjectWithOpacityMask_put_opacityMaskEnabled_Proxy(
IPDObjectWithOpacityMask __RPC_FAR * This,
/* [in] */ VARIANT_BOOL newVal);
void __RPC_STUB IPDObjectWithOpacityMask_put_opacityMaskEnabled_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDObjectWithOpacityMask_get_opacityMaskLinked_Proxy(
IPDObjectWithOpacityMask __RPC_FAR * This,
/* [retval][out] */ VARIANT_BOOL __RPC_FAR *pVal);
void __RPC_STUB IPDObjectWithOpacityMask_get_opacityMaskLinked_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IPDObjectWithOpacityMask_put_opacityMaskLinked_Proxy(
IPDObjectWithOpacityMask __RPC_FAR * This,
/* [in] */ VARIANT_BOOL newVal);
void __RPC_STUB IPDObjectWithOpacityMask_put_opacityMaskLinked_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
#endif /* __IPDObjectWithOpacityMask_INTERFACE_DEFINED__ */
#ifndef __IPDOpacityAndBlendMode_INTERFACE_DEFINED__
#define __IPDOpacityAndBlendMode_INTERFACE_DEFINED__
/* interface IPDOpacityAndBlendMode */
/* [unique][helpstring][uuid][object] */
EXTERN_C const IID IID_IPDOpacityAndBlendMode;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("AFF1FFE1-3DF0-447b-A763-D578EF9E10BD")
IPDOpacityAndBlendMode : public IUnknown
{
public:
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_opacity(
/* [retval][out] */ double __RPC_FAR *pVal) = 0;
virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_opacity(
/* [in] */ double newVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_blendmode(
/* [retval][out] */ long __RPC_FAR *pVal) = 0;
virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_blendmode(
/* [in] */ long newVal) = 0;
};
#else /* C style interface */
typedef struct IPDOpacityAndBlendModeVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
IPDOpacityAndBlendMode __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
IPDOpacityAndBlendMode __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
IPDOpacityAndBlendMode __RPC_FAR * This);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_opacity )(
IPDOpacityAndBlendMode __RPC_FAR * This,
/* [retval][out] */ double __RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_opacity )(
IPDOpacityAndBlendMode __RPC_FAR * This,
/* [in] */ double newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_blendmode )(
IPDOpacityAndBlendMode __RPC_FAR * This,
/* [retval][out] */ long __RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_blendmode )(
IPDOpacityAndBlendMode __RPC_FAR * This,
/* [in] */ long newVal);
END_INTERFACE
} IPDOpacityAndBlendModeVtbl;
interface IPDOpacityAndBlendMode
{
CONST_VTBL struct IPDOpacityAndBlendModeVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define IPDOpacityAndBlendMode_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define IPDOpacityAndBlendMode_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define IPDOpacityAndBlendMode_Release(This) \
(This)->lpVtbl -> Release(This)
#define IPDOpacityAndBlendMode_get_opacity(This,pVal) \
(This)->lpVtbl -> get_opacity(This,pVal)
#define IPDOpacityAndBlendMode_put_opacity(This,newVal) \
(This)->lpVtbl -> put_opacity(This,newVal)
#define IPDOpacityAndBlendMode_get_blendmode(This,pVal) \
(This)->lpVtbl -> get_blendmode(This,pVal)
#define IPDOpacityAndBlendMode_put_blendmode(This,newVal) \
(This)->lpVtbl -> put_blendmode(This,newVal)
#endif /* COBJMACROS */
#endif /* C style interface */
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDOpacityAndBlendMode_get_opacity_Proxy(
IPDOpacityAndBlendMode __RPC_FAR * This,
/* [retval][out] */ double __RPC_FAR *pVal);
void __RPC_STUB IPDOpacityAndBlendMode_get_opacity_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IPDOpacityAndBlendMode_put_opacity_Proxy(
IPDOpacityAndBlendMode __RPC_FAR * This,
/* [in] */ double newVal);
void __RPC_STUB IPDOpacityAndBlendMode_put_opacity_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDOpacityAndBlendMode_get_blendmode_Proxy(
IPDOpacityAndBlendMode __RPC_FAR * This,
/* [retval][out] */ long __RPC_FAR *pVal);
void __RPC_STUB IPDOpacityAndBlendMode_get_blendmode_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IPDOpacityAndBlendMode_put_blendmode_Proxy(
IPDOpacityAndBlendMode __RPC_FAR * This,
/* [in] */ long newVal);
void __RPC_STUB IPDOpacityAndBlendMode_put_blendmode_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
#endif /* __IPDOpacityAndBlendMode_INTERFACE_DEFINED__ */
#ifndef __IPDTextFrameOptions_INTERFACE_DEFINED__
#define __IPDTextFrameOptions_INTERFACE_DEFINED__
/* interface IPDTextFrameOptions */
/* [unique][helpstring][uuid][object] */
EXTERN_C const IID IID_IPDTextFrameOptions;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("9C048B01-10A5-11d6-95F0-0002E3045703")
IPDTextFrameOptions : public IUnknown
{
public:
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_ignoreTextWrap(
/* [retval][out] */ VARIANT_BOOL __RPC_FAR *pVal) = 0;
virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_ignoreTextWrap(
/* [in] */ VARIANT_BOOL newVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_columnsNumber(
/* [retval][out] */ long __RPC_FAR *pVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_columnsGutter(
/* [retval][out] */ double __RPC_FAR *pVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_insetTop(
/* [retval][out] */ double __RPC_FAR *pVal) = 0;
virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_insetTop(
/* [in] */ double newVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_insetBottom(
/* [retval][out] */ double __RPC_FAR *pVal) = 0;
virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_insetBottom(
/* [in] */ double newVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_insetLeft(
/* [retval][out] */ double __RPC_FAR *pVal) = 0;
virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_insetLeft(
/* [in] */ double newVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_insetRight(
/* [retval][out] */ double __RPC_FAR *pVal) = 0;
virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_insetRight(
/* [in] */ double newVal) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE copyFrom(
/* [in] */ IPDTextFrameOptions __RPC_FAR *other) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_columnsWidth(
/* [retval][out] */ double __RPC_FAR *pVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_columnsFixedWidth(
/* [retval][out] */ VARIANT_BOOL __RPC_FAR *pVal) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE setColumns(
/* [in] */ long ncolumns,
/* [in] */ double gutter,
/* [in] */ double width,
/* [in] */ VARIANT_BOOL fixedWidth) = 0;
};
#else /* C style interface */
typedef struct IPDTextFrameOptionsVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
IPDTextFrameOptions __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
IPDTextFrameOptions __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
IPDTextFrameOptions __RPC_FAR * This);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_ignoreTextWrap )(
IPDTextFrameOptions __RPC_FAR * This,
/* [retval][out] */ VARIANT_BOOL __RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_ignoreTextWrap )(
IPDTextFrameOptions __RPC_FAR * This,
/* [in] */ VARIANT_BOOL newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_columnsNumber )(
IPDTextFrameOptions __RPC_FAR * This,
/* [retval][out] */ long __RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_columnsGutter )(
IPDTextFrameOptions __RPC_FAR * This,
/* [retval][out] */ double __RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_insetTop )(
IPDTextFrameOptions __RPC_FAR * This,
/* [retval][out] */ double __RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_insetTop )(
IPDTextFrameOptions __RPC_FAR * This,
/* [in] */ double newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_insetBottom )(
IPDTextFrameOptions __RPC_FAR * This,
/* [retval][out] */ double __RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_insetBottom )(
IPDTextFrameOptions __RPC_FAR * This,
/* [in] */ double newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_insetLeft )(
IPDTextFrameOptions __RPC_FAR * This,
/* [retval][out] */ double __RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_insetLeft )(
IPDTextFrameOptions __RPC_FAR * This,
/* [in] */ double newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_insetRight )(
IPDTextFrameOptions __RPC_FAR * This,
/* [retval][out] */ double __RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_insetRight )(
IPDTextFrameOptions __RPC_FAR * This,
/* [in] */ double newVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *copyFrom )(
IPDTextFrameOptions __RPC_FAR * This,
/* [in] */ IPDTextFrameOptions __RPC_FAR *other);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_columnsWidth )(
IPDTextFrameOptions __RPC_FAR * This,
/* [retval][out] */ double __RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_columnsFixedWidth )(
IPDTextFrameOptions __RPC_FAR * This,
/* [retval][out] */ VARIANT_BOOL __RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *setColumns )(
IPDTextFrameOptions __RPC_FAR * This,
/* [in] */ long ncolumns,
/* [in] */ double gutter,
/* [in] */ double width,
/* [in] */ VARIANT_BOOL fixedWidth);
END_INTERFACE
} IPDTextFrameOptionsVtbl;
interface IPDTextFrameOptions
{
CONST_VTBL struct IPDTextFrameOptionsVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define IPDTextFrameOptions_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define IPDTextFrameOptions_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define IPDTextFrameOptions_Release(This) \
(This)->lpVtbl -> Release(This)
#define IPDTextFrameOptions_get_ignoreTextWrap(This,pVal) \
(This)->lpVtbl -> get_ignoreTextWrap(This,pVal)
#define IPDTextFrameOptions_put_ignoreTextWrap(This,newVal) \
(This)->lpVtbl -> put_ignoreTextWrap(This,newVal)
#define IPDTextFrameOptions_get_columnsNumber(This,pVal) \
(This)->lpVtbl -> get_columnsNumber(This,pVal)
#define IPDTextFrameOptions_get_columnsGutter(This,pVal) \
(This)->lpVtbl -> get_columnsGutter(This,pVal)
#define IPDTextFrameOptions_get_insetTop(This,pVal) \
(This)->lpVtbl -> get_insetTop(This,pVal)
#define IPDTextFrameOptions_put_insetTop(This,newVal) \
(This)->lpVtbl -> put_insetTop(This,newVal)
#define IPDTextFrameOptions_get_insetBottom(This,pVal) \
(This)->lpVtbl -> get_insetBottom(This,pVal)
#define IPDTextFrameOptions_put_insetBottom(This,newVal) \
(This)->lpVtbl -> put_insetBottom(This,newVal)
#define IPDTextFrameOptions_get_insetLeft(This,pVal) \
(This)->lpVtbl -> get_insetLeft(This,pVal)
#define IPDTextFrameOptions_put_insetLeft(This,newVal) \
(This)->lpVtbl -> put_insetLeft(This,newVal)
#define IPDTextFrameOptions_get_insetRight(This,pVal) \
(This)->lpVtbl -> get_insetRight(This,pVal)
#define IPDTextFrameOptions_put_insetRight(This,newVal) \
(This)->lpVtbl -> put_insetRight(This,newVal)
#define IPDTextFrameOptions_copyFrom(This,other) \
(This)->lpVtbl -> copyFrom(This,other)
#define IPDTextFrameOptions_get_columnsWidth(This,pVal) \
(This)->lpVtbl -> get_columnsWidth(This,pVal)
#define IPDTextFrameOptions_get_columnsFixedWidth(This,pVal) \
(This)->lpVtbl -> get_columnsFixedWidth(This,pVal)
#define IPDTextFrameOptions_setColumns(This,ncolumns,gutter,width,fixedWidth) \
(This)->lpVtbl -> setColumns(This,ncolumns,gutter,width,fixedWidth)
#endif /* COBJMACROS */
#endif /* C style interface */
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDTextFrameOptions_get_ignoreTextWrap_Proxy(
IPDTextFrameOptions __RPC_FAR * This,
/* [retval][out] */ VARIANT_BOOL __RPC_FAR *pVal);
void __RPC_STUB IPDTextFrameOptions_get_ignoreTextWrap_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IPDTextFrameOptions_put_ignoreTextWrap_Proxy(
IPDTextFrameOptions __RPC_FAR * This,
/* [in] */ VARIANT_BOOL newVal);
void __RPC_STUB IPDTextFrameOptions_put_ignoreTextWrap_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDTextFrameOptions_get_columnsNumber_Proxy(
IPDTextFrameOptions __RPC_FAR * This,
/* [retval][out] */ long __RPC_FAR *pVal);
void __RPC_STUB IPDTextFrameOptions_get_columnsNumber_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDTextFrameOptions_get_columnsGutter_Proxy(
IPDTextFrameOptions __RPC_FAR * This,
/* [retval][out] */ double __RPC_FAR *pVal);
void __RPC_STUB IPDTextFrameOptions_get_columnsGutter_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDTextFrameOptions_get_insetTop_Proxy(
IPDTextFrameOptions __RPC_FAR * This,
/* [retval][out] */ double __RPC_FAR *pVal);
void __RPC_STUB IPDTextFrameOptions_get_insetTop_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IPDTextFrameOptions_put_insetTop_Proxy(
IPDTextFrameOptions __RPC_FAR * This,
/* [in] */ double newVal);
void __RPC_STUB IPDTextFrameOptions_put_insetTop_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDTextFrameOptions_get_insetBottom_Proxy(
IPDTextFrameOptions __RPC_FAR * This,
/* [retval][out] */ double __RPC_FAR *pVal);
void __RPC_STUB IPDTextFrameOptions_get_insetBottom_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IPDTextFrameOptions_put_insetBottom_Proxy(
IPDTextFrameOptions __RPC_FAR * This,
/* [in] */ double newVal);
void __RPC_STUB IPDTextFrameOptions_put_insetBottom_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDTextFrameOptions_get_insetLeft_Proxy(
IPDTextFrameOptions __RPC_FAR * This,
/* [retval][out] */ double __RPC_FAR *pVal);
void __RPC_STUB IPDTextFrameOptions_get_insetLeft_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IPDTextFrameOptions_put_insetLeft_Proxy(
IPDTextFrameOptions __RPC_FAR * This,
/* [in] */ double newVal);
void __RPC_STUB IPDTextFrameOptions_put_insetLeft_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDTextFrameOptions_get_insetRight_Proxy(
IPDTextFrameOptions __RPC_FAR * This,
/* [retval][out] */ double __RPC_FAR *pVal);
void __RPC_STUB IPDTextFrameOptions_get_insetRight_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IPDTextFrameOptions_put_insetRight_Proxy(
IPDTextFrameOptions __RPC_FAR * This,
/* [in] */ double newVal);
void __RPC_STUB IPDTextFrameOptions_put_insetRight_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDTextFrameOptions_copyFrom_Proxy(
IPDTextFrameOptions __RPC_FAR * This,
/* [in] */ IPDTextFrameOptions __RPC_FAR *other);
void __RPC_STUB IPDTextFrameOptions_copyFrom_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDTextFrameOptions_get_columnsWidth_Proxy(
IPDTextFrameOptions __RPC_FAR * This,
/* [retval][out] */ double __RPC_FAR *pVal);
void __RPC_STUB IPDTextFrameOptions_get_columnsWidth_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDTextFrameOptions_get_columnsFixedWidth_Proxy(
IPDTextFrameOptions __RPC_FAR * This,
/* [retval][out] */ VARIANT_BOOL __RPC_FAR *pVal);
void __RPC_STUB IPDTextFrameOptions_get_columnsFixedWidth_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDTextFrameOptions_setColumns_Proxy(
IPDTextFrameOptions __RPC_FAR * This,
/* [in] */ long ncolumns,
/* [in] */ double gutter,
/* [in] */ double width,
/* [in] */ VARIANT_BOOL fixedWidth);
void __RPC_STUB IPDTextFrameOptions_setColumns_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
#endif /* __IPDTextFrameOptions_INTERFACE_DEFINED__ */
#ifndef __IObjectSerializable_INTERFACE_DEFINED__
#define __IObjectSerializable_INTERFACE_DEFINED__
/* interface IObjectSerializable */
/* [unique][helpstring][uuid][object] */
EXTERN_C const IID IID_IObjectSerializable;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("86B6103D-F8E6-4e51-8321-40C4373BB664")
IObjectSerializable : public IUnknown
{
public:
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE Serialize(
/* [in] */ IArchive __RPC_FAR *ar,
/* [in] */ IArchiveElement __RPC_FAR *node) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE Deserialize(
/* [in] */ IArchive __RPC_FAR *ar,
/* [in] */ IArchiveElement __RPC_FAR *node,
/* [in] */ IUnknown __RPC_FAR *pUnkExtra) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetClassID(
/* [retval][out] */ CLSID __RPC_FAR *pClassID) = 0;
};
#else /* C style interface */
typedef struct IObjectSerializableVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
IObjectSerializable __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
IObjectSerializable __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
IObjectSerializable __RPC_FAR * This);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Serialize )(
IObjectSerializable __RPC_FAR * This,
/* [in] */ IArchive __RPC_FAR *ar,
/* [in] */ IArchiveElement __RPC_FAR *node);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Deserialize )(
IObjectSerializable __RPC_FAR * This,
/* [in] */ IArchive __RPC_FAR *ar,
/* [in] */ IArchiveElement __RPC_FAR *node,
/* [in] */ IUnknown __RPC_FAR *pUnkExtra);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetClassID )(
IObjectSerializable __RPC_FAR * This,
/* [retval][out] */ CLSID __RPC_FAR *pClassID);
END_INTERFACE
} IObjectSerializableVtbl;
interface IObjectSerializable
{
CONST_VTBL struct IObjectSerializableVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define IObjectSerializable_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define IObjectSerializable_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define IObjectSerializable_Release(This) \
(This)->lpVtbl -> Release(This)
#define IObjectSerializable_Serialize(This,ar,node) \
(This)->lpVtbl -> Serialize(This,ar,node)
#define IObjectSerializable_Deserialize(This,ar,node,pUnkExtra) \
(This)->lpVtbl -> Deserialize(This,ar,node,pUnkExtra)
#define IObjectSerializable_GetClassID(This,pClassID) \
(This)->lpVtbl -> GetClassID(This,pClassID)
#endif /* COBJMACROS */
#endif /* C style interface */
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IObjectSerializable_Serialize_Proxy(
IObjectSerializable __RPC_FAR * This,
/* [in] */ IArchive __RPC_FAR *ar,
/* [in] */ IArchiveElement __RPC_FAR *node);
void __RPC_STUB IObjectSerializable_Serialize_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IObjectSerializable_Deserialize_Proxy(
IObjectSerializable __RPC_FAR * This,
/* [in] */ IArchive __RPC_FAR *ar,
/* [in] */ IArchiveElement __RPC_FAR *node,
/* [in] */ IUnknown __RPC_FAR *pUnkExtra);
void __RPC_STUB IObjectSerializable_Deserialize_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IObjectSerializable_GetClassID_Proxy(
IObjectSerializable __RPC_FAR * This,
/* [retval][out] */ CLSID __RPC_FAR *pClassID);
void __RPC_STUB IObjectSerializable_GetClassID_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
#endif /* __IObjectSerializable_INTERFACE_DEFINED__ */
#ifndef __IPagesDlg_INTERFACE_DEFINED__
#define __IPagesDlg_INTERFACE_DEFINED__
/* interface IPagesDlg */
/* [unique][helpstring][uuid][object] */
EXTERN_C const IID IID_IPagesDlg;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("A1AEC8D8-07CC-40a7-95E1-D07941DE9905")
IPagesDlg : public IDispatch
{
public:
};
#else /* C style interface */
typedef struct IPagesDlgVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
IPagesDlg __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
IPagesDlg __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
IPagesDlg __RPC_FAR * This);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
IPagesDlg __RPC_FAR * This,
/* [out] */ UINT __RPC_FAR *pctinfo);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
IPagesDlg __RPC_FAR * This,
/* [in] */ UINT iTInfo,
/* [in] */ LCID lcid,
/* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
IPagesDlg __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
/* [in] */ UINT cNames,
/* [in] */ LCID lcid,
/* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
/* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
IPagesDlg __RPC_FAR * This,
/* [in] */ DISPID dispIdMember,
/* [in] */ REFIID riid,
/* [in] */ LCID lcid,
/* [in] */ WORD wFlags,
/* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
/* [out] */ VARIANT __RPC_FAR *pVarResult,
/* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
/* [out] */ UINT __RPC_FAR *puArgErr);
END_INTERFACE
} IPagesDlgVtbl;
interface IPagesDlg
{
CONST_VTBL struct IPagesDlgVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define IPagesDlg_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define IPagesDlg_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define IPagesDlg_Release(This) \
(This)->lpVtbl -> Release(This)
#define IPagesDlg_GetTypeInfoCount(This,pctinfo) \
(This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
#define IPagesDlg_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
(This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
#define IPagesDlg_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
(This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
#define IPagesDlg_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
(This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* __IPagesDlg_INTERFACE_DEFINED__ */
#ifndef __ILayersDlg_INTERFACE_DEFINED__
#define __ILayersDlg_INTERFACE_DEFINED__
/* interface ILayersDlg */
/* [unique][helpstring][dual][uuid][object] */
EXTERN_C const IID IID_ILayersDlg;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("0E83A5D2-ED2D-487F-B5DE-0C60234831B6")
ILayersDlg : public IDispatch
{
public:
};
#else /* C style interface */
typedef struct ILayersDlgVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
ILayersDlg __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
ILayersDlg __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
ILayersDlg __RPC_FAR * This);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
ILayersDlg __RPC_FAR * This,
/* [out] */ UINT __RPC_FAR *pctinfo);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
ILayersDlg __RPC_FAR * This,
/* [in] */ UINT iTInfo,
/* [in] */ LCID lcid,
/* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
ILayersDlg __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
/* [in] */ UINT cNames,
/* [in] */ LCID lcid,
/* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
/* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
ILayersDlg __RPC_FAR * This,
/* [in] */ DISPID dispIdMember,
/* [in] */ REFIID riid,
/* [in] */ LCID lcid,
/* [in] */ WORD wFlags,
/* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
/* [out] */ VARIANT __RPC_FAR *pVarResult,
/* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
/* [out] */ UINT __RPC_FAR *puArgErr);
END_INTERFACE
} ILayersDlgVtbl;
interface ILayersDlg
{
CONST_VTBL struct ILayersDlgVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define ILayersDlg_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define ILayersDlg_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define ILayersDlg_Release(This) \
(This)->lpVtbl -> Release(This)
#define ILayersDlg_GetTypeInfoCount(This,pctinfo) \
(This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
#define ILayersDlg_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
(This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
#define ILayersDlg_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
(This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
#define ILayersDlg_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
(This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* __ILayersDlg_INTERFACE_DEFINED__ */
#ifndef __ITabsDlg_INTERFACE_DEFINED__
#define __ITabsDlg_INTERFACE_DEFINED__
/* interface ITabsDlg */
/* [unique][helpstring][dual][uuid][object] */
EXTERN_C const IID IID_ITabsDlg;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("A0AD4526-0579-11D6-95F0-0002E3045703")
ITabsDlg : public IDispatch
{
public:
};
#else /* C style interface */
typedef struct ITabsDlgVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
ITabsDlg __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
ITabsDlg __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
ITabsDlg __RPC_FAR * This);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
ITabsDlg __RPC_FAR * This,
/* [out] */ UINT __RPC_FAR *pctinfo);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
ITabsDlg __RPC_FAR * This,
/* [in] */ UINT iTInfo,
/* [in] */ LCID lcid,
/* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
ITabsDlg __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
/* [in] */ UINT cNames,
/* [in] */ LCID lcid,
/* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
/* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
ITabsDlg __RPC_FAR * This,
/* [in] */ DISPID dispIdMember,
/* [in] */ REFIID riid,
/* [in] */ LCID lcid,
/* [in] */ WORD wFlags,
/* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
/* [out] */ VARIANT __RPC_FAR *pVarResult,
/* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
/* [out] */ UINT __RPC_FAR *puArgErr);
END_INTERFACE
} ITabsDlgVtbl;
interface ITabsDlg
{
CONST_VTBL struct ITabsDlgVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define ITabsDlg_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define ITabsDlg_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define ITabsDlg_Release(This) \
(This)->lpVtbl -> Release(This)
#define ITabsDlg_GetTypeInfoCount(This,pctinfo) \
(This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
#define ITabsDlg_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
(This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
#define ITabsDlg_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
(This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
#define ITabsDlg_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
(This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* __ITabsDlg_INTERFACE_DEFINED__ */
#ifndef __ISwatchLibraryDlg_INTERFACE_DEFINED__
#define __ISwatchLibraryDlg_INTERFACE_DEFINED__
/* interface ISwatchLibraryDlg */
/* [unique][helpstring][dual][uuid][object] */
EXTERN_C const IID IID_ISwatchLibraryDlg;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("0714F6CC-0B72-11D6-95F0-0002E3045703")
ISwatchLibraryDlg : public IDispatch
{
public:
};
#else /* C style interface */
typedef struct ISwatchLibraryDlgVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
ISwatchLibraryDlg __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
ISwatchLibraryDlg __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
ISwatchLibraryDlg __RPC_FAR * This);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
ISwatchLibraryDlg __RPC_FAR * This,
/* [out] */ UINT __RPC_FAR *pctinfo);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
ISwatchLibraryDlg __RPC_FAR * This,
/* [in] */ UINT iTInfo,
/* [in] */ LCID lcid,
/* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
ISwatchLibraryDlg __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
/* [in] */ UINT cNames,
/* [in] */ LCID lcid,
/* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
/* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
ISwatchLibraryDlg __RPC_FAR * This,
/* [in] */ DISPID dispIdMember,
/* [in] */ REFIID riid,
/* [in] */ LCID lcid,
/* [in] */ WORD wFlags,
/* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
/* [out] */ VARIANT __RPC_FAR *pVarResult,
/* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
/* [out] */ UINT __RPC_FAR *puArgErr);
END_INTERFACE
} ISwatchLibraryDlgVtbl;
interface ISwatchLibraryDlg
{
CONST_VTBL struct ISwatchLibraryDlgVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define ISwatchLibraryDlg_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define ISwatchLibraryDlg_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define ISwatchLibraryDlg_Release(This) \
(This)->lpVtbl -> Release(This)
#define ISwatchLibraryDlg_GetTypeInfoCount(This,pctinfo) \
(This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
#define ISwatchLibraryDlg_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
(This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
#define ISwatchLibraryDlg_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
(This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
#define ISwatchLibraryDlg_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
(This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* __ISwatchLibraryDlg_INTERFACE_DEFINED__ */
#ifndef __ILinksDlg_INTERFACE_DEFINED__
#define __ILinksDlg_INTERFACE_DEFINED__
/* interface ILinksDlg */
/* [unique][helpstring][dual][uuid][object] */
EXTERN_C const IID IID_ILinksDlg;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("ABE418A3-26EF-11D6-95F0-0002E3045703")
ILinksDlg : public IDispatch
{
public:
};
#else /* C style interface */
typedef struct ILinksDlgVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
ILinksDlg __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
ILinksDlg __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
ILinksDlg __RPC_FAR * This);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
ILinksDlg __RPC_FAR * This,
/* [out] */ UINT __RPC_FAR *pctinfo);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
ILinksDlg __RPC_FAR * This,
/* [in] */ UINT iTInfo,
/* [in] */ LCID lcid,
/* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
ILinksDlg __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
/* [in] */ UINT cNames,
/* [in] */ LCID lcid,
/* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
/* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
ILinksDlg __RPC_FAR * This,
/* [in] */ DISPID dispIdMember,
/* [in] */ REFIID riid,
/* [in] */ LCID lcid,
/* [in] */ WORD wFlags,
/* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
/* [out] */ VARIANT __RPC_FAR *pVarResult,
/* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
/* [out] */ UINT __RPC_FAR *puArgErr);
END_INTERFACE
} ILinksDlgVtbl;
interface ILinksDlg
{
CONST_VTBL struct ILinksDlgVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define ILinksDlg_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define ILinksDlg_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define ILinksDlg_Release(This) \
(This)->lpVtbl -> Release(This)
#define ILinksDlg_GetTypeInfoCount(This,pctinfo) \
(This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
#define ILinksDlg_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
(This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
#define ILinksDlg_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
(This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
#define ILinksDlg_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
(This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* __ILinksDlg_INTERFACE_DEFINED__ */
#ifndef __ITransparencyDlg_INTERFACE_DEFINED__
#define __ITransparencyDlg_INTERFACE_DEFINED__
/* interface ITransparencyDlg */
/* [unique][helpstring][dual][uuid][object] */
EXTERN_C const IID IID_ITransparencyDlg;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("1A82E863-2969-11D6-95F0-0002E3045703")
ITransparencyDlg : public IDispatch
{
public:
};
#else /* C style interface */
typedef struct ITransparencyDlgVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
ITransparencyDlg __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
ITransparencyDlg __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
ITransparencyDlg __RPC_FAR * This);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
ITransparencyDlg __RPC_FAR * This,
/* [out] */ UINT __RPC_FAR *pctinfo);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
ITransparencyDlg __RPC_FAR * This,
/* [in] */ UINT iTInfo,
/* [in] */ LCID lcid,
/* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
ITransparencyDlg __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
/* [in] */ UINT cNames,
/* [in] */ LCID lcid,
/* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
/* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
ITransparencyDlg __RPC_FAR * This,
/* [in] */ DISPID dispIdMember,
/* [in] */ REFIID riid,
/* [in] */ LCID lcid,
/* [in] */ WORD wFlags,
/* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
/* [out] */ VARIANT __RPC_FAR *pVarResult,
/* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
/* [out] */ UINT __RPC_FAR *puArgErr);
END_INTERFACE
} ITransparencyDlgVtbl;
interface ITransparencyDlg
{
CONST_VTBL struct ITransparencyDlgVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define ITransparencyDlg_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define ITransparencyDlg_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define ITransparencyDlg_Release(This) \
(This)->lpVtbl -> Release(This)
#define ITransparencyDlg_GetTypeInfoCount(This,pctinfo) \
(This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
#define ITransparencyDlg_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
(This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
#define ITransparencyDlg_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
(This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
#define ITransparencyDlg_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
(This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* __ITransparencyDlg_INTERFACE_DEFINED__ */
#ifndef __IFilterGraphDlg_INTERFACE_DEFINED__
#define __IFilterGraphDlg_INTERFACE_DEFINED__
/* interface IFilterGraphDlg */
/* [unique][helpstring][dual][uuid][object] */
EXTERN_C const IID IID_IFilterGraphDlg;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("1A82E866-2969-11D6-95F0-0002E3045703")
IFilterGraphDlg : public IDispatch
{
public:
};
#else /* C style interface */
typedef struct IFilterGraphDlgVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
IFilterGraphDlg __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
IFilterGraphDlg __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
IFilterGraphDlg __RPC_FAR * This);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
IFilterGraphDlg __RPC_FAR * This,
/* [out] */ UINT __RPC_FAR *pctinfo);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
IFilterGraphDlg __RPC_FAR * This,
/* [in] */ UINT iTInfo,
/* [in] */ LCID lcid,
/* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
IFilterGraphDlg __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
/* [in] */ UINT cNames,
/* [in] */ LCID lcid,
/* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
/* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
IFilterGraphDlg __RPC_FAR * This,
/* [in] */ DISPID dispIdMember,
/* [in] */ REFIID riid,
/* [in] */ LCID lcid,
/* [in] */ WORD wFlags,
/* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
/* [out] */ VARIANT __RPC_FAR *pVarResult,
/* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
/* [out] */ UINT __RPC_FAR *puArgErr);
END_INTERFACE
} IFilterGraphDlgVtbl;
interface IFilterGraphDlg
{
CONST_VTBL struct IFilterGraphDlgVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define IFilterGraphDlg_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define IFilterGraphDlg_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define IFilterGraphDlg_Release(This) \
(This)->lpVtbl -> Release(This)
#define IFilterGraphDlg_GetTypeInfoCount(This,pctinfo) \
(This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
#define IFilterGraphDlg_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
(This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
#define IFilterGraphDlg_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
(This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
#define IFilterGraphDlg_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
(This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* __IFilterGraphDlg_INTERFACE_DEFINED__ */
#ifndef __IFEGaussianBlur_INTERFACE_DEFINED__
#define __IFEGaussianBlur_INTERFACE_DEFINED__
/* interface IFEGaussianBlur */
/* [unique][helpstring][dual][uuid][object] */
EXTERN_C const IID IID_IFEGaussianBlur;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("A44E5493-0024-438E-8A46-988C3B6452C6")
IFEGaussianBlur : public IDispatch
{
public:
virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_stdDeviationX(
/* [retval][out] */ double __RPC_FAR *pVal) = 0;
virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_stdDeviationY(
/* [retval][out] */ double __RPC_FAR *pVal) = 0;
virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE setStdDeviation(
/* [in] */ double stdDeviationX,
/* [in] */ double stdDeviationY) = 0;
};
#else /* C style interface */
typedef struct IFEGaussianBlurVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
IFEGaussianBlur __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
IFEGaussianBlur __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
IFEGaussianBlur __RPC_FAR * This);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
IFEGaussianBlur __RPC_FAR * This,
/* [out] */ UINT __RPC_FAR *pctinfo);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
IFEGaussianBlur __RPC_FAR * This,
/* [in] */ UINT iTInfo,
/* [in] */ LCID lcid,
/* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
IFEGaussianBlur __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
/* [in] */ UINT cNames,
/* [in] */ LCID lcid,
/* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
/* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
IFEGaussianBlur __RPC_FAR * This,
/* [in] */ DISPID dispIdMember,
/* [in] */ REFIID riid,
/* [in] */ LCID lcid,
/* [in] */ WORD wFlags,
/* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
/* [out] */ VARIANT __RPC_FAR *pVarResult,
/* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
/* [out] */ UINT __RPC_FAR *puArgErr);
/* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_stdDeviationX )(
IFEGaussianBlur __RPC_FAR * This,
/* [retval][out] */ double __RPC_FAR *pVal);
/* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_stdDeviationY )(
IFEGaussianBlur __RPC_FAR * This,
/* [retval][out] */ double __RPC_FAR *pVal);
/* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *setStdDeviation )(
IFEGaussianBlur __RPC_FAR * This,
/* [in] */ double stdDeviationX,
/* [in] */ double stdDeviationY);
END_INTERFACE
} IFEGaussianBlurVtbl;
interface IFEGaussianBlur
{
CONST_VTBL struct IFEGaussianBlurVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define IFEGaussianBlur_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define IFEGaussianBlur_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define IFEGaussianBlur_Release(This) \
(This)->lpVtbl -> Release(This)
#define IFEGaussianBlur_GetTypeInfoCount(This,pctinfo) \
(This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
#define IFEGaussianBlur_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
(This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
#define IFEGaussianBlur_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
(This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
#define IFEGaussianBlur_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
(This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
#define IFEGaussianBlur_get_stdDeviationX(This,pVal) \
(This)->lpVtbl -> get_stdDeviationX(This,pVal)
#define IFEGaussianBlur_get_stdDeviationY(This,pVal) \
(This)->lpVtbl -> get_stdDeviationY(This,pVal)
#define IFEGaussianBlur_setStdDeviation(This,stdDeviationX,stdDeviationY) \
(This)->lpVtbl -> setStdDeviation(This,stdDeviationX,stdDeviationY)
#endif /* COBJMACROS */
#endif /* C style interface */
/* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IFEGaussianBlur_get_stdDeviationX_Proxy(
IFEGaussianBlur __RPC_FAR * This,
/* [retval][out] */ double __RPC_FAR *pVal);
void __RPC_STUB IFEGaussianBlur_get_stdDeviationX_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IFEGaussianBlur_get_stdDeviationY_Proxy(
IFEGaussianBlur __RPC_FAR * This,
/* [retval][out] */ double __RPC_FAR *pVal);
void __RPC_STUB IFEGaussianBlur_get_stdDeviationY_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IFEGaussianBlur_setStdDeviation_Proxy(
IFEGaussianBlur __RPC_FAR * This,
/* [in] */ double stdDeviationX,
/* [in] */ double stdDeviationY);
void __RPC_STUB IFEGaussianBlur_setStdDeviation_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
#endif /* __IFEGaussianBlur_INTERFACE_DEFINED__ */
#ifndef __IFEOffset_INTERFACE_DEFINED__
#define __IFEOffset_INTERFACE_DEFINED__
/* interface IFEOffset */
/* [unique][helpstring][dual][uuid][object] */
EXTERN_C const IID IID_IFEOffset;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("1BAA0B07-31F0-47A8-AB6F-D7DC8F3158D0")
IFEOffset : public IDispatch
{
public:
virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_dx(
/* [retval][out] */ double __RPC_FAR *pVal) = 0;
virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_dy(
/* [retval][out] */ double __RPC_FAR *pVal) = 0;
};
#else /* C style interface */
typedef struct IFEOffsetVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
IFEOffset __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
IFEOffset __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
IFEOffset __RPC_FAR * This);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
IFEOffset __RPC_FAR * This,
/* [out] */ UINT __RPC_FAR *pctinfo);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
IFEOffset __RPC_FAR * This,
/* [in] */ UINT iTInfo,
/* [in] */ LCID lcid,
/* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
IFEOffset __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
/* [in] */ UINT cNames,
/* [in] */ LCID lcid,
/* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
/* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
IFEOffset __RPC_FAR * This,
/* [in] */ DISPID dispIdMember,
/* [in] */ REFIID riid,
/* [in] */ LCID lcid,
/* [in] */ WORD wFlags,
/* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
/* [out] */ VARIANT __RPC_FAR *pVarResult,
/* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
/* [out] */ UINT __RPC_FAR *puArgErr);
/* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_dx )(
IFEOffset __RPC_FAR * This,
/* [retval][out] */ double __RPC_FAR *pVal);
/* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_dy )(
IFEOffset __RPC_FAR * This,
/* [retval][out] */ double __RPC_FAR *pVal);
END_INTERFACE
} IFEOffsetVtbl;
interface IFEOffset
{
CONST_VTBL struct IFEOffsetVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define IFEOffset_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define IFEOffset_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define IFEOffset_Release(This) \
(This)->lpVtbl -> Release(This)
#define IFEOffset_GetTypeInfoCount(This,pctinfo) \
(This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
#define IFEOffset_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
(This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
#define IFEOffset_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
(This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
#define IFEOffset_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
(This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
#define IFEOffset_get_dx(This,pVal) \
(This)->lpVtbl -> get_dx(This,pVal)
#define IFEOffset_get_dy(This,pVal) \
(This)->lpVtbl -> get_dy(This,pVal)
#endif /* COBJMACROS */
#endif /* C style interface */
/* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IFEOffset_get_dx_Proxy(
IFEOffset __RPC_FAR * This,
/* [retval][out] */ double __RPC_FAR *pVal);
void __RPC_STUB IFEOffset_get_dx_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IFEOffset_get_dy_Proxy(
IFEOffset __RPC_FAR * This,
/* [retval][out] */ double __RPC_FAR *pVal);
void __RPC_STUB IFEOffset_get_dy_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
#endif /* __IFEOffset_INTERFACE_DEFINED__ */
#ifndef __IFEComposite_INTERFACE_DEFINED__
#define __IFEComposite_INTERFACE_DEFINED__
/* interface IFEComposite */
/* [unique][helpstring][dual][uuid][object] */
EXTERN_C const IID IID_IFEComposite;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("22EAB538-05B8-465F-927A-A30F868B0DD7")
IFEComposite : public IDispatch
{
public:
virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_op(
/* [retval][out] */ long __RPC_FAR *pVal) = 0;
virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_op(
/* [in] */ long newVal) = 0;
};
#else /* C style interface */
typedef struct IFECompositeVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
IFEComposite __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
IFEComposite __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
IFEComposite __RPC_FAR * This);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
IFEComposite __RPC_FAR * This,
/* [out] */ UINT __RPC_FAR *pctinfo);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
IFEComposite __RPC_FAR * This,
/* [in] */ UINT iTInfo,
/* [in] */ LCID lcid,
/* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
IFEComposite __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
/* [in] */ UINT cNames,
/* [in] */ LCID lcid,
/* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
/* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
IFEComposite __RPC_FAR * This,
/* [in] */ DISPID dispIdMember,
/* [in] */ REFIID riid,
/* [in] */ LCID lcid,
/* [in] */ WORD wFlags,
/* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
/* [out] */ VARIANT __RPC_FAR *pVarResult,
/* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
/* [out] */ UINT __RPC_FAR *puArgErr);
/* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_op )(
IFEComposite __RPC_FAR * This,
/* [retval][out] */ long __RPC_FAR *pVal);
/* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_op )(
IFEComposite __RPC_FAR * This,
/* [in] */ long newVal);
END_INTERFACE
} IFECompositeVtbl;
interface IFEComposite
{
CONST_VTBL struct IFECompositeVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define IFEComposite_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define IFEComposite_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define IFEComposite_Release(This) \
(This)->lpVtbl -> Release(This)
#define IFEComposite_GetTypeInfoCount(This,pctinfo) \
(This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
#define IFEComposite_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
(This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
#define IFEComposite_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
(This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
#define IFEComposite_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
(This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
#define IFEComposite_get_op(This,pVal) \
(This)->lpVtbl -> get_op(This,pVal)
#define IFEComposite_put_op(This,newVal) \
(This)->lpVtbl -> put_op(This,newVal)
#endif /* COBJMACROS */
#endif /* C style interface */
/* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IFEComposite_get_op_Proxy(
IFEComposite __RPC_FAR * This,
/* [retval][out] */ long __RPC_FAR *pVal);
void __RPC_STUB IFEComposite_get_op_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE IFEComposite_put_op_Proxy(
IFEComposite __RPC_FAR * This,
/* [in] */ long newVal);
void __RPC_STUB IFEComposite_put_op_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
#endif /* __IFEComposite_INTERFACE_DEFINED__ */
#ifndef __IPluginFiltersDlg_INTERFACE_DEFINED__
#define __IPluginFiltersDlg_INTERFACE_DEFINED__
/* interface IPluginFiltersDlg */
/* [unique][helpstring][dual][uuid][object] */
EXTERN_C const IID IID_IPluginFiltersDlg;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("7B420E09-1717-4C01-B149-7B1335179C6E")
IPluginFiltersDlg : public IDispatch
{
public:
};
#else /* C style interface */
typedef struct IPluginFiltersDlgVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
IPluginFiltersDlg __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
IPluginFiltersDlg __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
IPluginFiltersDlg __RPC_FAR * This);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
IPluginFiltersDlg __RPC_FAR * This,
/* [out] */ UINT __RPC_FAR *pctinfo);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
IPluginFiltersDlg __RPC_FAR * This,
/* [in] */ UINT iTInfo,
/* [in] */ LCID lcid,
/* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
IPluginFiltersDlg __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
/* [in] */ UINT cNames,
/* [in] */ LCID lcid,
/* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
/* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
IPluginFiltersDlg __RPC_FAR * This,
/* [in] */ DISPID dispIdMember,
/* [in] */ REFIID riid,
/* [in] */ LCID lcid,
/* [in] */ WORD wFlags,
/* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
/* [out] */ VARIANT __RPC_FAR *pVarResult,
/* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
/* [out] */ UINT __RPC_FAR *puArgErr);
END_INTERFACE
} IPluginFiltersDlgVtbl;
interface IPluginFiltersDlg
{
CONST_VTBL struct IPluginFiltersDlgVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define IPluginFiltersDlg_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define IPluginFiltersDlg_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define IPluginFiltersDlg_Release(This) \
(This)->lpVtbl -> Release(This)
#define IPluginFiltersDlg_GetTypeInfoCount(This,pctinfo) \
(This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
#define IPluginFiltersDlg_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
(This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
#define IPluginFiltersDlg_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
(This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
#define IPluginFiltersDlg_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
(This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* __IPluginFiltersDlg_INTERFACE_DEFINED__ */
#ifndef __IStylesDlg_INTERFACE_DEFINED__
#define __IStylesDlg_INTERFACE_DEFINED__
/* interface IStylesDlg */
/* [unique][helpstring][dual][uuid][object] */
EXTERN_C const IID IID_IStylesDlg;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("43D8CA6D-80F1-4F24-BF79-3DCA18B7DDFE")
IStylesDlg : public IDispatch
{
public:
};
#else /* C style interface */
typedef struct IStylesDlgVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
IStylesDlg __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
IStylesDlg __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
IStylesDlg __RPC_FAR * This);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
IStylesDlg __RPC_FAR * This,
/* [out] */ UINT __RPC_FAR *pctinfo);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
IStylesDlg __RPC_FAR * This,
/* [in] */ UINT iTInfo,
/* [in] */ LCID lcid,
/* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
IStylesDlg __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
/* [in] */ UINT cNames,
/* [in] */ LCID lcid,
/* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
/* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
IStylesDlg __RPC_FAR * This,
/* [in] */ DISPID dispIdMember,
/* [in] */ REFIID riid,
/* [in] */ LCID lcid,
/* [in] */ WORD wFlags,
/* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
/* [out] */ VARIANT __RPC_FAR *pVarResult,
/* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
/* [out] */ UINT __RPC_FAR *puArgErr);
END_INTERFACE
} IStylesDlgVtbl;
interface IStylesDlg
{
CONST_VTBL struct IStylesDlgVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define IStylesDlg_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define IStylesDlg_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define IStylesDlg_Release(This) \
(This)->lpVtbl -> Release(This)
#define IStylesDlg_GetTypeInfoCount(This,pctinfo) \
(This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
#define IStylesDlg_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
(This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
#define IStylesDlg_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
(This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
#define IStylesDlg_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
(This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* __IStylesDlg_INTERFACE_DEFINED__ */
#ifndef __IFEFreeTransform_INTERFACE_DEFINED__
#define __IFEFreeTransform_INTERFACE_DEFINED__
/* interface IFEFreeTransform */
/* [unique][helpstring][dual][uuid][object] */
EXTERN_C const IID IID_IFEFreeTransform;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("4E009C2D-8F80-4F82-A9F7-F3E6AA46BA16")
IFEFreeTransform : public IDispatch
{
public:
};
#else /* C style interface */
typedef struct IFEFreeTransformVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
IFEFreeTransform __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
IFEFreeTransform __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
IFEFreeTransform __RPC_FAR * This);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
IFEFreeTransform __RPC_FAR * This,
/* [out] */ UINT __RPC_FAR *pctinfo);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
IFEFreeTransform __RPC_FAR * This,
/* [in] */ UINT iTInfo,
/* [in] */ LCID lcid,
/* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
IFEFreeTransform __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
/* [in] */ UINT cNames,
/* [in] */ LCID lcid,
/* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
/* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
IFEFreeTransform __RPC_FAR * This,
/* [in] */ DISPID dispIdMember,
/* [in] */ REFIID riid,
/* [in] */ LCID lcid,
/* [in] */ WORD wFlags,
/* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
/* [out] */ VARIANT __RPC_FAR *pVarResult,
/* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
/* [out] */ UINT __RPC_FAR *puArgErr);
END_INTERFACE
} IFEFreeTransformVtbl;
interface IFEFreeTransform
{
CONST_VTBL struct IFEFreeTransformVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define IFEFreeTransform_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define IFEFreeTransform_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define IFEFreeTransform_Release(This) \
(This)->lpVtbl -> Release(This)
#define IFEFreeTransform_GetTypeInfoCount(This,pctinfo) \
(This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
#define IFEFreeTransform_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
(This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
#define IFEFreeTransform_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
(This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
#define IFEFreeTransform_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
(This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* __IFEFreeTransform_INTERFACE_DEFINED__ */
#ifndef __IAppearanceDlg_INTERFACE_DEFINED__
#define __IAppearanceDlg_INTERFACE_DEFINED__
/* interface IAppearanceDlg */
/* [unique][helpstring][dual][uuid][object] */
EXTERN_C const IID IID_IAppearanceDlg;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("1850CF81-92F4-4E0E-AF23-F27864CF0BB7")
IAppearanceDlg : public IDispatch
{
public:
};
#else /* C style interface */
typedef struct IAppearanceDlgVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
IAppearanceDlg __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
IAppearanceDlg __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
IAppearanceDlg __RPC_FAR * This);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
IAppearanceDlg __RPC_FAR * This,
/* [out] */ UINT __RPC_FAR *pctinfo);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
IAppearanceDlg __RPC_FAR * This,
/* [in] */ UINT iTInfo,
/* [in] */ LCID lcid,
/* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
IAppearanceDlg __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
/* [in] */ UINT cNames,
/* [in] */ LCID lcid,
/* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
/* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
IAppearanceDlg __RPC_FAR * This,
/* [in] */ DISPID dispIdMember,
/* [in] */ REFIID riid,
/* [in] */ LCID lcid,
/* [in] */ WORD wFlags,
/* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
/* [out] */ VARIANT __RPC_FAR *pVarResult,
/* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
/* [out] */ UINT __RPC_FAR *puArgErr);
END_INTERFACE
} IAppearanceDlgVtbl;
interface IAppearanceDlg
{
CONST_VTBL struct IAppearanceDlgVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define IAppearanceDlg_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define IAppearanceDlg_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define IAppearanceDlg_Release(This) \
(This)->lpVtbl -> Release(This)
#define IAppearanceDlg_GetTypeInfoCount(This,pctinfo) \
(This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
#define IAppearanceDlg_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
(This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
#define IAppearanceDlg_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
(This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
#define IAppearanceDlg_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
(This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* __IAppearanceDlg_INTERFACE_DEFINED__ */
#ifndef __ISymbolsDlg_INTERFACE_DEFINED__
#define __ISymbolsDlg_INTERFACE_DEFINED__
/* interface ISymbolsDlg */
/* [unique][helpstring][dual][uuid][object] */
EXTERN_C const IID IID_ISymbolsDlg;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("6D6E2F46-79C0-4961-8184-5C66817048F8")
ISymbolsDlg : public IDispatch
{
public:
};
#else /* C style interface */
typedef struct ISymbolsDlgVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
ISymbolsDlg __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
ISymbolsDlg __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
ISymbolsDlg __RPC_FAR * This);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
ISymbolsDlg __RPC_FAR * This,
/* [out] */ UINT __RPC_FAR *pctinfo);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
ISymbolsDlg __RPC_FAR * This,
/* [in] */ UINT iTInfo,
/* [in] */ LCID lcid,
/* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
ISymbolsDlg __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
/* [in] */ UINT cNames,
/* [in] */ LCID lcid,
/* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
/* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
ISymbolsDlg __RPC_FAR * This,
/* [in] */ DISPID dispIdMember,
/* [in] */ REFIID riid,
/* [in] */ LCID lcid,
/* [in] */ WORD wFlags,
/* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
/* [out] */ VARIANT __RPC_FAR *pVarResult,
/* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
/* [out] */ UINT __RPC_FAR *puArgErr);
END_INTERFACE
} ISymbolsDlgVtbl;
interface ISymbolsDlg
{
CONST_VTBL struct ISymbolsDlgVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define ISymbolsDlg_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define ISymbolsDlg_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define ISymbolsDlg_Release(This) \
(This)->lpVtbl -> Release(This)
#define ISymbolsDlg_GetTypeInfoCount(This,pctinfo) \
(This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
#define ISymbolsDlg_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
(This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
#define ISymbolsDlg_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
(This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
#define ISymbolsDlg_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
(This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* __ISymbolsDlg_INTERFACE_DEFINED__ */
#ifndef __IPDObjectSymbolInstance_INTERFACE_DEFINED__
#define __IPDObjectSymbolInstance_INTERFACE_DEFINED__
/* interface IPDObjectSymbolInstance */
/* [unique][helpstring][uuid][object] */
EXTERN_C const IID IID_IPDObjectSymbolInstance;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("E8AA9A08-BD30-441C-86C2-2699C53DAF1E")
IPDObjectSymbolInstance : public IPDObject
{
public:
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_symbol(
/* [retval][out] */ IPDSymbol __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_symbol(
/* [in] */ IPDSymbol __RPC_FAR *newVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_x(
/* [retval][out] */ double __RPC_FAR *pVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_y(
/* [retval][out] */ double __RPC_FAR *pVal) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE setxy(
/* [in] */ double x,
/* [in] */ double y) = 0;
};
#else /* C style interface */
typedef struct IPDObjectSymbolInstanceVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
IPDObjectSymbolInstance __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
IPDObjectSymbolInstance __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
IPDObjectSymbolInstance __RPC_FAR * This);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_uniqId )(
IPDObjectSymbolInstance __RPC_FAR * This,
/* [retval][out] */ GUID __RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_objectType )(
IPDObjectSymbolInstance __RPC_FAR * This,
/* [retval][out] */ PDObjectType __RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_layer )(
IPDObjectSymbolInstance __RPC_FAR * This,
/* [retval][out] */ IPDLayer __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_parent )(
IPDObjectSymbolInstance __RPC_FAR * This,
/* [retval][out] */ IPDObjectUnknown __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_parent )(
IPDObjectSymbolInstance __RPC_FAR * This,
/* [in] */ IPDObjectUnknown __RPC_FAR *newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_nextSibling )(
IPDObjectSymbolInstance __RPC_FAR * This,
/* [retval][out] */ IPDObjectUnknown __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_nextSibling )(
IPDObjectSymbolInstance __RPC_FAR * This,
/* [in] */ IPDObjectUnknown __RPC_FAR *newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_previousSibling )(
IPDObjectSymbolInstance __RPC_FAR * This,
/* [retval][out] */ IPDObjectUnknown __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_previousSibling )(
IPDObjectSymbolInstance __RPC_FAR * This,
/* [in] */ IPDObjectUnknown __RPC_FAR *newVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *removeObject )(
IPDObjectSymbolInstance __RPC_FAR * This,
/* [in] */ IPDObjectUnknown __RPC_FAR *object);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_spread )(
IPDObjectSymbolInstance __RPC_FAR * This,
/* [retval][out] */ IPDSpread __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_spread )(
IPDObjectSymbolInstance __RPC_FAR * This,
/* [in] */ IPDSpread __RPC_FAR *newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_document )(
IPDObjectSymbolInstance __RPC_FAR * This,
/* [retval][out] */ IPDDocument __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_document )(
IPDObjectSymbolInstance __RPC_FAR * This,
/* [in] */ IPDDocument __RPC_FAR *newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_firstChild )(
IPDObjectSymbolInstance __RPC_FAR * This,
/* [retval][out] */ IPDObjectUnknown __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_lastChild )(
IPDObjectSymbolInstance __RPC_FAR * This,
/* [retval][out] */ IPDObjectUnknown __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_children )(
IPDObjectSymbolInstance __RPC_FAR * This,
/* [retval][out] */ IObjectMap __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *getScreenCTM )(
IPDObjectSymbolInstance __RPC_FAR * This,
/* [retval][out] */ IPDMatrix __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *clone )(
IPDObjectSymbolInstance __RPC_FAR * This,
/* [retval][out] */ IPDObject __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *getExpandedBBox )(
IPDObjectSymbolInstance __RPC_FAR * This,
/* [retval][out] */ RectD __RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_symbol )(
IPDObjectSymbolInstance __RPC_FAR * This,
/* [retval][out] */ IPDSymbol __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_symbol )(
IPDObjectSymbolInstance __RPC_FAR * This,
/* [in] */ IPDSymbol __RPC_FAR *newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_x )(
IPDObjectSymbolInstance __RPC_FAR * This,
/* [retval][out] */ double __RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_y )(
IPDObjectSymbolInstance __RPC_FAR * This,
/* [retval][out] */ double __RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *setxy )(
IPDObjectSymbolInstance __RPC_FAR * This,
/* [in] */ double x,
/* [in] */ double y);
END_INTERFACE
} IPDObjectSymbolInstanceVtbl;
interface IPDObjectSymbolInstance
{
CONST_VTBL struct IPDObjectSymbolInstanceVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define IPDObjectSymbolInstance_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define IPDObjectSymbolInstance_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define IPDObjectSymbolInstance_Release(This) \
(This)->lpVtbl -> Release(This)
#define IPDObjectSymbolInstance_get_uniqId(This,pVal) \
(This)->lpVtbl -> get_uniqId(This,pVal)
#define IPDObjectSymbolInstance_get_objectType(This,pVal) \
(This)->lpVtbl -> get_objectType(This,pVal)
#define IPDObjectSymbolInstance_get_layer(This,pVal) \
(This)->lpVtbl -> get_layer(This,pVal)
#define IPDObjectSymbolInstance_get_parent(This,pVal) \
(This)->lpVtbl -> get_parent(This,pVal)
#define IPDObjectSymbolInstance_put_parent(This,newVal) \
(This)->lpVtbl -> put_parent(This,newVal)
#define IPDObjectSymbolInstance_get_nextSibling(This,pVal) \
(This)->lpVtbl -> get_nextSibling(This,pVal)
#define IPDObjectSymbolInstance_put_nextSibling(This,newVal) \
(This)->lpVtbl -> put_nextSibling(This,newVal)
#define IPDObjectSymbolInstance_get_previousSibling(This,pVal) \
(This)->lpVtbl -> get_previousSibling(This,pVal)
#define IPDObjectSymbolInstance_put_previousSibling(This,newVal) \
(This)->lpVtbl -> put_previousSibling(This,newVal)
#define IPDObjectSymbolInstance_removeObject(This,object) \
(This)->lpVtbl -> removeObject(This,object)
#define IPDObjectSymbolInstance_get_spread(This,pVal) \
(This)->lpVtbl -> get_spread(This,pVal)
#define IPDObjectSymbolInstance_put_spread(This,newVal) \
(This)->lpVtbl -> put_spread(This,newVal)
#define IPDObjectSymbolInstance_get_document(This,pVal) \
(This)->lpVtbl -> get_document(This,pVal)
#define IPDObjectSymbolInstance_put_document(This,newVal) \
(This)->lpVtbl -> put_document(This,newVal)
#define IPDObjectSymbolInstance_get_firstChild(This,pVal) \
(This)->lpVtbl -> get_firstChild(This,pVal)
#define IPDObjectSymbolInstance_get_lastChild(This,pVal) \
(This)->lpVtbl -> get_lastChild(This,pVal)
#define IPDObjectSymbolInstance_get_children(This,pVal) \
(This)->lpVtbl -> get_children(This,pVal)
#define IPDObjectSymbolInstance_getScreenCTM(This,pVal) \
(This)->lpVtbl -> getScreenCTM(This,pVal)
#define IPDObjectSymbolInstance_clone(This,pVal) \
(This)->lpVtbl -> clone(This,pVal)
#define IPDObjectSymbolInstance_getExpandedBBox(This,pVal) \
(This)->lpVtbl -> getExpandedBBox(This,pVal)
#define IPDObjectSymbolInstance_get_symbol(This,pVal) \
(This)->lpVtbl -> get_symbol(This,pVal)
#define IPDObjectSymbolInstance_put_symbol(This,newVal) \
(This)->lpVtbl -> put_symbol(This,newVal)
#define IPDObjectSymbolInstance_get_x(This,pVal) \
(This)->lpVtbl -> get_x(This,pVal)
#define IPDObjectSymbolInstance_get_y(This,pVal) \
(This)->lpVtbl -> get_y(This,pVal)
#define IPDObjectSymbolInstance_setxy(This,x,y) \
(This)->lpVtbl -> setxy(This,x,y)
#endif /* COBJMACROS */
#endif /* C style interface */
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDObjectSymbolInstance_get_symbol_Proxy(
IPDObjectSymbolInstance __RPC_FAR * This,
/* [retval][out] */ IPDSymbol __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDObjectSymbolInstance_get_symbol_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IPDObjectSymbolInstance_put_symbol_Proxy(
IPDObjectSymbolInstance __RPC_FAR * This,
/* [in] */ IPDSymbol __RPC_FAR *newVal);
void __RPC_STUB IPDObjectSymbolInstance_put_symbol_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDObjectSymbolInstance_get_x_Proxy(
IPDObjectSymbolInstance __RPC_FAR * This,
/* [retval][out] */ double __RPC_FAR *pVal);
void __RPC_STUB IPDObjectSymbolInstance_get_x_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDObjectSymbolInstance_get_y_Proxy(
IPDObjectSymbolInstance __RPC_FAR * This,
/* [retval][out] */ double __RPC_FAR *pVal);
void __RPC_STUB IPDObjectSymbolInstance_get_y_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDObjectSymbolInstance_setxy_Proxy(
IPDObjectSymbolInstance __RPC_FAR * This,
/* [in] */ double x,
/* [in] */ double y);
void __RPC_STUB IPDObjectSymbolInstance_setxy_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
#endif /* __IPDObjectSymbolInstance_INTERFACE_DEFINED__ */
#ifndef __IPDObjectSymbolInstanceSet_INTERFACE_DEFINED__
#define __IPDObjectSymbolInstanceSet_INTERFACE_DEFINED__
/* interface IPDObjectSymbolInstanceSet */
/* [unique][helpstring][uuid][object] */
EXTERN_C const IID IID_IPDObjectSymbolInstanceSet;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("F96B7EA7-1CC3-4B19-8C51-FA15095B1379")
IPDObjectSymbolInstanceSet : public IPDObject
{
public:
};
#else /* C style interface */
typedef struct IPDObjectSymbolInstanceSetVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
IPDObjectSymbolInstanceSet __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
IPDObjectSymbolInstanceSet __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
IPDObjectSymbolInstanceSet __RPC_FAR * This);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_uniqId )(
IPDObjectSymbolInstanceSet __RPC_FAR * This,
/* [retval][out] */ GUID __RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_objectType )(
IPDObjectSymbolInstanceSet __RPC_FAR * This,
/* [retval][out] */ PDObjectType __RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_layer )(
IPDObjectSymbolInstanceSet __RPC_FAR * This,
/* [retval][out] */ IPDLayer __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_parent )(
IPDObjectSymbolInstanceSet __RPC_FAR * This,
/* [retval][out] */ IPDObjectUnknown __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_parent )(
IPDObjectSymbolInstanceSet __RPC_FAR * This,
/* [in] */ IPDObjectUnknown __RPC_FAR *newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_nextSibling )(
IPDObjectSymbolInstanceSet __RPC_FAR * This,
/* [retval][out] */ IPDObjectUnknown __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_nextSibling )(
IPDObjectSymbolInstanceSet __RPC_FAR * This,
/* [in] */ IPDObjectUnknown __RPC_FAR *newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_previousSibling )(
IPDObjectSymbolInstanceSet __RPC_FAR * This,
/* [retval][out] */ IPDObjectUnknown __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_previousSibling )(
IPDObjectSymbolInstanceSet __RPC_FAR * This,
/* [in] */ IPDObjectUnknown __RPC_FAR *newVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *removeObject )(
IPDObjectSymbolInstanceSet __RPC_FAR * This,
/* [in] */ IPDObjectUnknown __RPC_FAR *object);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_spread )(
IPDObjectSymbolInstanceSet __RPC_FAR * This,
/* [retval][out] */ IPDSpread __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_spread )(
IPDObjectSymbolInstanceSet __RPC_FAR * This,
/* [in] */ IPDSpread __RPC_FAR *newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_document )(
IPDObjectSymbolInstanceSet __RPC_FAR * This,
/* [retval][out] */ IPDDocument __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_document )(
IPDObjectSymbolInstanceSet __RPC_FAR * This,
/* [in] */ IPDDocument __RPC_FAR *newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_firstChild )(
IPDObjectSymbolInstanceSet __RPC_FAR * This,
/* [retval][out] */ IPDObjectUnknown __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_lastChild )(
IPDObjectSymbolInstanceSet __RPC_FAR * This,
/* [retval][out] */ IPDObjectUnknown __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_children )(
IPDObjectSymbolInstanceSet __RPC_FAR * This,
/* [retval][out] */ IObjectMap __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *getScreenCTM )(
IPDObjectSymbolInstanceSet __RPC_FAR * This,
/* [retval][out] */ IPDMatrix __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *clone )(
IPDObjectSymbolInstanceSet __RPC_FAR * This,
/* [retval][out] */ IPDObject __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *getExpandedBBox )(
IPDObjectSymbolInstanceSet __RPC_FAR * This,
/* [retval][out] */ RectD __RPC_FAR *pVal);
END_INTERFACE
} IPDObjectSymbolInstanceSetVtbl;
interface IPDObjectSymbolInstanceSet
{
CONST_VTBL struct IPDObjectSymbolInstanceSetVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define IPDObjectSymbolInstanceSet_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define IPDObjectSymbolInstanceSet_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define IPDObjectSymbolInstanceSet_Release(This) \
(This)->lpVtbl -> Release(This)
#define IPDObjectSymbolInstanceSet_get_uniqId(This,pVal) \
(This)->lpVtbl -> get_uniqId(This,pVal)
#define IPDObjectSymbolInstanceSet_get_objectType(This,pVal) \
(This)->lpVtbl -> get_objectType(This,pVal)
#define IPDObjectSymbolInstanceSet_get_layer(This,pVal) \
(This)->lpVtbl -> get_layer(This,pVal)
#define IPDObjectSymbolInstanceSet_get_parent(This,pVal) \
(This)->lpVtbl -> get_parent(This,pVal)
#define IPDObjectSymbolInstanceSet_put_parent(This,newVal) \
(This)->lpVtbl -> put_parent(This,newVal)
#define IPDObjectSymbolInstanceSet_get_nextSibling(This,pVal) \
(This)->lpVtbl -> get_nextSibling(This,pVal)
#define IPDObjectSymbolInstanceSet_put_nextSibling(This,newVal) \
(This)->lpVtbl -> put_nextSibling(This,newVal)
#define IPDObjectSymbolInstanceSet_get_previousSibling(This,pVal) \
(This)->lpVtbl -> get_previousSibling(This,pVal)
#define IPDObjectSymbolInstanceSet_put_previousSibling(This,newVal) \
(This)->lpVtbl -> put_previousSibling(This,newVal)
#define IPDObjectSymbolInstanceSet_removeObject(This,object) \
(This)->lpVtbl -> removeObject(This,object)
#define IPDObjectSymbolInstanceSet_get_spread(This,pVal) \
(This)->lpVtbl -> get_spread(This,pVal)
#define IPDObjectSymbolInstanceSet_put_spread(This,newVal) \
(This)->lpVtbl -> put_spread(This,newVal)
#define IPDObjectSymbolInstanceSet_get_document(This,pVal) \
(This)->lpVtbl -> get_document(This,pVal)
#define IPDObjectSymbolInstanceSet_put_document(This,newVal) \
(This)->lpVtbl -> put_document(This,newVal)
#define IPDObjectSymbolInstanceSet_get_firstChild(This,pVal) \
(This)->lpVtbl -> get_firstChild(This,pVal)
#define IPDObjectSymbolInstanceSet_get_lastChild(This,pVal) \
(This)->lpVtbl -> get_lastChild(This,pVal)
#define IPDObjectSymbolInstanceSet_get_children(This,pVal) \
(This)->lpVtbl -> get_children(This,pVal)
#define IPDObjectSymbolInstanceSet_getScreenCTM(This,pVal) \
(This)->lpVtbl -> getScreenCTM(This,pVal)
#define IPDObjectSymbolInstanceSet_clone(This,pVal) \
(This)->lpVtbl -> clone(This,pVal)
#define IPDObjectSymbolInstanceSet_getExpandedBBox(This,pVal) \
(This)->lpVtbl -> getExpandedBBox(This,pVal)
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* __IPDObjectSymbolInstanceSet_INTERFACE_DEFINED__ */
#ifndef __IPDStrokeSettings_INTERFACE_DEFINED__
#define __IPDStrokeSettings_INTERFACE_DEFINED__
/* interface IPDStrokeSettings */
/* [unique][helpstring][uuid][object] */
EXTERN_C const IID IID_IPDStrokeSettings;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("45587BA3-0C07-4bca-8A9B-C23183211CA3")
IPDStrokeSettings : public IUnknown
{
public:
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_strokeWeight(
/* [retval][out] */ double __RPC_FAR *pVal) = 0;
virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_strokeWeight(
/* [in] */ double newVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_dashedCount(
/* [retval][out] */ long __RPC_FAR *pVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_strokeCap(
/* [retval][out] */ long __RPC_FAR *pVal) = 0;
virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_strokeCap(
/* [in] */ long newVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_strokeJoin(
/* [retval][out] */ long __RPC_FAR *pVal) = 0;
virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_strokeJoin(
/* [in] */ long newVal) = 0;
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_strokeMiterLimit(
/* [retval][out] */ double __RPC_FAR *pVal) = 0;
virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_strokeMiterLimit(
/* [in] */ double newVal) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE setDashedValue(
/* [in] */ long index,
/* [in] */ double value) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE getDashedValue(
/* [in] */ long index,
/* [retval][out] */ double __RPC_FAR *pVal) = 0;
};
#else /* C style interface */
typedef struct IPDStrokeSettingsVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
IPDStrokeSettings __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
IPDStrokeSettings __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
IPDStrokeSettings __RPC_FAR * This);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_strokeWeight )(
IPDStrokeSettings __RPC_FAR * This,
/* [retval][out] */ double __RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_strokeWeight )(
IPDStrokeSettings __RPC_FAR * This,
/* [in] */ double newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_dashedCount )(
IPDStrokeSettings __RPC_FAR * This,
/* [retval][out] */ long __RPC_FAR *pVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_strokeCap )(
IPDStrokeSettings __RPC_FAR * This,
/* [retval][out] */ long __RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_strokeCap )(
IPDStrokeSettings __RPC_FAR * This,
/* [in] */ long newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_strokeJoin )(
IPDStrokeSettings __RPC_FAR * This,
/* [retval][out] */ long __RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_strokeJoin )(
IPDStrokeSettings __RPC_FAR * This,
/* [in] */ long newVal);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_strokeMiterLimit )(
IPDStrokeSettings __RPC_FAR * This,
/* [retval][out] */ double __RPC_FAR *pVal);
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_strokeMiterLimit )(
IPDStrokeSettings __RPC_FAR * This,
/* [in] */ double newVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *setDashedValue )(
IPDStrokeSettings __RPC_FAR * This,
/* [in] */ long index,
/* [in] */ double value);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *getDashedValue )(
IPDStrokeSettings __RPC_FAR * This,
/* [in] */ long index,
/* [retval][out] */ double __RPC_FAR *pVal);
END_INTERFACE
} IPDStrokeSettingsVtbl;
interface IPDStrokeSettings
{
CONST_VTBL struct IPDStrokeSettingsVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define IPDStrokeSettings_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define IPDStrokeSettings_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define IPDStrokeSettings_Release(This) \
(This)->lpVtbl -> Release(This)
#define IPDStrokeSettings_get_strokeWeight(This,pVal) \
(This)->lpVtbl -> get_strokeWeight(This,pVal)
#define IPDStrokeSettings_put_strokeWeight(This,newVal) \
(This)->lpVtbl -> put_strokeWeight(This,newVal)
#define IPDStrokeSettings_get_dashedCount(This,pVal) \
(This)->lpVtbl -> get_dashedCount(This,pVal)
#define IPDStrokeSettings_get_strokeCap(This,pVal) \
(This)->lpVtbl -> get_strokeCap(This,pVal)
#define IPDStrokeSettings_put_strokeCap(This,newVal) \
(This)->lpVtbl -> put_strokeCap(This,newVal)
#define IPDStrokeSettings_get_strokeJoin(This,pVal) \
(This)->lpVtbl -> get_strokeJoin(This,pVal)
#define IPDStrokeSettings_put_strokeJoin(This,newVal) \
(This)->lpVtbl -> put_strokeJoin(This,newVal)
#define IPDStrokeSettings_get_strokeMiterLimit(This,pVal) \
(This)->lpVtbl -> get_strokeMiterLimit(This,pVal)
#define IPDStrokeSettings_put_strokeMiterLimit(This,newVal) \
(This)->lpVtbl -> put_strokeMiterLimit(This,newVal)
#define IPDStrokeSettings_setDashedValue(This,index,value) \
(This)->lpVtbl -> setDashedValue(This,index,value)
#define IPDStrokeSettings_getDashedValue(This,index,pVal) \
(This)->lpVtbl -> getDashedValue(This,index,pVal)
#endif /* COBJMACROS */
#endif /* C style interface */
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDStrokeSettings_get_strokeWeight_Proxy(
IPDStrokeSettings __RPC_FAR * This,
/* [retval][out] */ double __RPC_FAR *pVal);
void __RPC_STUB IPDStrokeSettings_get_strokeWeight_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IPDStrokeSettings_put_strokeWeight_Proxy(
IPDStrokeSettings __RPC_FAR * This,
/* [in] */ double newVal);
void __RPC_STUB IPDStrokeSettings_put_strokeWeight_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDStrokeSettings_get_dashedCount_Proxy(
IPDStrokeSettings __RPC_FAR * This,
/* [retval][out] */ long __RPC_FAR *pVal);
void __RPC_STUB IPDStrokeSettings_get_dashedCount_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDStrokeSettings_get_strokeCap_Proxy(
IPDStrokeSettings __RPC_FAR * This,
/* [retval][out] */ long __RPC_FAR *pVal);
void __RPC_STUB IPDStrokeSettings_get_strokeCap_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IPDStrokeSettings_put_strokeCap_Proxy(
IPDStrokeSettings __RPC_FAR * This,
/* [in] */ long newVal);
void __RPC_STUB IPDStrokeSettings_put_strokeCap_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDStrokeSettings_get_strokeJoin_Proxy(
IPDStrokeSettings __RPC_FAR * This,
/* [retval][out] */ long __RPC_FAR *pVal);
void __RPC_STUB IPDStrokeSettings_get_strokeJoin_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IPDStrokeSettings_put_strokeJoin_Proxy(
IPDStrokeSettings __RPC_FAR * This,
/* [in] */ long newVal);
void __RPC_STUB IPDStrokeSettings_put_strokeJoin_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDStrokeSettings_get_strokeMiterLimit_Proxy(
IPDStrokeSettings __RPC_FAR * This,
/* [retval][out] */ double __RPC_FAR *pVal);
void __RPC_STUB IPDStrokeSettings_get_strokeMiterLimit_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IPDStrokeSettings_put_strokeMiterLimit_Proxy(
IPDStrokeSettings __RPC_FAR * This,
/* [in] */ double newVal);
void __RPC_STUB IPDStrokeSettings_put_strokeMiterLimit_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDStrokeSettings_setDashedValue_Proxy(
IPDStrokeSettings __RPC_FAR * This,
/* [in] */ long index,
/* [in] */ double value);
void __RPC_STUB IPDStrokeSettings_setDashedValue_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDStrokeSettings_getDashedValue_Proxy(
IPDStrokeSettings __RPC_FAR * This,
/* [in] */ long index,
/* [retval][out] */ double __RPC_FAR *pVal);
void __RPC_STUB IPDStrokeSettings_getDashedValue_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
#endif /* __IPDStrokeSettings_INTERFACE_DEFINED__ */
#ifndef __IPDObjectSelection_INTERFACE_DEFINED__
#define __IPDObjectSelection_INTERFACE_DEFINED__
/* interface IPDObjectSelection */
/* [unique][helpstring][uuid][object] */
EXTERN_C const IID IID_IPDObjectSelection;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("862CE21E-00F6-4c40-9474-E4315C0BC83E")
IPDObjectSelection : public IPDUnknown
{
public:
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_objectType(
/* [retval][out] */ long __RPC_FAR *pVal) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetView(
/* [retval][out] */ IPDDocumentView __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE appendSubObject(
/* [in] */ IPDObjectWithBrush __RPC_FAR *object) = 0;
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE hasMixedAppearance(
/* [retval][out] */ VARIANT_BOOL __RPC_FAR *pVal) = 0;
};
#else /* C style interface */
typedef struct IPDObjectSelectionVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
IPDObjectSelection __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
IPDObjectSelection __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
IPDObjectSelection __RPC_FAR * This);
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_objectType )(
IPDObjectSelection __RPC_FAR * This,
/* [retval][out] */ long __RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetView )(
IPDObjectSelection __RPC_FAR * This,
/* [retval][out] */ IPDDocumentView __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *appendSubObject )(
IPDObjectSelection __RPC_FAR * This,
/* [in] */ IPDObjectWithBrush __RPC_FAR *object);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *hasMixedAppearance )(
IPDObjectSelection __RPC_FAR * This,
/* [retval][out] */ VARIANT_BOOL __RPC_FAR *pVal);
END_INTERFACE
} IPDObjectSelectionVtbl;
interface IPDObjectSelection
{
CONST_VTBL struct IPDObjectSelectionVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define IPDObjectSelection_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define IPDObjectSelection_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define IPDObjectSelection_Release(This) \
(This)->lpVtbl -> Release(This)
#define IPDObjectSelection_get_objectType(This,pVal) \
(This)->lpVtbl -> get_objectType(This,pVal)
#define IPDObjectSelection_GetView(This,pVal) \
(This)->lpVtbl -> GetView(This,pVal)
#define IPDObjectSelection_appendSubObject(This,object) \
(This)->lpVtbl -> appendSubObject(This,object)
#define IPDObjectSelection_hasMixedAppearance(This,pVal) \
(This)->lpVtbl -> hasMixedAppearance(This,pVal)
#endif /* COBJMACROS */
#endif /* C style interface */
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPDObjectSelection_get_objectType_Proxy(
IPDObjectSelection __RPC_FAR * This,
/* [retval][out] */ long __RPC_FAR *pVal);
void __RPC_STUB IPDObjectSelection_get_objectType_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDObjectSelection_GetView_Proxy(
IPDObjectSelection __RPC_FAR * This,
/* [retval][out] */ IPDDocumentView __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IPDObjectSelection_GetView_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDObjectSelection_appendSubObject_Proxy(
IPDObjectSelection __RPC_FAR * This,
/* [in] */ IPDObjectWithBrush __RPC_FAR *object);
void __RPC_STUB IPDObjectSelection_appendSubObject_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDObjectSelection_hasMixedAppearance_Proxy(
IPDObjectSelection __RPC_FAR * This,
/* [retval][out] */ VARIANT_BOOL __RPC_FAR *pVal);
void __RPC_STUB IPDObjectSelection_hasMixedAppearance_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
#endif /* __IPDObjectSelection_INTERFACE_DEFINED__ */
#ifndef __IPDCustomRenderer_INTERFACE_DEFINED__
#define __IPDCustomRenderer_INTERFACE_DEFINED__
/* interface IPDCustomRenderer */
/* [unique][helpstring][oleautomation][uuid][object] */
EXTERN_C const IID IID_IPDCustomRenderer;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("9C048B02-10A5-11d6-95F0-0002E3045703")
IPDCustomRenderer : public IUnknown
{
public:
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE RenderObject(
/* [in] */ IPDRenderer __RPC_FAR *renderer,
/* [in] */ IPDObject __RPC_FAR *object) = 0;
};
#else /* C style interface */
typedef struct IPDCustomRendererVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
IPDCustomRenderer __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
IPDCustomRenderer __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
IPDCustomRenderer __RPC_FAR * This);
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *RenderObject )(
IPDCustomRenderer __RPC_FAR * This,
/* [in] */ IPDRenderer __RPC_FAR *renderer,
/* [in] */ IPDObject __RPC_FAR *object);
END_INTERFACE
} IPDCustomRendererVtbl;
interface IPDCustomRenderer
{
CONST_VTBL struct IPDCustomRendererVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define IPDCustomRenderer_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define IPDCustomRenderer_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define IPDCustomRenderer_Release(This) \
(This)->lpVtbl -> Release(This)
#define IPDCustomRenderer_RenderObject(This,renderer,object) \
(This)->lpVtbl -> RenderObject(This,renderer,object)
#endif /* COBJMACROS */
#endif /* C style interface */
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IPDCustomRenderer_RenderObject_Proxy(
IPDCustomRenderer __RPC_FAR * This,
/* [in] */ IPDRenderer __RPC_FAR *renderer,
/* [in] */ IPDObject __RPC_FAR *object);
void __RPC_STUB IPDCustomRenderer_RenderObject_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
#endif /* __IPDCustomRenderer_INTERFACE_DEFINED__ */
#ifndef __ISwatchesDlg_INTERFACE_DEFINED__
#define __ISwatchesDlg_INTERFACE_DEFINED__
/* interface ISwatchesDlg */
/* [unique][helpstring][dual][uuid][object] */
EXTERN_C const IID IID_ISwatchesDlg;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("9DEC5940-E952-11D5-95F0-0002E3045703")
ISwatchesDlg : public IDispatch
{
public:
};
#else /* C style interface */
typedef struct ISwatchesDlgVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
ISwatchesDlg __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
ISwatchesDlg __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
ISwatchesDlg __RPC_FAR * This);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
ISwatchesDlg __RPC_FAR * This,
/* [out] */ UINT __RPC_FAR *pctinfo);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
ISwatchesDlg __RPC_FAR * This,
/* [in] */ UINT iTInfo,
/* [in] */ LCID lcid,
/* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
ISwatchesDlg __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
/* [in] */ UINT cNames,
/* [in] */ LCID lcid,
/* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
/* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
ISwatchesDlg __RPC_FAR * This,
/* [in] */ DISPID dispIdMember,
/* [in] */ REFIID riid,
/* [in] */ LCID lcid,
/* [in] */ WORD wFlags,
/* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
/* [out] */ VARIANT __RPC_FAR *pVarResult,
/* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
/* [out] */ UINT __RPC_FAR *puArgErr);
END_INTERFACE
} ISwatchesDlgVtbl;
interface ISwatchesDlg
{
CONST_VTBL struct ISwatchesDlgVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define ISwatchesDlg_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define ISwatchesDlg_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define ISwatchesDlg_Release(This) \
(This)->lpVtbl -> Release(This)
#define ISwatchesDlg_GetTypeInfoCount(This,pctinfo) \
(This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
#define ISwatchesDlg_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
(This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
#define ISwatchesDlg_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
(This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
#define ISwatchesDlg_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
(This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* __ISwatchesDlg_INTERFACE_DEFINED__ */
#ifndef __IGradientDlg_INTERFACE_DEFINED__
#define __IGradientDlg_INTERFACE_DEFINED__
/* interface IGradientDlg */
/* [unique][helpstring][dual][uuid][object] */
EXTERN_C const IID IID_IGradientDlg;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("A8AD0B32-565D-4DF7-AE32-3EC1D68730CB")
IGradientDlg : public IDispatch
{
public:
};
#else /* C style interface */
typedef struct IGradientDlgVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
IGradientDlg __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
IGradientDlg __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
IGradientDlg __RPC_FAR * This);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
IGradientDlg __RPC_FAR * This,
/* [out] */ UINT __RPC_FAR *pctinfo);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
IGradientDlg __RPC_FAR * This,
/* [in] */ UINT iTInfo,
/* [in] */ LCID lcid,
/* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
IGradientDlg __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
/* [in] */ UINT cNames,
/* [in] */ LCID lcid,
/* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
/* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
IGradientDlg __RPC_FAR * This,
/* [in] */ DISPID dispIdMember,
/* [in] */ REFIID riid,
/* [in] */ LCID lcid,
/* [in] */ WORD wFlags,
/* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
/* [out] */ VARIANT __RPC_FAR *pVarResult,
/* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
/* [out] */ UINT __RPC_FAR *puArgErr);
END_INTERFACE
} IGradientDlgVtbl;
interface IGradientDlg
{
CONST_VTBL struct IGradientDlgVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define IGradientDlg_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define IGradientDlg_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define IGradientDlg_Release(This) \
(This)->lpVtbl -> Release(This)
#define IGradientDlg_GetTypeInfoCount(This,pctinfo) \
(This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
#define IGradientDlg_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
(This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
#define IGradientDlg_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
(This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
#define IGradientDlg_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
(This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* __IGradientDlg_INTERFACE_DEFINED__ */
#ifndef __INavigatorDlg_INTERFACE_DEFINED__
#define __INavigatorDlg_INTERFACE_DEFINED__
/* interface INavigatorDlg */
/* [unique][helpstring][dual][uuid][object] */
EXTERN_C const IID IID_INavigatorDlg;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("9DEC5943-E952-11D5-95F0-0002E3045703")
INavigatorDlg : public IDispatch
{
public:
};
#else /* C style interface */
typedef struct INavigatorDlgVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
INavigatorDlg __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
INavigatorDlg __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
INavigatorDlg __RPC_FAR * This);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
INavigatorDlg __RPC_FAR * This,
/* [out] */ UINT __RPC_FAR *pctinfo);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
INavigatorDlg __RPC_FAR * This,
/* [in] */ UINT iTInfo,
/* [in] */ LCID lcid,
/* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
INavigatorDlg __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
/* [in] */ UINT cNames,
/* [in] */ LCID lcid,
/* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
/* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
INavigatorDlg __RPC_FAR * This,
/* [in] */ DISPID dispIdMember,
/* [in] */ REFIID riid,
/* [in] */ LCID lcid,
/* [in] */ WORD wFlags,
/* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
/* [out] */ VARIANT __RPC_FAR *pVarResult,
/* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
/* [out] */ UINT __RPC_FAR *puArgErr);
END_INTERFACE
} INavigatorDlgVtbl;
interface INavigatorDlg
{
CONST_VTBL struct INavigatorDlgVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define INavigatorDlg_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define INavigatorDlg_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define INavigatorDlg_Release(This) \
(This)->lpVtbl -> Release(This)
#define INavigatorDlg_GetTypeInfoCount(This,pctinfo) \
(This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
#define INavigatorDlg_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
(This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
#define INavigatorDlg_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
(This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
#define INavigatorDlg_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
(This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* __INavigatorDlg_INTERFACE_DEFINED__ */
#ifndef __IStrokeDlg_INTERFACE_DEFINED__
#define __IStrokeDlg_INTERFACE_DEFINED__
/* interface IStrokeDlg */
/* [unique][helpstring][dual][uuid][object] */
EXTERN_C const IID IID_IStrokeDlg;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("CC00CE81-ED4C-11D5-95F0-0002E3045703")
IStrokeDlg : public IDispatch
{
public:
};
#else /* C style interface */
typedef struct IStrokeDlgVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
IStrokeDlg __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
IStrokeDlg __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
IStrokeDlg __RPC_FAR * This);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
IStrokeDlg __RPC_FAR * This,
/* [out] */ UINT __RPC_FAR *pctinfo);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
IStrokeDlg __RPC_FAR * This,
/* [in] */ UINT iTInfo,
/* [in] */ LCID lcid,
/* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
IStrokeDlg __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
/* [in] */ UINT cNames,
/* [in] */ LCID lcid,
/* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
/* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
IStrokeDlg __RPC_FAR * This,
/* [in] */ DISPID dispIdMember,
/* [in] */ REFIID riid,
/* [in] */ LCID lcid,
/* [in] */ WORD wFlags,
/* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
/* [out] */ VARIANT __RPC_FAR *pVarResult,
/* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
/* [out] */ UINT __RPC_FAR *puArgErr);
END_INTERFACE
} IStrokeDlgVtbl;
interface IStrokeDlg
{
CONST_VTBL struct IStrokeDlgVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define IStrokeDlg_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define IStrokeDlg_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define IStrokeDlg_Release(This) \
(This)->lpVtbl -> Release(This)
#define IStrokeDlg_GetTypeInfoCount(This,pctinfo) \
(This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
#define IStrokeDlg_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
(This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
#define IStrokeDlg_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
(This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
#define IStrokeDlg_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
(This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* __IStrokeDlg_INTERFACE_DEFINED__ */
#ifndef __ISwatchesList_INTERFACE_DEFINED__
#define __ISwatchesList_INTERFACE_DEFINED__
/* interface ISwatchesList */
/* [unique][helpstring][dual][uuid][object] */
EXTERN_C const IID IID_ISwatchesList;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("8B2AE123-EE82-11D5-95F0-0002E3045703")
ISwatchesList : public IDispatch
{
public:
virtual /* [id][propputref] */ HRESULT STDMETHODCALLTYPE putref_Font(
/* [in] */ IFontDisp __RPC_FAR *pFont) = 0;
virtual /* [id][propput] */ HRESULT STDMETHODCALLTYPE put_Font(
/* [in] */ IFontDisp __RPC_FAR *pFont) = 0;
virtual /* [id][propget] */ HRESULT STDMETHODCALLTYPE get_Font(
/* [retval][out] */ IFontDisp __RPC_FAR *__RPC_FAR *ppFont) = 0;
virtual /* [id][propput] */ HRESULT STDMETHODCALLTYPE put_Enabled(
/* [in] */ VARIANT_BOOL vbool) = 0;
virtual /* [id][propget] */ HRESULT STDMETHODCALLTYPE get_Enabled(
/* [retval][out] */ VARIANT_BOOL __RPC_FAR *pbool) = 0;
virtual /* [id][propget] */ HRESULT STDMETHODCALLTYPE get_Window(
/* [retval][out] */ long __RPC_FAR *phwnd) = 0;
virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_swatches(
/* [retval][out] */ IPDSwatches __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_swatches(
/* [in] */ IPDSwatches __RPC_FAR *newVal) = 0;
virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE selectSwatch(
/* [in] */ IPDSwatch __RPC_FAR *swatch) = 0;
virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE getNextSelectedSwatch(
/* [in] */ long index,
/* [retval][out] */ IPDSwatch __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_multiSelect(
/* [retval][out] */ VARIANT_BOOL __RPC_FAR *pVal) = 0;
virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_multiSelect(
/* [in] */ VARIANT_BOOL newVal) = 0;
virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_showSwatchNone(
/* [retval][out] */ VARIANT_BOOL __RPC_FAR *pVal) = 0;
virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_showSwatchNone(
/* [in] */ VARIANT_BOOL newVal) = 0;
virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_showSwatchColor(
/* [retval][out] */ VARIANT_BOOL __RPC_FAR *pVal) = 0;
virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_showSwatchColor(
/* [in] */ VARIANT_BOOL newVal) = 0;
virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_showSwatchGradient(
/* [retval][out] */ VARIANT_BOOL __RPC_FAR *pVal) = 0;
virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_showSwatchGradient(
/* [in] */ VARIANT_BOOL newVal) = 0;
};
#else /* C style interface */
typedef struct ISwatchesListVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
ISwatchesList __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
ISwatchesList __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
ISwatchesList __RPC_FAR * This);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
ISwatchesList __RPC_FAR * This,
/* [out] */ UINT __RPC_FAR *pctinfo);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
ISwatchesList __RPC_FAR * This,
/* [in] */ UINT iTInfo,
/* [in] */ LCID lcid,
/* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
ISwatchesList __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
/* [in] */ UINT cNames,
/* [in] */ LCID lcid,
/* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
/* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
ISwatchesList __RPC_FAR * This,
/* [in] */ DISPID dispIdMember,
/* [in] */ REFIID riid,
/* [in] */ LCID lcid,
/* [in] */ WORD wFlags,
/* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
/* [out] */ VARIANT __RPC_FAR *pVarResult,
/* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
/* [out] */ UINT __RPC_FAR *puArgErr);
/* [id][propputref] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *putref_Font )(
ISwatchesList __RPC_FAR * This,
/* [in] */ IFontDisp __RPC_FAR *pFont);
/* [id][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_Font )(
ISwatchesList __RPC_FAR * This,
/* [in] */ IFontDisp __RPC_FAR *pFont);
/* [id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Font )(
ISwatchesList __RPC_FAR * This,
/* [retval][out] */ IFontDisp __RPC_FAR *__RPC_FAR *ppFont);
/* [id][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_Enabled )(
ISwatchesList __RPC_FAR * This,
/* [in] */ VARIANT_BOOL vbool);
/* [id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Enabled )(
ISwatchesList __RPC_FAR * This,
/* [retval][out] */ VARIANT_BOOL __RPC_FAR *pbool);
/* [id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Window )(
ISwatchesList __RPC_FAR * This,
/* [retval][out] */ long __RPC_FAR *phwnd);
/* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_swatches )(
ISwatchesList __RPC_FAR * This,
/* [retval][out] */ IPDSwatches __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_swatches )(
ISwatchesList __RPC_FAR * This,
/* [in] */ IPDSwatches __RPC_FAR *newVal);
/* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *selectSwatch )(
ISwatchesList __RPC_FAR * This,
/* [in] */ IPDSwatch __RPC_FAR *swatch);
/* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *getNextSelectedSwatch )(
ISwatchesList __RPC_FAR * This,
/* [in] */ long index,
/* [retval][out] */ IPDSwatch __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_multiSelect )(
ISwatchesList __RPC_FAR * This,
/* [retval][out] */ VARIANT_BOOL __RPC_FAR *pVal);
/* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_multiSelect )(
ISwatchesList __RPC_FAR * This,
/* [in] */ VARIANT_BOOL newVal);
/* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_showSwatchNone )(
ISwatchesList __RPC_FAR * This,
/* [retval][out] */ VARIANT_BOOL __RPC_FAR *pVal);
/* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_showSwatchNone )(
ISwatchesList __RPC_FAR * This,
/* [in] */ VARIANT_BOOL newVal);
/* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_showSwatchColor )(
ISwatchesList __RPC_FAR * This,
/* [retval][out] */ VARIANT_BOOL __RPC_FAR *pVal);
/* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_showSwatchColor )(
ISwatchesList __RPC_FAR * This,
/* [in] */ VARIANT_BOOL newVal);
/* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_showSwatchGradient )(
ISwatchesList __RPC_FAR * This,
/* [retval][out] */ VARIANT_BOOL __RPC_FAR *pVal);
/* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_showSwatchGradient )(
ISwatchesList __RPC_FAR * This,
/* [in] */ VARIANT_BOOL newVal);
END_INTERFACE
} ISwatchesListVtbl;
interface ISwatchesList
{
CONST_VTBL struct ISwatchesListVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define ISwatchesList_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define ISwatchesList_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define ISwatchesList_Release(This) \
(This)->lpVtbl -> Release(This)
#define ISwatchesList_GetTypeInfoCount(This,pctinfo) \
(This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
#define ISwatchesList_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
(This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
#define ISwatchesList_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
(This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
#define ISwatchesList_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
(This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
#define ISwatchesList_putref_Font(This,pFont) \
(This)->lpVtbl -> putref_Font(This,pFont)
#define ISwatchesList_put_Font(This,pFont) \
(This)->lpVtbl -> put_Font(This,pFont)
#define ISwatchesList_get_Font(This,ppFont) \
(This)->lpVtbl -> get_Font(This,ppFont)
#define ISwatchesList_put_Enabled(This,vbool) \
(This)->lpVtbl -> put_Enabled(This,vbool)
#define ISwatchesList_get_Enabled(This,pbool) \
(This)->lpVtbl -> get_Enabled(This,pbool)
#define ISwatchesList_get_Window(This,phwnd) \
(This)->lpVtbl -> get_Window(This,phwnd)
#define ISwatchesList_get_swatches(This,pVal) \
(This)->lpVtbl -> get_swatches(This,pVal)
#define ISwatchesList_put_swatches(This,newVal) \
(This)->lpVtbl -> put_swatches(This,newVal)
#define ISwatchesList_selectSwatch(This,swatch) \
(This)->lpVtbl -> selectSwatch(This,swatch)
#define ISwatchesList_getNextSelectedSwatch(This,index,pVal) \
(This)->lpVtbl -> getNextSelectedSwatch(This,index,pVal)
#define ISwatchesList_get_multiSelect(This,pVal) \
(This)->lpVtbl -> get_multiSelect(This,pVal)
#define ISwatchesList_put_multiSelect(This,newVal) \
(This)->lpVtbl -> put_multiSelect(This,newVal)
#define ISwatchesList_get_showSwatchNone(This,pVal) \
(This)->lpVtbl -> get_showSwatchNone(This,pVal)
#define ISwatchesList_put_showSwatchNone(This,newVal) \
(This)->lpVtbl -> put_showSwatchNone(This,newVal)
#define ISwatchesList_get_showSwatchColor(This,pVal) \
(This)->lpVtbl -> get_showSwatchColor(This,pVal)
#define ISwatchesList_put_showSwatchColor(This,newVal) \
(This)->lpVtbl -> put_showSwatchColor(This,newVal)
#define ISwatchesList_get_showSwatchGradient(This,pVal) \
(This)->lpVtbl -> get_showSwatchGradient(This,pVal)
#define ISwatchesList_put_showSwatchGradient(This,newVal) \
(This)->lpVtbl -> put_showSwatchGradient(This,newVal)
#endif /* COBJMACROS */
#endif /* C style interface */
/* [id][propputref] */ HRESULT STDMETHODCALLTYPE ISwatchesList_putref_Font_Proxy(
ISwatchesList __RPC_FAR * This,
/* [in] */ IFontDisp __RPC_FAR *pFont);
void __RPC_STUB ISwatchesList_putref_Font_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [id][propput] */ HRESULT STDMETHODCALLTYPE ISwatchesList_put_Font_Proxy(
ISwatchesList __RPC_FAR * This,
/* [in] */ IFontDisp __RPC_FAR *pFont);
void __RPC_STUB ISwatchesList_put_Font_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [id][propget] */ HRESULT STDMETHODCALLTYPE ISwatchesList_get_Font_Proxy(
ISwatchesList __RPC_FAR * This,
/* [retval][out] */ IFontDisp __RPC_FAR *__RPC_FAR *ppFont);
void __RPC_STUB ISwatchesList_get_Font_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [id][propput] */ HRESULT STDMETHODCALLTYPE ISwatchesList_put_Enabled_Proxy(
ISwatchesList __RPC_FAR * This,
/* [in] */ VARIANT_BOOL vbool);
void __RPC_STUB ISwatchesList_put_Enabled_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [id][propget] */ HRESULT STDMETHODCALLTYPE ISwatchesList_get_Enabled_Proxy(
ISwatchesList __RPC_FAR * This,
/* [retval][out] */ VARIANT_BOOL __RPC_FAR *pbool);
void __RPC_STUB ISwatchesList_get_Enabled_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [id][propget] */ HRESULT STDMETHODCALLTYPE ISwatchesList_get_Window_Proxy(
ISwatchesList __RPC_FAR * This,
/* [retval][out] */ long __RPC_FAR *phwnd);
void __RPC_STUB ISwatchesList_get_Window_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ISwatchesList_get_swatches_Proxy(
ISwatchesList __RPC_FAR * This,
/* [retval][out] */ IPDSwatches __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB ISwatchesList_get_swatches_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ISwatchesList_put_swatches_Proxy(
ISwatchesList __RPC_FAR * This,
/* [in] */ IPDSwatches __RPC_FAR *newVal);
void __RPC_STUB ISwatchesList_put_swatches_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISwatchesList_selectSwatch_Proxy(
ISwatchesList __RPC_FAR * This,
/* [in] */ IPDSwatch __RPC_FAR *swatch);
void __RPC_STUB ISwatchesList_selectSwatch_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISwatchesList_getNextSelectedSwatch_Proxy(
ISwatchesList __RPC_FAR * This,
/* [in] */ long index,
/* [retval][out] */ IPDSwatch __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB ISwatchesList_getNextSelectedSwatch_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ISwatchesList_get_multiSelect_Proxy(
ISwatchesList __RPC_FAR * This,
/* [retval][out] */ VARIANT_BOOL __RPC_FAR *pVal);
void __RPC_STUB ISwatchesList_get_multiSelect_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ISwatchesList_put_multiSelect_Proxy(
ISwatchesList __RPC_FAR * This,
/* [in] */ VARIANT_BOOL newVal);
void __RPC_STUB ISwatchesList_put_multiSelect_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ISwatchesList_get_showSwatchNone_Proxy(
ISwatchesList __RPC_FAR * This,
/* [retval][out] */ VARIANT_BOOL __RPC_FAR *pVal);
void __RPC_STUB ISwatchesList_get_showSwatchNone_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ISwatchesList_put_showSwatchNone_Proxy(
ISwatchesList __RPC_FAR * This,
/* [in] */ VARIANT_BOOL newVal);
void __RPC_STUB ISwatchesList_put_showSwatchNone_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ISwatchesList_get_showSwatchColor_Proxy(
ISwatchesList __RPC_FAR * This,
/* [retval][out] */ VARIANT_BOOL __RPC_FAR *pVal);
void __RPC_STUB ISwatchesList_get_showSwatchColor_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ISwatchesList_put_showSwatchColor_Proxy(
ISwatchesList __RPC_FAR * This,
/* [in] */ VARIANT_BOOL newVal);
void __RPC_STUB ISwatchesList_put_showSwatchColor_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ISwatchesList_get_showSwatchGradient_Proxy(
ISwatchesList __RPC_FAR * This,
/* [retval][out] */ VARIANT_BOOL __RPC_FAR *pVal);
void __RPC_STUB ISwatchesList_get_showSwatchGradient_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ISwatchesList_put_showSwatchGradient_Proxy(
ISwatchesList __RPC_FAR * This,
/* [in] */ VARIANT_BOOL newVal);
void __RPC_STUB ISwatchesList_put_showSwatchGradient_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
#endif /* __ISwatchesList_INTERFACE_DEFINED__ */
#ifndef __IColorDlg_INTERFACE_DEFINED__
#define __IColorDlg_INTERFACE_DEFINED__
/* interface IColorDlg */
/* [unique][helpstring][dual][uuid][object] */
EXTERN_C const IID IID_IColorDlg;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("8B2AE126-EE82-11D5-95F0-0002E3045703")
IColorDlg : public IDispatch
{
public:
};
#else /* C style interface */
typedef struct IColorDlgVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
IColorDlg __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
IColorDlg __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
IColorDlg __RPC_FAR * This);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
IColorDlg __RPC_FAR * This,
/* [out] */ UINT __RPC_FAR *pctinfo);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
IColorDlg __RPC_FAR * This,
/* [in] */ UINT iTInfo,
/* [in] */ LCID lcid,
/* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
IColorDlg __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
/* [in] */ UINT cNames,
/* [in] */ LCID lcid,
/* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
/* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
IColorDlg __RPC_FAR * This,
/* [in] */ DISPID dispIdMember,
/* [in] */ REFIID riid,
/* [in] */ LCID lcid,
/* [in] */ WORD wFlags,
/* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
/* [out] */ VARIANT __RPC_FAR *pVarResult,
/* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
/* [out] */ UINT __RPC_FAR *puArgErr);
END_INTERFACE
} IColorDlgVtbl;
interface IColorDlg
{
CONST_VTBL struct IColorDlgVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define IColorDlg_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define IColorDlg_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define IColorDlg_Release(This) \
(This)->lpVtbl -> Release(This)
#define IColorDlg_GetTypeInfoCount(This,pctinfo) \
(This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
#define IColorDlg_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
(This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
#define IColorDlg_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
(This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
#define IColorDlg_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
(This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* __IColorDlg_INTERFACE_DEFINED__ */
#ifndef __IGradientEdit_INTERFACE_DEFINED__
#define __IGradientEdit_INTERFACE_DEFINED__
/* interface IGradientEdit */
/* [unique][helpstring][dual][uuid][object] */
EXTERN_C const IID IID_IGradientEdit;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("8B2AE129-EE82-11D5-95F0-0002E3045703")
IGradientEdit : public IDispatch
{
public:
virtual /* [id][propput] */ HRESULT STDMETHODCALLTYPE put_BackColor(
/* [in] */ OLE_COLOR clr) = 0;
virtual /* [id][propget] */ HRESULT STDMETHODCALLTYPE get_BackColor(
/* [retval][out] */ OLE_COLOR __RPC_FAR *pclr) = 0;
virtual /* [id][propput] */ HRESULT STDMETHODCALLTYPE put_Enabled(
/* [in] */ VARIANT_BOOL vbool) = 0;
virtual /* [id][propget] */ HRESULT STDMETHODCALLTYPE get_Enabled(
/* [retval][out] */ VARIANT_BOOL __RPC_FAR *pbool) = 0;
virtual /* [id][propget] */ HRESULT STDMETHODCALLTYPE get_Window(
/* [retval][out] */ long __RPC_FAR *phwnd) = 0;
virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_gradient(
/* [retval][out] */ IPDGradient __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_gradient(
/* [in] */ IPDGradient __RPC_FAR *newVal) = 0;
};
#else /* C style interface */
typedef struct IGradientEditVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
IGradientEdit __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
IGradientEdit __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
IGradientEdit __RPC_FAR * This);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
IGradientEdit __RPC_FAR * This,
/* [out] */ UINT __RPC_FAR *pctinfo);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
IGradientEdit __RPC_FAR * This,
/* [in] */ UINT iTInfo,
/* [in] */ LCID lcid,
/* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
IGradientEdit __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
/* [in] */ UINT cNames,
/* [in] */ LCID lcid,
/* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
/* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
IGradientEdit __RPC_FAR * This,
/* [in] */ DISPID dispIdMember,
/* [in] */ REFIID riid,
/* [in] */ LCID lcid,
/* [in] */ WORD wFlags,
/* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
/* [out] */ VARIANT __RPC_FAR *pVarResult,
/* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
/* [out] */ UINT __RPC_FAR *puArgErr);
/* [id][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_BackColor )(
IGradientEdit __RPC_FAR * This,
/* [in] */ OLE_COLOR clr);
/* [id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_BackColor )(
IGradientEdit __RPC_FAR * This,
/* [retval][out] */ OLE_COLOR __RPC_FAR *pclr);
/* [id][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_Enabled )(
IGradientEdit __RPC_FAR * This,
/* [in] */ VARIANT_BOOL vbool);
/* [id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Enabled )(
IGradientEdit __RPC_FAR * This,
/* [retval][out] */ VARIANT_BOOL __RPC_FAR *pbool);
/* [id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Window )(
IGradientEdit __RPC_FAR * This,
/* [retval][out] */ long __RPC_FAR *phwnd);
/* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_gradient )(
IGradientEdit __RPC_FAR * This,
/* [retval][out] */ IPDGradient __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_gradient )(
IGradientEdit __RPC_FAR * This,
/* [in] */ IPDGradient __RPC_FAR *newVal);
END_INTERFACE
} IGradientEditVtbl;
interface IGradientEdit
{
CONST_VTBL struct IGradientEditVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define IGradientEdit_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define IGradientEdit_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define IGradientEdit_Release(This) \
(This)->lpVtbl -> Release(This)
#define IGradientEdit_GetTypeInfoCount(This,pctinfo) \
(This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
#define IGradientEdit_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
(This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
#define IGradientEdit_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
(This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
#define IGradientEdit_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
(This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
#define IGradientEdit_put_BackColor(This,clr) \
(This)->lpVtbl -> put_BackColor(This,clr)
#define IGradientEdit_get_BackColor(This,pclr) \
(This)->lpVtbl -> get_BackColor(This,pclr)
#define IGradientEdit_put_Enabled(This,vbool) \
(This)->lpVtbl -> put_Enabled(This,vbool)
#define IGradientEdit_get_Enabled(This,pbool) \
(This)->lpVtbl -> get_Enabled(This,pbool)
#define IGradientEdit_get_Window(This,phwnd) \
(This)->lpVtbl -> get_Window(This,phwnd)
#define IGradientEdit_get_gradient(This,pVal) \
(This)->lpVtbl -> get_gradient(This,pVal)
#define IGradientEdit_put_gradient(This,newVal) \
(This)->lpVtbl -> put_gradient(This,newVal)
#endif /* COBJMACROS */
#endif /* C style interface */
/* [id][propput] */ HRESULT STDMETHODCALLTYPE IGradientEdit_put_BackColor_Proxy(
IGradientEdit __RPC_FAR * This,
/* [in] */ OLE_COLOR clr);
void __RPC_STUB IGradientEdit_put_BackColor_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [id][propget] */ HRESULT STDMETHODCALLTYPE IGradientEdit_get_BackColor_Proxy(
IGradientEdit __RPC_FAR * This,
/* [retval][out] */ OLE_COLOR __RPC_FAR *pclr);
void __RPC_STUB IGradientEdit_get_BackColor_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [id][propput] */ HRESULT STDMETHODCALLTYPE IGradientEdit_put_Enabled_Proxy(
IGradientEdit __RPC_FAR * This,
/* [in] */ VARIANT_BOOL vbool);
void __RPC_STUB IGradientEdit_put_Enabled_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [id][propget] */ HRESULT STDMETHODCALLTYPE IGradientEdit_get_Enabled_Proxy(
IGradientEdit __RPC_FAR * This,
/* [retval][out] */ VARIANT_BOOL __RPC_FAR *pbool);
void __RPC_STUB IGradientEdit_get_Enabled_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [id][propget] */ HRESULT STDMETHODCALLTYPE IGradientEdit_get_Window_Proxy(
IGradientEdit __RPC_FAR * This,
/* [retval][out] */ long __RPC_FAR *phwnd);
void __RPC_STUB IGradientEdit_get_Window_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IGradientEdit_get_gradient_Proxy(
IGradientEdit __RPC_FAR * This,
/* [retval][out] */ IPDGradient __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB IGradientEdit_get_gradient_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE IGradientEdit_put_gradient_Proxy(
IGradientEdit __RPC_FAR * This,
/* [in] */ IPDGradient __RPC_FAR *newVal);
void __RPC_STUB IGradientEdit_put_gradient_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
#endif /* __IGradientEdit_INTERFACE_DEFINED__ */
#ifndef __IToolsDlg_INTERFACE_DEFINED__
#define __IToolsDlg_INTERFACE_DEFINED__
/* interface IToolsDlg */
/* [unique][helpstring][dual][uuid][object] */
EXTERN_C const IID IID_IToolsDlg;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("C8DE5EE0-F128-11D5-95F0-0002E3045703")
IToolsDlg : public IDispatch
{
public:
};
#else /* C style interface */
typedef struct IToolsDlgVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
IToolsDlg __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
IToolsDlg __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
IToolsDlg __RPC_FAR * This);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
IToolsDlg __RPC_FAR * This,
/* [out] */ UINT __RPC_FAR *pctinfo);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
IToolsDlg __RPC_FAR * This,
/* [in] */ UINT iTInfo,
/* [in] */ LCID lcid,
/* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
IToolsDlg __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
/* [in] */ UINT cNames,
/* [in] */ LCID lcid,
/* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
/* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
IToolsDlg __RPC_FAR * This,
/* [in] */ DISPID dispIdMember,
/* [in] */ REFIID riid,
/* [in] */ LCID lcid,
/* [in] */ WORD wFlags,
/* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
/* [out] */ VARIANT __RPC_FAR *pVarResult,
/* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
/* [out] */ UINT __RPC_FAR *puArgErr);
END_INTERFACE
} IToolsDlgVtbl;
interface IToolsDlg
{
CONST_VTBL struct IToolsDlgVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define IToolsDlg_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define IToolsDlg_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define IToolsDlg_Release(This) \
(This)->lpVtbl -> Release(This)
#define IToolsDlg_GetTypeInfoCount(This,pctinfo) \
(This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
#define IToolsDlg_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
(This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
#define IToolsDlg_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
(This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
#define IToolsDlg_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
(This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* __IToolsDlg_INTERFACE_DEFINED__ */
#ifndef __ITabsControl_INTERFACE_DEFINED__
#define __ITabsControl_INTERFACE_DEFINED__
/* interface ITabsControl */
/* [unique][helpstring][dual][uuid][object] */
EXTERN_C const IID IID_ITabsControl;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("A0AD4520-0579-11D6-95F0-0002E3045703")
ITabsControl : public IDispatch
{
public:
virtual /* [id][propput] */ HRESULT STDMETHODCALLTYPE put_BackColor(
/* [in] */ OLE_COLOR clr) = 0;
virtual /* [id][propget] */ HRESULT STDMETHODCALLTYPE get_BackColor(
/* [retval][out] */ OLE_COLOR __RPC_FAR *pclr) = 0;
virtual /* [id][propputref] */ HRESULT STDMETHODCALLTYPE putref_Font(
/* [in] */ IFontDisp __RPC_FAR *pFont) = 0;
virtual /* [id][propput] */ HRESULT STDMETHODCALLTYPE put_Font(
/* [in] */ IFontDisp __RPC_FAR *pFont) = 0;
virtual /* [id][propget] */ HRESULT STDMETHODCALLTYPE get_Font(
/* [retval][out] */ IFontDisp __RPC_FAR *__RPC_FAR *ppFont) = 0;
virtual /* [id][propput] */ HRESULT STDMETHODCALLTYPE put_ForeColor(
/* [in] */ OLE_COLOR clr) = 0;
virtual /* [id][propget] */ HRESULT STDMETHODCALLTYPE get_ForeColor(
/* [retval][out] */ OLE_COLOR __RPC_FAR *pclr) = 0;
virtual /* [id][propput] */ HRESULT STDMETHODCALLTYPE put_Enabled(
/* [in] */ VARIANT_BOOL vbool) = 0;
virtual /* [id][propget] */ HRESULT STDMETHODCALLTYPE get_Enabled(
/* [retval][out] */ VARIANT_BOOL __RPC_FAR *pbool) = 0;
virtual /* [id][propget] */ HRESULT STDMETHODCALLTYPE get_Window(
/* [retval][out] */ long __RPC_FAR *phwnd) = 0;
virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_pageWidth(
/* [retval][out] */ double __RPC_FAR *pVal) = 0;
virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_pageWidth(
/* [in] */ double newVal) = 0;
virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_textPara(
/* [retval][out] */ IPDTextPara __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_textPara(
/* [in] */ IPDTextPara __RPC_FAR *newVal) = 0;
virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_selected(
/* [retval][out] */ long __RPC_FAR *pVal) = 0;
virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_selected(
/* [in] */ long newVal) = 0;
virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_tbAlign(
/* [retval][out] */ long __RPC_FAR *pVal) = 0;
virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_tbAlign(
/* [in] */ long newVal) = 0;
};
#else /* C style interface */
typedef struct ITabsControlVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
ITabsControl __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
ITabsControl __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
ITabsControl __RPC_FAR * This);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
ITabsControl __RPC_FAR * This,
/* [out] */ UINT __RPC_FAR *pctinfo);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
ITabsControl __RPC_FAR * This,
/* [in] */ UINT iTInfo,
/* [in] */ LCID lcid,
/* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
ITabsControl __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
/* [in] */ UINT cNames,
/* [in] */ LCID lcid,
/* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
/* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
ITabsControl __RPC_FAR * This,
/* [in] */ DISPID dispIdMember,
/* [in] */ REFIID riid,
/* [in] */ LCID lcid,
/* [in] */ WORD wFlags,
/* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
/* [out] */ VARIANT __RPC_FAR *pVarResult,
/* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
/* [out] */ UINT __RPC_FAR *puArgErr);
/* [id][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_BackColor )(
ITabsControl __RPC_FAR * This,
/* [in] */ OLE_COLOR clr);
/* [id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_BackColor )(
ITabsControl __RPC_FAR * This,
/* [retval][out] */ OLE_COLOR __RPC_FAR *pclr);
/* [id][propputref] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *putref_Font )(
ITabsControl __RPC_FAR * This,
/* [in] */ IFontDisp __RPC_FAR *pFont);
/* [id][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_Font )(
ITabsControl __RPC_FAR * This,
/* [in] */ IFontDisp __RPC_FAR *pFont);
/* [id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Font )(
ITabsControl __RPC_FAR * This,
/* [retval][out] */ IFontDisp __RPC_FAR *__RPC_FAR *ppFont);
/* [id][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_ForeColor )(
ITabsControl __RPC_FAR * This,
/* [in] */ OLE_COLOR clr);
/* [id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_ForeColor )(
ITabsControl __RPC_FAR * This,
/* [retval][out] */ OLE_COLOR __RPC_FAR *pclr);
/* [id][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_Enabled )(
ITabsControl __RPC_FAR * This,
/* [in] */ VARIANT_BOOL vbool);
/* [id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Enabled )(
ITabsControl __RPC_FAR * This,
/* [retval][out] */ VARIANT_BOOL __RPC_FAR *pbool);
/* [id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Window )(
ITabsControl __RPC_FAR * This,
/* [retval][out] */ long __RPC_FAR *phwnd);
/* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_pageWidth )(
ITabsControl __RPC_FAR * This,
/* [retval][out] */ double __RPC_FAR *pVal);
/* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_pageWidth )(
ITabsControl __RPC_FAR * This,
/* [in] */ double newVal);
/* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_textPara )(
ITabsControl __RPC_FAR * This,
/* [retval][out] */ IPDTextPara __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_textPara )(
ITabsControl __RPC_FAR * This,
/* [in] */ IPDTextPara __RPC_FAR *newVal);
/* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_selected )(
ITabsControl __RPC_FAR * This,
/* [retval][out] */ long __RPC_FAR *pVal);
/* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_selected )(
ITabsControl __RPC_FAR * This,
/* [in] */ long newVal);
/* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_tbAlign )(
ITabsControl __RPC_FAR * This,
/* [retval][out] */ long __RPC_FAR *pVal);
/* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_tbAlign )(
ITabsControl __RPC_FAR * This,
/* [in] */ long newVal);
END_INTERFACE
} ITabsControlVtbl;
interface ITabsControl
{
CONST_VTBL struct ITabsControlVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define ITabsControl_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define ITabsControl_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define ITabsControl_Release(This) \
(This)->lpVtbl -> Release(This)
#define ITabsControl_GetTypeInfoCount(This,pctinfo) \
(This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
#define ITabsControl_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
(This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
#define ITabsControl_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
(This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
#define ITabsControl_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
(This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
#define ITabsControl_put_BackColor(This,clr) \
(This)->lpVtbl -> put_BackColor(This,clr)
#define ITabsControl_get_BackColor(This,pclr) \
(This)->lpVtbl -> get_BackColor(This,pclr)
#define ITabsControl_putref_Font(This,pFont) \
(This)->lpVtbl -> putref_Font(This,pFont)
#define ITabsControl_put_Font(This,pFont) \
(This)->lpVtbl -> put_Font(This,pFont)
#define ITabsControl_get_Font(This,ppFont) \
(This)->lpVtbl -> get_Font(This,ppFont)
#define ITabsControl_put_ForeColor(This,clr) \
(This)->lpVtbl -> put_ForeColor(This,clr)
#define ITabsControl_get_ForeColor(This,pclr) \
(This)->lpVtbl -> get_ForeColor(This,pclr)
#define ITabsControl_put_Enabled(This,vbool) \
(This)->lpVtbl -> put_Enabled(This,vbool)
#define ITabsControl_get_Enabled(This,pbool) \
(This)->lpVtbl -> get_Enabled(This,pbool)
#define ITabsControl_get_Window(This,phwnd) \
(This)->lpVtbl -> get_Window(This,phwnd)
#define ITabsControl_get_pageWidth(This,pVal) \
(This)->lpVtbl -> get_pageWidth(This,pVal)
#define ITabsControl_put_pageWidth(This,newVal) \
(This)->lpVtbl -> put_pageWidth(This,newVal)
#define ITabsControl_get_textPara(This,pVal) \
(This)->lpVtbl -> get_textPara(This,pVal)
#define ITabsControl_put_textPara(This,newVal) \
(This)->lpVtbl -> put_textPara(This,newVal)
#define ITabsControl_get_selected(This,pVal) \
(This)->lpVtbl -> get_selected(This,pVal)
#define ITabsControl_put_selected(This,newVal) \
(This)->lpVtbl -> put_selected(This,newVal)
#define ITabsControl_get_tbAlign(This,pVal) \
(This)->lpVtbl -> get_tbAlign(This,pVal)
#define ITabsControl_put_tbAlign(This,newVal) \
(This)->lpVtbl -> put_tbAlign(This,newVal)
#endif /* COBJMACROS */
#endif /* C style interface */
/* [id][propput] */ HRESULT STDMETHODCALLTYPE ITabsControl_put_BackColor_Proxy(
ITabsControl __RPC_FAR * This,
/* [in] */ OLE_COLOR clr);
void __RPC_STUB ITabsControl_put_BackColor_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [id][propget] */ HRESULT STDMETHODCALLTYPE ITabsControl_get_BackColor_Proxy(
ITabsControl __RPC_FAR * This,
/* [retval][out] */ OLE_COLOR __RPC_FAR *pclr);
void __RPC_STUB ITabsControl_get_BackColor_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [id][propputref] */ HRESULT STDMETHODCALLTYPE ITabsControl_putref_Font_Proxy(
ITabsControl __RPC_FAR * This,
/* [in] */ IFontDisp __RPC_FAR *pFont);
void __RPC_STUB ITabsControl_putref_Font_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [id][propput] */ HRESULT STDMETHODCALLTYPE ITabsControl_put_Font_Proxy(
ITabsControl __RPC_FAR * This,
/* [in] */ IFontDisp __RPC_FAR *pFont);
void __RPC_STUB ITabsControl_put_Font_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [id][propget] */ HRESULT STDMETHODCALLTYPE ITabsControl_get_Font_Proxy(
ITabsControl __RPC_FAR * This,
/* [retval][out] */ IFontDisp __RPC_FAR *__RPC_FAR *ppFont);
void __RPC_STUB ITabsControl_get_Font_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [id][propput] */ HRESULT STDMETHODCALLTYPE ITabsControl_put_ForeColor_Proxy(
ITabsControl __RPC_FAR * This,
/* [in] */ OLE_COLOR clr);
void __RPC_STUB ITabsControl_put_ForeColor_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [id][propget] */ HRESULT STDMETHODCALLTYPE ITabsControl_get_ForeColor_Proxy(
ITabsControl __RPC_FAR * This,
/* [retval][out] */ OLE_COLOR __RPC_FAR *pclr);
void __RPC_STUB ITabsControl_get_ForeColor_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [id][propput] */ HRESULT STDMETHODCALLTYPE ITabsControl_put_Enabled_Proxy(
ITabsControl __RPC_FAR * This,
/* [in] */ VARIANT_BOOL vbool);
void __RPC_STUB ITabsControl_put_Enabled_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [id][propget] */ HRESULT STDMETHODCALLTYPE ITabsControl_get_Enabled_Proxy(
ITabsControl __RPC_FAR * This,
/* [retval][out] */ VARIANT_BOOL __RPC_FAR *pbool);
void __RPC_STUB ITabsControl_get_Enabled_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [id][propget] */ HRESULT STDMETHODCALLTYPE ITabsControl_get_Window_Proxy(
ITabsControl __RPC_FAR * This,
/* [retval][out] */ long __RPC_FAR *phwnd);
void __RPC_STUB ITabsControl_get_Window_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITabsControl_get_pageWidth_Proxy(
ITabsControl __RPC_FAR * This,
/* [retval][out] */ double __RPC_FAR *pVal);
void __RPC_STUB ITabsControl_get_pageWidth_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ITabsControl_put_pageWidth_Proxy(
ITabsControl __RPC_FAR * This,
/* [in] */ double newVal);
void __RPC_STUB ITabsControl_put_pageWidth_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITabsControl_get_textPara_Proxy(
ITabsControl __RPC_FAR * This,
/* [retval][out] */ IPDTextPara __RPC_FAR *__RPC_FAR *pVal);
void __RPC_STUB ITabsControl_get_textPara_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ITabsControl_put_textPara_Proxy(
ITabsControl __RPC_FAR * This,
/* [in] */ IPDTextPara __RPC_FAR *newVal);
void __RPC_STUB ITabsControl_put_textPara_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITabsControl_get_selected_Proxy(
ITabsControl __RPC_FAR * This,
/* [retval][out] */ long __RPC_FAR *pVal);
void __RPC_STUB ITabsControl_get_selected_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ITabsControl_put_selected_Proxy(
ITabsControl __RPC_FAR * This,
/* [in] */ long newVal);
void __RPC_STUB ITabsControl_put_selected_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITabsControl_get_tbAlign_Proxy(
ITabsControl __RPC_FAR * This,
/* [retval][out] */ long __RPC_FAR *pVal);
void __RPC_STUB ITabsControl_get_tbAlign_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ITabsControl_put_tbAlign_Proxy(
ITabsControl __RPC_FAR * This,
/* [in] */ long newVal);
void __RPC_STUB ITabsControl_put_tbAlign_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
#endif /* __ITabsControl_INTERFACE_DEFINED__ */
EXTERN_C const CLSID CLSID_PDObjectFill;
#ifdef __cplusplus
class DECLSPEC_UUID("3FA55B07-BD79-4921-AB2A-AB43C4E8BBFF")
PDObjectFill;
#endif
EXTERN_C const CLSID CLSID_PDObjectStroke;
#ifdef __cplusplus
class DECLSPEC_UUID("D7946460-2896-464C-B0C3-46AD463F2B02")
PDObjectStroke;
#endif
EXTERN_C const CLSID CLSID_PageDesignerFrame;
#ifdef __cplusplus
class DECLSPEC_UUID("3C36B546-2087-499d-8EA3-3407F2409074")
PageDesignerFrame;
#endif
EXTERN_C const CLSID CLSID_PagesDlg;
#ifdef __cplusplus
class DECLSPEC_UUID("6F35E638-BCE0-4bad-913B-2B852EFE17CC")
PagesDlg;
#endif
#ifndef ___IPDDocumentEvents_DISPINTERFACE_DEFINED__
#define ___IPDDocumentEvents_DISPINTERFACE_DEFINED__
/* dispinterface _IPDDocumentEvents */
/* [helpstring][uuid] */
EXTERN_C const IID DIID__IPDDocumentEvents;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("DE1FF938-37EB-49b1-B79A-56C18C22DA59")
_IPDDocumentEvents : public IDispatch
{
};
#else /* C style interface */
typedef struct _IPDDocumentEventsVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
_IPDDocumentEvents __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
_IPDDocumentEvents __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
_IPDDocumentEvents __RPC_FAR * This);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
_IPDDocumentEvents __RPC_FAR * This,
/* [out] */ UINT __RPC_FAR *pctinfo);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
_IPDDocumentEvents __RPC_FAR * This,
/* [in] */ UINT iTInfo,
/* [in] */ LCID lcid,
/* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
_IPDDocumentEvents __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
/* [in] */ UINT cNames,
/* [in] */ LCID lcid,
/* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
/* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
_IPDDocumentEvents __RPC_FAR * This,
/* [in] */ DISPID dispIdMember,
/* [in] */ REFIID riid,
/* [in] */ LCID lcid,
/* [in] */ WORD wFlags,
/* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
/* [out] */ VARIANT __RPC_FAR *pVarResult,
/* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
/* [out] */ UINT __RPC_FAR *puArgErr);
END_INTERFACE
} _IPDDocumentEventsVtbl;
interface _IPDDocumentEvents
{
CONST_VTBL struct _IPDDocumentEventsVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define _IPDDocumentEvents_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define _IPDDocumentEvents_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define _IPDDocumentEvents_Release(This) \
(This)->lpVtbl -> Release(This)
#define _IPDDocumentEvents_GetTypeInfoCount(This,pctinfo) \
(This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
#define _IPDDocumentEvents_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
(This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
#define _IPDDocumentEvents_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
(This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
#define _IPDDocumentEvents_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
(This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* ___IPDDocumentEvents_DISPINTERFACE_DEFINED__ */
#ifndef ___IPDDocumentViewEvents_DISPINTERFACE_DEFINED__
#define ___IPDDocumentViewEvents_DISPINTERFACE_DEFINED__
/* dispinterface _IPDDocumentViewEvents */
/* [helpstring][uuid] */
EXTERN_C const IID DIID__IPDDocumentViewEvents;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("BCBB2144-04E0-497e-B2A0-5E4CDD83D438")
_IPDDocumentViewEvents : public IDispatch
{
};
#else /* C style interface */
typedef struct _IPDDocumentViewEventsVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
_IPDDocumentViewEvents __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
_IPDDocumentViewEvents __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
_IPDDocumentViewEvents __RPC_FAR * This);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
_IPDDocumentViewEvents __RPC_FAR * This,
/* [out] */ UINT __RPC_FAR *pctinfo);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
_IPDDocumentViewEvents __RPC_FAR * This,
/* [in] */ UINT iTInfo,
/* [in] */ LCID lcid,
/* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
_IPDDocumentViewEvents __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
/* [in] */ UINT cNames,
/* [in] */ LCID lcid,
/* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
/* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
_IPDDocumentViewEvents __RPC_FAR * This,
/* [in] */ DISPID dispIdMember,
/* [in] */ REFIID riid,
/* [in] */ LCID lcid,
/* [in] */ WORD wFlags,
/* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
/* [out] */ VARIANT __RPC_FAR *pVarResult,
/* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
/* [out] */ UINT __RPC_FAR *puArgErr);
END_INTERFACE
} _IPDDocumentViewEventsVtbl;
interface _IPDDocumentViewEvents
{
CONST_VTBL struct _IPDDocumentViewEventsVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define _IPDDocumentViewEvents_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define _IPDDocumentViewEvents_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define _IPDDocumentViewEvents_Release(This) \
(This)->lpVtbl -> Release(This)
#define _IPDDocumentViewEvents_GetTypeInfoCount(This,pctinfo) \
(This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
#define _IPDDocumentViewEvents_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
(This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
#define _IPDDocumentViewEvents_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
(This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
#define _IPDDocumentViewEvents_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
(This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* ___IPDDocumentViewEvents_DISPINTERFACE_DEFINED__ */
#ifndef ___ILayersDlgEvents_DISPINTERFACE_DEFINED__
#define ___ILayersDlgEvents_DISPINTERFACE_DEFINED__
/* dispinterface _ILayersDlgEvents */
/* [helpstring][uuid] */
EXTERN_C const IID DIID__ILayersDlgEvents;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("02373F57-7E5F-4BB9-9DA9-641FABFBCA75")
_ILayersDlgEvents : public IDispatch
{
};
#else /* C style interface */
typedef struct _ILayersDlgEventsVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
_ILayersDlgEvents __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
_ILayersDlgEvents __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
_ILayersDlgEvents __RPC_FAR * This);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
_ILayersDlgEvents __RPC_FAR * This,
/* [out] */ UINT __RPC_FAR *pctinfo);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
_ILayersDlgEvents __RPC_FAR * This,
/* [in] */ UINT iTInfo,
/* [in] */ LCID lcid,
/* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
_ILayersDlgEvents __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
/* [in] */ UINT cNames,
/* [in] */ LCID lcid,
/* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
/* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
_ILayersDlgEvents __RPC_FAR * This,
/* [in] */ DISPID dispIdMember,
/* [in] */ REFIID riid,
/* [in] */ LCID lcid,
/* [in] */ WORD wFlags,
/* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
/* [out] */ VARIANT __RPC_FAR *pVarResult,
/* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
/* [out] */ UINT __RPC_FAR *puArgErr);
END_INTERFACE
} _ILayersDlgEventsVtbl;
interface _ILayersDlgEvents
{
CONST_VTBL struct _ILayersDlgEventsVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define _ILayersDlgEvents_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define _ILayersDlgEvents_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define _ILayersDlgEvents_Release(This) \
(This)->lpVtbl -> Release(This)
#define _ILayersDlgEvents_GetTypeInfoCount(This,pctinfo) \
(This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
#define _ILayersDlgEvents_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
(This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
#define _ILayersDlgEvents_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
(This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
#define _ILayersDlgEvents_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
(This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* ___ILayersDlgEvents_DISPINTERFACE_DEFINED__ */
EXTERN_C const CLSID CLSID_PDDocument;
#ifdef __cplusplus
class DECLSPEC_UUID("93EE1DB5-F14D-4180-AA89-736D7E3420F7")
PDDocument;
#endif
EXTERN_C const CLSID CLSID_PDDocumentView;
#ifdef __cplusplus
class DECLSPEC_UUID("F1BB0D88-BC4A-4b5c-A5E8-F601494EB863")
PDDocumentView;
#endif
EXTERN_C const CLSID CLSID_PDMatrix;
#ifdef __cplusplus
class DECLSPEC_UUID("7F59907A-D122-4dce-960C-BB01CAE9C32D")
PDMatrix;
#endif
EXTERN_C const CLSID CLSID_PDGradient;
#ifdef __cplusplus
class DECLSPEC_UUID("D5ABEC21-EFB9-11d5-95F0-0002E3045703")
PDGradient;
#endif
EXTERN_C const CLSID CLSID_LayersDlg;
#ifdef __cplusplus
class DECLSPEC_UUID("6627D059-6D6E-4D99-A8CE-CBD4374A2A07")
LayersDlg;
#endif
EXTERN_C const CLSID CLSID_PDRenderer;
#ifdef __cplusplus
class DECLSPEC_UUID("CC6AE802-69B8-4DE9-A48C-BFA6EC65F81B")
PDRenderer;
#endif
#ifndef ___ISwatchesDlgEvents_DISPINTERFACE_DEFINED__
#define ___ISwatchesDlgEvents_DISPINTERFACE_DEFINED__
/* dispinterface _ISwatchesDlgEvents */
/* [helpstring][uuid] */
EXTERN_C const IID DIID__ISwatchesDlgEvents;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("9DEC5942-E952-11D5-95F0-0002E3045703")
_ISwatchesDlgEvents : public IDispatch
{
};
#else /* C style interface */
typedef struct _ISwatchesDlgEventsVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
_ISwatchesDlgEvents __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
_ISwatchesDlgEvents __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
_ISwatchesDlgEvents __RPC_FAR * This);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
_ISwatchesDlgEvents __RPC_FAR * This,
/* [out] */ UINT __RPC_FAR *pctinfo);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
_ISwatchesDlgEvents __RPC_FAR * This,
/* [in] */ UINT iTInfo,
/* [in] */ LCID lcid,
/* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
_ISwatchesDlgEvents __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
/* [in] */ UINT cNames,
/* [in] */ LCID lcid,
/* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
/* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
_ISwatchesDlgEvents __RPC_FAR * This,
/* [in] */ DISPID dispIdMember,
/* [in] */ REFIID riid,
/* [in] */ LCID lcid,
/* [in] */ WORD wFlags,
/* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
/* [out] */ VARIANT __RPC_FAR *pVarResult,
/* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
/* [out] */ UINT __RPC_FAR *puArgErr);
END_INTERFACE
} _ISwatchesDlgEventsVtbl;
interface _ISwatchesDlgEvents
{
CONST_VTBL struct _ISwatchesDlgEventsVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define _ISwatchesDlgEvents_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define _ISwatchesDlgEvents_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define _ISwatchesDlgEvents_Release(This) \
(This)->lpVtbl -> Release(This)
#define _ISwatchesDlgEvents_GetTypeInfoCount(This,pctinfo) \
(This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
#define _ISwatchesDlgEvents_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
(This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
#define _ISwatchesDlgEvents_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
(This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
#define _ISwatchesDlgEvents_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
(This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* ___ISwatchesDlgEvents_DISPINTERFACE_DEFINED__ */
EXTERN_C const CLSID CLSID_SwatchesDlg;
#ifdef __cplusplus
class DECLSPEC_UUID("9DEC5941-E952-11D5-95F0-0002E3045703")
SwatchesDlg;
#endif
#ifndef ___INavigatorDlgEvents_DISPINTERFACE_DEFINED__
#define ___INavigatorDlgEvents_DISPINTERFACE_DEFINED__
/* dispinterface _INavigatorDlgEvents */
/* [helpstring][uuid] */
EXTERN_C const IID DIID__INavigatorDlgEvents;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("9DEC5945-E952-11D5-95F0-0002E3045703")
_INavigatorDlgEvents : public IDispatch
{
};
#else /* C style interface */
typedef struct _INavigatorDlgEventsVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
_INavigatorDlgEvents __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
_INavigatorDlgEvents __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
_INavigatorDlgEvents __RPC_FAR * This);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
_INavigatorDlgEvents __RPC_FAR * This,
/* [out] */ UINT __RPC_FAR *pctinfo);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
_INavigatorDlgEvents __RPC_FAR * This,
/* [in] */ UINT iTInfo,
/* [in] */ LCID lcid,
/* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
_INavigatorDlgEvents __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
/* [in] */ UINT cNames,
/* [in] */ LCID lcid,
/* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
/* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
_INavigatorDlgEvents __RPC_FAR * This,
/* [in] */ DISPID dispIdMember,
/* [in] */ REFIID riid,
/* [in] */ LCID lcid,
/* [in] */ WORD wFlags,
/* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
/* [out] */ VARIANT __RPC_FAR *pVarResult,
/* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
/* [out] */ UINT __RPC_FAR *puArgErr);
END_INTERFACE
} _INavigatorDlgEventsVtbl;
interface _INavigatorDlgEvents
{
CONST_VTBL struct _INavigatorDlgEventsVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define _INavigatorDlgEvents_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define _INavigatorDlgEvents_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define _INavigatorDlgEvents_Release(This) \
(This)->lpVtbl -> Release(This)
#define _INavigatorDlgEvents_GetTypeInfoCount(This,pctinfo) \
(This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
#define _INavigatorDlgEvents_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
(This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
#define _INavigatorDlgEvents_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
(This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
#define _INavigatorDlgEvents_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
(This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* ___INavigatorDlgEvents_DISPINTERFACE_DEFINED__ */
EXTERN_C const CLSID CLSID_NavigatorDlg;
#ifdef __cplusplus
class DECLSPEC_UUID("9DEC5944-E952-11D5-95F0-0002E3045703")
NavigatorDlg;
#endif
#ifndef ___IGradientDlgEvents_DISPINTERFACE_DEFINED__
#define ___IGradientDlgEvents_DISPINTERFACE_DEFINED__
/* dispinterface _IGradientDlgEvents */
/* [helpstring][uuid] */
EXTERN_C const IID DIID__IGradientDlgEvents;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("E0854BEB-09AD-46E6-BD69-DADCE372615F")
_IGradientDlgEvents : public IDispatch
{
};
#else /* C style interface */
typedef struct _IGradientDlgEventsVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
_IGradientDlgEvents __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
_IGradientDlgEvents __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
_IGradientDlgEvents __RPC_FAR * This);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
_IGradientDlgEvents __RPC_FAR * This,
/* [out] */ UINT __RPC_FAR *pctinfo);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
_IGradientDlgEvents __RPC_FAR * This,
/* [in] */ UINT iTInfo,
/* [in] */ LCID lcid,
/* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
_IGradientDlgEvents __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
/* [in] */ UINT cNames,
/* [in] */ LCID lcid,
/* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
/* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
_IGradientDlgEvents __RPC_FAR * This,
/* [in] */ DISPID dispIdMember,
/* [in] */ REFIID riid,
/* [in] */ LCID lcid,
/* [in] */ WORD wFlags,
/* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
/* [out] */ VARIANT __RPC_FAR *pVarResult,
/* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
/* [out] */ UINT __RPC_FAR *puArgErr);
END_INTERFACE
} _IGradientDlgEventsVtbl;
interface _IGradientDlgEvents
{
CONST_VTBL struct _IGradientDlgEventsVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define _IGradientDlgEvents_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define _IGradientDlgEvents_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define _IGradientDlgEvents_Release(This) \
(This)->lpVtbl -> Release(This)
#define _IGradientDlgEvents_GetTypeInfoCount(This,pctinfo) \
(This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
#define _IGradientDlgEvents_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
(This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
#define _IGradientDlgEvents_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
(This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
#define _IGradientDlgEvents_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
(This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* ___IGradientDlgEvents_DISPINTERFACE_DEFINED__ */
EXTERN_C const CLSID CLSID_GradientDlg;
#ifdef __cplusplus
class DECLSPEC_UUID("80A36719-7877-49F1-81A6-5E167C0D75D0")
GradientDlg;
#endif
#ifndef ___IStrokeDlgEvents_DISPINTERFACE_DEFINED__
#define ___IStrokeDlgEvents_DISPINTERFACE_DEFINED__
/* dispinterface _IStrokeDlgEvents */
/* [helpstring][uuid] */
EXTERN_C const IID DIID__IStrokeDlgEvents;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("CC00CE83-ED4C-11D5-95F0-0002E3045703")
_IStrokeDlgEvents : public IDispatch
{
};
#else /* C style interface */
typedef struct _IStrokeDlgEventsVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
_IStrokeDlgEvents __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
_IStrokeDlgEvents __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
_IStrokeDlgEvents __RPC_FAR * This);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
_IStrokeDlgEvents __RPC_FAR * This,
/* [out] */ UINT __RPC_FAR *pctinfo);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
_IStrokeDlgEvents __RPC_FAR * This,
/* [in] */ UINT iTInfo,
/* [in] */ LCID lcid,
/* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
_IStrokeDlgEvents __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
/* [in] */ UINT cNames,
/* [in] */ LCID lcid,
/* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
/* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
_IStrokeDlgEvents __RPC_FAR * This,
/* [in] */ DISPID dispIdMember,
/* [in] */ REFIID riid,
/* [in] */ LCID lcid,
/* [in] */ WORD wFlags,
/* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
/* [out] */ VARIANT __RPC_FAR *pVarResult,
/* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
/* [out] */ UINT __RPC_FAR *puArgErr);
END_INTERFACE
} _IStrokeDlgEventsVtbl;
interface _IStrokeDlgEvents
{
CONST_VTBL struct _IStrokeDlgEventsVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define _IStrokeDlgEvents_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define _IStrokeDlgEvents_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define _IStrokeDlgEvents_Release(This) \
(This)->lpVtbl -> Release(This)
#define _IStrokeDlgEvents_GetTypeInfoCount(This,pctinfo) \
(This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
#define _IStrokeDlgEvents_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
(This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
#define _IStrokeDlgEvents_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
(This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
#define _IStrokeDlgEvents_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
(This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* ___IStrokeDlgEvents_DISPINTERFACE_DEFINED__ */
EXTERN_C const CLSID CLSID_StrokeDlg;
#ifdef __cplusplus
class DECLSPEC_UUID("CC00CE82-ED4C-11D5-95F0-0002E3045703")
StrokeDlg;
#endif
#ifndef ___ISwatchesListEvents_DISPINTERFACE_DEFINED__
#define ___ISwatchesListEvents_DISPINTERFACE_DEFINED__
/* dispinterface _ISwatchesListEvents */
/* [helpstring][uuid] */
EXTERN_C const IID DIID__ISwatchesListEvents;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("8B2AE125-EE82-11D5-95F0-0002E3045703")
_ISwatchesListEvents : public IDispatch
{
};
#else /* C style interface */
typedef struct _ISwatchesListEventsVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
_ISwatchesListEvents __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
_ISwatchesListEvents __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
_ISwatchesListEvents __RPC_FAR * This);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
_ISwatchesListEvents __RPC_FAR * This,
/* [out] */ UINT __RPC_FAR *pctinfo);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
_ISwatchesListEvents __RPC_FAR * This,
/* [in] */ UINT iTInfo,
/* [in] */ LCID lcid,
/* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
_ISwatchesListEvents __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
/* [in] */ UINT cNames,
/* [in] */ LCID lcid,
/* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
/* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
_ISwatchesListEvents __RPC_FAR * This,
/* [in] */ DISPID dispIdMember,
/* [in] */ REFIID riid,
/* [in] */ LCID lcid,
/* [in] */ WORD wFlags,
/* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
/* [out] */ VARIANT __RPC_FAR *pVarResult,
/* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
/* [out] */ UINT __RPC_FAR *puArgErr);
END_INTERFACE
} _ISwatchesListEventsVtbl;
interface _ISwatchesListEvents
{
CONST_VTBL struct _ISwatchesListEventsVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define _ISwatchesListEvents_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define _ISwatchesListEvents_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define _ISwatchesListEvents_Release(This) \
(This)->lpVtbl -> Release(This)
#define _ISwatchesListEvents_GetTypeInfoCount(This,pctinfo) \
(This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
#define _ISwatchesListEvents_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
(This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
#define _ISwatchesListEvents_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
(This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
#define _ISwatchesListEvents_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
(This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* ___ISwatchesListEvents_DISPINTERFACE_DEFINED__ */
EXTERN_C const CLSID CLSID_SwatchesList;
#ifdef __cplusplus
class DECLSPEC_UUID("8B2AE124-EE82-11D5-95F0-0002E3045703")
SwatchesList;
#endif
#ifndef ___IColorDlgEvents_DISPINTERFACE_DEFINED__
#define ___IColorDlgEvents_DISPINTERFACE_DEFINED__
/* dispinterface _IColorDlgEvents */
/* [helpstring][uuid] */
EXTERN_C const IID DIID__IColorDlgEvents;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("8B2AE128-EE82-11D5-95F0-0002E3045703")
_IColorDlgEvents : public IDispatch
{
};
#else /* C style interface */
typedef struct _IColorDlgEventsVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
_IColorDlgEvents __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
_IColorDlgEvents __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
_IColorDlgEvents __RPC_FAR * This);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
_IColorDlgEvents __RPC_FAR * This,
/* [out] */ UINT __RPC_FAR *pctinfo);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
_IColorDlgEvents __RPC_FAR * This,
/* [in] */ UINT iTInfo,
/* [in] */ LCID lcid,
/* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
_IColorDlgEvents __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
/* [in] */ UINT cNames,
/* [in] */ LCID lcid,
/* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
/* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
_IColorDlgEvents __RPC_FAR * This,
/* [in] */ DISPID dispIdMember,
/* [in] */ REFIID riid,
/* [in] */ LCID lcid,
/* [in] */ WORD wFlags,
/* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
/* [out] */ VARIANT __RPC_FAR *pVarResult,
/* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
/* [out] */ UINT __RPC_FAR *puArgErr);
END_INTERFACE
} _IColorDlgEventsVtbl;
interface _IColorDlgEvents
{
CONST_VTBL struct _IColorDlgEventsVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define _IColorDlgEvents_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define _IColorDlgEvents_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define _IColorDlgEvents_Release(This) \
(This)->lpVtbl -> Release(This)
#define _IColorDlgEvents_GetTypeInfoCount(This,pctinfo) \
(This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
#define _IColorDlgEvents_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
(This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
#define _IColorDlgEvents_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
(This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
#define _IColorDlgEvents_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
(This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* ___IColorDlgEvents_DISPINTERFACE_DEFINED__ */
EXTERN_C const CLSID CLSID_ColorDlg;
#ifdef __cplusplus
class DECLSPEC_UUID("8B2AE127-EE82-11D5-95F0-0002E3045703")
ColorDlg;
#endif
#ifndef ___IGradientEditEvents_DISPINTERFACE_DEFINED__
#define ___IGradientEditEvents_DISPINTERFACE_DEFINED__
/* dispinterface _IGradientEditEvents */
/* [helpstring][uuid] */
EXTERN_C const IID DIID__IGradientEditEvents;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("8B2AE12B-EE82-11D5-95F0-0002E3045703")
_IGradientEditEvents : public IDispatch
{
};
#else /* C style interface */
typedef struct _IGradientEditEventsVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
_IGradientEditEvents __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
_IGradientEditEvents __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
_IGradientEditEvents __RPC_FAR * This);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
_IGradientEditEvents __RPC_FAR * This,
/* [out] */ UINT __RPC_FAR *pctinfo);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
_IGradientEditEvents __RPC_FAR * This,
/* [in] */ UINT iTInfo,
/* [in] */ LCID lcid,
/* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
_IGradientEditEvents __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
/* [in] */ UINT cNames,
/* [in] */ LCID lcid,
/* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
/* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
_IGradientEditEvents __RPC_FAR * This,
/* [in] */ DISPID dispIdMember,
/* [in] */ REFIID riid,
/* [in] */ LCID lcid,
/* [in] */ WORD wFlags,
/* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
/* [out] */ VARIANT __RPC_FAR *pVarResult,
/* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
/* [out] */ UINT __RPC_FAR *puArgErr);
END_INTERFACE
} _IGradientEditEventsVtbl;
interface _IGradientEditEvents
{
CONST_VTBL struct _IGradientEditEventsVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define _IGradientEditEvents_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define _IGradientEditEvents_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define _IGradientEditEvents_Release(This) \
(This)->lpVtbl -> Release(This)
#define _IGradientEditEvents_GetTypeInfoCount(This,pctinfo) \
(This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
#define _IGradientEditEvents_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
(This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
#define _IGradientEditEvents_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
(This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
#define _IGradientEditEvents_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
(This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* ___IGradientEditEvents_DISPINTERFACE_DEFINED__ */
EXTERN_C const CLSID CLSID_GradientEdit;
#ifdef __cplusplus
class DECLSPEC_UUID("8B2AE12A-EE82-11D5-95F0-0002E3045703")
GradientEdit;
#endif
#ifndef ___IToolsDlgEvents_DISPINTERFACE_DEFINED__
#define ___IToolsDlgEvents_DISPINTERFACE_DEFINED__
/* dispinterface _IToolsDlgEvents */
/* [helpstring][uuid] */
EXTERN_C const IID DIID__IToolsDlgEvents;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("C8DE5EE2-F128-11D5-95F0-0002E3045703")
_IToolsDlgEvents : public IDispatch
{
};
#else /* C style interface */
typedef struct _IToolsDlgEventsVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
_IToolsDlgEvents __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
_IToolsDlgEvents __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
_IToolsDlgEvents __RPC_FAR * This);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
_IToolsDlgEvents __RPC_FAR * This,
/* [out] */ UINT __RPC_FAR *pctinfo);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
_IToolsDlgEvents __RPC_FAR * This,
/* [in] */ UINT iTInfo,
/* [in] */ LCID lcid,
/* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
_IToolsDlgEvents __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
/* [in] */ UINT cNames,
/* [in] */ LCID lcid,
/* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
/* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
_IToolsDlgEvents __RPC_FAR * This,
/* [in] */ DISPID dispIdMember,
/* [in] */ REFIID riid,
/* [in] */ LCID lcid,
/* [in] */ WORD wFlags,
/* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
/* [out] */ VARIANT __RPC_FAR *pVarResult,
/* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
/* [out] */ UINT __RPC_FAR *puArgErr);
END_INTERFACE
} _IToolsDlgEventsVtbl;
interface _IToolsDlgEvents
{
CONST_VTBL struct _IToolsDlgEventsVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define _IToolsDlgEvents_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define _IToolsDlgEvents_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define _IToolsDlgEvents_Release(This) \
(This)->lpVtbl -> Release(This)
#define _IToolsDlgEvents_GetTypeInfoCount(This,pctinfo) \
(This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
#define _IToolsDlgEvents_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
(This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
#define _IToolsDlgEvents_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
(This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
#define _IToolsDlgEvents_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
(This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* ___IToolsDlgEvents_DISPINTERFACE_DEFINED__ */
EXTERN_C const CLSID CLSID_ToolsDlg;
#ifdef __cplusplus
class DECLSPEC_UUID("C8DE5EE1-F128-11D5-95F0-0002E3045703")
ToolsDlg;
#endif
#ifndef ___ITabsControlEvents_DISPINTERFACE_DEFINED__
#define ___ITabsControlEvents_DISPINTERFACE_DEFINED__
/* dispinterface _ITabsControlEvents */
/* [helpstring][uuid] */
EXTERN_C const IID DIID__ITabsControlEvents;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("A0AD4522-0579-11D6-95F0-0002E3045703")
_ITabsControlEvents : public IDispatch
{
};
#else /* C style interface */
typedef struct _ITabsControlEventsVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
_ITabsControlEvents __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
_ITabsControlEvents __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
_ITabsControlEvents __RPC_FAR * This);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
_ITabsControlEvents __RPC_FAR * This,
/* [out] */ UINT __RPC_FAR *pctinfo);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
_ITabsControlEvents __RPC_FAR * This,
/* [in] */ UINT iTInfo,
/* [in] */ LCID lcid,
/* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
_ITabsControlEvents __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
/* [in] */ UINT cNames,
/* [in] */ LCID lcid,
/* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
/* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
_ITabsControlEvents __RPC_FAR * This,
/* [in] */ DISPID dispIdMember,
/* [in] */ REFIID riid,
/* [in] */ LCID lcid,
/* [in] */ WORD wFlags,
/* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
/* [out] */ VARIANT __RPC_FAR *pVarResult,
/* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
/* [out] */ UINT __RPC_FAR *puArgErr);
END_INTERFACE
} _ITabsControlEventsVtbl;
interface _ITabsControlEvents
{
CONST_VTBL struct _ITabsControlEventsVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define _ITabsControlEvents_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define _ITabsControlEvents_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define _ITabsControlEvents_Release(This) \
(This)->lpVtbl -> Release(This)
#define _ITabsControlEvents_GetTypeInfoCount(This,pctinfo) \
(This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
#define _ITabsControlEvents_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
(This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
#define _ITabsControlEvents_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
(This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
#define _ITabsControlEvents_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
(This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* ___ITabsControlEvents_DISPINTERFACE_DEFINED__ */
EXTERN_C const CLSID CLSID_TabsControl;
#ifdef __cplusplus
class DECLSPEC_UUID("A0AD4521-0579-11D6-95F0-0002E3045703")
TabsControl;
#endif
EXTERN_C const CLSID CLSID_TabsDlg;
#ifdef __cplusplus
class DECLSPEC_UUID("A0AD4527-0579-11D6-95F0-0002E3045703")
TabsDlg;
#endif
EXTERN_C const CLSID CLSID_SwatchLibraryDlg;
#ifdef __cplusplus
class DECLSPEC_UUID("0714F6CD-0B72-11D6-95F0-0002E3045703")
SwatchLibraryDlg;
#endif
EXTERN_C const CLSID CLSID_LinksDlg;
#ifdef __cplusplus
class DECLSPEC_UUID("ABE418A4-26EF-11D6-95F0-0002E3045703")
LinksDlg;
#endif
EXTERN_C const CLSID CLSID_TransparencyDlg;
#ifdef __cplusplus
class DECLSPEC_UUID("1A82E864-2969-11D6-95F0-0002E3045703")
TransparencyDlg;
#endif
EXTERN_C const CLSID CLSID_FilterGraphDlg;
#ifdef __cplusplus
class DECLSPEC_UUID("1A82E867-2969-11D6-95F0-0002E3045703")
FilterGraphDlg;
#endif
EXTERN_C const CLSID CLSID_FEGaussianBlur;
#ifdef __cplusplus
class DECLSPEC_UUID("92CFFB8E-A5D7-473C-91D4-A87F9A4C1819")
FEGaussianBlur;
#endif
EXTERN_C const CLSID CLSID_FEOffset;
#ifdef __cplusplus
class DECLSPEC_UUID("0C8310D0-FEBA-44D9-B3F5-4EBD7ABF2EA3")
FEOffset;
#endif
EXTERN_C const CLSID CLSID_FEComposite;
#ifdef __cplusplus
class DECLSPEC_UUID("1E714467-0A20-4742-B046-3A8D9CD2EA77")
FEComposite;
#endif
EXTERN_C const CLSID CLSID_PluginFiltersDlg;
#ifdef __cplusplus
class DECLSPEC_UUID("CDDB6068-8FF4-4736-9FC1-662B36D44C0C")
PluginFiltersDlg;
#endif
EXTERN_C const CLSID CLSID_StylesDlg;
#ifdef __cplusplus
class DECLSPEC_UUID("9D0B1DCC-2F88-46B5-A885-E575934E557B")
StylesDlg;
#endif
EXTERN_C const CLSID CLSID_FEFreeTransform;
#ifdef __cplusplus
class DECLSPEC_UUID("41B4488F-F3C5-4FD3-BC8B-6454F5E17144")
FEFreeTransform;
#endif
EXTERN_C const CLSID CLSID_Archive;
#ifdef __cplusplus
class DECLSPEC_UUID("2B326771-4AE4-4B88-90C1-11F3A8F289F8")
Archive;
#endif
EXTERN_C const CLSID CLSID_PDObjectLayerGroup;
#ifdef __cplusplus
class DECLSPEC_UUID("E2146354-81DA-43fa-96F4-F3E5AB57776F")
PDObjectLayerGroup;
#endif
EXTERN_C const CLSID CLSID_PDContentGraphic;
#ifdef __cplusplus
class DECLSPEC_UUID("10637E82-06D1-4292-9A7E-09C1EAA099B9")
PDContentGraphic;
#endif
EXTERN_C const CLSID CLSID_PDContentText;
#ifdef __cplusplus
class DECLSPEC_UUID("2EEF7F4C-9575-4f67-90B9-4EBFD73F424D")
PDContentText;
#endif
EXTERN_C const CLSID CLSID_PDObjectFrame;
#ifdef __cplusplus
class DECLSPEC_UUID("FB40FB8B-201E-490f-A18F-5E46DA62AC21")
PDObjectFrame;
#endif
EXTERN_C const CLSID CLSID_PDObjectGroup;
#ifdef __cplusplus
class DECLSPEC_UUID("7267866F-22B3-4373-BC1E-8841A500266F")
PDObjectGroup;
#endif
EXTERN_C const CLSID CLSID_PDLayer;
#ifdef __cplusplus
class DECLSPEC_UUID("A62D3683-5A0B-453c-B333-41BE0B9DECA0")
PDLayer;
#endif
EXTERN_C const CLSID CLSID_PDPage;
#ifdef __cplusplus
class DECLSPEC_UUID("6DF2BC95-C11E-48d5-AB96-EF2874DBE413")
PDPage;
#endif
EXTERN_C const CLSID CLSID_PDSpreadDocument;
#ifdef __cplusplus
class DECLSPEC_UUID("2EB33C5C-DDEB-4e97-9921-924AB10D5AE4")
PDSpreadDocument;
#endif
EXTERN_C const CLSID CLSID_PDSpreadMaster;
#ifdef __cplusplus
class DECLSPEC_UUID("9346CA50-E61D-44ac-A5AA-B2BCB2265D90")
PDSpreadMaster;
#endif
EXTERN_C const CLSID CLSID_PDAppearance;
#ifdef __cplusplus
class DECLSPEC_UUID("2AF0171F-9304-4ee9-9F8A-922A6F31E4A0")
PDAppearance;
#endif
EXTERN_C const CLSID CLSID_PDFilterPrimitive;
#ifdef __cplusplus
class DECLSPEC_UUID("6394072C-3DE4-4c18-9F55-459E08491271")
PDFilterPrimitive;
#endif
EXTERN_C const CLSID CLSID_PDSwatchPattern;
#ifdef __cplusplus
class DECLSPEC_UUID("BDF3FED4-9E3C-457D-B672-4FAF9B1F4910")
PDSwatchPattern;
#endif
EXTERN_C const CLSID CLSID_AppearanceDlg;
#ifdef __cplusplus
class DECLSPEC_UUID("D584CEF4-1748-406E-AC02-B8189C4C2B04")
AppearanceDlg;
#endif
EXTERN_C const CLSID CLSID_PDSwatchColor;
#ifdef __cplusplus
class DECLSPEC_UUID("4F563EBA-B0B4-484d-98DD-8C4BD3D5B42A")
PDSwatchColor;
#endif
EXTERN_C const CLSID CLSID_PDSwatchGradient;
#ifdef __cplusplus
class DECLSPEC_UUID("B7407AE8-16A3-4d97-B8CC-9E56EFC89AAD")
PDSwatchGradient;
#endif
EXTERN_C const CLSID CLSID_PDSwatchNone;
#ifdef __cplusplus
class DECLSPEC_UUID("0AC04623-BDF9-43e8-B073-1650AD48D863")
PDSwatchNone;
#endif
EXTERN_C const CLSID CLSID_PDGradientStop;
#ifdef __cplusplus
class DECLSPEC_UUID("0E6216BC-1EE9-4758-871F-68B0A34C4147")
PDGradientStop;
#endif
EXTERN_C const CLSID CLSID_SymbolsDlg;
#ifdef __cplusplus
class DECLSPEC_UUID("666F1FC1-E52A-4117-8E98-97375A238F73")
SymbolsDlg;
#endif
EXTERN_C const CLSID CLSID_PDSymbol;
#ifdef __cplusplus
class DECLSPEC_UUID("51498E1E-B85F-4762-8963-7B98E4EBEA12")
PDSymbol;
#endif
EXTERN_C const CLSID CLSID_PDObjectSymbolInstance;
#ifdef __cplusplus
class DECLSPEC_UUID("D95F583F-7C7E-435D-88B5-53E0D5081CFC")
PDObjectSymbolInstance;
#endif
EXTERN_C const CLSID CLSID_PDObjectSymbolInstanceSet;
#ifdef __cplusplus
class DECLSPEC_UUID("1F315214-1C37-40AA-A87B-68F16FF4C7B3")
PDObjectSymbolInstanceSet;
#endif
#endif /* __PAGEDESIGNERLib_LIBRARY_DEFINED__ */
/* Additional Prototypes for ALL interfaces */
/* end of Additional Prototypes */
#ifdef __cplusplus
}
#endif
#endif
| [
"sigurd.lerstad@gmail.com"
] | sigurd.lerstad@gmail.com |
7d85e79af5040c07038af489001a21b7686c13ec | b589cb56fa8b5178a9d6e21bb9612504e6585a30 | /Source/SceneManager/Public/LevelMaterialSettings.h | fcc00da1a1b89989c6228e08bb37acda77ece1b2 | [] | no_license | zorofee/SceneManager | 433814d02a686f250ed4feebf17f6db6538a1b31 | 9207b023acca54d6cbf3f4f8a4b9300ab213904d | refs/heads/master | 2022-12-30T14:33:00.648665 | 2020-10-15T12:01:10 | 2020-10-15T12:01:10 | 294,671,903 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 386 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "UObject/NoExportTypes.h"
#include "LevelMaterialSettings.generated.h"
/**
*
*/
UCLASS(MinimalAPI)
class ULevelMaterialSettings : public UObject
{
GENERATED_BODY()
public:
UPROPERTY(EditAnywhere, Category = "MatIns")
UMaterialInstance* material;
};
| [
"zhaowanfei@h3d.com.cn"
] | zhaowanfei@h3d.com.cn |
0a0163ce23a0b8c328b2a28f295691be544150b0 | 4d4c932f30db53a7f71eaad00e36b0c60081954a | /middleware/src/gschema/meta/gs_composite_type.cpp | 9c3949626a4755e108ae64d6bd8016910e631e40 | [
"Apache-2.0"
] | permissive | TerraGraphics/TerraEngine | 5fc2cded38cde0289a891ef7513b994a0f8433a1 | 874165a22ab7dd3774a6cfdeb023485a552d9860 | refs/heads/master | 2021-07-07T07:34:48.412094 | 2021-03-27T01:02:37 | 2021-03-27T01:02:37 | 229,826,817 | 5 | 1 | Apache-2.0 | 2020-03-30T00:19:23 | 2019-12-23T21:42:36 | C++ | UTF-8 | C++ | false | false | 1,288 | cpp | #include "middleware/gschema/meta/gs_composite_type.h"
#include <memory>
#include "core/common/exception.h"
#include "middleware/gschema/meta/gs_type_interface.h"
namespace gs {
CompositeType::CompositeType(std::type_index typeIndex, const std::vector<CompositeTypeItem>& properties)
: m_typeIndex(typeIndex)
, m_properties(properties) {
}
CompositeType::~CompositeType() {
for(auto& property: m_properties) {
delete property.primitiveType;
}
}
void CompositeType::HideInGUI() noexcept {
m_visibleInGUI = false;
}
bool CompositeType::IsVisibleInGUI() const noexcept {
return m_visibleInGUI;
}
std::type_index CompositeType::GetTypeIndex() const noexcept {
return m_typeIndex;
}
bool CompositeType::IsChanged() const {
for(const auto& property: m_properties) {
if (property.primitiveType->IsChanged()) {
return true;
}
}
return false;
}
size_t CompositeType::CountItem() const {
return m_properties.size();
}
IPrimitiveType* CompositeType::GetItemValue(size_t index) const {
if (index >= m_properties.size()) {
throw EngineError("gs::CompositeType::GetItemValue: index {} is not valid", index);
}
return static_cast<IPrimitiveType*>(m_properties[index].primitiveType);
}
}
| [
"reangd@yandex.ru"
] | reangd@yandex.ru |
6ebf22dba8498132d4c6f87dc2bbeb62119a2568 | f481aeb897c81095bf5bc544f9368aa78457694b | /955.cpp | cc6b9515eade320b9e7a126f2d60f5030d6526da | [] | no_license | channyHuang/leetcodeOJ | 78b10f31f9a6c6571124208efe85201a3690f2da | b41e9c3c076074b6ab9349455b0cf40c270df41f | refs/heads/master | 2023-01-28T15:31:29.346320 | 2023-01-18T03:43:10 | 2023-01-18T03:43:10 | 221,703,848 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 833 | cpp | class Solution {
public:
int minDeletionSize(vector<string>& A) {
int len = A.size();
int lenStr = A[0].size();
int res = 0;
bool del[lenStr];
memset(del, 0, sizeof(del));
while (1) {
int i;
for (i = 1; i < len; i++) {
int j;
for (j = 0; j < lenStr; j++) {
if (del[j]) continue;
if (A[i][j] > A[i - 1][j]) break;
if (A[i][j] < A[i - 1][j]) {
del[j] = true;
res++;
break;
}
}
if (j >= lenStr || A[i][j] > A[i - 1][j]) continue;
else break;
}
if (i == len) break;
}
return res;
}
};
| [
"349117102@qq.com"
] | 349117102@qq.com |
ba4b35ae7a1aeac7f9904d44d782f16fbd9fd99c | fc3135ccefc731fe6cd9d7be5cb50fecca12383b | /Solutions/100240 - 2013-2014 CT S01E05 2007 Nordic Collegiate Programming Contest (NCPC 2007) Selected Problems from 2009 Google Code Jam World Finals (GCJ WF 2009)/F.cpp | f8c493b4b9ea890d6cd1849e71fd9494226f9c9f | [] | no_license | muhammadali493/Codeforces-Gyms-Solutions | f986b03d39d1569d8520b78aa13047fb8f92df05 | e030f131ca9414d414e2603ab3cece68e8dd4408 | refs/heads/master | 2023-07-10T16:50:22.376939 | 2020-11-09T20:04:03 | 2020-11-09T20:04:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,116 | cpp | // 2013-2014 CT S01E05 2007 Nordic Collegiate Programming Contest (NCPC 2007) Selected Problems from 2009 Google Code Jam World Finals (GCJ WF 2009)
// 100240F
#include <bits/stdc++.h>
#include <ext/hash_set>
#include <ext/numeric>
using namespace std;
typedef long long ll;
typedef vector<int> vi;
typedef vector<ll> vll;
typedef vector<vi> vvi;
typedef pair<int, int> pii;
typedef vector<pii> vii;
typedef vector<bool> vb;
typedef vector<string> vs;
const ll MOD = 1e9 + 7;
const long double EPS = 1e-5;
#define all(x) x.begin(),x.end()
#define SZ(x) (int)x.size()
#define fr first
#define sc second
const int N = 1005;
const int INF = 1e9 + 2;
vector<pair<int, int> > adj[N];
int p[N];
int dis[N][105];
int n, m, q;
int Dij(int st, int ed, int mxC) {
for (int i = 0; i < n; i++)
for (int j = 0; j <= mxC; j++)
dis[i][j] = INF;
priority_queue<pair<int, pii>, vector<pair<int, pii> >, greater<pair<int, pii> > > pq;
pq.push({0, {0, st}});
dis[st][0] = 0;
while (!pq.empty()) {
int w = pq.top().fr;
int node = pq.top().sc.sc;
int c = pq.top().sc.fr;
pq.pop();
if (node == ed)return w;
if (dis[node][c] < w)continue;
if (c + 1 <= mxC && dis[node][c + 1] > w + p[node]) {
dis[node][c + 1] = w + p[node];
pq.push({w + p[node], {c + 1, node}});
}
for (auto nxt : adj[node]) {
if (nxt.fr > c)break;
if (dis[nxt.sc][c - nxt.fr] > w) {
dis[nxt.sc][c - nxt.fr] = w;
pq.push({w, {c - nxt.fr, nxt.sc}});
}
}
}
return INF;
}
int main() {
// ios::sync_with_stdio(0), cin.tie(0), cout.tie(0);
#ifndef ONLINE_JUDGE
freopen("input.txt", "r", stdin);
// freopen("output.txt", "w", stdout);
#endif
scanf("%d%d", &n, &m);
for (int i = 0; i < n; i++) {
scanf("%d", &p[i]);
}
int x, y, d;
for (int i = 0; i < m; i++) {
scanf("%d%d%d", &x, &y, &d);
adj[x].push_back({d, y});
adj[y].push_back({d, x});
}
for (int i = 0; i < n; i++) {
sort(all(adj[i]));
}
int q, s, e, mxC;
scanf("%d", &q);
while (q--) {
scanf("%d%d%d", &mxC, &s, &e);
int ans = Dij(s, e, mxC);
if (ans == INF)puts("impossible");
else printf("%d\n", ans);
}
return 0;
} | [
"khaled.hamedt@gmail.com"
] | khaled.hamedt@gmail.com |
de1f3ee808739e01a84da61af78a5e85097d1871 | 22541302015c82ed7b13dd9bdaf33e75c96239a5 | /codeforces/average_height.cpp | 4fa1d1704d29e152a073c9bb9a6aa33e3515d4c4 | [] | no_license | Shubhamag12/Data-Structures-and-Algorithms | a596feaf7831d38c06299bd31a997d90a267ce2d | bb80cb0d176e0fcf6ad3cbb8e051c076e69999c3 | refs/heads/main | 2023-05-27T21:46:00.249048 | 2021-06-14T20:13:18 | 2021-06-14T20:13:18 | 376,948,240 | 0 | 0 | null | 2021-06-14T20:29:50 | 2021-06-14T20:29:50 | null | UTF-8 | C++ | false | false | 1,632 | cpp | #include<bits/stdc++.h>
using namespace std;
int main(){
int tc;
cin >> tc;
for(int i=0;i<tc;i++){
int n;
cin >> n;
int a[n];
for(int i=0;i<n;i++){
cin>>a[i];
}
// // for(int i=0;i<n;i++)
// // cout<<a[i]<<"->";
// // cout<<endl;
// vector<int>even;
// vector<int>odd;
// for(int i=0;i<n;i++){
// if(a[i]%2==0)
// even.push_back(a[i]);
// else
// odd.push_back(a[i]);
// }
// // for(int i=0;i<even.size();i++)
// // cout<<even[i]<<"->";
// // cout<<endl;
// if((even.size())%2==0){
// for(int i=0;i<even.size();i++)
// cout<<even[i]<<" ";
// for(int i=0;i<odd.size();i++)
// cout<<odd[i]<<" ";
// //cout<<odd[odd.size()-1];
// cout<<endl;
// }
// else{
// for(int i=0;i<even.size()-1;i++)
// cout<<even[i]<<" ";
// for(int i=0;i<odd.size();i++)
// cout<<odd[i]<<" ";
// cout<<even[even.size()-1];
// cout<<endl;
// }
vector<int>res;
for(int i=0;i<n;i++){
if(a[i]%2 ==1)
res.push_back(a[i]);
}
for(int i=0;i<n;i++){
if(a[i]%2==0)
res.push_back(a[i]);
}
for(int i=0;i<res.size();i++){
cout<<res[i]<<" ";
}
cout<<endl;
}
}
| [
"b180062@nitsikkim.ac.in"
] | b180062@nitsikkim.ac.in |
7b8cc1407ab262063340080866bfa71705800950 | 7939409cc41c7e355bf7a7ecff2b1ee80d89f40b | /DB1-1/main.cpp | d61d04d0cc4bcd6297876eb0085ca8ad06a2564f | [] | no_license | onecan2009/hellogit | aca6d4fa919cac370365eb80ef13e6ed434c2808 | e8d18a4b7b7b98de7640110c3f25717896fbd199 | refs/heads/master | 2021-01-12T02:05:11.154709 | 2018-03-30T15:36:58 | 2018-03-30T15:36:58 | 78,465,417 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 916 | cpp | #include <QCoreApplication>
#include <QtSql>
#include <iostream>
using namespace std;
int main(int argc, char *argv[])
{
QCoreApplication a(argc, argv);
QSqlDatabase db = QSqlDatabase::addDatabase("QSQLITE");
db.setDatabaseName(":memory:");
if(!db.open())
{
return false;
cout<<"Error in opening DB"<<endl;
}
cout<<"Successfully open DB"<<endl;
QSqlQuery query;
query.exec("create table student(id int primary key,name varchar)");
query.exec("insert into student values(1,'xiaogang')");
query.exec("insert into student values(2,'xiaoming')");
query.exec("insert into student values(3,'xiaohong')");
query.exec("select id,name from student where id >= 2");
while(query.next())
{
int ele0 = query.value(0).toInt();
QString ele1 =query.value(1).toString();
qDebug() << ele0 <<ele1 ;
}
return a.exec();
}
| [
"oc1788@163.com"
] | oc1788@163.com |
d75836b7d22e75a6e62a076b9b19c2959471e5db | 3790aefc92f31c1abbe5594d4ea020e15cb12aae | /tizen-sdk/platforms/tizen2.1/rootstraps/tizen-emulator-2.1.native/usr/include/osp/FUixVisionQrCodeGenerator.h | fe705dc2ee606b290d041fad589e99b69b8af313 | [] | no_license | abhijitrd/CppSharpTizen | e9871793c27acbb8ae0f599f2013ea56c7b2fca4 | 92e42a36cc3c5f2b1636061e82025feec4edda0d | refs/heads/master | 2021-01-16T22:04:57.789905 | 2014-07-05T11:39:32 | 2014-07-05T11:39:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,572 | h | //
// Open Service Platform
// Copyright (c) 2013 Samsung Electronics Co., Ltd.
//
// Licensed under the Apache License, Version 2.0 (the License);
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
/**
* @file FUixVisionQrCodeGenerator.h
* @brief This is the header file for the %QrCodeGenerator class.
*
* This header file contains the declarations of the %QrCodeGenerator class.
*/
#ifndef _FUIX_VISION_QR_CODE_GENERATOR_H_
#define _FUIX_VISION_QR_CODE_GENERATOR_H_
#include <FBaseObject.h>
#include <FGrpBitmap.h>
#include <FBase.h>
#include <FMedia.h>
#include "FUixVisionQrCodeTypes.h"
namespace Tizen { namespace Uix { namespace Vision
{
/**
* @class QrCodeGenerator
* @brief This class provides methods to generate a QR code image.
*
* @since 2.1
*
* The %QrCodeGenerator class provides methods to generate a QR code image.
*
* The following example demonstrates how to use the %QrCodeGenerator class.
*
* @code
* #include <FBase.h>
* #include <FUix.h>
* #include <FGraphics.h>
* #include <FIo.h>
* #include <FMedia.h>
*
* using namespace Tizen::Base;
* using namespace Tizen::Media;
* using namespace Tizen::Graphics;
* using namespace Tizen::Io;
* using namespace Tizen::Uix::Vision;
*
* class MyClass
* {
* public:
* MyClass();
* ~MyClass();
* result TestQrCodeGenerator(void);
* };
*
* result
* MyClass::TestQrCodeGenerator(void)
* {
* result r;
* QrCodeGenerator qrGen;
* qrGen.Construct();
*
* int width(0), height(0);
* r = qrGen.EncodeToFile("Hello Tizen!",
* QR_CODE_MODE_UTF8,
* QR_CODE_ERROR_CORRECTION_LEVEL_Q,
* true,
* "/opt/usr/media/Images/temp.png",
* Tizen::Media::IMG_FORMAT_PNG,
* width,
* height);
* return r;
* }
* @endcode
*/
class _OSP_EXPORT_ QrCodeGenerator
: public Tizen::Base::Object
{
public:
/**
* This is the default constructor for this class. @n
* The object is not fully constructed after this constructor is called. @n
* For full construction, the Construct() method must be called right after calling this constructor.
*
* @since 2.1
*/
QrCodeGenerator(void);
/**
* This is the destructor for this class. @n
* The resources are deallocated by this method.
* This destructor overrides Tizen::Base::Object::~Object().
*
* @since 2.1
*/
~QrCodeGenerator(void);
/**
* Initializes this instance of %QRCodeGenerator. @n
* Every application must call %Construct() before calling any other methods of %QRCodeGenerator.
*
* @since 2.1
*
* @feature %http://tizen.org/feature/vision.qrcode_generation
*
* @exception E_SUCCESS The method is successful.
* @exception E_UNSUPPORTED_OPERATION The Emulator or target device does not support the required feature.
* For more information, see <a href="../org.tizen.gettingstarted/html/tizen_overview/application_filtering.htm">Application Filtering</a>.
* @remarks Before calling this method, check whether the feature is supported by
* Tizen::System::SystemInfo::GetValue(const Tizen::Base::String&, bool&).
*/
result Construct(void);
/**
* Gets a list of supported image file formats.
*
* @since 2.1
*
* @return A list of supported image file formats
*/
static Tizen::Base::Collection::IListT<Tizen::Media::ImageFormat>* GetSupportedImageFileFormatsListN(void);
/**
* Encodes a QR code into a file.
*
* @since 2.1
*
* @return An error code
* @param[in] message The text to encode to QR code image
* @param[in] mode The input text encoding format (QR_CODE_MODE_ALPHANUMERIC, QR_CODE_MODE_BYTE, QR_CODE_MODE_UTF8)
* @param[in] errorCorrectionLevel The QR code error correction level
* @param[in] compatibility The compatibility mode with zxing library for UTF-8 codes mode when mode is selected with QR_MODE_UTF8
* @param[in] imageFilePath The file path of the generated QR code image
* @param[in] imageFormat The image file format of the generated QR code image
* @param[out] width The width of the generated QR code image
* @param[out] height The height of the generated QR code image
* @exception E_SUCCESS The method is successful.
* @exception E_INVALID_ARG A specified input parameter is invalid.
* @exception E_FILE_NOT_FOUND The specified file cannot be found or accessed.
*
* @remarks QR code encoding for UTF-8 is not standardized as yet.
* So we support UTF-8 encoding/decoding compatibility to zxing(http://code.google.com/p/zxing/) library.
*/
result EncodeToFile(const Tizen::Base::String& message, QrCodeMode mode, QrCodeErrorCorrectionLevel errorCorrectionLevel, bool compatibility, const Tizen::Base::String& imageFilePath, Tizen::Media::ImageFormat imageFormat, int& width, int& height);
/**
* Encodes a QR code into a byte buffer.
*
* @since 2.1
*
* @return A pointer to the Tizen::Base::ByteBuffer instance containing the generated QR code image
* @param[in] message The text to encode to QR code image
* @param[in] mode The input text encoding format (QR_CODE_MODE_ALPHANUMERIC, QR_CODE_MODE_BYTE, QR_CODE_MODE_UTF8)
* @param[in] error_level The QR code error correction level
* @param[in] compatibility The compatibility mode with zxing library for UTF-8 codes mode when mode is selected with QR_CODE_MODE_UTF8
* @param[out] width The width of the generated QR code image
* @param[out] height The height of the generated QR code image
* @exception E_SUCCESS The method is successful.
* @exception E_INVALID_ARG A specified input parameter is invalid.
*
* @remarks QR code encoding for UTF-8 is not standardized as yet.
* So we support UTF-8 encoding/decoding compatibility to zxing(http://code.google.com/p/zxing/) library.
*/
Tizen::Base::ByteBuffer* EncodeToBufferN(const Tizen::Base::String& message, QrCodeMode mode, QrCodeErrorCorrectionLevel error_level, bool compatibility, int& width, int& height);
private:
/**
* The implementation of this copy constructor is intentionally blank and declared as private to prohibit copying of objects.
*/
QrCodeGenerator(const QrCodeGenerator& in);
/**
* The implementation of this copy assignment operator is intentionally blank and declared as private to prohibit copying of objects.
*/
QrCodeGenerator& operator=(const QrCodeGenerator& in);
private:
class _QrCodeGeneratorImpl* __pQrCodeGeneratorImpl;
friend class _QrCodeGeneratorImpl;
};
} } } //Tizen::Uix::Vision
#endif // _FUIX_VISION_QR_CODE_GENERATOR_H_
| [
"brighttwinsoftware@gmail.com"
] | brighttwinsoftware@gmail.com |
78fec36ef497806ffddcb1d5d23db07f7349b7ca | f113b7f7695bf2f5c09e5e8afb28cc99ee06c63a | /xgen/include/ConservativeConvexSeparableApproximation/Locus_ConservativeConvexSeparableAppxDataMng.hpp | 5adde5ed612b3724805bda5ca90095aa0c4ad7a7 | [] | no_license | maguilo11/locus | 501a074a12e260e2b9f0940a6eb389ad36aefb89 | cbf926808493c621893cc11f124f813b9e0fcbde | refs/heads/master | 2021-09-24T21:35:27.503003 | 2018-10-15T02:58:38 | 2018-10-15T02:58:38 | 72,475,433 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 45,926 | hpp | /*
* Locus_ConservativeConvexSeparableAppxDataMng.hpp
*
* Created on: Nov 4, 2017
* Author: Miguel A. Aguilo Valentin
*/
#ifndef LOCUS_CONSERVATIVECONVEXSEPARABLEAPPXDATAMNG_HPP_
#define LOCUS_CONSERVATIVECONVEXSEPARABLEAPPXDATAMNG_HPP_
#include <cmath>
#include <limits>
#include <vector>
#include <memory>
#include <numeric>
#include <cassert>
#include <algorithm>
#include "Locus_Bounds.hpp"
#include "Locus_DataFactory.hpp"
#include "Locus_MultiVector.hpp"
#include "Locus_LinearAlgebra.hpp"
#include "Locus_StandardVector.hpp"
#include "Locus_MultiVectorList.hpp"
#include "Locus_ReductionOperations.hpp"
namespace locus
{
template<typename ScalarType, typename OrdinalType = size_t>
class ConservativeConvexSeparableAppxDataMng
{
public:
explicit ConservativeConvexSeparableAppxDataMng(const locus::DataFactory<ScalarType, OrdinalType> & aDataFactory) :
mIsInitialGuessSet(false),
mStagnationMeasure(std::numeric_limits<ScalarType>::max()),
mFeasibilityMeasure(std::numeric_limits<ScalarType>::max()),
mStationarityMeasure(std::numeric_limits<ScalarType>::max()),
mNormInactiveGradient(std::numeric_limits<ScalarType>::max()),
mObjectiveStagnationMeasure(std::numeric_limits<ScalarType>::max()),
mDualProblemBoundsScaleFactor(0.5),
mCurrentObjectiveFunctionValue(std::numeric_limits<ScalarType>::max()),
mPreviousObjectiveFunctionValue(std::numeric_limits<ScalarType>::max()),
mDualObjectiveGlobalizationFactor(1),
mKarushKuhnTuckerConditionsInexactness(std::numeric_limits<ScalarType>::max()),
mDualWorkVectorOne(),
mDualWorkVectorTwo(),
mControlWorkVectorOne(),
mControlWorkVectorTwo(),
mDual(aDataFactory.dual().create()),
mTrialStep(aDataFactory.control().create()),
mActiveSet(aDataFactory.control().create()),
mInactiveSet(aDataFactory.control().create()),
mCurrentSigma(aDataFactory.control().create()),
mCurrentControl(aDataFactory.control().create()),
mPreviousControl(aDataFactory.control().create()),
mControlLowerBounds(aDataFactory.control().create()),
mControlUpperBounds(aDataFactory.control().create()),
mControlWorkMultiVector(aDataFactory.control().create()),
mCurrentConstraintValues(aDataFactory.dual().create()),
mCurrentObjectiveGradient(aDataFactory.control().create()),
mConstraintGlobalizationFactors(aDataFactory.dual().create()),
mDualReductions(aDataFactory.getDualReductionOperations().create()),
mControlReductions(aDataFactory.getControlReductionOperations().create()),
mCurrentConstraintGradients(std::make_shared<locus::MultiVectorList<ScalarType, OrdinalType>>())
{
this->initialize();
}
~ConservativeConvexSeparableAppxDataMng()
{
}
bool isInitialGuessSet() const
{
return (mIsInitialGuessSet);
}
// NOTE: NUMBER OF CONTROL VECTORS
OrdinalType getNumControlVectors() const
{
return (mCurrentControl->getNumVectors());
}
// NOTE: NUMBER OF DUAL VECTORS
OrdinalType getNumDualVectors() const
{
return (mDual->getNumVectors());
}
// NOTE :GET NUMBER OF CONSTRAINTS
OrdinalType getNumConstraints() const
{
OrdinalType tNumConstraints = mCurrentConstraintGradients->size();
return (tNumConstraints);
}
// NOTE: DUAL PROBLEM PARAMETERS
ScalarType getDualProblemBoundsScaleFactor() const
{
return (mDualProblemBoundsScaleFactor);
}
void setDualProblemBoundsScaleFactor(const ScalarType & aInput)
{
mDualProblemBoundsScaleFactor = aInput;
}
ScalarType getDualObjectiveGlobalizationFactor() const
{
return (mDualObjectiveGlobalizationFactor);
}
void setDualObjectiveGlobalizationFactor(const ScalarType & aInput)
{
mDualObjectiveGlobalizationFactor = aInput;
}
// NOTE: CONSTRAINT GLOBALIZATION FACTORS FUNCTIONS
const locus::MultiVector<ScalarType, OrdinalType> & getConstraintGlobalizationFactors() const
{
assert(mConstraintGlobalizationFactors.get() != nullptr);
return (mConstraintGlobalizationFactors.operator*());
}
const locus::Vector<ScalarType, OrdinalType> & getConstraintGlobalizationFactors(const OrdinalType & aVectorIndex) const
{
assert(mConstraintGlobalizationFactors.get() != nullptr);
assert(aVectorIndex >= static_cast<OrdinalType>(0));
assert(aVectorIndex < mConstraintGlobalizationFactors->getNumVectors());
return (mConstraintGlobalizationFactors->operator [](aVectorIndex));
}
void setConstraintGlobalizationFactors(const locus::MultiVector<ScalarType, OrdinalType> & aInput)
{
assert(aInput.getNumVectors() == mConstraintGlobalizationFactors->getNumVectors());
locus::update(1., aInput, 0., *mConstraintGlobalizationFactors);
}
void setConstraintGlobalizationFactors(const OrdinalType & aVectorIndex, const locus::Vector<ScalarType, OrdinalType> & aInput)
{
assert(mConstraintGlobalizationFactors.get() != nullptr);
assert(aVectorIndex >= static_cast<OrdinalType>(0));
assert(aVectorIndex < mConstraintGlobalizationFactors->getNumVectors());
mConstraintGlobalizationFactors->operator [](aVectorIndex).update(1., aInput, 0.);
}
// NOTE: OBJECTIVE FUNCTION VALUE
ScalarType getCurrentObjectiveFunctionValue() const
{
return (mCurrentObjectiveFunctionValue);
}
void setCurrentObjectiveFunctionValue(const ScalarType & aInput)
{
mCurrentObjectiveFunctionValue = aInput;
}
ScalarType getPreviousObjectiveFunctionValue() const
{
return (mPreviousObjectiveFunctionValue);
}
void setPreviousObjectiveFunctionValue(const ScalarType & aInput)
{
mPreviousObjectiveFunctionValue = aInput;
}
// NOTE: SET INITIAL GUESS
void setInitialGuess(const ScalarType & aValue)
{
assert(mCurrentControl.get() != nullptr);
assert(mCurrentControl->getNumVectors() > static_cast<OrdinalType>(0));
OrdinalType tNumVectors = mCurrentControl->getNumVectors();
for(OrdinalType tVectorIndex = 0; tVectorIndex < tNumVectors; tVectorIndex++)
{
mCurrentControl->operator [](tVectorIndex).fill(aValue);
}
mIsInitialGuessSet = true;
}
void setInitialGuess(const OrdinalType & aVectorIndex, const ScalarType & aValue)
{
assert(mCurrentControl.get() != nullptr);
assert(aVectorIndex >= static_cast<OrdinalType>(0));
assert(aVectorIndex < mCurrentControl->getNumVectors());
mCurrentControl->operator [](aVectorIndex).fill(aValue);
mIsInitialGuessSet = true;
}
void setInitialGuess(const OrdinalType & aVectorIndex, const locus::Vector<ScalarType, OrdinalType> & aInput)
{
assert(mCurrentControl.get() != nullptr);
assert(aVectorIndex >= static_cast<OrdinalType>(0));
assert(aVectorIndex < mCurrentControl->getNumVectors());
mCurrentControl->operator [](aVectorIndex).update(1., aInput, 0.);
mIsInitialGuessSet = true;
}
void setInitialGuess(const locus::MultiVector<ScalarType, OrdinalType> & aInput)
{
assert(aInput.getNumVectors() == mCurrentControl->getNumVectors());
locus::update(1., aInput, 0., *mCurrentControl);
mIsInitialGuessSet = true;
}
// NOTE: DUAL VECTOR
const locus::MultiVector<ScalarType, OrdinalType> & getDual() const
{
assert(mDual.get() != nullptr);
return (mDual.operator *());
}
const locus::Vector<ScalarType, OrdinalType> & getDual(const OrdinalType & aVectorIndex) const
{
assert(mDual.get() != nullptr);
assert(aVectorIndex >= static_cast<OrdinalType>(0));
assert(aVectorIndex < mDual->getNumVectors());
return (mDual->operator [](aVectorIndex));
}
void setDual(const locus::MultiVector<ScalarType, OrdinalType> & aInput)
{
assert(aInput.getNumVectors() == mDual->getNumVectors());
locus::update(1., aInput, 0., *mDual);
}
void setDual(const OrdinalType & aVectorIndex, const locus::Vector<ScalarType, OrdinalType> & aInput)
{
assert(mDual.get() != nullptr);
assert(aVectorIndex >= static_cast<OrdinalType>(0));
assert(aVectorIndex < mDual->getNumVectors());
mDual->operator [](aVectorIndex).update(1., aInput, 0.);
}
// NOTE: TRIAL STEP FUNCTIONS
const locus::MultiVector<ScalarType, OrdinalType> & getTrialStep() const
{
assert(mTrialStep.get() != nullptr);
return (mTrialStep.operator *());
}
const locus::Vector<ScalarType, OrdinalType> & getTrialStep(const OrdinalType & aVectorIndex) const
{
assert(mTrialStep.get() != nullptr);
assert(aVectorIndex >= static_cast<OrdinalType>(0));
assert(aVectorIndex < mTrialStep->getNumVectors());
return (mTrialStep->operator [](aVectorIndex));
}
void setTrialStep(const locus::MultiVector<ScalarType, OrdinalType> & aInput)
{
assert(aInput.getNumVectors() == mTrialStep->getNumVectors());
locus::update(1., aInput, 0., *mTrialStep);
}
void setTrialStep(const OrdinalType & aVectorIndex, const locus::Vector<ScalarType, OrdinalType> & aInput)
{
assert(mTrialStep.get() != nullptr);
assert(aVectorIndex >= static_cast<OrdinalType>(0));
assert(aVectorIndex < mTrialStep->getNumVectors());
mTrialStep->operator [](aVectorIndex).update(1., aInput, 0.);
}
// NOTE: ACTIVE SET FUNCTIONS
const locus::MultiVector<ScalarType, OrdinalType> & getActiveSet() const
{
assert(mActiveSet.get() != nullptr);
return (mActiveSet.operator *());
}
const locus::Vector<ScalarType, OrdinalType> & getActiveSet(const OrdinalType & aVectorIndex) const
{
assert(mActiveSet.get() != nullptr);
assert(aVectorIndex >= static_cast<OrdinalType>(0));
assert(aVectorIndex < mActiveSet->getNumVectors());
return (mActiveSet->operator [](aVectorIndex));
}
void setActiveSet(const locus::MultiVector<ScalarType, OrdinalType> & aInput)
{
assert(aInput.getNumVectors() == mActiveSet->getNumVectors());
locus::update(1., aInput, 0., *mActiveSet);
}
void setActiveSet(const OrdinalType & aVectorIndex, const locus::Vector<ScalarType, OrdinalType> & aInput)
{
assert(mActiveSet.get() != nullptr);
assert(aVectorIndex >= static_cast<OrdinalType>(0));
assert(aVectorIndex < mActiveSet->getNumVectors());
mActiveSet->operator [](aVectorIndex).update(1., aInput, 0.);
}
// NOTE: INACTIVE SET FUNCTIONS
const locus::MultiVector<ScalarType, OrdinalType> & getInactiveSet() const
{
assert(mInactiveSet.get() != nullptr);
return (mInactiveSet.operator *());
}
const locus::Vector<ScalarType, OrdinalType> & getInactiveSet(const OrdinalType & aVectorIndex) const
{
assert(mInactiveSet.get() != nullptr);
assert(aVectorIndex >= static_cast<OrdinalType>(0));
assert(aVectorIndex < mInactiveSet->getNumVectors());
return (mInactiveSet->operator [](aVectorIndex));
}
void setInactiveSet(const locus::MultiVector<ScalarType, OrdinalType> & aInput)
{
assert(aInput.getNumVectors() == mInactiveSet->getNumVectors());
locus::update(1., aInput, 0., *mInactiveSet);
}
void setInactiveSet(const OrdinalType & aVectorIndex, const locus::Vector<ScalarType, OrdinalType> & aInput)
{
assert(mInactiveSet.get() != nullptr);
assert(aVectorIndex >= static_cast<OrdinalType>(0));
assert(aVectorIndex < mInactiveSet->getNumVectors());
mInactiveSet->operator [](aVectorIndex).update(1., aInput, 0.);
}
// NOTE: CURRENT CONTROL
const locus::MultiVector<ScalarType, OrdinalType> & getCurrentControl() const
{
assert(mCurrentControl.get() != nullptr);
return (mCurrentControl.operator *());
}
const locus::Vector<ScalarType, OrdinalType> & getCurrentControl(const OrdinalType & aVectorIndex) const
{
assert(mCurrentControl.get() != nullptr);
assert(aVectorIndex >= static_cast<OrdinalType>(0));
assert(aVectorIndex < mCurrentControl->getNumVectors());
return (mCurrentControl->operator [](aVectorIndex));
}
void setCurrentControl(const locus::MultiVector<ScalarType, OrdinalType> & aInput)
{
assert(aInput.getNumVectors() == mCurrentControl->getNumVectors());
locus::update(static_cast<ScalarType>(1), aInput, static_cast<ScalarType>(0), *mCurrentControl);
}
void setCurrentControl(const OrdinalType & aVectorIndex, const locus::Vector<ScalarType, OrdinalType> & aInput)
{
assert(mCurrentControl.get() != nullptr);
assert(aVectorIndex >= static_cast<OrdinalType>(0));
assert(aVectorIndex < mCurrentControl->getNumVectors());
mCurrentControl->operator [](aVectorIndex).update(1., aInput, 0.);
}
// NOTE: PREVIOUS CONTROL
const locus::MultiVector<ScalarType, OrdinalType> & getPreviousControl() const
{
assert(mPreviousControl.get() != nullptr);
return (mPreviousControl.operator *());
}
const locus::Vector<ScalarType, OrdinalType> & getPreviousControl(const OrdinalType & aVectorIndex) const
{
assert(mPreviousControl.get() != nullptr);
assert(aVectorIndex >= static_cast<OrdinalType>(0));
assert(aVectorIndex < mPreviousControl->getNumVectors());
return (mPreviousControl->operator [](aVectorIndex));
}
void setPreviousControl(const locus::MultiVector<ScalarType, OrdinalType> & aInput)
{
assert(aInput.getNumVectors() == mPreviousControl->getNumVectors());
locus::update(1., aInput, 0., *mPreviousControl);
}
void setPreviousControl(const OrdinalType & aVectorIndex, const locus::Vector<ScalarType, OrdinalType> & aInput)
{
assert(mPreviousControl.get() != nullptr);
assert(aVectorIndex >= static_cast<OrdinalType>(0));
assert(aVectorIndex < mPreviousControl->getNumVectors());
mPreviousControl->operator [](aVectorIndex).update(1., aInput, 0.);
}
// NOTE: CURRENT OBJECTIVE GRADIENT
const locus::MultiVector<ScalarType, OrdinalType> & getCurrentObjectiveGradient() const
{
assert(mCurrentObjectiveGradient.get() != nullptr);
return (mCurrentObjectiveGradient.operator *());
}
const locus::Vector<ScalarType, OrdinalType> & getCurrentObjectiveGradient(const OrdinalType & aVectorIndex) const
{
assert(mCurrentObjectiveGradient.get() != nullptr);
assert(aVectorIndex >= static_cast<OrdinalType>(0));
assert(aVectorIndex < mCurrentObjectiveGradient->getNumVectors());
return (mCurrentObjectiveGradient->operator [](aVectorIndex));
}
void setCurrentObjectiveGradient(const locus::MultiVector<ScalarType, OrdinalType> & aInput)
{
assert(aInput.getNumVectors() == mCurrentObjectiveGradient->getNumVectors());
locus::update(1., aInput, 0., *mCurrentObjectiveGradient);
}
void setCurrentObjectiveGradient(const OrdinalType & aVectorIndex, const locus::Vector<ScalarType, OrdinalType> & aInput)
{
assert(mCurrentObjectiveGradient.get() != nullptr);
assert(aVectorIndex >= static_cast<OrdinalType>(0));
assert(aVectorIndex < mCurrentObjectiveGradient->getNumVectors());
mCurrentObjectiveGradient->operator [](aVectorIndex).update(1., aInput, 0.);
}
// NOTE: CURRENT SIGMA VECTOR
const locus::MultiVector<ScalarType, OrdinalType> & getCurrentSigma() const
{
assert(mCurrentSigma.get() != nullptr);
return (mCurrentSigma.operator *());
}
const locus::Vector<ScalarType, OrdinalType> & getCurrentSigma(const OrdinalType & aVectorIndex) const
{
assert(mCurrentSigma.get() != nullptr);
assert(aVectorIndex >= static_cast<OrdinalType>(0));
assert(aVectorIndex < mCurrentSigma->getNumVectors());
return (mCurrentSigma->operator [](aVectorIndex));
}
void setCurrentSigma(const ScalarType & aInput)
{
assert(mCurrentSigma.get() != nullptr);
locus::fill(aInput, mCurrentSigma.operator*());
}
void setCurrentSigma(const locus::MultiVector<ScalarType, OrdinalType> & aInput)
{
assert(aInput.getNumVectors() == mCurrentSigma->getNumVectors());
locus::update(1., aInput, 0., *mCurrentSigma);
}
void setCurrentSigma(const OrdinalType & aVectorIndex, const locus::Vector<ScalarType, OrdinalType> & aInput)
{
assert(mCurrentSigma.get() != nullptr);
assert(aVectorIndex >= static_cast<OrdinalType>(0));
assert(aVectorIndex < mCurrentSigma->getNumVectors());
mCurrentSigma->operator [](aVectorIndex).update(1., aInput, 0.);
}
// NOTE: SET CONTROL LOWER BOUNDS
const locus::MultiVector<ScalarType, OrdinalType> & getControlLowerBounds() const
{
assert(mControlLowerBounds.get() != nullptr);
return (mControlLowerBounds.operator *());
}
const locus::Vector<ScalarType, OrdinalType> & getControlLowerBounds(const OrdinalType & aVectorIndex) const
{
assert(mControlLowerBounds.get() != nullptr);
assert(aVectorIndex >= static_cast<OrdinalType>(0));
assert(aVectorIndex < mControlLowerBounds->getNumVectors());
return (mControlLowerBounds->operator [](aVectorIndex));
}
void setControlLowerBounds(const ScalarType & aValue)
{
assert(mControlLowerBounds.get() != nullptr);
assert(mControlLowerBounds->getNumVectors() > static_cast<OrdinalType>(0));
OrdinalType tNumVectors = mControlLowerBounds->getNumVectors();
for(OrdinalType tVectorIndex = 0; tVectorIndex < tNumVectors; tVectorIndex++)
{
mControlLowerBounds->operator [](tVectorIndex).fill(aValue);
}
}
void setControlLowerBounds(const OrdinalType & aVectorIndex, const ScalarType & aValue)
{
assert(mControlLowerBounds.get() != nullptr);
assert(aVectorIndex >= static_cast<OrdinalType>(0));
assert(aVectorIndex < mControlLowerBounds->getNumVectors());
mControlLowerBounds->operator [](aVectorIndex).fill(aValue);
}
void setControlLowerBounds(const OrdinalType & aVectorIndex, const locus::Vector<ScalarType, OrdinalType> & aInput)
{
assert(mControlLowerBounds.get() != nullptr);
assert(aVectorIndex >= static_cast<OrdinalType>(0));
assert(aVectorIndex < mControlLowerBounds->getNumVectors());
mControlLowerBounds->operator [](aVectorIndex).update(1., aInput, 0.);
}
void setControlLowerBounds(const locus::MultiVector<ScalarType, OrdinalType> & aInput)
{
assert(aInput.getNumVectors() == mControlLowerBounds->getNumVectors());
locus::update(1., aInput, 0., *mControlLowerBounds);
}
// NOTE: SET CONTROL UPPER BOUNDS
const locus::MultiVector<ScalarType, OrdinalType> & getControlUpperBounds() const
{
assert(mControlUpperBounds.get() != nullptr);
return (mControlUpperBounds.operator *());
}
const locus::Vector<ScalarType, OrdinalType> & getControlUpperBounds(const OrdinalType & aVectorIndex) const
{
assert(mControlUpperBounds.get() != nullptr);
assert(aVectorIndex >= static_cast<OrdinalType>(0));
assert(aVectorIndex < mControlUpperBounds->getNumVectors());
return (mControlUpperBounds->operator [](aVectorIndex));
}
void setControlUpperBounds(const ScalarType & aValue)
{
assert(mControlUpperBounds.get() != nullptr);
assert(mControlUpperBounds->getNumVectors() > static_cast<OrdinalType>(0));
OrdinalType tNumVectors = mControlUpperBounds->getNumVectors();
for(OrdinalType tVectorIndex = 0; tVectorIndex < tNumVectors; tVectorIndex++)
{
mControlUpperBounds->operator [](tVectorIndex).fill(aValue);
}
}
void setControlUpperBounds(const OrdinalType & aVectorIndex, const ScalarType & aValue)
{
assert(mControlUpperBounds.get() != nullptr);
assert(aVectorIndex >= static_cast<OrdinalType>(0));
assert(aVectorIndex < mControlUpperBounds->getNumVectors());
mControlUpperBounds->operator [](aVectorIndex).fill(aValue);
}
void setControlUpperBounds(const OrdinalType & aVectorIndex, const locus::Vector<ScalarType, OrdinalType> & aInput)
{
assert(mControlUpperBounds.get() != nullptr);
assert(aVectorIndex >= static_cast<OrdinalType>(0));
assert(aVectorIndex < mControlUpperBounds->getNumVectors());
mControlUpperBounds->operator [](aVectorIndex).update(1., aInput, 0.);
}
void setControlUpperBounds(const locus::MultiVector<ScalarType, OrdinalType> & aInput)
{
assert(aInput.getNumVectors() == mControlUpperBounds->getNumVectors());
locus::update(1., aInput, 0., *mControlUpperBounds);
}
// NOTE: CURRENT CONSTRAINT VALUES
const locus::MultiVector<ScalarType, OrdinalType> & getCurrentConstraintValues() const
{
assert(mCurrentConstraintValues.get() != nullptr);
return (mCurrentConstraintValues.operator *());
}
const locus::Vector<ScalarType, OrdinalType> & getCurrentConstraintValues(const OrdinalType & aVectorIndex) const
{
assert(mCurrentConstraintValues.get() != nullptr);
assert(aVectorIndex >= static_cast<OrdinalType>(0));
assert(aVectorIndex < mCurrentConstraintValues->getNumVectors());
return (mCurrentConstraintValues->operator [](aVectorIndex));
}
void setCurrentConstraintValues(const locus::MultiVector<ScalarType, OrdinalType> & aInput)
{
assert(aInput.getNumVectors() == mCurrentConstraintValues->getNumVectors());
locus::update(static_cast<ScalarType>(1), aInput, static_cast<ScalarType>(0), *mCurrentConstraintValues);
}
void setCurrentConstraintValues(const OrdinalType & aVectorIndex, const locus::Vector<ScalarType, OrdinalType> & aInput)
{
assert(mCurrentConstraintValues.get() != nullptr);
assert(aVectorIndex >= static_cast<OrdinalType>(0));
assert(aVectorIndex < mCurrentConstraintValues->getNumVectors());
mCurrentConstraintValues->operator [](aVectorIndex).update(1., aInput, 0.);
}
// NOTE: CURRENT CONSTRAINT GRADIENTS
const locus::MultiVectorList<ScalarType, OrdinalType> & getCurrentConstraintGradients() const
{
assert(mCurrentConstraintGradients.get() != nullptr);
return (mCurrentConstraintGradients.operator*());
}
const locus::MultiVector<ScalarType, OrdinalType> & getCurrentConstraintGradients(const OrdinalType & aConstraintIndex) const
{
assert(mCurrentConstraintGradients.get() != nullptr);
assert(aConstraintIndex >= static_cast<OrdinalType>(0));
assert(aConstraintIndex < mCurrentConstraintGradients->size());
assert(mCurrentConstraintGradients->ptr(aConstraintIndex).get() != nullptr);
return (mCurrentConstraintGradients->operator[](aConstraintIndex));
}
const locus::Vector<ScalarType, OrdinalType> & getCurrentConstraintGradients(const OrdinalType & aConstraintIndex,
const OrdinalType & aVectorIndex) const
{
assert(mCurrentConstraintGradients.get() != nullptr);
assert(aVectorIndex >= static_cast<OrdinalType>(0));
assert(aConstraintIndex >= static_cast<OrdinalType>(0));
assert(aConstraintIndex < mCurrentConstraintGradients->size());
assert(mCurrentConstraintGradients->ptr(aConstraintIndex).get() != nullptr);
assert(aVectorIndex < mCurrentConstraintGradients->operator[](aConstraintIndex).getNumVectors());
return (mCurrentConstraintGradients->operator()(aConstraintIndex, aVectorIndex));
}
void setCurrentConstraintGradients(const locus::MultiVectorList<ScalarType, OrdinalType> & aInput)
{
assert(aInput.size() > static_cast<OrdinalType>(0));
const OrdinalType tNumConstraints = aInput.size();
for(OrdinalType tConstraintIndex = 0; tConstraintIndex < tNumConstraints; tConstraintIndex++)
{
locus::update(static_cast<ScalarType>(1),
aInput[tConstraintIndex],
static_cast<ScalarType>(0),
mCurrentConstraintGradients->operator[](tConstraintIndex));
}
}
void setCurrentConstraintGradients(const OrdinalType & aConstraintIndex,
const locus::MultiVector<ScalarType, OrdinalType> & aInput)
{
assert(mCurrentConstraintGradients.get() != nullptr);
assert(aConstraintIndex >= static_cast<OrdinalType>(0));
assert(aConstraintIndex < mCurrentConstraintGradients->size());
assert(mCurrentConstraintGradients->ptr(aConstraintIndex).get() != nullptr);
assert(aInput.getNumVectors() == mCurrentConstraintGradients->operator[](aConstraintIndex).getNumVectors());
locus::update(static_cast<ScalarType>(1),
aInput,
static_cast<ScalarType>(0),
mCurrentConstraintGradients->operator[](aConstraintIndex));
}
void setCurrentConstraintGradients(const OrdinalType & aConstraintIndex,
const OrdinalType & aVectorIndex,
const locus::Vector<ScalarType, OrdinalType> & aInput)
{
assert(mCurrentConstraintGradients.get() != nullptr);
assert(aVectorIndex >= static_cast<OrdinalType>(0));
assert(aConstraintIndex >= static_cast<OrdinalType>(0));
assert(aConstraintIndex < mCurrentConstraintGradients->size());
assert(aVectorIndex < mCurrentConstraintGradients->operator[](aConstraintIndex).getNumVectors());
assert(aInput.size() == mCurrentConstraintGradients->operator()(aConstraintIndex, aVectorIndex).size());
const ScalarType tAlpha = 1;
const ScalarType tBeta = 0;
mCurrentConstraintGradients->operator()(aConstraintIndex, aVectorIndex).update(tAlpha, aInput, tBeta);
}
// NOTE: STAGNATION MEASURE CRITERION
void computeStagnationMeasure()
{
OrdinalType tNumVectors = mCurrentControl->getNumVectors();
std::vector<ScalarType> storage(tNumVectors, std::numeric_limits<ScalarType>::min());
for(OrdinalType tIndex = 0; tIndex < tNumVectors; tIndex++)
{
const locus::Vector<ScalarType, OrdinalType> & tMyCurrentControl = mCurrentControl->operator[](tIndex);
mControlWorkVectorOne->update(1., tMyCurrentControl, 0.);
const locus::Vector<ScalarType, OrdinalType> & tMyPreviousControl = mPreviousControl->operator[](tIndex);
mControlWorkVectorOne->update(-1., tMyPreviousControl, 1.);
mControlWorkVectorOne->modulus();
storage[tIndex] = mControlReductions->max(*mControlWorkVectorOne);
}
mStagnationMeasure = *std::max_element(storage.begin(), storage.end());
}
ScalarType getStagnationMeasure() const
{
return (mStagnationMeasure);
}
// NOTE: NORM OF CURRENT PROJECTED GRADIENT
ScalarType computeInactiveVectorNorm(const locus::MultiVector<ScalarType, OrdinalType> & aInput)
{
ScalarType tCummulativeDotProduct = 0.;
OrdinalType tNumVectors = aInput.getNumVectors();
for(OrdinalType tIndex = 0; tIndex < tNumVectors; tIndex++)
{
const locus::Vector<ScalarType, OrdinalType> & tMyInactiveSet = (*mInactiveSet)[tIndex];
const locus::Vector<ScalarType, OrdinalType> & tMyInputVector = aInput[tIndex];
mControlWorkVectorOne->update(1., tMyInputVector, 0.);
mControlWorkVectorOne->entryWiseProduct(tMyInactiveSet);
tCummulativeDotProduct += mControlWorkVectorOne->dot(*mControlWorkVectorOne);
}
ScalarType tOutput = std::sqrt(tCummulativeDotProduct);
return(tOutput);
}
void computeNormInactiveGradient()
{
ScalarType tCummulativeDotProduct = 0.;
OrdinalType tNumVectors = mCurrentObjectiveGradient->getNumVectors();
for(OrdinalType tIndex = 0; tIndex < tNumVectors; tIndex++)
{
const locus::Vector<ScalarType, OrdinalType> & tMyInactiveSet = (*mInactiveSet)[tIndex];
const locus::Vector<ScalarType, OrdinalType> & tMyGradient = (*mCurrentObjectiveGradient)[tIndex];
mControlWorkVectorOne->update(1., tMyGradient, 0.);
mControlWorkVectorOne->entryWiseProduct(tMyInactiveSet);
tCummulativeDotProduct += mControlWorkVectorOne->dot(*mControlWorkVectorOne);
}
mNormInactiveGradient = (static_cast<ScalarType>(1) / mGlobalNumControls) * std::sqrt(tCummulativeDotProduct);
}
ScalarType getNormInactiveGradient() const
{
return (mNormInactiveGradient);
}
// NOTE: FEASIBILITY MEASURE CALCULATION
void computeObjectiveStagnationMeasure()
{
mObjectiveStagnationMeasure = mPreviousObjectiveFunctionValue - mCurrentObjectiveFunctionValue;
mObjectiveStagnationMeasure = std::abs(mObjectiveStagnationMeasure);
}
ScalarType getObjectiveStagnationMeasure() const
{
return (mObjectiveStagnationMeasure);
}
// NOTE: FEASIBILITY MEASURE CALCULATION
void computeFeasibilityMeasure()
{
const OrdinalType tNumVectors = mCurrentConstraintValues->getNumVectors();
std::vector<ScalarType> tStorage(tNumVectors, static_cast<ScalarType>(0));
for(OrdinalType tVectorIndex = 0; tVectorIndex < tNumVectors; tVectorIndex++)
{
const locus::Vector<ScalarType, OrdinalType> & tMyConstraintValues = mCurrentConstraintValues->operator[](tVectorIndex);
mDualWorkVectorOne->update(static_cast<ScalarType>(1), tMyConstraintValues, static_cast<ScalarType>(0));
mDualWorkVectorOne->modulus();
tStorage[tVectorIndex] = mDualReductions->max(mDualWorkVectorOne.operator*());
}
const ScalarType tInitialValue = 0;
mFeasibilityMeasure = std::accumulate(tStorage.begin(), tStorage.end(), tInitialValue);
}
ScalarType getFeasibilityMeasure() const
{
return (mFeasibilityMeasure);
}
// NOTE: STATIONARITY MEASURE CALCULATION
void computeStationarityMeasure()
{
assert(mInactiveSet.get() != nullptr);
assert(mCurrentControl.get() != nullptr);
assert(mControlLowerBounds.get() != nullptr);
assert(mControlUpperBounds.get() != nullptr);
assert(mCurrentObjectiveGradient.get() != nullptr);
locus::update(static_cast<ScalarType>(1), *mCurrentControl, static_cast<ScalarType>(0), *mControlWorkMultiVector);
locus::update(static_cast<ScalarType>(-1), *mCurrentObjectiveGradient, static_cast<ScalarType>(1), *mControlWorkMultiVector);
locus::bounds::project(*mControlLowerBounds, *mControlUpperBounds, *mControlWorkMultiVector);
locus::update(static_cast<ScalarType>(1), *mCurrentControl, static_cast<ScalarType>(-1), *mControlWorkMultiVector);
locus::update(static_cast<ScalarType>(1), *mControlWorkMultiVector, static_cast<ScalarType>(0), *mTrialStep);
locus::entryWiseProduct(*mInactiveSet, *mControlWorkMultiVector);
mStationarityMeasure = locus::norm(*mControlWorkMultiVector);
}
ScalarType getStationarityMeasure() const
{
return (mStationarityMeasure);
}
/*! Check inexactness in the Karush-Kuhn-Tucker (KKT) conditions (i.e. KKT residual) and compute
* the norm of the KKT residual, where r(x,\lambda) = \{C1, C2, C3, C4\} denotes the residual vector
* and C# denotes the corresponding Condition. The KKT conditions are given by:
*
* Condition 1: \left(1 + x_j\right)\left(\frac{\partial{f}_0}{\partial{x}_j} + \sum_{i=1}^{N_c}
* \lambda_i\frac{\partial{f}_i}{\partial{x}_j}\right)^{+} = 0,\quad{j}=1,\dots,n_x
* Condition 2: \left(1 - x_j\right)\left(\frac{\partial{f}_0}{\partial{x}_j} + \sum_{i=1}^{N_c}
* \lambda_i\frac{\partial{f}_i}{\partial{x}_j}\right)^{-} = 0,\quad{j}=1,\dots,n_x
* Condition 3: f_i(x)^{+} = 0,\quad{i}=1,\dots,N_c
* Condition 4: \lambda_{i}f_i(x)^{-} = 0,\quad{i}=1,\dots,N_c.
*
* The nomenclature is given as follows: x denotes the control vector, \lambda denotes the dual
* vector, N_c is the number of constraints, n_x is the number of controls, f_0 is the objective
* function and f_i is the i-th constraint. Finally, a^{+} = max{0, a} and a^{-} = max{0, −a}.
**/
void computeKarushKuhnTuckerConditionsInexactness(const locus::MultiVector<ScalarType, OrdinalType> & aControl,
const locus::MultiVector<ScalarType, OrdinalType> & aDual)
{
const OrdinalType tVectorIndex = 0;
assert(aDual.getNumVectors() == mDual->getNumVectors());
assert(aDual.getNumVectors() == static_cast<OrdinalType>(1));
assert(aDual[tVectorIndex].size() == mDual->operator[](tVectorIndex).size());
assert(aControl.getNumVectors() == mCurrentControl->getNumVectors());
assert(aControl[tVectorIndex].size() == mCurrentControl->operator[](tVectorIndex).size());
locus::fill(static_cast<ScalarType>(0), mControlWorkMultiVector.operator*());
const locus::Vector<ScalarType, OrdinalType> & tDual = aDual[tVectorIndex];
const OrdinalType tNumConstraints = tDual.size();
for(OrdinalType tConstraintIndex = 0; tConstraintIndex < tNumConstraints; tConstraintIndex++)
{
const locus::MultiVector<ScalarType, OrdinalType> & tConstraintGradients =
mCurrentConstraintGradients->operator[](tConstraintIndex);
locus::update(tDual[tConstraintIndex],
tConstraintGradients,
static_cast<ScalarType>(1),
mControlWorkMultiVector.operator*());
}
ScalarType tConditioneOne = std::numeric_limits<ScalarType>::max();
ScalarType tConditioneTwo = std::numeric_limits<ScalarType>::max();
this->computeConditionsOneAndTwo(aControl, aDual, tConditioneOne, tConditioneTwo);
ScalarType tConditioneThree = std::numeric_limits<ScalarType>::max();
ScalarType tConditioneFour = std::numeric_limits<ScalarType>::max();
this->computeConditionsThreeAndFour(aControl, aDual, tConditioneThree, tConditioneFour);
ScalarType tSum = tConditioneOne + tConditioneTwo + tConditioneThree + tConditioneFour;
mKarushKuhnTuckerConditionsInexactness = (static_cast<ScalarType>(1) / mGlobalNumControls) * std::sqrt(tSum);
}
ScalarType getKarushKuhnTuckerConditionsInexactness() const
{
return (mKarushKuhnTuckerConditionsInexactness);
}
private:
void initialize()
{
const OrdinalType tControlVectorIndex = 0;
mControlWorkVectorOne = mCurrentControl->operator[](tControlVectorIndex).create();
mControlWorkVectorTwo = mCurrentControl->operator[](tControlVectorIndex).create();
locus::fill(static_cast<ScalarType>(0), *mActiveSet);
locus::fill(static_cast<ScalarType>(1), *mInactiveSet);
assert(mDual->getNumVectors() == static_cast<OrdinalType>(1));
const OrdinalType tDualVectorIndex = 0;
mDualWorkVectorOne = mDual->operator[](tDualVectorIndex).create();
mDualWorkVectorTwo = mDual->operator[](tDualVectorIndex).create();
const OrdinalType tNumConstraints = mDual->operator[](tDualVectorIndex).size();
for(OrdinalType tConstraintIndex = 0; tConstraintIndex < tNumConstraints; tConstraintIndex++)
{
mCurrentConstraintGradients->add(mCurrentControl.operator*());
}
ScalarType tScalarValue = std::numeric_limits<ScalarType>::max();
locus::fill(tScalarValue, *mControlUpperBounds);
tScalarValue = -std::numeric_limits<ScalarType>::max();
locus::fill(tScalarValue, *mControlLowerBounds);
tScalarValue = 1;
locus::fill(tScalarValue, mConstraintGlobalizationFactors.operator*());
const size_t tNumElements = 1;
locus::StandardVector<double> tVector(tNumElements);
const size_t tVectorIndex = 0;
tVector[0] = mCurrentControl->operator[](tVectorIndex).size();
mGlobalNumControls = mControlReductions->sum(tVector);
}
/*!
* Compute the following Karush-Kuhn-Tucker (KKT) conditions:
*
* Condition 3: f_i(x)^{+} = 0,\quad{i}=1,\dots,N_c
* Condition 4: \lambda_{i}f_i(x)^{-} = 0,\quad{i}=1,\dots,N_c.
*
* where the nomenclature is given as follows: \lambda denotes the dual vector, N_c is the
* number of constraints, n_x is the number of controls and f_i is the i-th constraint.
* Finally, a^{+} = max{0, a} and a^{-} = max{0, −a}.
**/
void computeConditionsOneAndTwo(const locus::MultiVector<ScalarType, OrdinalType> & aControl,
const locus::MultiVector<ScalarType, OrdinalType> & aDual,
ScalarType & aConditionOne,
ScalarType & aConditionTwo)
{
const OrdinalType tNumControlVectors = aControl.getNumVectors();
std::vector<ScalarType> tStorageOne(tNumControlVectors, static_cast<ScalarType>(0));
std::vector<ScalarType> tStorageTwo(tNumControlVectors, static_cast<ScalarType>(0));
for(OrdinalType tVectorIndex = 0; tVectorIndex < tNumControlVectors; tVectorIndex++)
{
locus::Vector<ScalarType, OrdinalType> & tWorkOne = mControlWorkVectorOne.operator*();
locus::Vector<ScalarType, OrdinalType> & tWorkTwo = mControlWorkVectorTwo.operator*();
const locus::Vector<ScalarType, OrdinalType> & tControl = aControl[tVectorIndex];
const locus::Vector<ScalarType, OrdinalType> & tObjectiveGradient =
mCurrentObjectiveGradient->operator[](tVectorIndex);
const locus::Vector<ScalarType, OrdinalType> & tConstraintGradientTimesDual =
mControlWorkMultiVector->operator[](tVectorIndex);
const OrdinalType tNumControls = tControl.size();
for(OrdinalType tControlIndex = 0; tControlIndex < tNumControls; tControlIndex++)
{
tWorkOne[tControlIndex] = tObjectiveGradient[tControlIndex] + tConstraintGradientTimesDual[tControlIndex];
tWorkOne[tControlIndex] = std::max(static_cast<ScalarType>(0), tWorkOne[tControlIndex]);
tWorkOne[tControlIndex] = (static_cast<ScalarType>(1) + tControl[tControlIndex]) * tWorkOne[tControlIndex];
tWorkOne[tControlIndex] = tWorkOne[tControlIndex] * tWorkOne[tControlIndex];
tWorkTwo[tControlIndex] = tObjectiveGradient[tControlIndex] + tConstraintGradientTimesDual[tControlIndex];
tWorkTwo[tControlIndex] = std::max(static_cast<ScalarType>(0), -tWorkTwo[tControlIndex]);
tWorkTwo[tControlIndex] = (static_cast<ScalarType>(1) - tControl[tControlIndex]) * tWorkTwo[tControlIndex];
tWorkTwo[tControlIndex] = tWorkTwo[tControlIndex] * tWorkTwo[tControlIndex];
}
tStorageOne[tVectorIndex] = mControlReductions->sum(tWorkOne);
tStorageTwo[tVectorIndex] = mControlReductions->sum(tWorkTwo);
}
const ScalarType tInitialValue = 0;
aConditionOne = std::accumulate(tStorageOne.begin(), tStorageOne.end(), tInitialValue);
aConditionTwo = std::accumulate(tStorageTwo.begin(), tStorageTwo.end(), tInitialValue);
}
/*!
* Compute the following Karush-Kuhn-Tucker (KKT) conditions:
*
* Condition 1: \left(1 + x_j\right)\left(\frac{\partial{f}_0}{\partial{x}_j} + \sum_{i=1}^{N_c}
* \lambda_i\frac{\partial{f}_i}{\partial{x}_j}\right)^{+} = 0,\quad{j}=1,\dots,n_x
* Condition 2: \left(1 - x_j\right)\left(\frac{\partial{f}_0}{\partial{x}_j} + \sum_{i=1}^{N_c}
* \lambda_i\frac{\partial{f}_i}{\partial{x}_j}\right)^{-} = 0,\quad{j}=1,\dots,n_x,
*
* where the nomenclature is given as follows: x denotes the control vector, \lambda denotes
* the dual vector, N_c is the number of constraints, n_x is the number of controls, f_0 is
* the objective function and f_i is the i-th constraint. Finally, a^{+} = max{0, a} and a^{-}
* = max{0, −a}.
**/
void computeConditionsThreeAndFour(const locus::MultiVector<ScalarType, OrdinalType> & aControl,
const locus::MultiVector<ScalarType, OrdinalType> & aDual,
ScalarType & aConditionThree,
ScalarType & aConditionFour)
{
const OrdinalType tNumDualVectors = aDual.getNumVectors();
std::vector<ScalarType> tStorageOne(tNumDualVectors, static_cast<ScalarType>(0));
std::vector<ScalarType> tStorageTwo(tNumDualVectors, static_cast<ScalarType>(0));
for(OrdinalType tVectorIndex = 0; tVectorIndex < tNumDualVectors; tVectorIndex++)
{
locus::Vector<ScalarType, OrdinalType> & tWorkOne = mDualWorkVectorOne.operator*();
locus::Vector<ScalarType, OrdinalType> & tWorkTwo = mDualWorkVectorTwo.operator*();
const locus::Vector<ScalarType, OrdinalType> & tDual = aDual[tVectorIndex];
const locus::Vector<ScalarType, OrdinalType> & tConstraintValues =
mCurrentConstraintValues->operator[](tVectorIndex);
const OrdinalType tNumConstraints = tDual.size();
for(OrdinalType tConstraintIndex = 0; tConstraintIndex < tNumConstraints; tConstraintIndex++)
{
tWorkOne[tConstraintIndex] = std::max(static_cast<ScalarType>(0), tConstraintValues[tConstraintIndex]);
tWorkOne[tConstraintIndex] = tWorkOne[tConstraintIndex] * tWorkOne[tConstraintIndex];
tWorkTwo[tConstraintIndex] = tDual[tConstraintIndex]
* std::max(static_cast<ScalarType>(0), -tConstraintValues[tConstraintIndex]);
tWorkTwo[tConstraintIndex] = tWorkTwo[tConstraintIndex] * tWorkTwo[tConstraintIndex];
}
tStorageOne[tVectorIndex] = mDualReductions->sum(tWorkOne);
tStorageTwo[tVectorIndex] = mDualReductions->sum(tWorkTwo);
}
const ScalarType tInitialValue = 0;
aConditionThree = std::accumulate(tStorageOne.begin(), tStorageOne.end(), tInitialValue);
aConditionFour = std::accumulate(tStorageTwo.begin(), tStorageTwo.end(), tInitialValue);
}
private:
bool mIsInitialGuessSet;
ScalarType mGlobalNumControls;
ScalarType mStagnationMeasure;
ScalarType mFeasibilityMeasure;
ScalarType mStationarityMeasure;
ScalarType mNormInactiveGradient;
ScalarType mObjectiveStagnationMeasure;
ScalarType mDualProblemBoundsScaleFactor;
ScalarType mCurrentObjectiveFunctionValue;
ScalarType mPreviousObjectiveFunctionValue;
ScalarType mDualObjectiveGlobalizationFactor;
ScalarType mKarushKuhnTuckerConditionsInexactness;
std::shared_ptr<locus::Vector<ScalarType, OrdinalType>> mDualWorkVectorOne;
std::shared_ptr<locus::Vector<ScalarType, OrdinalType>> mDualWorkVectorTwo;
std::shared_ptr<locus::Vector<ScalarType, OrdinalType>> mControlWorkVectorOne;
std::shared_ptr<locus::Vector<ScalarType, OrdinalType>> mControlWorkVectorTwo;
std::shared_ptr<locus::MultiVector<ScalarType, OrdinalType>> mDual;
std::shared_ptr<locus::MultiVector<ScalarType, OrdinalType>> mTrialStep;
std::shared_ptr<locus::MultiVector<ScalarType, OrdinalType>> mActiveSet;
std::shared_ptr<locus::MultiVector<ScalarType, OrdinalType>> mInactiveSet;
std::shared_ptr<locus::MultiVector<ScalarType, OrdinalType>> mCurrentSigma;
std::shared_ptr<locus::MultiVector<ScalarType, OrdinalType>> mCurrentControl;
std::shared_ptr<locus::MultiVector<ScalarType, OrdinalType>> mPreviousControl;
std::shared_ptr<locus::MultiVector<ScalarType, OrdinalType>> mControlLowerBounds;
std::shared_ptr<locus::MultiVector<ScalarType, OrdinalType>> mControlUpperBounds;
std::shared_ptr<locus::MultiVector<ScalarType, OrdinalType>> mControlWorkMultiVector;
std::shared_ptr<locus::MultiVector<ScalarType, OrdinalType>> mCurrentConstraintValues;
std::shared_ptr<locus::MultiVector<ScalarType, OrdinalType>> mCurrentObjectiveGradient;
std::shared_ptr<locus::MultiVector<ScalarType, OrdinalType>> mConstraintGlobalizationFactors;
std::shared_ptr<locus::ReductionOperations<ScalarType, OrdinalType>> mDualReductions;
std::shared_ptr<locus::ReductionOperations<ScalarType, OrdinalType>> mControlReductions;
std::shared_ptr<locus::MultiVectorList<ScalarType, OrdinalType>> mCurrentConstraintGradients;
private:
ConservativeConvexSeparableAppxDataMng(const locus::ConservativeConvexSeparableAppxDataMng<ScalarType, OrdinalType> & aRhs);
locus::ConservativeConvexSeparableAppxDataMng<ScalarType, OrdinalType> & operator=(const locus::ConservativeConvexSeparableAppxDataMng<ScalarType, OrdinalType> & aRhs);
};
} // namespace locus
#endif /* LOCUS_CONSERVATIVECONVEXSEPARABLEAPPXDATAMNG_HPP_ */
| [
"aguilo.miguel@gmail.com"
] | aguilo.miguel@gmail.com |
1beb5bc254ae4708be986fb74002e90235220fd0 | aa26e2411c5ffff137d8bfe38067651008556f74 | /Framework/SDLFramework/SDLFramework/ManagerWanderState.cpp | e64d102ffc31164f013c882d0a952cec0464701e | [] | no_license | Roel1l/KMINT | d4d3701f1c2649341e8875d0bd3a79d1a7fbb8db | 6ee7c34ffcb813e0a112061da327b4d168e5e1ce | refs/heads/master | 2021-09-18T14:20:23.517508 | 2018-04-07T11:23:36 | 2018-04-07T11:23:36 | 125,130,980 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,091 | cpp | #include "ManagerWanderState.h"
ManagerWanderState::~ManagerWanderState()
{
}
void ManagerWanderState::Update(float deltaTime)
{
}
void ManagerWanderState::move()
{
// If there's no path to walk choose random path to walk
if (manager->path.size() <= 0) {
int random = generateRandom(0, manager->map->walkableTileIndexes.size() - 1);
Tile* target = manager->map->getTile(std::get<0>(manager->map->walkableTileIndexes[random]), std::get<1>(manager->map->walkableTileIndexes[random]));
manager->path = manager->map->findPath(manager->currentTile, target);
}
// Moving 1 step
if (manager->path.size() > 0) {
manager->currentTile = manager->path[0];
manager->path.erase(manager->path.begin());
manager->wait = manager->currentTile->weight();
}
//Check if an artist needs help
for each(Artist* artist in manager->artists) {
if (artist->doesArtistNeedMoney()) {
artist->stateChange = ARTIST_STATE_CHANGE::MANAGER_IS_COMING;
manager->stateChange = MANAGER_STATE_CHANGE::GO_TO_ARTIST;
manager->artistToVisit = artist;
manager->path.clear();
break;
}
}
}
| [
"raa.guerand@student.avans.nl"
] | raa.guerand@student.avans.nl |
119a20a73b2b448aace9d27821f214b0a442ed80 | c0848635afd521f83311b984597540f6c962bd4c | /GLpro/GLpro/origin/LockOrderChecker.h | fb5c0a6d1219b8ba62e410974ba170e31565dac1 | [] | no_license | bluecri/GLProj2 | 3024db28ad1cc5eef2b23b383d8266b3b077b137 | bf2b2710104724e0619d7803491570a28d1bcfd3 | refs/heads/master | 2021-04-09T17:09:18.189207 | 2018-10-19T17:04:47 | 2018-10-19T17:04:47 | 125,709,047 | 0 | 0 | null | 2018-10-19T17:04:48 | 2018-03-18T09:19:16 | C++ | UTF-8 | C++ | false | false | 298 | h | #pragma once
class FastSpinlock;
class LockOrderChecker
{
public:
LockOrderChecker(int tid);
void Push(FastSpinlock* lock);
void Pop(FastSpinlock* lock);
private:
enum
{
MAX_LOCK_DEPTH = 32
};
int mWorkerThreadId;
int mStackTopPos;
FastSpinlock* mLockStack[MAX_LOCK_DEPTH];
}; | [
"kjy_1234567@naver.com"
] | kjy_1234567@naver.com |
6f9e8c4b81a5942b048e27484e2da810d9e1f37f | b8499de1a793500b47f36e85828f997e3954e570 | /v2_3/build/Android/Debug/app/src/main/include/Fuse.Animations.Trans-1cbe36aa.h | c1bb5420ce7f668f07e511f81775dde64ef4a00b | [] | no_license | shrivaibhav/boysinbits | 37ccb707340a14f31bd57ea92b7b7ddc4859e989 | 04bb707691587b253abaac064317715adb9a9fe5 | refs/heads/master | 2020-03-24T05:22:21.998732 | 2018-07-26T20:06:00 | 2018-07-26T20:06:00 | 142,485,250 | 0 | 0 | null | 2018-07-26T20:03:22 | 2018-07-26T19:30:12 | C++ | UTF-8 | C++ | false | false | 2,105 | h | // This file was generated based on C:/Users/Vaibhav/AppData/Local/Fusetools/Packages/Fuse.Animations/1.9.0/TransformAnimator.uno.
// WARNING: Changes might be lost if you edit this file directly.
#pragma once
#include <Fuse.Animations.Track-26653137.h>
namespace g{namespace Fuse{namespace Animations{struct CreateStateParams;}}}
namespace g{namespace Fuse{namespace Animations{struct TransformAnimator;}}}
namespace g{namespace Fuse{namespace Animations{struct TransformAnimatorState;}}}
namespace g{namespace Fuse{struct Transform;}}
namespace g{namespace Uno{struct Float4;}}
namespace g{
namespace Fuse{
namespace Animations{
// internal sealed class TransformAnimatorState<TransformType> :132
// {
::g::Fuse::Animations::TrackAnimatorState_type* TransformAnimatorState_typeof();
void TransformAnimatorState__ctor_2_fn(TransformAnimatorState* __this, ::g::Fuse::Animations::TransformAnimator* animator, ::g::Fuse::Animations::CreateStateParams* p);
void TransformAnimatorState__Disable_fn(TransformAnimatorState* __this);
void TransformAnimatorState__New1_fn(uType* __type, ::g::Fuse::Animations::TransformAnimator* animator, ::g::Fuse::Animations::CreateStateParams* p, TransformAnimatorState** __retval);
void TransformAnimatorState__OnMatrixChanged_fn(TransformAnimatorState* __this, ::g::Fuse::Transform* ignore);
void TransformAnimatorState__SeekValue_fn(TransformAnimatorState* __this, ::g::Uno::Float4* value, float* strength);
struct TransformAnimatorState : ::g::Fuse::Animations::TrackAnimatorState
{
uStrong< ::g::Fuse::Animations::TransformAnimator*> Animator1;
uStrong<uObject*> mixHandle;
uStrong< ::g::Fuse::Transform*> transform;
uStrong<uDelegate*> _matAct;
float _lastStrength;
bool _inSeek;
void ctor_2(::g::Fuse::Animations::TransformAnimator* animator, ::g::Fuse::Animations::CreateStateParams* p);
void OnMatrixChanged(::g::Fuse::Transform* ignore);
static TransformAnimatorState* New1(uType* __type, ::g::Fuse::Animations::TransformAnimator* animator, ::g::Fuse::Animations::CreateStateParams* p);
};
// }
}}} // ::g::Fuse::Animations
| [
"shubhamanandoist@gmail.com"
] | shubhamanandoist@gmail.com |
0700a2b59dc26c3814912498f3561a24ab01b5ee | 2cf5dadd5fe8f18d6b7a107f3566913698f3f3e1 | /系统模块/游戏组件/06.百人水果转转/游戏客户端/RecordGameList.cpp | 2fd3eb54a0e0a0a0ce9bfb1bae3e243e290be17e | [] | no_license | xiaokaixuan/qipai-game | 319a5af77a490daf4c825ca7f54bc0b0bbf5c1a0 | fce39d8192c1ea037ff34abec3d6074d56071934 | refs/heads/master | 2021-01-13T16:23:13.757533 | 2012-06-11T10:53:16 | 2012-06-11T10:53:16 | 54,963,680 | 1 | 0 | null | 2016-03-29T09:35:54 | 2016-03-29T09:35:53 | null | GB18030 | C++ | false | false | 3,143 | cpp | #include "StdAfx.h"
#include "RecordGameList.h"
//构造函数
CGameRecord::CGameRecord()
{
for( int i=0; i<MAX_SCORE_HISTORY; i++ )
{
m_RecordArray[i].cbGameRecord = 0xFF;
m_RecordArray[i].cbGameTimes = -1;
}
m_nRecordCount = 0;
m_nReadPos = 0;
m_nWritePos = 0;
}
//析构函数
CGameRecord::~CGameRecord()
{
}
//插入列表
void CGameRecord::FillGameRecord(tagGameRecord * pGameRecord, int nRecordNum)
{
for( int i=0; i< nRecordNum; i++ )
{
bool bRepeat = false;
for(int j=0; j<m_nRecordCount; j++ )
{
//如果存在重复记录信息,则跳过,检查下一个新记录
if( m_RecordArray[j].cbGameTimes == pGameRecord[i].cbGameTimes )
{
bRepeat = true;
break;
}
}
if( !bRepeat ) //如果不重复,则把当前新记录插入
{
m_nWritePos = (m_nWritePos)%MAX_SCORE_HISTORY;
tagGameRecord & newRecord = m_RecordArray[m_nWritePos];
newRecord.cbGameTimes = pGameRecord[i].cbGameTimes;
newRecord.cbGameRecord = pGameRecord[i].cbGameRecord;
if( m_nRecordCount < RECORD_COUNT_LIMIT)
m_nRecordCount++;
if( m_nRecordCount<MAX_SCORE_HISTORY)
{
m_nReadPos = m_nWritePos;
}
m_nWritePos++;
}
}
return;
}
void CGameRecord::ShowHistory(CDC * pDC, CSkinImage skinImage, CRect * pRectArray, int nRectCount)
{
if( pDC == NULL || pRectArray == NULL || nRectCount<=0 )
return;
BYTE cbRecord = 0;
CImageHandle ImageRecordHandle(&skinImage);
int nRecordWidth = skinImage.GetWidth()/8;
int nShowCount = (m_nRecordCount >= MAX_SHOW_HISTORY ? MAX_SHOW_HISTORY:m_nRecordCount);
int k = nShowCount-1;
int nCurIndex = 0;
for( int i=0; i<nShowCount; i++)
{
//取得当前历史记录代表的动物图案
nCurIndex = (m_nReadPos - i + MAX_SCORE_HISTORY)%MAX_SCORE_HISTORY;
cbRecord = m_RecordArray[nCurIndex].cbGameRecord;
cbRecord = cbRecord % MAX_SHOW_HISTORY;
skinImage.BitBlt(pDC->GetSafeHdc(), pRectArray[k].left, pRectArray[k].top, nRecordWidth, skinImage.GetHeight(), cbRecord*nRecordWidth, 0);
k--;
}
}
void CGameRecord::ClearAllRecord()
{
for( int i=0; i<MAX_SCORE_HISTORY; i++ )
{
m_RecordArray[i].cbGameRecord = 0xFF;
m_RecordArray[i].cbGameTimes = -1;
}
m_nRecordCount = 0;
m_nReadPos = 0;
}
int CGameRecord::ScrollLeft()
{
int nTemp = 0;
if(m_nRecordCount <= MAX_SCORE_HISTORY )
{
nTemp = m_nReadPos-MAX_SHOW_HISTORY;
if( nTemp >=0 )
{
m_nReadPos -= 1;
return m_nReadPos;
}
else
return -1;
}
else
{
nTemp = (m_nReadPos-MAX_SHOW_HISTORY+MAX_SCORE_HISTORY)%MAX_SCORE_HISTORY;
if(nTemp != (m_nWritePos-1)%MAX_SCORE_HISTORY)
{
m_nReadPos = (m_nReadPos-1+MAX_SCORE_HISTORY)%MAX_SCORE_HISTORY;
return m_nReadPos;
}
else
{
return -1;
}
}
}
int CGameRecord::ScrollRight()
{
if( m_nReadPos != m_nWritePos-1 )
{
m_nReadPos = (m_nReadPos+1)%MAX_SCORE_HISTORY;
return m_nReadPos;
}
else
{
//表示已经移动到最后面,即最新的一个记录
return -1;
}
}
//////////////////////////////////////////////////////////////////////////
| [
"pybmfc@gmail.com"
] | pybmfc@gmail.com |
9ce8f2af8827e8b31bd6135667596e2abc60c554 | 7f8a4d61cc53dcdd2a968d8eee034e033a02ca86 | /src/World.cpp | 7fef6ffc27671177da6ba0618caa951aba047f63 | [] | no_license | AleeMD44/ShootingUnicorns_TJE2020 | 1bdc3d13e9356d9518b755ff0478234c0efe44be | 0b02a76dcc7a5e71668d0ec5639ce6a33928c26d | refs/heads/main | 2023-03-22T00:24:13.887619 | 2021-03-11T19:30:46 | 2021-03-11T19:30:46 | 346,814,994 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 63 | cpp | #include "World.h"
World::World() {
player = new Sprite();
}
| [
"99.alejandro.md@gmail.com"
] | 99.alejandro.md@gmail.com |
8857f36c2a83e6d21d46c717d4a0661e8ab6b299 | c6c81a4953cc49016bda8ad863e27e029bfed052 | /wikioi/1040 统计单词个数/Run_513128_Score_60_Date_2014-03-19.cpp | 17b1cd90510ee13c340a66d47888b80583e98b55 | [] | no_license | jay2013/NOI_ACM | 50f8c9582946536f6050e1f645ae57cd19c8447b | 749d82a1e61a6cd2a34d13d6cc65fa87f91626e3 | refs/heads/master | 2016-09-10T10:00:33.747933 | 2014-07-07T02:19:07 | 2014-07-07T02:19:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,209 | cpp | #include<stdio.h>
#include<string.h>
int n,p,k,s,len,i,j,pos,cnt,t;
char su[30],dic[8][40],str[300];
int dp[300][50],x[300][300];
int max(int a,int b)
{
return a>b?a:b;
}
void init_x()
{
memset(x,0,sizeof(x));
x[len][len]=0;
for(t=0;t<s;t++)
{
if(strlen(dic[t])==1&&dic[t][0]==str[len-1])x[len][len]++;
}
for(i=len-1; i>0; i--)
{
for(j=i; j<=len; j++)
{
if(j<i)break;
cnt=0;
for(t=0; t<s; t++)
{
int tmplen = strlen(dic[t]);
if(tmplen>(j-i+1))break;
else
{
int flag = 1;
for(int tt=0; tt<tmplen; tt++)
{
if(dic[t][tt]!=str[i+tt-1])
{
flag = 0;
break;
}
}
if(flag==1)cnt++;
}
}
x[i][j]=x[i+1][j]+cnt;
}
}
}
void init_dp()
{
memset(dp,0,sizeof(dp));
for(i=1;i<=len;i++)dp[i][1]=x[1][i];
for(i=1; i<=len; i++)
{
for(j=2; j<=k; j++)
{
if(j>i)
{
dp[i][j]=0;
break;
}
else if(j==i)
{
dp[i][j]=0;
for(t=1;t<=i;t++)dp[i][j]+=x[t][t];
}
else
{
dp[i][j]=0;
for(t=1; t<i; t++)
dp[i][j]=max(dp[i][j],dp[t][j-1]+x[t+1][i]);
}
}
}
}
int main()
{
scanf("%d",&n);
while(n--)
{
scanf("%d %d",&p,&k);
pos=0;
for(i=0; i<p; i++)
{
scanf("%s",su);
for(j=0; j<20; j++)
{
str[pos++]=su[j];
}
}
str[pos]='\0';
len = 20*p;
scanf("%d",&s);
for(i=0; i<s; i++)scanf("%s",dic[i]);
init_x();
init_dp();
printf("%d\n",dp[len][k]);
}
return 0;
}
| [
"hdjay@mail.bnu.edu.cn"
] | hdjay@mail.bnu.edu.cn |
dac911fb6c776887d533cc0d7b429f3512175443 | e104892af303d85c5e661d099b500dc1e35b882d | /Sample17_2/app/src/main/cpp/util/LoadUtil.cpp | 59524766ea9621de38ca2d32949135f1bfb88137 | [
"Unlicense"
] | permissive | siwangqishiq/Vulkan_Develpment_Samples | 624900dabaca75c9ad21ef5a1ee5af6709dcc9a8 | 409c973e0b37086c854cde07b1e620c3d8d9f15d | refs/heads/master | 2023-08-16T04:13:54.777841 | 2021-10-14T06:53:11 | 2021-10-14T06:53:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,964 | cpp | #include "LoadUtil.h"
#include <iostream>
#include <string>
#include <string.h>
#include <math.h>
#include <vector>
#include <map>
#include <set>
#include <fstream>
#include <sstream>
#include <stdlib.h>
#include "../bndev/mylog.h"
#include <vulkan/vulkan.h>
#include "FileUtil.h"
using namespace std;
size_t splitString(const string& strSrc, const string& strDelims, vector<string>& strDest)
{
string delims = strDelims;
string STR;
if(delims.empty()) delims = " **";
string::size_type pos=0;
string::size_type LEN = strSrc.size();
while(pos < LEN ){
STR="";
while( (delims.find(strSrc[pos]) != std::string::npos) && (pos < LEN) )
{
++pos;
}
if(pos==LEN) {
return strDest.size();
}
while( (delims.find(strSrc[pos]) == std::string::npos) && (pos < LEN) )
{
STR += strSrc[pos++];
}
if( ! STR.empty() )
{
strDest.push_back(STR);
}
}
return strDest.size();
}
bool tryParseDouble(const char *s, const char *s_end, double *result)
{
if (s >= s_end)
{
return false;
}
double mantissa = 0.0;
int exponent = 0;
char sign = '+';
char exp_sign = '+';
char const *curr = s;
int read = 0;
bool end_not_reached = false;
if (*curr == '+' || *curr == '-')
{
sign = *curr;
curr++;
}
else if (isdigit(*curr)) { /* Pass through. */ }
else
{
goto fail;
}
while ((end_not_reached = (curr != s_end)) && isdigit(*curr))
{
mantissa *= 10;
mantissa += static_cast<int>(*curr - 0x30);
curr++; read++;
}
if (read == 0)
goto fail;
if (!end_not_reached)
goto assemble;
if (*curr == '.')
{
curr++;
read = 1;
while ((end_not_reached = (curr != s_end)) && isdigit(*curr))
{
mantissa += static_cast<int>(*curr - 0x30) * pow(10.0, -read);
read++; curr++;
}
}
else if (*curr == 'e' || *curr == 'E') {}
else
{
goto assemble;
}
if (!end_not_reached)
goto assemble;
if (*curr == 'e' || *curr == 'E')
{
curr++;
if ((end_not_reached = (curr != s_end)) && (*curr == '+' || *curr == '-'))
{
exp_sign = *curr;
curr++;
}
else if (isdigit(*curr)) { /* Pass through. */ }
else
{
goto fail;
}
read = 0;
while ((end_not_reached = (curr != s_end)) && isdigit(*curr))
{
exponent *= 10;
exponent += static_cast<int>(*curr - 0x30);
curr++; read++;
}
exponent *= (exp_sign == '+'? 1 : -1);
if (read == 0)
goto fail;
}
assemble:
*result = (sign == '+'? 1 : -1) * ldexp(mantissa * pow(5.0, exponent), exponent);
return true;
fail:
return false;
}
float parseFloat(const char* token)
{
token += strspn(token, " \t");
#ifdef TINY_OBJ_LOADER_OLD_FLOAT_PARSER
float f = atof(token);
#else
const char *end = token + strcspn(token, " \t\r");
double val = 0.0;
tryParseDouble(token, end, &val);
float f = static_cast<float>(val);
#endif
return f;
}
int parseInt(const char *token) {
token += strspn(token, " \t");
int i = atoi(token);
return i;
}
ObjObject* LoadUtil::loadFromFile(const string& vname,VkDevice& device,VkPhysicalDeviceMemoryProperties& memoryroperties){
ObjObject * lo;
vector<float> alv;
vector<float> alvResult;
vector<float> alt;
vector<float> altResult;
vector<float> aln;
vector<float>alnResult;
std::string resultStr=FileUtil::loadAssetStr(vname);
vector<string> lines;
splitString(resultStr, "\n", lines);
vector<string> splitStrs;
vector<string> splitStrsF;
string tempContents;
for(int i=0;i<lines.size();i++)
{
tempContents=lines[i];
if(tempContents.compare("")==0)
{
continue;
}
string delims ="[ ]+";
splitStrs.clear();
splitString(tempContents,delims, splitStrs);
if(splitStrs[0]=="v")
{
alv.push_back(parseFloat(splitStrs[1].c_str()));
alv.push_back(parseFloat(splitStrs[2].c_str()));
alv.push_back(parseFloat(splitStrs[3].c_str()));
}
else if(splitStrs[0]=="vt")
{
alt.push_back(parseFloat(splitStrs[1].c_str()));
alt.push_back(1-parseFloat(splitStrs[2].c_str()));
}
else if(splitStrs[0]=="vn")
{
aln.push_back(parseFloat(splitStrs[1].c_str()));
aln.push_back(parseFloat(splitStrs[2].c_str()));
aln.push_back(parseFloat(splitStrs[3].c_str()));
}else if(splitStrs[0]=="f")
{
int index[3];
string delimsF ="/";
splitStrsF.clear();
splitString(splitStrs[1].c_str(),delimsF,splitStrsF);
index[0]=parseInt(splitStrsF[0].c_str())-1;
alvResult.push_back(alv[3*index[0]]);
alvResult.push_back(alv[3*index[0]+1]);
alvResult.push_back(alv[3*index[0]+2]);
int indexTex=parseInt(splitStrsF[1].c_str())-1;
altResult.push_back(alt[indexTex*2]);
altResult.push_back(alt[indexTex*2+1]);
int indexN=parseInt(splitStrsF[2].c_str())-1;
alnResult.push_back(aln[3*indexN]);
alnResult.push_back(aln[3*indexN+1]);
alnResult.push_back(aln[3*indexN+2]);
splitStrsF.clear();
splitString(splitStrs[2].c_str(),delimsF,splitStrsF);
index[1]=parseInt(splitStrsF[0].c_str())-1;
alvResult.push_back(alv[3*index[1]]);
alvResult.push_back(alv[3*index[1]+1]);
alvResult.push_back(alv[3*index[1]+2]);
indexTex=parseInt(splitStrsF[1].c_str())-1;
altResult.push_back(alt[indexTex*2]);
altResult.push_back(alt[indexTex*2+1]);
indexN=parseInt(splitStrsF[2].c_str())-1;
alnResult.push_back(aln[3*indexN]);
alnResult.push_back(aln[3*indexN+1]);
alnResult.push_back(aln[3*indexN+2]);
splitStrsF.clear();
splitString(splitStrs[3].c_str(),delimsF,splitStrsF);
index[2]=parseInt(splitStrsF[0].c_str())-1;
alvResult.push_back(alv[3*index[2]]);
alvResult.push_back(alv[3*index[2]+1]);
alvResult.push_back(alv[3*index[2]+2]);
indexTex=parseInt(splitStrsF[1].c_str())-1;
altResult.push_back(alt[indexTex*2]);
altResult.push_back(alt[indexTex*2+1]);
indexN=parseInt(splitStrsF[2].c_str())-1;
alnResult.push_back(aln[3*indexN]);
alnResult.push_back(aln[3*indexN+1]);
alnResult.push_back(aln[3*indexN+2]);
}
splitStrs.clear();
}
int vCount=(int)alvResult.size()/3;
int dataByteCount=vCount*8*sizeof(float);
float* vdataIn=new float[vCount*8];
int indexTemp=0;
for(int i=0;i<vCount;i++){
vdataIn[indexTemp++]=alvResult[i*3+0];
vdataIn[indexTemp++]=alvResult[i*3+1];
vdataIn[indexTemp++]=alvResult[i*3+2];
vdataIn[indexTemp++]=altResult[i*2+0];
vdataIn[indexTemp++]=altResult[i*2+1];
vdataIn[indexTemp++]=alnResult[i*3+0];
vdataIn[indexTemp++]=alnResult[i*3+1];
vdataIn[indexTemp++]=alnResult[i*3+2];
}
lo=new ObjObject(vdataIn,dataByteCount,vCount,device, memoryroperties);
return lo;
}
ObjObjectQiu* LoadUtil::loadFromFileQiu(const string& vname,VkDevice& device,VkPhysicalDeviceMemoryProperties& memoryroperties){
ObjObjectQiu * lo;
vector<float> alv;
vector<float> alvResult;
vector<float> alt;
vector<float> altResult;
vector<float> aln;
vector<float>alnResult;
std::string resultStr=FileUtil::loadAssetStr(vname);
vector<string> lines;
splitString(resultStr, "\n", lines);
vector<string> splitStrs;
vector<string> splitStrsF;
string tempContents;
for(int i=0;i<lines.size();i++)
{
tempContents=lines[i];
if(tempContents.compare("")==0)
{
continue;
}
string delims ="[ ]+";
splitStrs.clear();
splitString(tempContents,delims, splitStrs);
if(splitStrs[0]=="v")
{
alv.push_back(parseFloat(splitStrs[1].c_str()));
alv.push_back(parseFloat(splitStrs[2].c_str()));
alv.push_back(parseFloat(splitStrs[3].c_str()));
}
else if(splitStrs[0]=="vt")
{
alt.push_back(parseFloat(splitStrs[1].c_str()));
alt.push_back(1-parseFloat(splitStrs[2].c_str()));
}
else if(splitStrs[0]=="vn")
{
aln.push_back(parseFloat(splitStrs[1].c_str()));
aln.push_back(parseFloat(splitStrs[2].c_str()));
aln.push_back(parseFloat(splitStrs[3].c_str()));
}else if(splitStrs[0]=="f")
{
int index[3];
string delimsF ="/";
splitStrsF.clear();
splitString(splitStrs[1].c_str(),delimsF,splitStrsF);
index[0]=parseInt(splitStrsF[0].c_str())-1;
alvResult.push_back(alv[3*index[0]]);
alvResult.push_back(alv[3*index[0]+1]);
alvResult.push_back(alv[3*index[0]+2]);
int indexTex=parseInt(splitStrsF[1].c_str())-1;
altResult.push_back(alt[indexTex*2]);
altResult.push_back(alt[indexTex*2+1]);
int indexN=parseInt(splitStrsF[2].c_str())-1;
alnResult.push_back(aln[3*indexN]);
alnResult.push_back(aln[3*indexN+1]);
alnResult.push_back(aln[3*indexN+2]);
splitStrsF.clear();
splitString(splitStrs[2].c_str(),delimsF,splitStrsF);
index[1]=parseInt(splitStrsF[0].c_str())-1;
alvResult.push_back(alv[3*index[1]]);
alvResult.push_back(alv[3*index[1]+1]);
alvResult.push_back(alv[3*index[1]+2]);
indexTex=parseInt(splitStrsF[1].c_str())-1;
altResult.push_back(alt[indexTex*2]);
altResult.push_back(alt[indexTex*2+1]);
indexN=parseInt(splitStrsF[2].c_str())-1;
alnResult.push_back(aln[3*indexN]);
alnResult.push_back(aln[3*indexN+1]);
alnResult.push_back(aln[3*indexN+2]);
splitStrsF.clear();
splitString(splitStrs[3].c_str(),delimsF,splitStrsF);
index[2]=parseInt(splitStrsF[0].c_str())-1;
alvResult.push_back(alv[3*index[2]]);
alvResult.push_back(alv[3*index[2]+1]);
alvResult.push_back(alv[3*index[2]+2]);
indexTex=parseInt(splitStrsF[1].c_str())-1;
altResult.push_back(alt[indexTex*2]);
altResult.push_back(alt[indexTex*2+1]);
indexN=parseInt(splitStrsF[2].c_str())-1;
alnResult.push_back(aln[3*indexN]);
alnResult.push_back(aln[3*indexN+1]);
alnResult.push_back(aln[3*indexN+2]);
}
splitStrs.clear();
}
int vCount=(int)alvResult.size()/3;
int dataByteCount=vCount*8*sizeof(float);
float* vdataIn=new float[vCount*8];
int indexTemp=0;
for(int i=0;i<vCount;i++){
vdataIn[indexTemp++]=alvResult[i*3+0];
vdataIn[indexTemp++]=alvResult[i*3+1];
vdataIn[indexTemp++]=alvResult[i*3+2];
vdataIn[indexTemp++]=altResult[i*2+0];
vdataIn[indexTemp++]=altResult[i*2+1];
vdataIn[indexTemp++]=alnResult[i*3+0];
vdataIn[indexTemp++]=alnResult[i*3+1];
vdataIn[indexTemp++]=alnResult[i*3+2];
}
lo=new ObjObjectQiu(vdataIn,dataByteCount,vCount,device, memoryroperties);
return lo;
} | [
"709165253@qq.com"
] | 709165253@qq.com |
ab3ee4152d590714ce41cf7f64982b8961e19410 | a4d8cb480cbdb196e79ce482f5f9221fc74855e2 | /2011/201109/20110913_main.cpp | fbde9066b807e33dd4454bcc1a0fd1d3a7addbc5 | [] | no_license | bonly/exercise | 96cd21e5aa65e2f4c8ba18adda63c28a5634c033 | dccf193a401c386719b8dcd7440d1f3bb74cb693 | refs/heads/master | 2020-05-06T13:51:29.957349 | 2018-02-10T16:14:52 | 2018-02-10T16:14:52 | 3,512,855 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 492 | cpp | #include <QtGui/QGuiApplication>
#include "qtquick2applicationviewer.h"
/*
* viewer.rootContext()->setContextProperty("AuthName", "Benny.Zou");
console.log(AuthName);
*/
int main(int argc, char *argv[])
{
QGuiApplication app(argc, argv);
QtQuick2ApplicationViewer viewer;
viewer.setDebug(1);
// viewer.setMainQmlFile(QStringLiteral("qrc:/Page/quanzi.qml"));
viewer.setMainQmlFile(QStringLiteral("/App/main.qml"));
viewer.showExpanded();
return app.exec();
}
| [
"bonly@163.com"
] | bonly@163.com |
a9e80e2f8dd2107aa2972b09889ae6597084f245 | abefb708d7c2b46e53ca118ee53b98b26af456d1 | /lab4/datanode.cc | 74a95aa58b7f1ddd9e3ec9f71a5773fbc374d143 | [] | no_license | CJTSAJ/CSE-lab | 59f5a1fa99045e3dc74e1a791b1cad6b0e9a4595 | d5a0b83dd24176d854c8b0facb696ec54ef71855 | refs/heads/master | 2020-03-29T13:34:44.433355 | 2018-12-15T06:26:46 | 2018-12-15T06:26:46 | 149,971,579 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 2,126 | cc | #include "datanode.h"
#include <arpa/inet.h>
#include "extent_client.h"
#include <unistd.h>
#include <algorithm>
#include "threader.h"
using namespace std;
int DataNode::init(const string &extent_dst, const string &namenode, const struct sockaddr_in *bindaddr) {
ec = new extent_client(extent_dst);
// Generate ID based on listen address
id.set_ipaddr(inet_ntoa(bindaddr->sin_addr));
id.set_hostname(GetHostname());
id.set_datanodeuuid(GenerateUUID());
id.set_xferport(ntohs(bindaddr->sin_port));
id.set_infoport(0);
id.set_ipcport(0);
// Save namenode address and connect
make_sockaddr(namenode.c_str(), &namenode_addr);
if (!ConnectToNN()) {
delete ec;
ec = NULL;
return -1;
}
// Register on namenode
if (!RegisterOnNamenode()) {
delete ec;
ec = NULL;
close(namenode_conn);
namenode_conn = -1;
return -1;
}
/* Add your initialization here */
NewThread(this, &DataNode::KeepBeating);
return 0;
}
void DataNode::KeepBeating()
{
while(true){
SendHeartbeat();
sleep(1);
}
}
//read bblock maybe only read parts of file
bool DataNode::ReadBlock(blockid_t bid, uint64_t offset, uint64_t len, string &buf) {
/* Your lab4 part 2 code */
printf("datanode\tReadBlock\tbid:%d\toff:%d\tlen:%d\n",bid,offset,len);fflush(stdout);
string tmp_buf;
extent_protocol::status ret = ec->read_block(bid, tmp_buf);
printf("datanode\tReadBlock\tbuf:%s\n",tmp_buf.c_str());fflush(stdout);
if(ret != extent_protocol::OK)
return false;
buf = tmp_buf.substr(offset, len);
return true;
}
//write block maybe only write parts of file
bool DataNode::WriteBlock(blockid_t bid, uint64_t offset, uint64_t len, const string &buf) {
/* Your lab4 part 2 code */
printf("datanode\tWriteBlock\tbid:%d\toff:%d\tlen:%d\tbuf:%s\n",bid,offset,len,buf.c_str());fflush(stdout);
string tmp_buf;
extent_protocol::status ret = ec->read_block(bid, tmp_buf);
if(ret != extent_protocol::OK)
return false;
tmp_buf.replace(offset, len, buf);
ret = ec->write_block(bid, tmp_buf);
if(ret != extent_protocol::OK)
return false;
return true;
}
| [
"997149731@qq.com"
] | 997149731@qq.com |
bef97cbb43aa21f1b3503fa619d027baa7109250 | 7234e698f85b99aece9eb5ab01f1da16a9d5e879 | /graphics_final_project/Cylinder.cpp | effb95c82ab68046a4bc3f6d21cc9b771ea58e08 | [] | no_license | tobby-lie/Procedural-Geometry-with-Tetrahedral-Meshes | f90cd6fff8109345017a15a355fc960f4c2c1c25 | cfdaea77878dd2ba3c9425670d5f3d8d643a38df | refs/heads/master | 2022-04-24T15:13:00.423741 | 2020-04-22T19:52:42 | 2020-04-22T19:52:42 | 256,037,121 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 23,982 | cpp | #define GL_SILENCE_DEPRECATION // silence deprecation warnings
#ifdef _WIN32
#include <windows.h> // include windows.h to avoid thousands of compile errors even though this class is not depending on Windows
#endif
#ifdef __APPLE__
#include <OpenGL/gl.h>
#else
#include <GL/gl.h>
#include <GL/glu.h>
#endif
#include <iostream>
#include <iomanip>
#include <cmath>
#include "Cylinder.h"
// constants //////////////////////////////////////////////////////////////////
const int MIN_SECTOR_COUNT = 3;
const int MIN_STACK_COUNT = 1;
///////////////////////////////////////////////////////////////////////////////
// ctor
///////////////////////////////////////////////////////////////////////////////
Cylinder::Cylinder(float baseRadius, float topRadius, float height, int sectors,
int stacks, bool smooth) : interleavedStride(32)
{
set(baseRadius, topRadius, height, sectors, stacks, smooth);
}
///////////////////////////////////////////////////////////////////////////////
// setters
///////////////////////////////////////////////////////////////////////////////
void Cylinder::set(float baseRadius, float topRadius, float height, int sectors,
int stacks, bool smooth)
{
this->baseRadius = baseRadius;
this->topRadius = topRadius;
this->height = height;
this->sectorCount = sectors;
if(sectors < MIN_SECTOR_COUNT)
this->sectorCount = MIN_SECTOR_COUNT;
this->stackCount = stacks;
if(stacks < MIN_STACK_COUNT)
this->stackCount = MIN_STACK_COUNT;
this->smooth = smooth;
// generate unit circle vertices first
buildUnitCircleVertices();
if(smooth)
buildVerticesSmooth();
else
buildVerticesFlat();
}
void Cylinder::setBaseRadius(float radius)
{
if(this->baseRadius != radius)
set(radius, topRadius, height, sectorCount, stackCount, smooth);
}
void Cylinder::setTopRadius(float radius)
{
if(this->topRadius != radius)
set(baseRadius, radius, height, sectorCount, stackCount, smooth);
}
void Cylinder::setHeight(float height)
{
if(this->height != height)
set(baseRadius, topRadius, height, sectorCount, stackCount, smooth);
}
void Cylinder::setSectorCount(int sectors)
{
if(this->sectorCount != sectors)
set(baseRadius, topRadius, height, sectors, stackCount, smooth);
}
void Cylinder::setStackCount(int stacks)
{
if(this->stackCount != stacks)
set(baseRadius, topRadius, height, sectorCount, stacks, smooth);
}
void Cylinder::setSmooth(bool smooth)
{
if(this->smooth == smooth)
return;
this->smooth = smooth;
if(smooth)
buildVerticesSmooth();
else
buildVerticesFlat();
}
///////////////////////////////////////////////////////////////////////////////
// print itself
///////////////////////////////////////////////////////////////////////////////
void Cylinder::printSelf() const
{
std::cout << "===== Cylinder =====\n"
<< " Base Radius: " << baseRadius << "\n"
<< " Top Radius: " << topRadius << "\n"
<< " Height: " << height << "\n"
<< " Sector Count: " << sectorCount << "\n"
<< " Stack Count: " << stackCount << "\n"
<< "Smooth Shading: " << (smooth ? "true" : "false") << "\n"
<< "Triangle Count: " << getTriangleCount() << "\n"
<< " Index Count: " << getIndexCount() << "\n"
<< " Vertex Count: " << getVertexCount() << "\n"
<< " Normal Count: " << getNormalCount() << "\n"
<< "TexCoord Count: " << getTexCoordCount() << std::endl;
}
///////////////////////////////////////////////////////////////////////////////
// draw a cylinder in VertexArray mode
// OpenGL RC must be set before calling it
///////////////////////////////////////////////////////////////////////////////
void Cylinder::draw() const
{
// interleaved array
glEnableClientState(GL_VERTEX_ARRAY);
glEnableClientState(GL_NORMAL_ARRAY);
glEnableClientState(GL_TEXTURE_COORD_ARRAY);
glVertexPointer(3, GL_FLOAT, interleavedStride, &interleavedVertices[0]);
glNormalPointer(GL_FLOAT, interleavedStride, &interleavedVertices[3]);
glTexCoordPointer(2, GL_FLOAT, interleavedStride, &interleavedVertices[6]);
glDrawElements(GL_TRIANGLES, (unsigned int)indices.size(), GL_UNSIGNED_INT, indices.data());
glDisableClientState(GL_VERTEX_ARRAY);
glDisableClientState(GL_NORMAL_ARRAY);
glDisableClientState(GL_TEXTURE_COORD_ARRAY);
}
///////////////////////////////////////////////////////////////////////////////
// draw side of cylinder only
///////////////////////////////////////////////////////////////////////////////
void Cylinder::drawSide() const
{
// interleaved array
glEnableClientState(GL_VERTEX_ARRAY);
glEnableClientState(GL_NORMAL_ARRAY);
glEnableClientState(GL_TEXTURE_COORD_ARRAY);
glVertexPointer(3, GL_FLOAT, interleavedStride, &interleavedVertices[0]);
glNormalPointer(GL_FLOAT, interleavedStride, &interleavedVertices[3]);
glTexCoordPointer(2, GL_FLOAT, interleavedStride, &interleavedVertices[6]);
glDrawElements(GL_TRIANGLES, baseIndex, GL_UNSIGNED_INT, indices.data());
glDisableClientState(GL_VERTEX_ARRAY);
glDisableClientState(GL_NORMAL_ARRAY);
glDisableClientState(GL_TEXTURE_COORD_ARRAY);
}
///////////////////////////////////////////////////////////////////////////////
// draw base and top only
///////////////////////////////////////////////////////////////////////////////
void Cylinder::drawBase() const
{
// interleaved array
glEnableClientState(GL_VERTEX_ARRAY);
glEnableClientState(GL_NORMAL_ARRAY);
glEnableClientState(GL_TEXTURE_COORD_ARRAY);
glVertexPointer(3, GL_FLOAT, interleavedStride, &interleavedVertices[0]);
glNormalPointer(GL_FLOAT, interleavedStride, &interleavedVertices[3]);
glTexCoordPointer(2, GL_FLOAT, interleavedStride, &interleavedVertices[6]);
unsigned int indexCount = ((unsigned int)indices.size() - baseIndex) / 2;
glDrawElements(GL_TRIANGLES, indexCount, GL_UNSIGNED_INT, &indices[baseIndex]);
glDisableClientState(GL_VERTEX_ARRAY);
glDisableClientState(GL_NORMAL_ARRAY);
glDisableClientState(GL_TEXTURE_COORD_ARRAY);
}
void Cylinder::drawTop() const
{
// interleaved array
glEnableClientState(GL_VERTEX_ARRAY);
glEnableClientState(GL_NORMAL_ARRAY);
glEnableClientState(GL_TEXTURE_COORD_ARRAY);
glVertexPointer(3, GL_FLOAT, interleavedStride, &interleavedVertices[0]);
glNormalPointer(GL_FLOAT, interleavedStride, &interleavedVertices[3]);
glTexCoordPointer(2, GL_FLOAT, interleavedStride, &interleavedVertices[6]);
unsigned int indexCount = ((unsigned int)indices.size() - baseIndex) / 2;
glDrawElements(GL_TRIANGLES, indexCount, GL_UNSIGNED_INT, &indices[topIndex]);
glDisableClientState(GL_VERTEX_ARRAY);
glDisableClientState(GL_NORMAL_ARRAY);
glDisableClientState(GL_TEXTURE_COORD_ARRAY);
}
///////////////////////////////////////////////////////////////////////////////
// draw lines only
// the caller must set the line width before call this
///////////////////////////////////////////////////////////////////////////////
void Cylinder::drawLines(const float lineColor[4]) const
{
// set line colour
glColor4fv(lineColor);
glMaterialfv(GL_FRONT, GL_DIFFUSE, lineColor);
// draw lines with VA
glDisable(GL_LIGHTING);
glDisable(GL_TEXTURE_2D);
glEnableClientState(GL_VERTEX_ARRAY);
glVertexPointer(3, GL_FLOAT, 0, vertices.data());
glDrawElements(GL_LINES, (unsigned int)lineIndices.size(), GL_UNSIGNED_INT, lineIndices.data());
glDisableClientState(GL_VERTEX_ARRAY);
glEnable(GL_LIGHTING);
glEnable(GL_TEXTURE_2D);
}
///////////////////////////////////////////////////////////////////////////////
// draw a cylinder surfaces and lines on top of it
// the caller must set the line width before call this
///////////////////////////////////////////////////////////////////////////////
void Cylinder::drawWithLines(const float lineColor[4]) const
{
glEnable(GL_POLYGON_OFFSET_FILL);
glPolygonOffset(1.0, 1.0f); // move polygon backward
this->draw();
glDisable(GL_POLYGON_OFFSET_FILL);
// draw lines with VA
drawLines(lineColor);
}
///////////////////////////////////////////////////////////////////////////////
// dealloc vectors
///////////////////////////////////////////////////////////////////////////////
void Cylinder::clearArrays()
{
std::vector<float>().swap(vertices);
std::vector<float>().swap(normals);
std::vector<float>().swap(texCoords);
std::vector<unsigned int>().swap(indices);
std::vector<unsigned int>().swap(lineIndices);
}
///////////////////////////////////////////////////////////////////////////////
// build vertices of cylinder with smooth shading
// where v: sector angle (0 <= v <= 360)
///////////////////////////////////////////////////////////////////////////////
void Cylinder::buildVerticesSmooth()
{
// clear memory of prev arrays
clearArrays();
float x, y, z; // vertex position
//float s, t; // texCoord
float radius; // radius for each stack
// get normals for cylinder sides
std::vector<float> sideNormals = getSideNormals();
// put vertices of side cylinder to array by scaling unit circle
for(int i = 0; i <= stackCount; ++i)
{
z = -(height * 0.5f) + (float)i / stackCount * height; // vertex position z
radius = baseRadius + (float)i / stackCount * (topRadius - baseRadius); // lerp
float t = 1.0f - (float)i / stackCount; // top-to-bottom
for(int j = 0, k = 0; j <= sectorCount; ++j, k += 3)
{
x = unitCircleVertices[k];
y = unitCircleVertices[k+1];
addVertex(x * radius, y * radius, z); // position
addNormal(sideNormals[k], sideNormals[k+1], sideNormals[k+2]); // normal
addTexCoord((float)j / sectorCount, t); // tex coord
}
}
// remember where the base.top vertices start
unsigned int baseVertexIndex = (unsigned int)vertices.size() / 3;
// put vertices of base of cylinder
z = -height * 0.5f;
addVertex(0, 0, z);
addNormal(0, 0, -1);
addTexCoord(0.5f, 0.5f);
for(int i = 0, j = 0; i < sectorCount; ++i, j += 3)
{
x = unitCircleVertices[j];
y = unitCircleVertices[j+1];
addVertex(x * baseRadius, y * baseRadius, z);
addNormal(0, 0, -1);
addTexCoord(-x * 0.5f + 0.5f, -y * 0.5f + 0.5f); // flip horizontal
}
// remember where the base vertices start
unsigned int topVertexIndex = (unsigned int)vertices.size() / 3;
// put vertices of top of cylinder
z = height * 0.5f;
addVertex(0, 0, z);
addNormal(0, 0, 1);
addTexCoord(0.5f, 0.5f);
for(int i = 0, j = 0; i < sectorCount; ++i, j += 3)
{
x = unitCircleVertices[j];
y = unitCircleVertices[j+1];
addVertex(x * topRadius, y * topRadius, z);
addNormal(0, 0, 1);
addTexCoord(x * 0.5f + 0.5f, -y * 0.5f + 0.5f);
}
// put indices for sides
unsigned int k1, k2;
for(int i = 0; i < stackCount; ++i)
{
k1 = i * (sectorCount + 1); // bebinning of current stack
k2 = k1 + sectorCount + 1; // beginning of next stack
for(int j = 0; j < sectorCount; ++j, ++k1, ++k2)
{
// 2 trianles per sector
addIndices(k1, k1 + 1, k2);
addIndices(k2, k1 + 1, k2 + 1);
// vertical lines for all stacks
lineIndices.push_back(k1);
lineIndices.push_back(k2);
// horizontal lines
lineIndices.push_back(k2);
lineIndices.push_back(k2 + 1);
if(i == 0)
{
lineIndices.push_back(k1);
lineIndices.push_back(k1 + 1);
}
}
}
// remember where the base indices start
baseIndex = (unsigned int)indices.size();
// put indices for base
for(int i = 0, k = baseVertexIndex + 1; i < sectorCount; ++i, ++k)
{
if(i < (sectorCount - 1))
addIndices(baseVertexIndex, k + 1, k);
else // last triangle
addIndices(baseVertexIndex, baseVertexIndex + 1, k);
}
// remember where the base indices start
topIndex = (unsigned int)indices.size();
for(int i = 0, k = topVertexIndex + 1; i < sectorCount; ++i, ++k)
{
if(i < (sectorCount - 1))
addIndices(topVertexIndex, k, k + 1);
else
addIndices(topVertexIndex, k, topVertexIndex + 1);
}
// generate interleaved vertex array as well
buildInterleavedVertices();
}
///////////////////////////////////////////////////////////////////////////////
// generate vertices with flat shading
// each triangle is independent (no shared vertices)
///////////////////////////////////////////////////////////////////////////////
void Cylinder::buildVerticesFlat()
{
// tmp vertex definition (x,y,z,s,t)
struct Vertex
{
float x, y, z, s, t;
};
std::vector<Vertex> tmpVertices;
int i, j, k; // indices
float x, y, z, s, t, radius;
// put tmp vertices of cylinder side to array by scaling unit circle
//NOTE: start and end vertex positions are same, but texcoords are different
// so, add additional vertex at the end point
for(i = 0; i <= stackCount; ++i)
{
z = -(height * 0.5f) + (float)i / stackCount * height; // vertex position z
radius = baseRadius + (float)i / stackCount * (topRadius - baseRadius); // lerp
t = 1.0f - (float)i / stackCount; // top-to-bottom
for(j = 0, k = 0; j <= sectorCount; ++j, k += 3)
{
x = unitCircleVertices[k];
y = unitCircleVertices[k+1];
s = (float)j / sectorCount;
Vertex vertex;
vertex.x = x * radius;
vertex.y = y * radius;
vertex.z = z;
vertex.s = s;
vertex.t = t;
tmpVertices.push_back(vertex);
}
}
// clear memory of prev arrays
clearArrays();
Vertex v1, v2, v3, v4; // 4 vertex positions v1, v2, v3, v4
std::vector<float> n; // 1 face normal
int vi1, vi2; // indices
int index = 0;
// v2-v4 <== stack at i+1
// | \ |
// v1-v3 <== stack at i
for(i = 0; i < stackCount; ++i)
{
vi1 = i * (sectorCount + 1); // index of tmpVertices
vi2 = (i + 1) * (sectorCount + 1);
for(j = 0; j < sectorCount; ++j, ++vi1, ++vi2)
{
v1 = tmpVertices[vi1];
v2 = tmpVertices[vi2];
v3 = tmpVertices[vi1 + 1];
v4 = tmpVertices[vi2 + 1];
// compute a face normal of v1-v3-v2
n = computeFaceNormal(v1.x,v1.y,v1.z, v3.x,v3.y,v3.z, v2.x,v2.y,v2.z);
// put quad vertices: v1-v2-v3-v4
addVertex(v1.x, v1.y, v1.z);
addVertex(v2.x, v2.y, v2.z);
addVertex(v3.x, v3.y, v3.z);
addVertex(v4.x, v4.y, v4.z);
// put tex coords of quad
addTexCoord(v1.s, v1.t);
addTexCoord(v2.s, v2.t);
addTexCoord(v3.s, v3.t);
addTexCoord(v4.s, v4.t);
// put normal
for(k = 0; k < 4; ++k) // same normals for all 4 vertices
{
addNormal(n[0], n[1], n[2]);
}
// put indices of a quad
addIndices(index, index+2, index+1); // v1-v3-v2
addIndices(index+1, index+2, index+3); // v2-v3-v4
// vertical line per quad: v1-v2
lineIndices.push_back(index);
lineIndices.push_back(index+1);
// horizontal line per quad: v2-v4
lineIndices.push_back(index+1);
lineIndices.push_back(index+3);
if(i == 0)
{
lineIndices.push_back(index);
lineIndices.push_back(index+2);
}
index += 4; // for next
}
}
// remember where the base index starts
baseIndex = (unsigned int)indices.size();
unsigned int baseVertexIndex = (unsigned int)vertices.size() / 3;
// put vertices of base of cylinder
z = -height * 0.5f;
addVertex(0, 0, z);
addNormal(0, 0, -1);
addTexCoord(0.5f, 0.5f);
for(i = 0, j = 0; i < sectorCount; ++i, j += 3)
{
x = unitCircleVertices[j];
y = unitCircleVertices[j+1];
addVertex(x * baseRadius, y * baseRadius, z);
addNormal(0, 0, -1);
addTexCoord(-x * 0.5f + 0.5f, -y * 0.5f + 0.5f); // flip horizontal
}
// put indices for base
for(i = 0, k = baseVertexIndex + 1; i < sectorCount; ++i, ++k)
{
if(i < sectorCount - 1)
addIndices(baseVertexIndex, k + 1, k);
else
addIndices(baseVertexIndex, baseVertexIndex + 1, k);
}
// remember where the top index starts
topIndex = (unsigned int)indices.size();
unsigned int topVertexIndex = (unsigned int)vertices.size() / 3;
// put vertices of top of cylinder
z = height * 0.5f;
addVertex(0, 0, z);
addNormal(0, 0, 1);
addTexCoord(0.5f, 0.5f);
for(i = 0, j = 0; i < sectorCount; ++i, j += 3)
{
x = unitCircleVertices[j];
y = unitCircleVertices[j+1];
addVertex(x * topRadius, y * topRadius, z);
addNormal(0, 0, 1);
addTexCoord(x * 0.5f + 0.5f, -y * 0.5f + 0.5f);
}
for(i = 0, k = topVertexIndex + 1; i < sectorCount; ++i, ++k)
{
if(i < sectorCount - 1)
addIndices(topVertexIndex, k, k + 1);
else
addIndices(topVertexIndex, k, topVertexIndex + 1);
}
// generate interleaved vertex array as well
buildInterleavedVertices();
}
///////////////////////////////////////////////////////////////////////////////
// generate interleaved vertices: V/N/T
// stride must be 32 bytes
///////////////////////////////////////////////////////////////////////////////
void Cylinder::buildInterleavedVertices()
{
std::vector<float>().swap(interleavedVertices);
std::size_t i, j;
std::size_t count = vertices.size();
for(i = 0, j = 0; i < count; i += 3, j += 2)
{
//interleavedVertices.push_back(vertices[i]);
//interleavedVertices.push_back(vertices[i+1]);
//interleavedVertices.push_back(vertices[i+2]);
interleavedVertices.insert(interleavedVertices.end(), &vertices[i], &vertices[i] + 3);
//interleavedVertices.push_back(normals[i]);
//interleavedVertices.push_back(normals[i+1]);
//interleavedVertices.push_back(normals[i+2]);
interleavedVertices.insert(interleavedVertices.end(), &normals[i], &normals[i] + 3);
//interleavedVertices.push_back(texCoords[j]);
//interleavedVertices.push_back(texCoords[j+1]);
interleavedVertices.insert(interleavedVertices.end(), &texCoords[j], &texCoords[j] + 2);
}
}
///////////////////////////////////////////////////////////////////////////////
// generate 3D vertices of a unit circle on XY plance
///////////////////////////////////////////////////////////////////////////////
void Cylinder::buildUnitCircleVertices()
{
const float PI = acos(-1);
float sectorStep = 2 * PI / sectorCount;
float sectorAngle; // radian
std::vector<float>().swap(unitCircleVertices);
for(int i = 0; i <= sectorCount; ++i)
{
sectorAngle = i * sectorStep;
unitCircleVertices.push_back(cos(sectorAngle)); // x
unitCircleVertices.push_back(sin(sectorAngle)); // y
unitCircleVertices.push_back(0); // z
}
}
///////////////////////////////////////////////////////////////////////////////
// add single vertex to array
///////////////////////////////////////////////////////////////////////////////
void Cylinder::addVertex(float x, float y, float z)
{
vertices.push_back(x);
vertices.push_back(y);
vertices.push_back(z);
}
///////////////////////////////////////////////////////////////////////////////
// add single normal to array
///////////////////////////////////////////////////////////////////////////////
void Cylinder::addNormal(float nx, float ny, float nz)
{
normals.push_back(nx);
normals.push_back(ny);
normals.push_back(nz);
}
///////////////////////////////////////////////////////////////////////////////
// add single texture coord to array
///////////////////////////////////////////////////////////////////////////////
void Cylinder::addTexCoord(float s, float t)
{
texCoords.push_back(s);
texCoords.push_back(t);
}
///////////////////////////////////////////////////////////////////////////////
// add 3 indices to array
///////////////////////////////////////////////////////////////////////////////
void Cylinder::addIndices(unsigned int i1, unsigned int i2, unsigned int i3)
{
indices.push_back(i1);
indices.push_back(i2);
indices.push_back(i3);
}
///////////////////////////////////////////////////////////////////////////////
// generate shared normal vectors of the side of cylinder
///////////////////////////////////////////////////////////////////////////////
std::vector<float> Cylinder::getSideNormals()
{
const float PI = acos(-1);
float sectorStep = 2 * PI / sectorCount;
float sectorAngle; // radian
// compute the normal vector at 0 degree first
// tanA = (baseRadius-topRadius) / height
float zAngle = atan2(baseRadius - topRadius, height);
float x0 = cos(zAngle); // nx
float y0 = 0; // ny
float z0 = sin(zAngle); // nz
// rotate (x0,y0,z0) per sector angle
std::vector<float> normals;
for(int i = 0; i <= sectorCount; ++i)
{
sectorAngle = i * sectorStep;
normals.push_back(cos(sectorAngle)*x0 - sin(sectorAngle)*y0); // nx
normals.push_back(sin(sectorAngle)*x0 + cos(sectorAngle)*y0); // ny
normals.push_back(z0); // nz
/*
//debug
float nx = cos(sectorAngle)*x0 - sin(sectorAngle)*y0;
float ny = sin(sectorAngle)*x0 + cos(sectorAngle)*y0;
std::cout << "normal=(" << nx << ", " << ny << ", " << z0
<< "), length=" << sqrtf(nx*nx + ny*ny + z0*z0) << std::endl;
*/
}
return normals;
}
///////////////////////////////////////////////////////////////////////////////
// return face normal of a triangle v1-v2-v3
// if a triangle has no surface (normal length = 0), then return a zero vector
///////////////////////////////////////////////////////////////////////////////
std::vector<float> Cylinder::computeFaceNormal(float x1, float y1, float z1, // v1
float x2, float y2, float z2, // v2
float x3, float y3, float z3) // v3
{
const float EPSILON = 0.000001f;
std::vector<float> normal(3, 0.0f); // default return value (0,0,0)
float nx, ny, nz;
// find 2 edge vectors: v1-v2, v1-v3
float ex1 = x2 - x1;
float ey1 = y2 - y1;
float ez1 = z2 - z1;
float ex2 = x3 - x1;
float ey2 = y3 - y1;
float ez2 = z3 - z1;
// cross product: e1 x e2
nx = ey1 * ez2 - ez1 * ey2;
ny = ez1 * ex2 - ex1 * ez2;
nz = ex1 * ey2 - ey1 * ex2;
// normalize only if the length is > 0
float length = sqrtf(nx * nx + ny * ny + nz * nz);
if(length > EPSILON)
{
// normalize
float lengthInv = 1.0f / length;
normal[0] = nx * lengthInv;
normal[1] = ny * lengthInv;
normal[2] = nz * lengthInv;
}
return normal;
}
| [
"tobbylie@gmail.com"
] | tobbylie@gmail.com |
8704a5d4bb0d4b21d5638da60334ee099138ff67 | a7adcd433c603f604a9e8411e1c8facf3f3fb5e7 | /step_visu_2/stepentities/cls_Parameter.cpp | 224247169686edf1a4ac9b7d9e8b892a9bff5be8 | [] | no_license | evovch/STEPvisu | 2fa0e6f13b06870190b501a0b2c395cb73e1a6d8 | 36834ca0a0bbb000265010e2abe956db493b8732 | refs/heads/master | 2021-09-03T19:24:02.310862 | 2018-01-11T11:31:41 | 2018-01-11T11:31:41 | 114,402,760 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,395 | cpp | #include "cls_Parameter.h"
// Qt
#include <QDebug>
// Project
#include "cls_EIlist.h"
cls_Parameter::cls_Parameter(std::string p_value) :
mValue(p_value),
mPointer(nullptr)
{
}
cls_Parameter::cls_Parameter(const char* p_value) :
mPointer(nullptr)
{
std::string v_cppstring(p_value);
mValue = v_cppstring;
//qDebug().nospace() << "Creating parameter from value " << p_value << ". size="<< mValue.size();
}
cls_Parameter::~cls_Parameter(void)
{
}
void cls_Parameter::Dump(void) const
{
qDebug().nospace() << "[PARAMETER] " << mValue.c_str();
}
/* Компактненько */
unsigned long cls_Parameter::GetValAsULong(void) const
{ return std::stoul(mValue); }
int cls_Parameter::GetValAsInt(void) const
{ return std::stoi(mValue); }
float cls_Parameter::GetValAsFloat(void) const
{ return std::stof(mValue); }
double cls_Parameter::GetValAsDouble(void) const
{ return std::stod(mValue); }
std::string cls_Parameter::GetValAsString(void) const
{ return mValue; }
cls_EI* cls_Parameter::GetPointer() const
{
return mPointer;
}
void cls_Parameter::Link(const cls_EIlist* p_section)
{
// Нашли ссылку, прицепить объект к тому, на который он ссылается
if (mValue[0] == '#') {
unsigned int v_refN = std::stoul(&mValue[1]);
this->mPointer = p_section->GetEIbyN(v_refN);
}
}
| [
"evovch@gmail.com"
] | evovch@gmail.com |
f8e3d3ee6cd3a854816a6ce6e23e40268e9074db | fed9f14edb87cd975ac946e01e063df492a9929a | /src/agc/031/C.cpp | 485e25b2240eaefe5a2c4734bd11b1b453de9766 | [] | no_license | n-inja/kyoupro | ba91dd582488b2a8c7222242801cf3115ed7fd10 | 44c5a888984764b98e105780ca57d522a47d832d | refs/heads/master | 2021-01-01T06:52:59.655419 | 2020-10-17T13:28:35 | 2020-10-17T13:28:35 | 97,537,227 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,092 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef vector<int> vi;
typedef vector<ll> vll;
typedef vector<vector<int>> vvi;
typedef vector<vector<ll>> vvl;
ll ans[260000];
ll n, a, b;
bool solve() {
ll humming = 0;
vector<ll> diff, same;
for (int i = 0; i < n; i++) {
if ((a >> i) % 2 != (b >> i) % 2) {
humming++;
diff.push_back(i);
} else {
same.push_back(i);
}
}
if (humming % 2 == 0) {
cout << "NO" << endl;
return true;
}
ll okbit = 0;
ll fir = diff[0];
ans[(1LL << (n - okbit - 1))] = fir;
okbit += 1;
for (int i = 1; i < diff.size(); i += 2) {
ll c = 0;
ll size = 1LL << (n - okbit);
for (ll j = 0; j < size * 2; j++) {
if (j % size == 0)
continue;
if (j % (size >> 2) == 0) {
ans[j] = diff[i + c % 2];
c++;
}
}
for (ll j = size * 2; j < (1LL << n); j++) {
if (j % size == 0)
continue;
if (j % (size >> 1) == 0) {
ans[j] = diff[i];
} else if (j % (size >> 2) == 0) {
ans[j] = diff[i + 1];
}
}
okbit += 2;
}
for (int i = 0; i < same.size(); i++) {
ll size = 1LL << (n - okbit);
for (ll j = 0; j < (1LL << n); j++) {
if (j % size == 0)
continue;
if (j % (size >> 1) == 0) {
ans[j] = same[i];
}
}
okbit++;
}
vector<bool> used(1LL << n);
ans[0] = a;
used[ans[0]] = true;
cout << "YES" << endl;
cout << ans[0];
for (int i = 1; i < (1LL << n); i++) {
ans[i] = ans[i - 1] ^ (1LL << (ans[i]));
used[ans[i]] = true;
cout << " " << ans[i];
}
cout << endl;
return true;
if (ans[(1LL << n) - 1] == b) {
cerr << "same" << endl;
bool ok = true;
for (int i = 0; i < (1LL << n); i++)
if (!used[i])
ok = false;
if (!ok) {
cerr << "ng" << endl;
return false;
}
} else {
cerr << ans[(1LL << n) - 1] << endl;
return false;
}
return true;
}
int main() {
cin.tie(0);
ios::sync_with_stdio(false);
cin >> n >> a >> b;
solve();
return 0;
}
| [
"mccreepertakumi@gmail.com"
] | mccreepertakumi@gmail.com |
d3a4551a2d594a09686979fd7a7196cc2530ffc4 | 0fee7cf00bb91df2611b1ea2b2ad456464fcdd3f | /base/base/cluster/modulecluster.h | cd55066659ee2180e9cdd252901b5f583082c97c | [] | no_license | stewiemo/server | 3d1dc020f1fbd0b23dca1788e14b849ef7947715 | 3a680db60e769247e09b6fcc28d4615dc299ca4a | refs/heads/master | 2020-04-03T17:59:57.092191 | 2018-08-19T14:15:00 | 2018-08-19T14:15:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 772 | h | #ifndef BASE_CLUSTER_MODULECLUSTER_H
#define BASE_CLUSTER_MODULECLUSTER_H
#include "../modulebase.h"
namespace base
{
namespace cluster
{
class ModuleCluster : public ModuleBase
{
public:
virtual ~ModuleCluster();
virtual const char* GetObjectName() {
return "base::cluster::ModuleCluster";
}
static ModuleCluster* Create();
private:
ModuleCluster();
virtual void OnModuleSetup();
virtual void OnModuleCleanup();
void NodeMonitorSetupCallback(bool result);
void NodeMonitorCleanupCallback();
};
}
}
#endif // MODULECLUSTER_H
// kate: indent-mode cstyle; indent-width 4; replace-tabs on;
| [
"33250304+LinuxIsExcellent@users.noreply.github.com"
] | 33250304+LinuxIsExcellent@users.noreply.github.com |
e83d2375ce1a0abe55aea85797022a52b03a036e | 777a75e6ed0934c193aece9de4421f8d8db01aac | /src/Providers/UNIXProviders/Directory/UNIX_Directory_TRU64.hxx | e2fd4a365a8a6121c9e08b2d507143ef017b1f53 | [
"MIT"
] | permissive | brunolauze/openpegasus-providers-old | 20fc13958016e35dc4d87f93d1999db0eae9010a | b00f1aad575bae144b8538bf57ba5fd5582a4ec7 | refs/heads/master | 2021-01-01T20:05:44.559362 | 2014-04-30T17:50:06 | 2014-04-30T17:50:06 | 19,132,738 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 114 | hxx | #ifdef PEGASUS_OS_TRU64
#ifndef __UNIX_DIRECTORY_PRIVATE_H
#define __UNIX_DIRECTORY_PRIVATE_H
#endif
#endif
| [
"brunolauze@msn.com"
] | brunolauze@msn.com |
a5ddb18edd420bf0d2474ec3918613c6495586e8 | 1942a0d16bd48962e72aa21fad8d034fa9521a6c | /aws-cpp-sdk-elasticache/include/aws/elasticache/model/ReservedCacheNodesOffering.h | 92064e64c9590e8c630b56d50edf956c1726bc56 | [
"Apache-2.0",
"JSON",
"MIT"
] | permissive | yecol/aws-sdk-cpp | 1aff09a21cfe618e272c2c06d358cfa0fb07cecf | 0b1ea31e593d23b5db49ee39d0a11e5b98ab991e | refs/heads/master | 2021-01-20T02:53:53.557861 | 2018-02-11T11:14:58 | 2018-02-11T11:14:58 | 83,822,910 | 0 | 1 | null | 2017-03-03T17:17:00 | 2017-03-03T17:17:00 | null | UTF-8 | C++ | false | false | 27,275 | h | /*
* Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
#pragma once
#include <aws/elasticache/ElastiCache_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/elasticache/model/RecurringCharge.h>
namespace Aws
{
namespace Utils
{
namespace Xml
{
class XmlNode;
} // namespace Xml
} // namespace Utils
namespace ElastiCache
{
namespace Model
{
/**
* <p>Describes all of the attributes of a reserved cache node
* offering.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ReservedCacheNodesOffering">AWS
* API Reference</a></p>
*/
class AWS_ELASTICACHE_API ReservedCacheNodesOffering
{
public:
ReservedCacheNodesOffering();
ReservedCacheNodesOffering(const Aws::Utils::Xml::XmlNode& xmlNode);
ReservedCacheNodesOffering& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
void OutputToStream(Aws::OStream& oStream, const char* location) const;
/**
* <p>A unique identifier for the reserved cache node offering.</p>
*/
inline const Aws::String& GetReservedCacheNodesOfferingId() const{ return m_reservedCacheNodesOfferingId; }
/**
* <p>A unique identifier for the reserved cache node offering.</p>
*/
inline void SetReservedCacheNodesOfferingId(const Aws::String& value) { m_reservedCacheNodesOfferingIdHasBeenSet = true; m_reservedCacheNodesOfferingId = value; }
/**
* <p>A unique identifier for the reserved cache node offering.</p>
*/
inline void SetReservedCacheNodesOfferingId(Aws::String&& value) { m_reservedCacheNodesOfferingIdHasBeenSet = true; m_reservedCacheNodesOfferingId = value; }
/**
* <p>A unique identifier for the reserved cache node offering.</p>
*/
inline void SetReservedCacheNodesOfferingId(const char* value) { m_reservedCacheNodesOfferingIdHasBeenSet = true; m_reservedCacheNodesOfferingId.assign(value); }
/**
* <p>A unique identifier for the reserved cache node offering.</p>
*/
inline ReservedCacheNodesOffering& WithReservedCacheNodesOfferingId(const Aws::String& value) { SetReservedCacheNodesOfferingId(value); return *this;}
/**
* <p>A unique identifier for the reserved cache node offering.</p>
*/
inline ReservedCacheNodesOffering& WithReservedCacheNodesOfferingId(Aws::String&& value) { SetReservedCacheNodesOfferingId(value); return *this;}
/**
* <p>A unique identifier for the reserved cache node offering.</p>
*/
inline ReservedCacheNodesOffering& WithReservedCacheNodesOfferingId(const char* value) { SetReservedCacheNodesOfferingId(value); return *this;}
/**
* <p>The cache node type for the reserved cache node.</p> <p>Valid node types are
* as follows:</p> <ul> <li> <p>General purpose:</p> <ul> <li> <p>Current
* generation: <code>cache.t2.micro</code>, <code>cache.t2.small</code>,
* <code>cache.t2.medium</code>, <code>cache.m3.medium</code>,
* <code>cache.m3.large</code>, <code>cache.m3.xlarge</code>,
* <code>cache.m3.2xlarge</code>, <code>cache.m4.large</code>,
* <code>cache.m4.xlarge</code>, <code>cache.m4.2xlarge</code>,
* <code>cache.m4.4xlarge</code>, <code>cache.m4.10xlarge</code> </p> </li> <li>
* <p>Previous generation: <code>cache.t1.micro</code>,
* <code>cache.m1.small</code>, <code>cache.m1.medium</code>,
* <code>cache.m1.large</code>, <code>cache.m1.xlarge</code> </p> </li> </ul> </li>
* <li> <p>Compute optimized: <code>cache.c1.xlarge</code> </p> </li> <li>
* <p>Memory optimized:</p> <ul> <li> <p>Current generation:
* <code>cache.r3.large</code>, <code>cache.r3.xlarge</code>,
* <code>cache.r3.2xlarge</code>, <code>cache.r3.4xlarge</code>,
* <code>cache.r3.8xlarge</code> </p> </li> <li> <p>Previous generation:
* <code>cache.m2.xlarge</code>, <code>cache.m2.2xlarge</code>,
* <code>cache.m2.4xlarge</code> </p> </li> </ul> </li> </ul> <p> <b>Notes:</b>
* </p> <ul> <li> <p>All T2 instances are created in an Amazon Virtual Private
* Cloud (Amazon VPC).</p> </li> <li> <p>Redis backup/restore is not supported for
* Redis (cluster mode disabled) T1 and T2 instances. Backup/restore is supported
* on Redis (cluster mode enabled) T2 instances.</p> </li> <li> <p>Redis
* Append-only files (AOF) functionality is not supported for T1 or T2
* instances.</p> </li> </ul> <p>For a complete listing of node types and
* specifications, see <a href="http://aws.amazon.com/elasticache/details">Amazon
* ElastiCache Product Features and Details</a> and either <a
* href="http://docs.aws.amazon.com/AmazonElastiCache/latest/UserGuide/CacheParameterGroups.Memcached.html#ParameterGroups.Memcached.NodeSpecific">Cache
* Node Type-Specific Parameters for Memcached</a> or <a
* href="http://docs.aws.amazon.com/AmazonElastiCache/latest/UserGuide/CacheParameterGroups.Redis.html#ParameterGroups.Redis.NodeSpecific">Cache
* Node Type-Specific Parameters for Redis</a>.</p>
*/
inline const Aws::String& GetCacheNodeType() const{ return m_cacheNodeType; }
/**
* <p>The cache node type for the reserved cache node.</p> <p>Valid node types are
* as follows:</p> <ul> <li> <p>General purpose:</p> <ul> <li> <p>Current
* generation: <code>cache.t2.micro</code>, <code>cache.t2.small</code>,
* <code>cache.t2.medium</code>, <code>cache.m3.medium</code>,
* <code>cache.m3.large</code>, <code>cache.m3.xlarge</code>,
* <code>cache.m3.2xlarge</code>, <code>cache.m4.large</code>,
* <code>cache.m4.xlarge</code>, <code>cache.m4.2xlarge</code>,
* <code>cache.m4.4xlarge</code>, <code>cache.m4.10xlarge</code> </p> </li> <li>
* <p>Previous generation: <code>cache.t1.micro</code>,
* <code>cache.m1.small</code>, <code>cache.m1.medium</code>,
* <code>cache.m1.large</code>, <code>cache.m1.xlarge</code> </p> </li> </ul> </li>
* <li> <p>Compute optimized: <code>cache.c1.xlarge</code> </p> </li> <li>
* <p>Memory optimized:</p> <ul> <li> <p>Current generation:
* <code>cache.r3.large</code>, <code>cache.r3.xlarge</code>,
* <code>cache.r3.2xlarge</code>, <code>cache.r3.4xlarge</code>,
* <code>cache.r3.8xlarge</code> </p> </li> <li> <p>Previous generation:
* <code>cache.m2.xlarge</code>, <code>cache.m2.2xlarge</code>,
* <code>cache.m2.4xlarge</code> </p> </li> </ul> </li> </ul> <p> <b>Notes:</b>
* </p> <ul> <li> <p>All T2 instances are created in an Amazon Virtual Private
* Cloud (Amazon VPC).</p> </li> <li> <p>Redis backup/restore is not supported for
* Redis (cluster mode disabled) T1 and T2 instances. Backup/restore is supported
* on Redis (cluster mode enabled) T2 instances.</p> </li> <li> <p>Redis
* Append-only files (AOF) functionality is not supported for T1 or T2
* instances.</p> </li> </ul> <p>For a complete listing of node types and
* specifications, see <a href="http://aws.amazon.com/elasticache/details">Amazon
* ElastiCache Product Features and Details</a> and either <a
* href="http://docs.aws.amazon.com/AmazonElastiCache/latest/UserGuide/CacheParameterGroups.Memcached.html#ParameterGroups.Memcached.NodeSpecific">Cache
* Node Type-Specific Parameters for Memcached</a> or <a
* href="http://docs.aws.amazon.com/AmazonElastiCache/latest/UserGuide/CacheParameterGroups.Redis.html#ParameterGroups.Redis.NodeSpecific">Cache
* Node Type-Specific Parameters for Redis</a>.</p>
*/
inline void SetCacheNodeType(const Aws::String& value) { m_cacheNodeTypeHasBeenSet = true; m_cacheNodeType = value; }
/**
* <p>The cache node type for the reserved cache node.</p> <p>Valid node types are
* as follows:</p> <ul> <li> <p>General purpose:</p> <ul> <li> <p>Current
* generation: <code>cache.t2.micro</code>, <code>cache.t2.small</code>,
* <code>cache.t2.medium</code>, <code>cache.m3.medium</code>,
* <code>cache.m3.large</code>, <code>cache.m3.xlarge</code>,
* <code>cache.m3.2xlarge</code>, <code>cache.m4.large</code>,
* <code>cache.m4.xlarge</code>, <code>cache.m4.2xlarge</code>,
* <code>cache.m4.4xlarge</code>, <code>cache.m4.10xlarge</code> </p> </li> <li>
* <p>Previous generation: <code>cache.t1.micro</code>,
* <code>cache.m1.small</code>, <code>cache.m1.medium</code>,
* <code>cache.m1.large</code>, <code>cache.m1.xlarge</code> </p> </li> </ul> </li>
* <li> <p>Compute optimized: <code>cache.c1.xlarge</code> </p> </li> <li>
* <p>Memory optimized:</p> <ul> <li> <p>Current generation:
* <code>cache.r3.large</code>, <code>cache.r3.xlarge</code>,
* <code>cache.r3.2xlarge</code>, <code>cache.r3.4xlarge</code>,
* <code>cache.r3.8xlarge</code> </p> </li> <li> <p>Previous generation:
* <code>cache.m2.xlarge</code>, <code>cache.m2.2xlarge</code>,
* <code>cache.m2.4xlarge</code> </p> </li> </ul> </li> </ul> <p> <b>Notes:</b>
* </p> <ul> <li> <p>All T2 instances are created in an Amazon Virtual Private
* Cloud (Amazon VPC).</p> </li> <li> <p>Redis backup/restore is not supported for
* Redis (cluster mode disabled) T1 and T2 instances. Backup/restore is supported
* on Redis (cluster mode enabled) T2 instances.</p> </li> <li> <p>Redis
* Append-only files (AOF) functionality is not supported for T1 or T2
* instances.</p> </li> </ul> <p>For a complete listing of node types and
* specifications, see <a href="http://aws.amazon.com/elasticache/details">Amazon
* ElastiCache Product Features and Details</a> and either <a
* href="http://docs.aws.amazon.com/AmazonElastiCache/latest/UserGuide/CacheParameterGroups.Memcached.html#ParameterGroups.Memcached.NodeSpecific">Cache
* Node Type-Specific Parameters for Memcached</a> or <a
* href="http://docs.aws.amazon.com/AmazonElastiCache/latest/UserGuide/CacheParameterGroups.Redis.html#ParameterGroups.Redis.NodeSpecific">Cache
* Node Type-Specific Parameters for Redis</a>.</p>
*/
inline void SetCacheNodeType(Aws::String&& value) { m_cacheNodeTypeHasBeenSet = true; m_cacheNodeType = value; }
/**
* <p>The cache node type for the reserved cache node.</p> <p>Valid node types are
* as follows:</p> <ul> <li> <p>General purpose:</p> <ul> <li> <p>Current
* generation: <code>cache.t2.micro</code>, <code>cache.t2.small</code>,
* <code>cache.t2.medium</code>, <code>cache.m3.medium</code>,
* <code>cache.m3.large</code>, <code>cache.m3.xlarge</code>,
* <code>cache.m3.2xlarge</code>, <code>cache.m4.large</code>,
* <code>cache.m4.xlarge</code>, <code>cache.m4.2xlarge</code>,
* <code>cache.m4.4xlarge</code>, <code>cache.m4.10xlarge</code> </p> </li> <li>
* <p>Previous generation: <code>cache.t1.micro</code>,
* <code>cache.m1.small</code>, <code>cache.m1.medium</code>,
* <code>cache.m1.large</code>, <code>cache.m1.xlarge</code> </p> </li> </ul> </li>
* <li> <p>Compute optimized: <code>cache.c1.xlarge</code> </p> </li> <li>
* <p>Memory optimized:</p> <ul> <li> <p>Current generation:
* <code>cache.r3.large</code>, <code>cache.r3.xlarge</code>,
* <code>cache.r3.2xlarge</code>, <code>cache.r3.4xlarge</code>,
* <code>cache.r3.8xlarge</code> </p> </li> <li> <p>Previous generation:
* <code>cache.m2.xlarge</code>, <code>cache.m2.2xlarge</code>,
* <code>cache.m2.4xlarge</code> </p> </li> </ul> </li> </ul> <p> <b>Notes:</b>
* </p> <ul> <li> <p>All T2 instances are created in an Amazon Virtual Private
* Cloud (Amazon VPC).</p> </li> <li> <p>Redis backup/restore is not supported for
* Redis (cluster mode disabled) T1 and T2 instances. Backup/restore is supported
* on Redis (cluster mode enabled) T2 instances.</p> </li> <li> <p>Redis
* Append-only files (AOF) functionality is not supported for T1 or T2
* instances.</p> </li> </ul> <p>For a complete listing of node types and
* specifications, see <a href="http://aws.amazon.com/elasticache/details">Amazon
* ElastiCache Product Features and Details</a> and either <a
* href="http://docs.aws.amazon.com/AmazonElastiCache/latest/UserGuide/CacheParameterGroups.Memcached.html#ParameterGroups.Memcached.NodeSpecific">Cache
* Node Type-Specific Parameters for Memcached</a> or <a
* href="http://docs.aws.amazon.com/AmazonElastiCache/latest/UserGuide/CacheParameterGroups.Redis.html#ParameterGroups.Redis.NodeSpecific">Cache
* Node Type-Specific Parameters for Redis</a>.</p>
*/
inline void SetCacheNodeType(const char* value) { m_cacheNodeTypeHasBeenSet = true; m_cacheNodeType.assign(value); }
/**
* <p>The cache node type for the reserved cache node.</p> <p>Valid node types are
* as follows:</p> <ul> <li> <p>General purpose:</p> <ul> <li> <p>Current
* generation: <code>cache.t2.micro</code>, <code>cache.t2.small</code>,
* <code>cache.t2.medium</code>, <code>cache.m3.medium</code>,
* <code>cache.m3.large</code>, <code>cache.m3.xlarge</code>,
* <code>cache.m3.2xlarge</code>, <code>cache.m4.large</code>,
* <code>cache.m4.xlarge</code>, <code>cache.m4.2xlarge</code>,
* <code>cache.m4.4xlarge</code>, <code>cache.m4.10xlarge</code> </p> </li> <li>
* <p>Previous generation: <code>cache.t1.micro</code>,
* <code>cache.m1.small</code>, <code>cache.m1.medium</code>,
* <code>cache.m1.large</code>, <code>cache.m1.xlarge</code> </p> </li> </ul> </li>
* <li> <p>Compute optimized: <code>cache.c1.xlarge</code> </p> </li> <li>
* <p>Memory optimized:</p> <ul> <li> <p>Current generation:
* <code>cache.r3.large</code>, <code>cache.r3.xlarge</code>,
* <code>cache.r3.2xlarge</code>, <code>cache.r3.4xlarge</code>,
* <code>cache.r3.8xlarge</code> </p> </li> <li> <p>Previous generation:
* <code>cache.m2.xlarge</code>, <code>cache.m2.2xlarge</code>,
* <code>cache.m2.4xlarge</code> </p> </li> </ul> </li> </ul> <p> <b>Notes:</b>
* </p> <ul> <li> <p>All T2 instances are created in an Amazon Virtual Private
* Cloud (Amazon VPC).</p> </li> <li> <p>Redis backup/restore is not supported for
* Redis (cluster mode disabled) T1 and T2 instances. Backup/restore is supported
* on Redis (cluster mode enabled) T2 instances.</p> </li> <li> <p>Redis
* Append-only files (AOF) functionality is not supported for T1 or T2
* instances.</p> </li> </ul> <p>For a complete listing of node types and
* specifications, see <a href="http://aws.amazon.com/elasticache/details">Amazon
* ElastiCache Product Features and Details</a> and either <a
* href="http://docs.aws.amazon.com/AmazonElastiCache/latest/UserGuide/CacheParameterGroups.Memcached.html#ParameterGroups.Memcached.NodeSpecific">Cache
* Node Type-Specific Parameters for Memcached</a> or <a
* href="http://docs.aws.amazon.com/AmazonElastiCache/latest/UserGuide/CacheParameterGroups.Redis.html#ParameterGroups.Redis.NodeSpecific">Cache
* Node Type-Specific Parameters for Redis</a>.</p>
*/
inline ReservedCacheNodesOffering& WithCacheNodeType(const Aws::String& value) { SetCacheNodeType(value); return *this;}
/**
* <p>The cache node type for the reserved cache node.</p> <p>Valid node types are
* as follows:</p> <ul> <li> <p>General purpose:</p> <ul> <li> <p>Current
* generation: <code>cache.t2.micro</code>, <code>cache.t2.small</code>,
* <code>cache.t2.medium</code>, <code>cache.m3.medium</code>,
* <code>cache.m3.large</code>, <code>cache.m3.xlarge</code>,
* <code>cache.m3.2xlarge</code>, <code>cache.m4.large</code>,
* <code>cache.m4.xlarge</code>, <code>cache.m4.2xlarge</code>,
* <code>cache.m4.4xlarge</code>, <code>cache.m4.10xlarge</code> </p> </li> <li>
* <p>Previous generation: <code>cache.t1.micro</code>,
* <code>cache.m1.small</code>, <code>cache.m1.medium</code>,
* <code>cache.m1.large</code>, <code>cache.m1.xlarge</code> </p> </li> </ul> </li>
* <li> <p>Compute optimized: <code>cache.c1.xlarge</code> </p> </li> <li>
* <p>Memory optimized:</p> <ul> <li> <p>Current generation:
* <code>cache.r3.large</code>, <code>cache.r3.xlarge</code>,
* <code>cache.r3.2xlarge</code>, <code>cache.r3.4xlarge</code>,
* <code>cache.r3.8xlarge</code> </p> </li> <li> <p>Previous generation:
* <code>cache.m2.xlarge</code>, <code>cache.m2.2xlarge</code>,
* <code>cache.m2.4xlarge</code> </p> </li> </ul> </li> </ul> <p> <b>Notes:</b>
* </p> <ul> <li> <p>All T2 instances are created in an Amazon Virtual Private
* Cloud (Amazon VPC).</p> </li> <li> <p>Redis backup/restore is not supported for
* Redis (cluster mode disabled) T1 and T2 instances. Backup/restore is supported
* on Redis (cluster mode enabled) T2 instances.</p> </li> <li> <p>Redis
* Append-only files (AOF) functionality is not supported for T1 or T2
* instances.</p> </li> </ul> <p>For a complete listing of node types and
* specifications, see <a href="http://aws.amazon.com/elasticache/details">Amazon
* ElastiCache Product Features and Details</a> and either <a
* href="http://docs.aws.amazon.com/AmazonElastiCache/latest/UserGuide/CacheParameterGroups.Memcached.html#ParameterGroups.Memcached.NodeSpecific">Cache
* Node Type-Specific Parameters for Memcached</a> or <a
* href="http://docs.aws.amazon.com/AmazonElastiCache/latest/UserGuide/CacheParameterGroups.Redis.html#ParameterGroups.Redis.NodeSpecific">Cache
* Node Type-Specific Parameters for Redis</a>.</p>
*/
inline ReservedCacheNodesOffering& WithCacheNodeType(Aws::String&& value) { SetCacheNodeType(value); return *this;}
/**
* <p>The cache node type for the reserved cache node.</p> <p>Valid node types are
* as follows:</p> <ul> <li> <p>General purpose:</p> <ul> <li> <p>Current
* generation: <code>cache.t2.micro</code>, <code>cache.t2.small</code>,
* <code>cache.t2.medium</code>, <code>cache.m3.medium</code>,
* <code>cache.m3.large</code>, <code>cache.m3.xlarge</code>,
* <code>cache.m3.2xlarge</code>, <code>cache.m4.large</code>,
* <code>cache.m4.xlarge</code>, <code>cache.m4.2xlarge</code>,
* <code>cache.m4.4xlarge</code>, <code>cache.m4.10xlarge</code> </p> </li> <li>
* <p>Previous generation: <code>cache.t1.micro</code>,
* <code>cache.m1.small</code>, <code>cache.m1.medium</code>,
* <code>cache.m1.large</code>, <code>cache.m1.xlarge</code> </p> </li> </ul> </li>
* <li> <p>Compute optimized: <code>cache.c1.xlarge</code> </p> </li> <li>
* <p>Memory optimized:</p> <ul> <li> <p>Current generation:
* <code>cache.r3.large</code>, <code>cache.r3.xlarge</code>,
* <code>cache.r3.2xlarge</code>, <code>cache.r3.4xlarge</code>,
* <code>cache.r3.8xlarge</code> </p> </li> <li> <p>Previous generation:
* <code>cache.m2.xlarge</code>, <code>cache.m2.2xlarge</code>,
* <code>cache.m2.4xlarge</code> </p> </li> </ul> </li> </ul> <p> <b>Notes:</b>
* </p> <ul> <li> <p>All T2 instances are created in an Amazon Virtual Private
* Cloud (Amazon VPC).</p> </li> <li> <p>Redis backup/restore is not supported for
* Redis (cluster mode disabled) T1 and T2 instances. Backup/restore is supported
* on Redis (cluster mode enabled) T2 instances.</p> </li> <li> <p>Redis
* Append-only files (AOF) functionality is not supported for T1 or T2
* instances.</p> </li> </ul> <p>For a complete listing of node types and
* specifications, see <a href="http://aws.amazon.com/elasticache/details">Amazon
* ElastiCache Product Features and Details</a> and either <a
* href="http://docs.aws.amazon.com/AmazonElastiCache/latest/UserGuide/CacheParameterGroups.Memcached.html#ParameterGroups.Memcached.NodeSpecific">Cache
* Node Type-Specific Parameters for Memcached</a> or <a
* href="http://docs.aws.amazon.com/AmazonElastiCache/latest/UserGuide/CacheParameterGroups.Redis.html#ParameterGroups.Redis.NodeSpecific">Cache
* Node Type-Specific Parameters for Redis</a>.</p>
*/
inline ReservedCacheNodesOffering& WithCacheNodeType(const char* value) { SetCacheNodeType(value); return *this;}
/**
* <p>The duration of the offering. in seconds.</p>
*/
inline int GetDuration() const{ return m_duration; }
/**
* <p>The duration of the offering. in seconds.</p>
*/
inline void SetDuration(int value) { m_durationHasBeenSet = true; m_duration = value; }
/**
* <p>The duration of the offering. in seconds.</p>
*/
inline ReservedCacheNodesOffering& WithDuration(int value) { SetDuration(value); return *this;}
/**
* <p>The fixed price charged for this offering.</p>
*/
inline double GetFixedPrice() const{ return m_fixedPrice; }
/**
* <p>The fixed price charged for this offering.</p>
*/
inline void SetFixedPrice(double value) { m_fixedPriceHasBeenSet = true; m_fixedPrice = value; }
/**
* <p>The fixed price charged for this offering.</p>
*/
inline ReservedCacheNodesOffering& WithFixedPrice(double value) { SetFixedPrice(value); return *this;}
/**
* <p>The hourly price charged for this offering.</p>
*/
inline double GetUsagePrice() const{ return m_usagePrice; }
/**
* <p>The hourly price charged for this offering.</p>
*/
inline void SetUsagePrice(double value) { m_usagePriceHasBeenSet = true; m_usagePrice = value; }
/**
* <p>The hourly price charged for this offering.</p>
*/
inline ReservedCacheNodesOffering& WithUsagePrice(double value) { SetUsagePrice(value); return *this;}
/**
* <p>The cache engine used by the offering.</p>
*/
inline const Aws::String& GetProductDescription() const{ return m_productDescription; }
/**
* <p>The cache engine used by the offering.</p>
*/
inline void SetProductDescription(const Aws::String& value) { m_productDescriptionHasBeenSet = true; m_productDescription = value; }
/**
* <p>The cache engine used by the offering.</p>
*/
inline void SetProductDescription(Aws::String&& value) { m_productDescriptionHasBeenSet = true; m_productDescription = value; }
/**
* <p>The cache engine used by the offering.</p>
*/
inline void SetProductDescription(const char* value) { m_productDescriptionHasBeenSet = true; m_productDescription.assign(value); }
/**
* <p>The cache engine used by the offering.</p>
*/
inline ReservedCacheNodesOffering& WithProductDescription(const Aws::String& value) { SetProductDescription(value); return *this;}
/**
* <p>The cache engine used by the offering.</p>
*/
inline ReservedCacheNodesOffering& WithProductDescription(Aws::String&& value) { SetProductDescription(value); return *this;}
/**
* <p>The cache engine used by the offering.</p>
*/
inline ReservedCacheNodesOffering& WithProductDescription(const char* value) { SetProductDescription(value); return *this;}
/**
* <p>The offering type.</p>
*/
inline const Aws::String& GetOfferingType() const{ return m_offeringType; }
/**
* <p>The offering type.</p>
*/
inline void SetOfferingType(const Aws::String& value) { m_offeringTypeHasBeenSet = true; m_offeringType = value; }
/**
* <p>The offering type.</p>
*/
inline void SetOfferingType(Aws::String&& value) { m_offeringTypeHasBeenSet = true; m_offeringType = value; }
/**
* <p>The offering type.</p>
*/
inline void SetOfferingType(const char* value) { m_offeringTypeHasBeenSet = true; m_offeringType.assign(value); }
/**
* <p>The offering type.</p>
*/
inline ReservedCacheNodesOffering& WithOfferingType(const Aws::String& value) { SetOfferingType(value); return *this;}
/**
* <p>The offering type.</p>
*/
inline ReservedCacheNodesOffering& WithOfferingType(Aws::String&& value) { SetOfferingType(value); return *this;}
/**
* <p>The offering type.</p>
*/
inline ReservedCacheNodesOffering& WithOfferingType(const char* value) { SetOfferingType(value); return *this;}
/**
* <p>The recurring price charged to run this reserved cache node.</p>
*/
inline const Aws::Vector<RecurringCharge>& GetRecurringCharges() const{ return m_recurringCharges; }
/**
* <p>The recurring price charged to run this reserved cache node.</p>
*/
inline void SetRecurringCharges(const Aws::Vector<RecurringCharge>& value) { m_recurringChargesHasBeenSet = true; m_recurringCharges = value; }
/**
* <p>The recurring price charged to run this reserved cache node.</p>
*/
inline void SetRecurringCharges(Aws::Vector<RecurringCharge>&& value) { m_recurringChargesHasBeenSet = true; m_recurringCharges = value; }
/**
* <p>The recurring price charged to run this reserved cache node.</p>
*/
inline ReservedCacheNodesOffering& WithRecurringCharges(const Aws::Vector<RecurringCharge>& value) { SetRecurringCharges(value); return *this;}
/**
* <p>The recurring price charged to run this reserved cache node.</p>
*/
inline ReservedCacheNodesOffering& WithRecurringCharges(Aws::Vector<RecurringCharge>&& value) { SetRecurringCharges(value); return *this;}
/**
* <p>The recurring price charged to run this reserved cache node.</p>
*/
inline ReservedCacheNodesOffering& AddRecurringCharges(const RecurringCharge& value) { m_recurringChargesHasBeenSet = true; m_recurringCharges.push_back(value); return *this; }
/**
* <p>The recurring price charged to run this reserved cache node.</p>
*/
inline ReservedCacheNodesOffering& AddRecurringCharges(RecurringCharge&& value) { m_recurringChargesHasBeenSet = true; m_recurringCharges.push_back(value); return *this; }
private:
Aws::String m_reservedCacheNodesOfferingId;
bool m_reservedCacheNodesOfferingIdHasBeenSet;
Aws::String m_cacheNodeType;
bool m_cacheNodeTypeHasBeenSet;
int m_duration;
bool m_durationHasBeenSet;
double m_fixedPrice;
bool m_fixedPriceHasBeenSet;
double m_usagePrice;
bool m_usagePriceHasBeenSet;
Aws::String m_productDescription;
bool m_productDescriptionHasBeenSet;
Aws::String m_offeringType;
bool m_offeringTypeHasBeenSet;
Aws::Vector<RecurringCharge> m_recurringCharges;
bool m_recurringChargesHasBeenSet;
};
} // namespace Model
} // namespace ElastiCache
} // namespace Aws
| [
"henso@amazon.com"
] | henso@amazon.com |
c4d4dbde385ae020b1fece6c88f3bcfaa65ca334 | 33f15972fa46fe1dee1ccaa6e7bd35bb9112a42b | /xyginext/src/detail/Operators.cpp | cb9b2f0b86d87180f1f1d37bbe15fead9e6373cf | [
"LicenseRef-scancode-warranty-disclaimer",
"Zlib"
] | permissive | WeyrSDev/xygine | 4be0d8dc970e9b6db53d8d7cbc991c35ae9ac83e | 3c0339f899cef55dc79287a7b239b853793a248b | refs/heads/master | 2021-08-23T08:53:02.440636 | 2017-11-25T11:13:06 | 2017-11-25T11:13:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,443 | cpp | /*********************************************************************
(c) Matt Marchant 2017
http://trederia.blogspot.com
xygineXT - Zlib license.
This software is provided 'as-is', without any express or
implied warranty. In no event will the authors be held
liable for any damages arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercial applications, and to alter it and redistribute
it freely, subject to the following restrictions:
1. The origin of this software must not be misrepresented;
you must not claim that you wrote the original software.
If you use this software in a product, an acknowledgment
in the product documentation would be appreciated but
is not required.
2. Altered source versions must be plainly marked as such,
and must not be misrepresented as being the original software.
3. This notice may not be removed or altered from any
source distribution.
*********************************************************************/
#include <xyginext/detail/Operators.hpp>
bool operator == (const sf::ContextSettings& l, const sf::ContextSettings& r)
{
return (l.antialiasingLevel == r.antialiasingLevel
&& l.attributeFlags == r.attributeFlags
&& l.depthBits == r.depthBits
&& l.stencilBits == r.stencilBits);
}
bool operator != (const sf::ContextSettings& l, const sf::ContextSettings& r)
{
return !(l == r);
} | [
"matty_styles@hotmail.com"
] | matty_styles@hotmail.com |
6e2cad16b446fa1bf764baf27d9e525eaf37a060 | e8f1614b153e0482ad6e1f4b5c7f0f6e572d2daa | /src/FlowRenderer.cpp | d5bc431c8194651a19e3de012accee970669f422 | [] | no_license | tychonaut/csp-flow-vis | a36e5300c0bbdf0035d6ee9f39a26de2a2465c37 | 5abd0991569509e0967c9411ad2f6857fae93617 | refs/heads/master | 2022-12-29T03:38:55.502307 | 2020-10-19T10:16:31 | 2020-10-19T10:16:31 | 302,177,841 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,424 | cpp | ////////////////////////////////////////////////////////////////////////////////////////////////////
// This file is part of CosmoScout VR //
// and may be used under the terms of the MIT license. See the LICENSE file for details. //
// Copyright: (c) 2019 German Aerospace Center (DLR) //
////////////////////////////////////////////////////////////////////////////////////////////////////
#include "FlowRenderer.hpp"
#include "logger.hpp"
#include "../../../src/cs-utils/utils.hpp"
#include <VistaOGLExt/VistaGLSLShader.h>
#include <VistaOGLExt/VistaShaderRegistry.h>
//#include "../../../src/cs-graphics/TextureLoader.hpp"
//#include "../../../src/cs-utils/utils.hpp"
#include "../../../src/cs-utils/convert.hpp"
#include <glm/glm.hpp>
#include <tiffio.h>
#include <utility>
namespace csp::flowvis {
const char* FlowRenderer::PARTICLES_SEED_AND_DISPLACE_VERT = R"(
#version 330
// inputs
layout(location = 0) in vec2 vPosition;
// uniforms
// none ...
// outputs
out VaryingStruct {
vec2 vTexcoords;
} vsOut;
void main() {
// for lookups in the depth and color buffers
vsOut.vTexcoords = vPosition * 0.5 + 0.5;
// no tranformation here since we draw a full screen quad
gl_Position = vec4(vPosition, 0, 1);
}
)";
////////////////////////////////////////////////////////////////////////////////////////////////////
const char* FlowRenderer::PARTICLES_SEED_AND_DISPLACE_FRAG = R"(
#version 330
// inputs
in VaryingStruct {
vec2 vTexcoords;
} vsIn;
// The least recently updated "random particle ping-pong image".
// (The other one is the current render target.)
uniform sampler2D uParticlesImage;
//interpolatable stack of 2D textures == 2D + time dimension == 2+1 D == 3D
uniform sampler3D uVelocity3DTexture;
uniform float uNumTimeSteps;
// point in time to sample the stack of flow-textures;
uniform float uRelativeTime;
// time interval to "Newton integrate" since last visual render frame:
uniform float uDurationSinceLastFrame;
// non-physical, user-definable scale factor in order to make the flow speeds visually distinguishable
uniform float uFlowSpeedScale;
// outputs
// TODO check if float can work
layout(location = 0) out float oColor;
void main()
{
vec3 texcoords3D = vec3(vsIn.vTexcoords.x, vsIn.vTexcoords.y, uRelativeTime);
// weird: this one looks like 90 degrees wrong
vec2 velocity = texture(uVelocity3DTexture, texcoords3D).rg;
//float scaledTemperature = texture(uVelocity3DTexture, texcoords3D).b / 32.0;
//debug try: switch axes:
//vec2 velocity = texture(uVelocity3DTexture, texcoords3D).gr;
vec2 scaledVelocity = velocity * uFlowSpeedScale;
vec2 displacement = scaledVelocity * uDurationSinceLastFrame;
//TODO test this:
//float aspectRatio_H_V = float(textureSize(uParticlesImage).x)
// / float(textureSize(uParticlesImage).y);
float aspectRatio_H_V = 1.0;
//compensate for aspectration: downscale displacement horizontal tex coord by aspect ratio
displacement.x /= aspectRatio_H_V;
// pull from inverse direction of diplacement vector: hence MINUS:
vec2 particlePosToPull = vsIn.vTexcoords.xy - displacement.xy;
//debug:
//vec2 particlePosToPull = vsIn.vTexcoords.xy + displacement.xy;
oColor = texture(uParticlesImage, particlePosToPull).r;
//dummy value, not sure if needed to write:
gl_FragDepth = 0.5;
}
)";
////////////////////////////////////////////////////////////////////////////////////////////////////
//FlowRenderer::FlowRenderer(std::string vertexSource, std::string fragmentSource)
// : mVertexSource(std::move(vertexSource))
// , mFragmentSource(std::move(fragmentSource)) {
//}
////////////////////////////////////////////////////////////////////////////////////////////////////
//void FlowRenderer::bind() {
// if (mShaderDirty) {
// compile();
// mShaderDirty = false;
// }
//
// mShader.Bind();
//}
//
//////////////////////////////////////////////////////////////////////////////////////////////////////
//
//void FlowRenderer::release() {
// mShader.Release();
//}
////////////////////////////////////////////////////////////////////////////////////////////////////
/*
void FlowRenderer::compile() {
VistaShaderRegistry& reg = VistaShaderRegistry::GetInstance();
//cs::utils::replaceString(mVertexSource, "$VP_TERRAIN_SHADER_FUNCTIONS",
// reg.RetrieveShader("VistaPlanetTerrainShaderFunctions.vert"));
//cs::utils::replaceString(mVertexSource, "$VP_TERRAIN_SHADER_UNIFORMS",
// reg.RetrieveShader("VistaPlanetTerrainShaderUniforms.glsl"));
//cs::utils::replaceString(mFragmentSource, "$VP_TERRAIN_SHADER_FUNCTIONS",
// reg.RetrieveShader("VistaPlanetTerrainShaderFunctions.frag"));
//cs::utils::replaceString(mFragmentSource, "$VP_TERRAIN_SHADER_UNIFORMS",
// reg.RetrieveShader("VistaPlanetTerrainShaderUniforms.glsl"));
mShader = VistaGLSLShader();
mShader.InitVertexShaderFromString(mVertexSource);
mShader.InitFragmentShaderFromString(mFragmentSource);
mShader.Link();
}
*/
////////////////////////////////////////////////////////////////////////////////////////////////////
FlowRenderer::FlowRenderer(std::shared_ptr<cs::core::Settings> programSettings,
std::shared_ptr<Plugin::Settings> pluginSettings,
std::shared_ptr<cs::core::GuiManager> pGuiManager)
: mProgramSettings(programSettings)
, mPluginSettings(pluginSettings)
, mGuiManager(pGuiManager)
// TODO check for consitency with program startup:
// dummy value:
, mCurrentTime(cs::utils::convert::time::toSpice(pluginSettings->mStartDate))
, mLastVisualRenderTime(cs::utils::convert::time::toSpice(pluginSettings->mStartDate))
{
logger().debug("DEBUGGING 2w3R!!!11");
loadVelocityTifFiles(mPluginSettings->mTifDirectory);
initParticleAnimationFBO();
initParticleAnimationVAO();
initParticleAnimationShader();
initParticleTextures();
}
void FlowRenderer::update(double tTime) {
mCurrentTime = tTime;
}
void FlowRenderer::initParticleTextures() {
// init seed of RNG, so that it is identical on all cluster machines:
srand(5);
mSeedTextureHostData.clear();
GLuint numCells = mImageWidth * mImageHeight;
mSeedTextureHostData.resize(numCells);
// init to default: gray (0.5), "no particles"...
for (GLuint currentCell = 0; currentCell < numCells; currentCell++) {
mSeedTextureHostData[currentCell] = 0.5;
}
for (int i = 0; i < 2; i++) {
mParticlePingPongTexture[i] = std::make_shared<VistaTexture>(GL_TEXTURE_2D);
mParticlePingPongTexture[i]->Bind();
glTexImage2D(GL_TEXTURE_2D, 0, GL_R32F, mImageWidth, mImageHeight, 0, GL_RED, GL_FLOAT,
mSeedTextureHostData.data());
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR);
mParticlePingPongTexture[i]->Unbind();
}
glFlush();
// seed the RNG for reproducability on each cluster node
mRNG.seed(mSeedval);
seedParticleTexture();
}
void FlowRenderer::initParticleAnimationFBO() {
mFBO = std::make_shared<VistaFramebufferObj>();
mFBOdepthBufferTex = std::make_shared<VistaTexture>(GL_TEXTURE_2D);
mFBOdepthBufferTex->Bind();
glTexImage2D(GL_TEXTURE_2D, 0, GL_DEPTH_COMPONENT24, mImageWidth, mImageHeight, 0,
GL_DEPTH_COMPONENT, GL_FLOAT, nullptr);
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR);
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR);
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_CLAMP_TO_EDGE);
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_CLAMP_TO_EDGE);
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_COMPARE_MODE, GL_COMPARE_REF_TO_TEXTURE);
mFBO->Attach(mFBOdepthBufferTex.get(), GL_DEPTH_ATTACHMENT);
mFBOdepthBufferTex->Unbind();
}
void FlowRenderer::initParticleAnimationVAO() {
// create quad -------------------------------------------------------------
std::array<float, 8> const data{-1, 1, 1, 1, -1, -1, 1, -1};
mQuadVBO.Bind(GL_ARRAY_BUFFER);
mQuadVBO.BufferData(data.size() * sizeof(float), data.data(), GL_STATIC_DRAW);
mQuadVBO.Release();
// positions
mQuadVAO.EnableAttributeArray(0);
mQuadVAO.SpecifyAttributeArrayFloat(0, 2, GL_FLOAT, GL_FALSE, 2 * sizeof(float), 0, &mQuadVBO);
}
void FlowRenderer::initParticleAnimationShader() {
mParticleAnimationShader = VistaGLSLShader();
std::string sVert(PARTICLES_SEED_AND_DISPLACE_VERT);
std::string sFrag(PARTICLES_SEED_AND_DISPLACE_FRAG);
mParticleAnimationShader.InitVertexShaderFromString(sVert);
mParticleAnimationShader.InitFragmentShaderFromString(sFrag);
mParticleAnimationShader.Link();
}
void FlowRenderer::setupParticleAnimationShaderUniforms() {
mParticleAnimationShader.Bind();
mParticleAnimationShader.SetUniform(mParticleAnimationShader.GetUniformLocation("uNumTimeSteps"),
static_cast<float>(mPluginSettings->mNumTimeSteps));
// TODO outsource this logic to FlowRenderer
// in [0..1]
double startDate_spice = cs::utils::convert::time::toSpice(mPluginSettings->mStartDate);
double endDate_spice = cs::utils::convert::time::toSpice(mPluginSettings->mEndDate);
double relativeTime =
(getCurrentTime() - startDate_spice) / (endDate_spice - startDate_spice);
mParticleAnimationShader.SetUniform(mParticleAnimationShader.GetUniformLocation("uRelativeTime"),
static_cast<float>(relativeTime));
double uDurationSinceLastFrame =
getCurrentTime() - getLastVisualRenderTime();
mParticleAnimationShader.SetUniform(
mParticleAnimationShader.GetUniformLocation("uDurationSinceLastFrame"),
static_cast<float>(uDurationSinceLastFrame));
mParticleAnimationShader.SetUniform(
mParticleAnimationShader.GetUniformLocation("uFlowSpeedScale"),
static_cast<float>(mPluginSettings->mFlowSpeedScale));
// uParticlesImage
mParticleAnimationShader.SetUniform(
mParticleAnimationShader.GetUniformLocation("uParticlesImage"), 0);
getCurrentParticleTexToReadFrom()->Bind(GL_TEXTURE0);
// 3D texture:
mParticleAnimationShader.SetUniform(
mParticleAnimationShader.GetUniformLocation("uVelocity3DTexture"), 1);
getVelocity3DTexture()->Bind(GL_TEXTURE1);
}
void FlowRenderer::renderParticleAnimation() {
//boilerplate code stolen from Shadows.cpp
// save current viewport
std::array<GLint, 4> iOrigViewport{};
glGetIntegerv(GL_VIEWPORT, iOrigViewport.data());
// bind the fbo
mFBO->Bind();
//bind current write-pingpong texture to FBO's color attachment:
mFBO->Attach(getCurrentRenderTarget().get(), GL_COLOR_ATTACHMENT0);
// setup viewport
glViewport(0, 0, mImageWidth, mImageHeight);
// clear fbo
glClear(GL_DEPTH_BUFFER_BIT);
// bind shader ----------------------------------------
mParticleAnimationShader.Bind();
// set uniforms
setupParticleAnimationShaderUniforms();
// draw "fullscreen" quad via VAO-----------------------------------------
mQuadVAO.Bind();
glDrawArrays(GL_TRIANGLE_STRIP, 0, 4);
mQuadVAO.Release();
// unbind fbo again
mFBO->Release();
mParticleAnimationShader.Release();
// restore previous viewport
glViewport(iOrigViewport.at(0), iOrigViewport.at(1), iOrigViewport.at(2), iOrigViewport.at(3));
//let them ping pongs switch roles
togglePingPongTex();
}
void FlowRenderer::seedParticleTexture() {
static int currentSeedCycleTime = 0;
currentSeedCycleTime++;
//// hack in order so not update every frame;
//static int currentSeedCycleTime = 0;
//const int numFramesBetweenReseed = 60;
//if (currentSeedCycleTime >= numFramesBetweenReseed) {
// currentSeedCycleTime = 0;
//} else {
// currentSeedCycleTime++;
// return;
//}
//glFlush();
//logger().debug("particle seeding #{}", currentSeedCycleTime);
getCurrentParticleTexToReadFrom()->Bind();
//hack: read back tex from GPU:
glGetTexImage(GL_TEXTURE_2D, 0, GL_RED, GL_FLOAT, mSeedTextureHostData.data());
//glFlush();
const GLint numCells = mImageWidth * mImageHeight;
std::uniform_int_distribution<rng_type::result_type> udist(0, numCells -1);
const GLint numNewParticles =
static_cast <GLint>(static_cast<float>(numCells) * mPluginSettings->mParticleSeedThreshold);
//seed to random locations:
for (size_t i = 0; i < numNewParticles; i++) {
mSeedTextureHostData[udist(mRNG)] = 0.0;
mSeedTextureHostData[udist(mRNG)] = 1.0;
}
//glFlush();
// hack: re-upload
glTexImage2D(GL_TEXTURE_2D, 0, GL_R32F, mImageWidth, mImageHeight, 0, GL_RED, GL_FLOAT,
mSeedTextureHostData.data());
//glFlush();
getCurrentParticleTexToReadFrom()->Unbind();
}
void FlowRenderer::togglePingPongTex() {
mCurrentRenderTargetIndex = (mCurrentRenderTargetIndex + 1) % 2;
}
// return:(width, height, numchanelsPerPixel, numBitsPerPixelAndChannel)
glm::u32vec4 getTifParams(std::string filepath) {
auto* data = TIFFOpen(filepath.c_str(), "r");
if (!data) {
logger().error("Failed to load GeoTiff '" + filepath + "'!");
return glm::u32vec4(0, 0, 0, 0);
} else {
logger().info("Read GeoTiff '" + filepath + "'");
}
uint32 width{};
uint32 height{};
uint32 numChannelsPerPixel{};
uint32 bpp{};
TIFFGetField(data, TIFFTAG_IMAGEWIDTH, &width);
TIFFGetField(data, TIFFTAG_IMAGELENGTH, &height);
TIFFGetField(data, TIFFTAG_SAMPLESPERPIXEL, &numChannelsPerPixel);
TIFFGetField(data, TIFFTAG_BITSPERSAMPLE, &bpp);
logger().info("GeoTiff: filepath: {}, width: {}, height: {}, numChannelsPerPixel: {}, bpp: {}",
filepath, width, height, numChannelsPerPixel, bpp);
TIFFClose(data);
if (bpp != 8 * sizeof(GLfloat)) {
logger().error("GeoTiff has not 32 bits per pixel!");
}
return glm::u32vec4(width, height, numChannelsPerPixel, bpp);
}
void FlowRenderer::loadVelocityTifFiles(std::string const& tifDirectory) {
// init 3D texture
glEnable(GL_TEXTURE_3D);
mVelocity3DTexture = std::make_shared<VistaTexture>(GL_TEXTURE_3D);
auto firstFilePath = tifDirectory + "/step_1.tif";
const glm::u32vec4 firstTifMeta = getTifParams(firstFilePath);
mImageWidth = firstTifMeta.x;
mImageHeight = firstTifMeta.y;
const glm::uint32 numChannels = firstTifMeta.z;
const glm::uint32 numBitsPerPixelAndChannel = firstTifMeta.w;
std::vector<float> pixels3D(
mPluginSettings->mNumTimeSteps * mImageWidth * mImageHeight * numChannels);
// for (int timestep = 0; timestep < mNumTimeSteps; timestep++) {
// TODO investigate why no 0 is spit out by the resampling scpripts
for (int timestep = 1; timestep <= mPluginSettings->mNumTimeSteps; timestep++) {
auto currentFilePath = tifDirectory + "/step_" + std::to_string(timestep) + ".tif";
auto* data = TIFFOpen(currentFilePath.c_str(), "r");
if (!data) {
logger().error("Failed to load GeoTiff '" + currentFilePath + "'!");
return;
} else {
logger().info("Read GeoTiff '" + currentFilePath + "'");
}
const glm::u32vec4 currentTifMeta = getTifParams(currentFilePath);
if (currentTifMeta != firstTifMeta) {
logger().error("Tif meta data differ amongst each other!");
}
int currentImage2DIndex = (timestep - 1) * mImageWidth * mImageHeight * numChannels;
// std::vector<float> pixels2D(width * height * numChannels);
for (unsigned y = 0; y < mImageHeight; y++) {
// if (TIFFReadScanline(data, &pixels2D[width * channels * y], y) < 0) {
if (TIFFReadScanline(
data, &pixels3D[currentImage2DIndex + mImageWidth * y * numChannels], y) < 0) {
logger().error("Failed to read tif!");
}
}
logger().info("{} {}", mImageWidth, mImageHeight);
TIFFClose(data);
}
mVelocity3DTexture->Bind();
glTexImage3D(GL_TEXTURE_3D, 0, GL_RGBA32F, mImageWidth, mImageHeight,
mPluginSettings->mNumTimeSteps, 0,
GL_RGB, GL_FLOAT, pixels3D.data());
glTexParameteri(GL_TEXTURE_3D, GL_TEXTURE_MIN_FILTER, GL_LINEAR);
mVelocity3DTexture->Unbind();
}
} // namespace csp::flowvis
| [
"mschlueter@geomar.de"
] | mschlueter@geomar.de |
eeb6a48dee389abb7403b21d2b362a82a016a43d | dc77c9fc6dd165eef5eb1d5658583f20cc362692 | /Library/SimulateCloth.cpp | 1927175d2ca974daa51d49881c2bc8e35c4ad415 | [
"MIT"
] | permissive | yamada-k-25/cloth-simulations | 819ed1cdef60a7870eede30204a9871687787379 | dd03f64c22d6011afcac2c163aa87e3e4b16ffd2 | refs/heads/master | 2020-12-20T16:43:22.463857 | 2020-04-06T08:44:16 | 2020-04-06T08:44:16 | 236,141,704 | 0 | 0 | MIT | 2020-04-06T08:44:18 | 2020-01-25T07:57:22 | C++ | UTF-8 | C++ | false | false | 1,254 | cpp | #include "GridSurface.h"
#include <GLUT/GLUT.h>
#include <OpenGL/OpenGL.h>
#include <vector>
#include "Constants.h"
#include "AsuraVector.h"
#include <cmath>
#include "SimulationInterfaces.h"
class ClothSimulation {
public:
/// Singleton
static ClothSimulation& singleton() {
static ClothSimulation instance;
return instance;
}
// TODO: 詳細部分を全然実装していない
ImageData Simulate(SimulationParameters simParameters, float time) {
/// TODO: ここに実際に Simulationを書く
ImageData result;
// ここでDrawSurfaceの表示なしで実装を進めたい
gridSurface.Initialize();
gridSurface.Update();
return result;
}
void SetupSimulation(ClothParameters params) {
gridSurface = GridSurface(params.originX, params.originY, params.originH, params.divideNum, params.rest, params.stringType);
}
private:
GridSurface gridSurface;
// インスタンス化の禁止
ClothSimulation() {
/// TODO: 本当はNULLを代入するなどで、初期化がされていないとSimulationできないようにしたいのだが
gridSurface = GridSurface();
}
~ClothSimulation() = default;
}; | [
""
] | |
693ff689ad4c5a66050e4e872f9d80abb042a439 | f1a88ab3aeea386b33ef1c02396b609d02912b96 | /src/libsass/src/util.hpp | f23475fe0b41de98704ae4e26b7be66d3000c5be | [
"BSL-1.0",
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | sass/node-sass | 6204f6aced5cfb43568339566215de2bcf73bb9f | c34837d7bfab1ef86a8d9989e83602895373a0a0 | refs/heads/master | 2023-03-09T19:01:45.636758 | 2023-02-27T05:56:36 | 2023-02-27T21:21:21 | 4,128,353 | 8,289 | 1,675 | MIT | 2023-07-10T05:12:07 | 2012-04-24T18:46:30 | C++ | UTF-8 | C++ | false | false | 2,079 | hpp | #ifndef SASS_UTIL_H
#define SASS_UTIL_H
#include <vector>
#include <string>
#include <assert.h>
#include "sass.hpp"
#include "sass/base.h"
#include "ast_fwd_decl.hpp"
#define SASS_ASSERT(cond, msg) assert(cond && msg)
namespace Sass {
double round(double val, size_t precision = 0);
double sass_strtod(const char* str);
const char* safe_str(const char *, const char* = "");
void free_string_array(char **);
char **copy_strings(const std::vector<std::string>&, char ***, int = 0);
std::string read_css_string(const std::string& str, bool css = true);
std::string evacuate_escapes(const std::string& str);
std::string string_to_output(const std::string& str);
std::string comment_to_string(const std::string& text);
std::string read_hex_escapes(const std::string& str);
std::string escape_string(const std::string& str);
void newline_to_space(std::string& str);
std::string quote(const std::string&, char q = 0);
std::string unquote(const std::string&, char* q = 0, bool keep_utf8_sequences = false, bool strict = true);
char detect_best_quotemark(const char* s, char qm = '"');
bool is_hex_doublet(double n);
bool is_color_doublet(double r, double g, double b);
bool peek_linefeed(const char* start);
namespace Util {
std::string rtrim(const std::string& str);
std::string normalize_underscores(const std::string& str);
std::string normalize_decimals(const std::string& str);
bool isPrintable(Ruleset_Ptr r, Sass_Output_Style style = NESTED);
bool isPrintable(Supports_Block_Ptr r, Sass_Output_Style style = NESTED);
bool isPrintable(Media_Block_Ptr r, Sass_Output_Style style = NESTED);
bool isPrintable(Comment_Ptr b, Sass_Output_Style style = NESTED);
bool isPrintable(Block_Obj b, Sass_Output_Style style = NESTED);
bool isPrintable(String_Constant_Ptr s, Sass_Output_Style style = NESTED);
bool isPrintable(String_Quoted_Ptr s, Sass_Output_Style style = NESTED);
bool isPrintable(Declaration_Ptr d, Sass_Output_Style style = NESTED);
bool isAscii(const char chr);
}
}
#endif
| [
"xzyfer@gmail.com"
] | xzyfer@gmail.com |
dbc7324358271f9b7f09ff2aa3031f4dacfa301d | eb8d50bde7a14a7d591165378313d46ab05a11ff | /Tree_Search/BinaryTree.h | ea8237c33d965ba2b6e1b87abec4108ff6bf66dd | [] | no_license | parkjaewoo/DataStructure | 07a4c8c38bf62165f0279fe953e3c1d6456fd073 | 270cc259ea08022962ebf796d0f00e5521c42661 | refs/heads/master | 2021-01-12T04:04:18.348851 | 2017-01-30T02:47:09 | 2017-01-30T02:47:09 | 77,489,968 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,193 | h | #pragma once
#include "BinaryNode.h"
class BinaryTree: public BinaryNode
{
protected:
BinaryNode* root;
public:
BinaryTree():root(NULL){}
void setRoot(BinaryNode* n){root = n;}
BinaryNode* getRoot(){return root;}
bool isEmpty(){return root==NULL;}
void inorder(){
printf(" \n inorder : ");
if(!isEmpty()) root->inorder(); }
void preorder(){
printf("\n preorder : ");
if(!isEmpty()) root->preorder();
}
void postorder(){
printf("\n postorder : ");
if(!isEmpty()) root->postorder();
}
int getCount() {return isEmpty() ? 0 : getCount(root);}
int getCount(BinaryNode* n){
if(n == NULL) return 0;
return 1 + getCount(n->getLeft()) + getCount(n->getRight());
}
int getLeafCount(){return isEmpty() ? 0 : getLeafCount(root);}
int getLeafCount(BinaryNode* n){
if(n == NULL) return 0;
if(isLeaf()) return 1;
else{
return getLeafCount(n->getLeft()) + getLeafCount(n->getRight());
}
}
int getHeight(){return isEmpty() ? 0 : getHeight(root);}
int getHeight(BinaryNode* n){
if(n == NULL) return 0;
int hLeft = getHeight(n->getLeft());
int hRight = getHeight(n->getRight());
return hLeft > hRight ? 1+hLeft : 1 + hRight;
}
};
| [
"qwdqwd910@gmail.com"
] | qwdqwd910@gmail.com |
961aa1e71d509723dd2f46b6ca7c27e26b78a0fd | d96cec51cd9002f826f7f17402dcd45bb6869154 | /SHU_SWB_Project/src/Framework/GameObjects/Components/CameraComponent.h | 6ac7bbcfae0b09503617a78c4241f051212b0999 | [] | no_license | andersonbrands/shu-swb-base-project | 4812b372330919dc03945a9852e80a97068a233a | 81c4f6f5bd92a6dcf32d33866d28e6f879d6a8db | refs/heads/main | 2023-04-20T04:48:19.798743 | 2021-05-04T19:19:27 | 2021-05-04T19:20:34 | 364,362,167 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,323 | h | /***************************************************************************************
* Title: CameraComponent.h
* Author: Brandao, Anderson
* Date: 2014
*
***************************************************************************************/
#ifndef CAMERA_COMPONENT_H_
#define CAMERA_COMPONENT_H_
#include "../Component.h"
#include "../ComponentId.h"
#include "../GameObject.h"
#include "../../EventManager/EventHandler.h"
#include "../../EventManager/EventManager.h"
#include "../../Math/Vector3.h"
#include "../../Utilities/Frustum.h"
namespace Framework {
class CameraComponent : public Component, public EventHandler {
public:
explicit CameraComponent(GameObject* pOwner);
virtual ~CameraComponent();
static ComponentId getId() {
return COMPONENT_ID_CAMERA;
}
virtual void handleEvent(Event* pEvent);
// getters
const Vector3 getUpVector() const;
const Vector3 getForwardVector() const;
const Vector3 getRightVector() const;
void updateFrustum();
private:
float near_;
float far_;
float verticalFieldOfView_;
float aspectRatio_;
Frustum frustum_;
};
}
#endif // CAMERA_COMPONENT_H_ | [
"anderson.brands@gmail.com"
] | anderson.brands@gmail.com |
ed77aaec047a91e2df3f93f0120114f1a6a95ecd | f2e7bf6da1190fe9ae65f2bce016a3ca8b4b3d02 | /hw1/Enigma/Enigma/verify.cpp | 9c979836b503cfd8f9dd2781d37eabbd381459fe | [] | no_license | OldNew777/Encryption | f9d033c03805cd69e9e8baa71160374579888ed5 | 3c0e5c9630892ee0e67b9b38f325cd16cf243fc8 | refs/heads/main | 2023-05-05T08:42:41.868921 | 2021-06-01T18:11:20 | 2021-06-01T18:11:20 | 365,157,463 | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 907 | cpp | #include <iostream>
#include <string>
#include <assert.h>
#include <time.h>
#include "enigma.h"
using namespace std;
int verify() {
char rotor_init_position[3] = { 'A', 'G', 'C' };
int rotorSetting[3] = { 2, 1, 4 };
int plugIn[26] = {
24, 17, 20, 7, 16, 18, 11, 3, 15, 23, 13, 6, 14,
10, 12, 8, 4, 1, 5, 25, 2, 22, 21, 9, 0, 19,
};
string plainText = ""
"ASIOUGHAOSIUEGABNJDFXZKJQWERTYUIOPASDFGH"
"JKLZXCVBNMQWERTYUIOPASDFGHJKLZXCVBNHMAIO";
Enigma enigma(rotor_init_position, rotorSetting, plugIn);
// ÏÈ print enigma µÄÅäÖÃ
printf("Real enigma settings: \n");
enigma.PrintKey();
string cipherText = enigma.Encryption(plainText);
cout << plainText << '\n';
cout << cipherText << "\n\n";
clock_t start = clock();
Enigma::Crack(plainText, cipherText);
double timeTotal = double(clock() - start) / CLOCKS_PER_SEC;
cout << "Time = " << timeTotal << " s\n";
return 0;
} | [
"chenxin18@mails.tsinghua.edu.cn"
] | chenxin18@mails.tsinghua.edu.cn |
aefb5ee016430843c8874a910e6007c573def19e | a7acb4b16bdbf960331286cf32bbd4174f619752 | /include/fruit/impl/component_functors.defn.h | c095ba0a4c2ed46aaf83a32224ab3d52e85aaa5a | [
"Apache-2.0"
] | permissive | husams/fruit | 86f1d952f82774f15c07107bb4287d34181149ab | f8b2898831f1ba49be9817a7b90a2f01b120883b | refs/heads/master | 2020-12-27T14:46:32.150464 | 2015-03-15T12:16:12 | 2015-03-15T12:16:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 34,598 | h | /*
* Copyright 2014 Google Inc. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef FRUIT_COMPONENT_FUNCTORS_DEFN_H
#define FRUIT_COMPONENT_FUNCTORS_DEFN_H
#include "../component.h"
#include "injection_errors.h"
#include "storage/component_storage.h"
#include <memory>
/*********************************************************************************************************************************
This file contains functors that take a Comp and return a struct Op with the form:
struct {
using Result = Comp1;
void operator()(ComponentStorage& storage) {...}
}
*********************************************************************************************************************************/
namespace fruit {
namespace impl {
namespace meta {
struct GetResult {
template <typename F>
struct apply {
using type = typename F::Result;
};
};
struct Identity {
template <typename Comp>
struct apply {
struct type {
using Result = Comp;
void operator()(ComponentStorage&) {}
};
};
};
template <typename... Functors>
struct ComposeFunctors;
template <>
struct ComposeFunctors<> : Identity {
};
template <typename F, typename... Functors>
struct ComposeFunctors<F, Functors...> {
template <typename Comp>
struct apply {
using Op = Apply<F, Comp>;
using LazyOps = Apply<LazyFunctor<ComposeFunctors<Functors...>>, Lazy<typename Op::Result>>;
struct type {
using Result = Eval<Conditional<Lazy<Apply<IsError, typename Op::Result>>,
Lazy<typename Op::Result>,
Apply<LazyFunctor<GetResult>, LazyOps>
>>;
void operator()(ComponentStorage& storage) {
Op()(storage);
Eval<LazyOps>()(storage);
}
};
};
};
template <typename TargetRequirements, typename T>
struct EnsureProvidedType;
template <typename TargetRequirements, typename L>
struct EnsureProvidedTypes;
// Doesn't actually bind in ComponentStorage. The binding is added later (if needed) using ProcessInterfaceBinding.
template <typename I, typename C>
struct AddDeferredInterfaceBinding {
template <typename Comp>
struct apply {
struct type {
using Comp1 = ConsComp<typename Comp::Rs,
typename Comp::Ps,
typename Comp::Deps,
Apply<AddToSet,
ConsInterfaceBinding<I, C>,
typename Comp::InterfaceBindings>,
typename Comp::DeferredBindingFunctors>;
// Note that we do NOT call AddProvidedType here. We'll only know the right required type
// when the binding will be used.
using Result = Eval<std::conditional<!std::is_base_of<I, C>::value,
Error<NotABaseClassOfErrorTag, I, C>,
Comp1>>;
void operator()(ComponentStorage&) {}
};
};
};
template <typename I, typename C>
struct ProcessInterfaceBinding {
template <typename Comp>
struct apply {
struct type {
// This must be here (and not in AddDeferredInterfaceBinding) because the binding might be
// used to bind functors instead, so we might never need to add C to the requirements.
using Result = Apply<AddProvidedType, Comp, I, Vector<C>>;
void operator()(ComponentStorage& storage) {
storage.addBinding(InjectorStorage::createBindingDataForBind<I, C>());
};
};
};
};
template <typename I, typename C>
struct AddInterfaceMultibinding {
template <typename Comp>
struct apply {
struct type {
using Result = Eval<std::conditional<!std::is_base_of<I, C>::value,
Error<NotABaseClassOfErrorTag, I, C>,
Apply<AddRequirements, Comp, Vector<C>>
>>;
void operator()(ComponentStorage& storage) {
storage.addMultibinding(InjectorStorage::createMultibindingDataForBinding<I, C>());
};
};
};
};
template <typename Lambda, typename OptionalI>
struct PostProcessRegisterProviderHelper {
inline void operator()(ComponentStorage& component) {
component.addBinding(InjectorStorage::createBindingDataForProvider<Lambda>());
component.addCompressedBinding(InjectorStorage::createBindingDataForCompressedProvider<Lambda, OptionalI>());
}
};
template <typename Lambda>
struct PostProcessRegisterProviderHelper<Lambda, None> {
inline void operator()(ComponentStorage& component) {
component.addBinding(InjectorStorage::createBindingDataForProvider<Lambda>());
}
};
// T can't be any injectable type, it must match the return type of the provider in one of
// the registerProvider() overloads in ComponentStorage.
template <typename Lambda>
struct PostProcessRegisterProvider {
template <typename Comp>
struct apply {
struct type {
using Signature = Apply<FunctionSignature, Lambda>;
using C = CheckedApply<GetClassForType, CheckedApply<SignatureType, Signature>>;
using OptionalI = CheckedApply<GetBindingToInterface, C, typename Comp::InterfaceBindings>;
using Result = Comp;
void operator()(ComponentStorage& storage) {
PostProcessRegisterProviderHelper<Lambda, OptionalI>()(storage);
}
};
};
};
template <typename Lambda>
struct PreProcessRegisterProvider {
template <typename Comp>
struct apply {
struct type {
using Signature = Apply<FunctionSignature, Lambda>;
using C = CheckedApply<GetClassForType, CheckedApply<SignatureType, Signature>>;
using OptionalI = CheckedApply<GetBindingToInterface, C, typename Comp::InterfaceBindings>;
using CDeps = CheckedApply<ExpandProvidersInParams,
CheckedApply<GetClassForTypeVector, CheckedApply<SignatureArgs, Signature>>>;
using Result = CheckedApply<AddProvidedType, Comp, C, CDeps>;
void operator()(ComponentStorage&) {}
};
};
};
// The registration is actually deferred until the PartialComponent is converted to a component.
template <typename Lambda>
struct DeferredRegisterProvider {
template <typename Comp>
struct apply {
struct type {
using Comp1 = Apply<AddDeferredBinding, Comp, PostProcessRegisterProvider<Lambda>>;
using Comp2 = CheckedApply<GetResult, CheckedApply<PreProcessRegisterProvider<Lambda>, Comp1>>;
using Result = Comp2;
void operator()(ComponentStorage&) {}
};
};
};
// T can't be any injectable type, it must match the return type of the provider in one of
// the registerMultibindingProvider() overloads in ComponentStorage.
template <typename Lambda>
struct RegisterMultibindingProvider {
template <typename Comp>
struct apply {
struct type {
using Args = CheckedApply<SignatureArgs, Apply<FunctionSignature, Lambda>>;
using ArgSet = CheckedApply<ExpandProvidersInParams,
CheckedApply<GetClassForTypeVector, Args>>;
using Result = CheckedApply<AddRequirements, Comp, Args>;
void operator()(ComponentStorage& storage) {
storage.addMultibinding(InjectorStorage::createMultibindingDataForProvider<Lambda>());
}
};
};
};
// Non-assisted case.
template <int numAssistedBefore, int numNonAssistedBefore, typename Arg, typename InjectedArgsTuple, typename UserProvidedArgsTuple>
struct GetAssistedArg {
inline Arg operator()(InjectedArgsTuple& injected_args, UserProvidedArgsTuple&) {
return std::get<numNonAssistedBefore>(injected_args);
}
};
// Assisted case.
template <int numAssistedBefore, int numNonAssistedBefore, typename Arg, typename InjectedArgsTuple, typename UserProvidedArgsTuple>
struct GetAssistedArg<numAssistedBefore, numNonAssistedBefore, Assisted<Arg>, InjectedArgsTuple, UserProvidedArgsTuple> {
inline Arg operator()(InjectedArgsTuple&, UserProvidedArgsTuple& user_provided_args) {
return std::get<numAssistedBefore>(user_provided_args);
}
};
template <typename AnnotatedSignature,
typename Lambda,
typename InjectedSignature = Apply<InjectedSignatureForAssistedFactory, AnnotatedSignature>,
typename RequiredSignature = Apply<RequiredSignatureForAssistedFactory, AnnotatedSignature>,
typename InjectedArgs = Apply<RemoveAssisted, Apply<SignatureArgs, AnnotatedSignature>>,
typename IndexSequence = GenerateIntSequence<
Apply<VectorSize,
Apply<RequiredArgsForAssistedFactory, AnnotatedSignature>
>::value>
>
struct RegisterFactory;
template <typename AnnotatedSignature, typename Lambda, typename C, typename... UserProvidedArgs, typename... AllArgs, typename... InjectedArgs, int... indexes>
struct RegisterFactory<AnnotatedSignature, Lambda, C(UserProvidedArgs...), C(AllArgs...), Vector<InjectedArgs...>, IntVector<indexes...>> {
template <typename Comp>
struct apply {
using T = Apply<SignatureType, AnnotatedSignature>;
using AnnotatedArgs = Apply<SignatureArgs, AnnotatedSignature>;
using InjectedSignature = C(UserProvidedArgs...);
using RequiredSignature = C(AllArgs...);
using fun_t = std::function<InjectedSignature>;
using FunDeps = Apply<ExpandProvidersInParams, Apply<GetClassForTypeVector, AnnotatedArgs>>;
struct type {
// The first is_same check is a bit of a hack, it's to make the F2/RealF2 split work in the caller (we need to allow Lambda to be a function type).
using Result = Eval<Conditional<Lazy<Bool<!std::is_empty<Lambda>::value && !std::is_same<Lambda, Apply<FunctionSignature, Lambda>>::value>>,
Lazy<Error<LambdaWithCapturesErrorTag, Lambda>>,
Conditional<Lazy<Bool<!std::is_same<RequiredSignature, Apply<FunctionSignature, Lambda>>::value>>,
Lazy<Error<FunctorSignatureDoesNotMatchErrorTag, RequiredSignature, Apply<FunctionSignature, Lambda>>>,
Conditional<Lazy<Bool<std::is_pointer<T>::value>>,
Lazy<Error<FactoryReturningPointerErrorTag, AnnotatedSignature>>,
Apply<LazyFunctor<AddProvidedType>, Lazy<Comp>, Lazy<fun_t>, Lazy<FunDeps>>
>
>
>>;
void operator()(ComponentStorage& storage) {
auto function_provider = [](InjectedArgs... args) {
// TODO: Using auto and make_tuple here results in a GCC segfault with GCC 4.8.1.
// Check this on later versions and consider filing a bug.
std::tuple<InjectedArgs...> injected_args(args...);
auto object_provider = [injected_args](UserProvidedArgs... params) mutable {
auto user_provided_args = std::tie(params...);
// These are unused if they are 0-arg tuples. Silence the unused-variable warnings anyway.
(void) injected_args;
(void) user_provided_args;
return LambdaInvoker::invoke<Lambda, AllArgs...>(GetAssistedArg<
Apply<NumAssistedBefore, Int<indexes>, AnnotatedArgs>::value,
indexes - Apply<NumAssistedBefore, Int<indexes>, AnnotatedArgs>::value,
GetNthType<indexes, AnnotatedArgs>,
decltype(injected_args),
decltype(user_provided_args)
>()(injected_args, user_provided_args)
...);
};
return fun_t(object_provider);
};
storage.addBinding(InjectorStorage::createBindingDataForProvider<decltype(function_provider)>());
}
};
};
};
template <typename Signature>
struct PostProcessRegisterConstructor;
template <typename Signature, typename OptionalI>
struct PostProcessRegisterConstructorHelper {
inline void operator()(ComponentStorage& component) {
component.addBinding(InjectorStorage::createBindingDataForConstructor<Signature>());
component.addCompressedBinding(InjectorStorage::createBindingDataForCompressedConstructor<Signature, OptionalI>());
}
};
template <typename Signature>
struct PostProcessRegisterConstructorHelper<Signature, None> {
inline void operator()(ComponentStorage& component) {
component.addBinding(InjectorStorage::createBindingDataForConstructor<Signature>());
}
};
template <typename T, typename... Args>
struct PostProcessRegisterConstructor<T(Args...)> {
template <typename Comp>
struct apply {
using C = Apply<GetClassForType, T>;
struct type {
using Result = Comp;
void operator()(ComponentStorage& storage) {
PostProcessRegisterConstructorHelper<T(Args...), Apply<GetBindingToInterface, C, typename Comp::InterfaceBindings>>()(storage);
}
};
};
};
// We need to extract this to make the computation of SignatureType lazy, otherwise it'd be evaluated in DeferredRegisterConstructor even when it should not be.
struct AddProvidedTypeForRegisterConstructor {
template <typename Signature, typename Comp>
struct apply {
using T = Apply<SignatureType, Signature>;
using Args = Apply<SignatureArgs, Signature>;
using C = Apply<GetClassForType, T>;
using CDeps = Apply<ExpandProvidersInParams, Apply<GetClassForTypeVector, Args>>;
using type = Apply<AddProvidedType, Comp, C, CDeps>;
};
};
// We need to extract this to make the computation of SignatureType lazy, otherwise it'd be evaluated in DeferredRegisterConstructor even when it should not be.
struct ConstructNoConstructorMatchingInjectSignatureError {
template <typename Signature>
struct apply {
using type = Error<NoConstructorMatchingInjectSignatureErrorTag, Apply<SignatureType, Signature>, Signature>;
};
};
template <typename Signature>
struct PreProcessRegisterConstructor {
template <typename Comp>
struct apply {
struct type {
using Result = Eval<Conditional<Lazy<Apply<Not, Apply<IsValidSignature, Signature>>>,
Lazy<Error<NotASignatureErrorTag, Signature>>,
Conditional<Apply<LazyFunctor<Not>,
Apply<LazyFunctor<IsConstructibleWithVector>,
Apply<LazyFunctor<SignatureType>, Lazy<Signature>>,
Apply<LazyFunctor<SignatureArgs>, Lazy<Signature>>
>
>,
Apply<LazyFunctor<ConstructNoConstructorMatchingInjectSignatureError>, Lazy<Signature>>,
Apply<LazyFunctor<AddProvidedTypeForRegisterConstructor>,
Lazy<Signature>,
Lazy<Comp>
>
>
>>;
void operator()(ComponentStorage&) {}
};
};
};
template <typename Signature>
struct DeferredRegisterConstructor {
template <typename Comp>
struct apply {
struct type {
using Comp1 = Apply<AddDeferredBinding,
Comp,
PostProcessRegisterConstructor<Signature>
>;
using Comp2 = CheckedApply<GetResult, CheckedApply<PreProcessRegisterConstructor<Signature>, Comp1>>;
using Result = Comp2;
void operator()(ComponentStorage&) {}
};
};
};
template <typename C>
struct RegisterInstance {
template <typename Comp>
struct apply {
struct type {
using Result = Apply<AddProvidedType, Comp, C, Vector<>>;
void operator()(ComponentStorage& storage, C& instance) {
storage.addBinding(InjectorStorage::createBindingDataForBindInstance<C>(instance));
};
};
};
};
template <typename C>
struct AddInstanceMultibinding {
template <typename Comp>
struct apply {
struct type {
using Result = Comp;
void operator()(ComponentStorage& storage, C& instance) {
storage.addMultibinding(InjectorStorage::createMultibindingDataForInstance<C>(instance));
};
};
};
};
template <typename C>
struct AddInstanceMultibindings {
template <typename Comp>
struct apply {
struct type {
using Result = Comp;
void operator()(ComponentStorage& storage, std::vector<C>& instances) {
for (C& instance : instances) {
storage.addMultibinding(InjectorStorage::createMultibindingDataForInstance<C>(instance));
}
};
};
};
};
template <typename AnnotatedSignature,
typename RequiredSignature = Apply<ConstructSignature,
Apply<SignatureType, AnnotatedSignature>,
Apply<RequiredArgsForAssistedFactory, AnnotatedSignature>>>
struct RegisterConstructorAsValueFactory;
template <typename AnnotatedSignature, typename T, typename... Args>
struct RegisterConstructorAsValueFactory<AnnotatedSignature, T(Args...)> {
template <typename Comp>
struct apply {
using RequiredSignature = T(Args...);
using F1 = RegisterFactory<AnnotatedSignature, RequiredSignature>;
using Op = Apply<F1, Comp>;
struct type {
using Result = typename Op::Result;
void operator()(ComponentStorage& storage) {
auto provider = [](Args... args) {
return T(std::forward<Args>(args)...);
};
using RealF1 = RegisterFactory<AnnotatedSignature, decltype(provider)>;
using RealOp = Apply<RealF1, Comp>;
FruitStaticAssert(std::is_same<typename Op::Result,
typename RealOp::Result>::value,
"Fruit bug, F1 and RealF1 out of sync.");
RealOp()(storage);
}
};
};
};
template <typename OtherComp>
struct InstallComponent {
template <typename Comp>
struct apply {
using new_Ps = Apply<ConcatVectors, typename OtherComp::Ps, typename Comp::Ps>;
using new_Rs = Apply<SetDifference,
Apply<SetUnion,
typename OtherComp::Rs,
typename Comp::Rs>,
new_Ps>;
using new_Deps =
Apply<AddProofTreeVectorToForest, typename OtherComp::Deps, typename Comp::Deps, typename Comp::Ps>;
using new_InterfaceBindings =
Apply<SetUnion, typename OtherComp::InterfaceBindings, typename Comp::InterfaceBindings>;
using new_DeferredBindingFunctors =
Apply<ConcatVectors, typename OtherComp::DeferredBindingFunctors, typename Comp::DeferredBindingFunctors>;
using Comp1 = ConsComp<new_Rs, new_Ps, new_Deps, new_InterfaceBindings, new_DeferredBindingFunctors>;
using DuplicateTypes = Apply<SetIntersection, typename OtherComp::Ps, typename Comp::Ps>;
struct type {
using Result = Eval<std::conditional<Apply<VectorSize, DuplicateTypes>::value != 0,
Apply<ConstructErrorWithArgVector, DuplicateTypesInComponentErrorTag, DuplicateTypes>,
Comp1
>>;
void operator()(ComponentStorage& storage, ComponentStorage&& other_storage) {
storage.install(std::move(other_storage));
}
};
};
};
// Used to limit the amount of metaprogramming in component.h, that might confuse users.
template <typename... OtherCompParams>
struct InstallComponentHelper {
template <typename Comp>
struct apply {
using OtherComp = Apply<ConstructComponentImpl, OtherCompParams...>;
struct E {
using type = OtherComp;
void operator()(ComponentStorage&, ComponentStorage&&) {}
};
using type = Eval<Conditional<Lazy<Apply<IsError, OtherComp>>,
Lazy<E>,
Lazy<Apply<InstallComponent<OtherComp>, Comp>>
>>;
};
};
template <typename DestComp>
struct ConvertComponent {
template <typename SourceComp>
struct apply {
// We need to register:
// * All the types provided by the new component
// * All the types required by the old component
// except:
// * The ones already provided by the old component.
// * The ones required by the new one.
using ToRegister = Apply<SetDifference,
Apply<SetUnion, typename DestComp::Ps, typename SourceComp::Rs>,
Apply<SetUnion, typename DestComp::Rs, typename SourceComp::Ps>>;
using F1 = EnsureProvidedTypes<typename DestComp::Rs, ToRegister>;
using type = Apply<F1, SourceComp>;
// Not needed, just double-checking.
// Uses FruitStaticAssert instead of FruitDelegateCheck so that it's checked only in debug mode.
FruitStaticAssert(true || sizeof(Eval<Conditional<Lazy<Bool<Apply<IsError, typename type::Result>::value || Apply<IsError, DestComp>::value>>,
Lazy<int>, // No checks, we'll report a user error soon.
Apply<LazyFunctor<CheckComponentEntails>, Lazy<typename type::Result>, Lazy<DestComp>>
>>), "");
};
};
struct ProcessDeferredBindings {
template <typename Comp>
struct apply;
template <typename RsParam, typename PsParam, typename DepsParam, typename InterfaceBindingsParam,
typename... DeferredBindingFunctors>
struct apply<ConsComp<RsParam, PsParam, DepsParam, InterfaceBindingsParam, Vector<DeferredBindingFunctors...>>> {
// Comp1 is the same as Comp, but without the DeferredBindingFunctors.
using Comp1 = ConsComp<RsParam, PsParam, DepsParam, InterfaceBindingsParam, Vector<>>;
using type = Apply<ComposeFunctors<DeferredBindingFunctors...>, Comp1>;
};
};
// The types in TargetRequirements will not be auto-registered.
template <typename TargetRequirements, typename C>
struct AutoRegister;
template <typename TargetRequirements, bool has_inject_annotation, typename C>
struct AutoRegisterHelper;
// C has an Inject typedef, use it.
template <typename TargetRequirements, typename C>
struct AutoRegisterHelper<TargetRequirements, true, C> {
template <typename Comp>
struct apply {
using Inject = Apply<GetInjectAnnotation, C>;
using F = ComposeFunctors<
PreProcessRegisterConstructor<Inject>,
PostProcessRegisterConstructor<Inject>,
EnsureProvidedTypes<TargetRequirements,
CheckedApply<ExpandProvidersInParams, CheckedApply<SignatureArgs, Inject>>>
>;
struct E {
using Result = Inject;
void operator()(ComponentStorage&) {}
};
using type = Eval<Conditional<Lazy<Apply<IsError, Inject>>,
Lazy<E>,
Apply<LazyFunctor<F>, Lazy<Comp>>
>>;
};
};
template <typename TargetRequirements, typename C>
struct AutoRegisterHelper<TargetRequirements, false, C> {
template <typename Comp>
struct apply {
struct type {
using Result = Error<NoBindingFoundErrorTag, C>;
void operator()(ComponentStorage&) {}
};
};
};
template <typename TargetRequirements, bool has_interface_binding, bool has_inject_annotation, typename C, typename... Args>
struct AutoRegisterFactoryHelper;
// I has an interface binding, use it and look for a factory that returns the type that I is bound to.
template <typename TargetRequirements, bool unused, typename I, typename... Argz>
struct AutoRegisterFactoryHelper<TargetRequirements, true, unused, std::unique_ptr<I>, Argz...> {
template <typename Comp>
struct apply {
using C = Apply<GetInterfaceBinding, I, typename Comp::InterfaceBindings>;
using original_function_t = std::function<std::unique_ptr<C>(Argz...)>;
using function_t = std::function<std::unique_ptr<I>(Argz...)>;
using F1 = EnsureProvidedType<TargetRequirements, original_function_t>;
using F2 = PreProcessRegisterProvider<function_t*(original_function_t*)>;
using F3 = PostProcessRegisterProvider<function_t*(original_function_t*)>;
using Op = Apply<ComposeFunctors<F1, F2, F3>, Comp>;
struct type {
using Result = typename Op::Result;
void operator()(ComponentStorage& storage) {
auto provider = [](original_function_t* fun) {
return new function_t([=](Argz... args) {
C* c = (*fun)(args...).release();
I* i = static_cast<I*>(c);
return std::unique_ptr<I>(i);
});
};
using RealF2 = PreProcessRegisterProvider<decltype(provider)>;
using RealF3 = PostProcessRegisterProvider<decltype(provider)>;
using RealOp = Apply<ComposeFunctors<F1, RealF2, RealF3>, Comp>;
FruitStaticAssert(std::is_same<typename Op::Result,
typename RealOp::Result>::value,
"Fruit bug, F2/F3 and RealF2/RealF3 out of sync.");
RealOp()(storage);
}
};
};
};
// C doesn't have an interface binding as interface, nor an INJECT annotation.
// Bind std::function<unique_ptr<C>(Args...)> to std::function<C(Args...)>.
template <typename TargetRequirements, typename C, typename... Argz>
struct AutoRegisterFactoryHelper<TargetRequirements, false, false, std::unique_ptr<C>, Argz...> {
template <typename Comp>
struct apply {
using original_function_t = std::function<C(Argz...)>;
using function_t = std::function<std::unique_ptr<C>(Argz...)>;
using F1 = EnsureProvidedType<TargetRequirements, original_function_t>;
using F2 = PreProcessRegisterProvider<function_t*(original_function_t*)>;
using F3 = PostProcessRegisterProvider<function_t*(original_function_t*)>;
using Op = Apply<ComposeFunctors<F1, F2, F3>, Comp>;
struct type {
// If we are about to report a NoBindingFound error for std::function<C(Argz...)>, report one for std::function<std::unique_ptr<C>(Argz...)> instead,
// otherwise we'd report an error about a type that the user doesn't expect.
using Result = Eval<std::conditional<std::is_same<typename Op::Result, Error<NoBindingFoundErrorTag, std::function<C(Argz...)>>>::value,
Error<NoBindingFoundErrorTag, std::function<std::unique_ptr<C>(Argz...)>>,
typename Op::Result
>> ;
void operator()(ComponentStorage& storage) {
auto provider = [](original_function_t* fun) {
return new function_t([=](Argz... args) {
C* c = new C((*fun)(args...));
return std::unique_ptr<C>(c);
});
};
using RealF2 = PreProcessRegisterProvider<decltype(provider)>;
using RealF3 = PostProcessRegisterProvider<decltype(provider)>;
using RealOp = Apply<ComposeFunctors<F1, RealF2, RealF3>, Comp>;
FruitStaticAssert(std::is_same<typename Op::Result,
typename RealOp::Result>::value,
"Fruit bug, F2/F3 and RealF2/RealF3 out of sync.");
RealOp()(storage);
}
};
};
};
// This case never happens, has_inject_annotation is set to false below if the factory returns an unique_ptr.
template <typename TargetRequirements, typename C, typename... Argz>
struct AutoRegisterFactoryHelper<TargetRequirements, false, true, std::unique_ptr<C>, Argz...> {
template <typename Comp>
struct apply;
};
// C has an Inject typedef, use it. Value (not unique_ptr) case.
// TODO: Doesn't work after renaming Argz->Args, consider minimizing the test case and filing a bug.
template <typename TargetRequirements, typename C, typename... Argz>
struct AutoRegisterFactoryHelper<TargetRequirements, false, true, C, Argz...> {
template <typename Comp>
struct apply {
using AnnotatedSignature = Apply<GetInjectAnnotation, C>;
using AnnotatedSignatureArgs = CheckedApply<SignatureArgs, AnnotatedSignature>;
using ExpectedSignatureInInjectionTypedef = CheckedApply<ConstructSignature, C, Vector<Argz...>>;
using ActualSignatureInInjectionTypedef = CheckedApply<ConstructSignature, C, CheckedApply<RemoveNonAssisted, AnnotatedSignatureArgs>>;
using NonAssistedArgs = CheckedApply<RemoveAssisted, AnnotatedSignatureArgs>;
using F1 = RegisterConstructorAsValueFactory<AnnotatedSignature>;
using F2 = EnsureProvidedTypes<TargetRequirements, CheckedApply<ExpandProvidersInParams, NonAssistedArgs>>;
struct E {
using Result = Error<FunctorSignatureDoesNotMatchErrorTag, ExpectedSignatureInInjectionTypedef, ActualSignatureInInjectionTypedef>;
void operator()(ComponentStorage&) {}
};
using type = Eval<std::conditional<!std::is_same<ExpectedSignatureInInjectionTypedef, ActualSignatureInInjectionTypedef>::value,
E,
Apply<ComposeFunctors<F1, F2>, Comp>
>>;
};
};
template <typename TargetRequirements, typename C, typename... Args>
struct AutoRegisterFactoryHelper<TargetRequirements, false, false, C, Args...> {
template <typename Comp>
struct apply {
struct type {
using Result = Error<NoBindingFoundErrorTag, std::function<C(Args...)>>;
void operator()(ComponentStorage&) {}
};
};
};
// Tries to registers C by looking for a typedef called Inject inside C.
template <typename TargetRequirements, typename C>
struct AutoRegister : public AutoRegisterHelper<
TargetRequirements,
Apply<HasInjectAnnotation, C>::value,
C
>{};
template <typename TargetRequirements, typename C, typename... Args>
struct AutoRegister<TargetRequirements, std::function<C(Args...)>> {
template <typename Comp>
struct apply {
using F1 = AutoRegisterFactoryHelper<
TargetRequirements,
Apply<HasInterfaceBinding, C, typename Comp::InterfaceBindings>::value,
Apply<HasInjectAnnotation, C>::value,
C,
Args...>;
using type = Apply<F1, Comp>;
};
};
template <typename TargetRequirements, typename C, typename... Args>
struct AutoRegister<TargetRequirements, std::function<std::unique_ptr<C>(Args...)>> {
template <typename Comp>
struct apply {
using F1 = AutoRegisterFactoryHelper<
TargetRequirements,
Apply<HasInterfaceBinding, C, typename Comp::InterfaceBindings>::value,
false,
std::unique_ptr<C>,
Args...>;
using type = Apply<F1, Comp>;
};
};
template <typename TargetRequirements, bool is_already_provided_or_in_target_requirements, bool has_interface_binding, typename C>
struct EnsureProvidedTypeHelper;
// Already provided or in target requirements, ok.
template <typename TargetRequirements, bool unused, typename C>
struct EnsureProvidedTypeHelper<TargetRequirements, true, unused, C> : public Identity {};
// Has an interface binding.
template <typename TargetRequirements, typename I>
struct EnsureProvidedTypeHelper<TargetRequirements, false, true, I> {
template <typename Comp>
struct apply {
using C = Apply<GetInterfaceBinding, I, typename Comp::InterfaceBindings>;
using F1 = ProcessInterfaceBinding<I, C>;
using F2 = EnsureProvidedType<TargetRequirements, C>;
using type = Apply<ComposeFunctors<F1, F2>, Comp>;
};
};
// Not yet provided, nor in target requirements, nor in InterfaceBindings. Try auto-registering.
template <typename TargetRequirements, typename C>
struct EnsureProvidedTypeHelper<TargetRequirements, false, false, C> : public AutoRegister<TargetRequirements, C> {};
template <typename TargetRequirements, typename T>
struct EnsureProvidedType {
template <typename Comp>
struct apply {
using C = Apply<GetClassForType, T>;
using F1 = EnsureProvidedTypeHelper<TargetRequirements,
Apply<IsInVector, C, typename Comp::Ps>::value
|| Apply<IsInVector, C, TargetRequirements>::value,
Apply<HasInterfaceBinding, C, typename Comp::InterfaceBindings>::value,
C>;
using type = Apply<F1, Comp>;
};
};
// General case, empty list.
template <typename TargetRequirements, typename L>
struct EnsureProvidedTypes : public Identity {
FruitStaticAssert(Apply<IsEmptyVector, L>::value, "Implementation error");
};
template <typename TargetRequirements, typename... Ts>
struct EnsureProvidedTypes<TargetRequirements, Vector<None, Ts...>>
: public EnsureProvidedTypes<TargetRequirements, Vector<Ts...>> {
};
template <typename TargetRequirements, typename T, typename... Ts>
struct EnsureProvidedTypes<TargetRequirements, Vector<T, Ts...>> {
template <typename Comp>
struct apply {
using F1 = EnsureProvidedType<TargetRequirements, T>;
using F2 = EnsureProvidedTypes<TargetRequirements, Vector<Ts...>>;
using type = Apply<ComposeFunctors<F1, F2>, Comp>;
};
};
} // namespace meta
} // namespace impl
} // namespace fruit
#endif // FRUIT_COMPONENT_FUNCTORS_DEFN_H
| [
"poletti.marco@gmail.com"
] | poletti.marco@gmail.com |
d415b57d708d8b2a48a4de2e3b94c5d838957cbb | ef3a6ae937db9a6e93171efc0c445c608ec4513e | /Dynamic Programming/Book_Shop.cpp | 75716d27da1c95716bdec7dc50823077ff7e7cc0 | [] | no_license | varenyamBakshi/CSES-Solutions | 0468b3789e333aefe84c9bd970ebc71afa54f54f | bb88e1ce07de06ef894eee6a7e782fc87589f351 | refs/heads/master | 2023-07-07T04:53:04.308286 | 2021-07-28T14:34:11 | 2021-07-28T14:34:11 | 377,839,450 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 595 | cpp | #include<bits/stdc++.h>
using namespace std;
#define ll long long
#define endl "\n"
int main(){
int n, x; cin>>n>>x;
vector<ll> price(n), page(n);
for(int i = 0; i < n; i++) cin>>price[i];
for(int i = 0; i < n; i++) cin>>page[i];
vector<ll> dp(x+1,0);
for(int i = 0; i < n; i++){
for(int j = x; j>0; j--){
if(j<price[i])break;
//if(dp[j-price[i]]==INT_MIN)continue;
dp[j] = max(dp[j], dp[j-price[i]] + page[i]);
}
// for(auto it: dp)cout<<it<<" ";
// cout<<endl;
}
cout<<dp[x];
return 0;
} | [
"varenyam101@gmail.com"
] | varenyam101@gmail.com |
3ca120be49c0bc693945265798a3bf12c22e8b29 | 8c8820fb84dea70d31c1e31dd57d295bd08dd644 | /ImageWrapper/Public/IImageWrapperModule.h | d5075d67fca86c32aa566389fa87cd8946368d83 | [] | no_license | redisread/UE-Runtime | e1a56df95a4591e12c0fd0e884ac6e54f69d0a57 | 48b9e72b1ad04458039c6ddeb7578e4fc68a7bac | refs/heads/master | 2022-11-15T08:30:24.570998 | 2020-06-20T06:37:55 | 2020-06-20T06:37:55 | 274,085,558 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,180 | h | // Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreTypes.h"
#include "Modules/ModuleInterface.h"
#include "Templates/SharedPointer.h"
class IImageWrapper;
enum class EImageFormat : int8;
/**
* Interface for image wrapper modules.
*/
class IImageWrapperModule
: public IModuleInterface
{
public:
/**
* Create a helper of a specific type
*
* @param InFormat - The type of image we want to deal with
* @return The helper base class to manage the data
*/
virtual TSharedPtr<IImageWrapper> CreateImageWrapper(const EImageFormat InFormat) = 0;
/**
* Detect image format by looking at the first few bytes of the compressed image data.
* You can call this method as soon as you have 8-16 bytes of compressed file content available.
*
* @param InCompressedData The raw image header.
* @param InCompressedSize The size of InCompressedData.
* @return the detected format or EImageFormat::Invalid if the method could not detect the image format.
*/
virtual EImageFormat DetectImageFormat(const void* InCompressedData, int64 InCompressedSize) = 0;
public:
/** Virtual destructor. */
virtual ~IImageWrapperModule() { }
};
| [
"wujiahong19981022@outlook.com"
] | wujiahong19981022@outlook.com |
aa3539417deab1a8d0a9864630061c2e4beda64f | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/httpd/gumtree/httpd_patch_hunk_3552.cpp | 6adc2914304e00a4b7fb584824901e07c3d9e649 | [] | no_license | niuxu18/logTracker-old | 97543445ea7e414ed40bdc681239365d33418975 | f2b060f13a0295387fe02187543db124916eb446 | refs/heads/master | 2021-09-13T21:39:37.686481 | 2017-12-11T03:36:34 | 2017-12-11T03:36:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 411 | cpp | {
apr_status_t rv;
apr_dir_t *dirp;
apr_finfo_t dirent;
rv = apr_dir_open(&dirp, dir, pool);
- if (rv == APR_ENOENT) {
+ if (APR_STATUS_IS_ENOENT(rv)) {
return rv;
}
if (rv != APR_SUCCESS) {
char errmsg[120];
apr_file_printf(errfile, "Could not open directory %s: %s" APR_EOL_STR,
dir, apr_strerror(rv, errmsg, sizeof errmsg));
| [
"993273596@qq.com"
] | 993273596@qq.com |
55dfcc64a72d099417649b1b069bcb022572afb3 | cef518cc462d60ac9174317d559275932779ad9c | /Source/RHI/Vulkan/Private/VkRenderPass.cpp | 6b078040c34e55e3f69aba9e73c97f7e1feb3f6d | [
"MIT"
] | permissive | playbar/kaleido3d | da7c94596e43237f1cc3a6535fc7be628518cb42 | 42243de529fad593103d3f11f526824e76cce22c | refs/heads/master | 2021-01-19T20:05:34.558734 | 2017-12-19T09:00:48 | 2017-12-19T09:00:48 | 88,484,344 | 0 | 0 | null | 2017-04-17T07:41:59 | 2017-04-17T07:41:59 | null | UTF-8 | C++ | false | false | 9,441 | cpp | #include "VkCommon.h"
#include "VkRHI.h"
#include "VkUtils.h"
//#include "Public/VkCommandWrapper.hpp"
K3D_VK_BEGIN
RenderPass::RenderPass(Device::Ptr pDevice, RenderpassOptions const & options)
: DeviceChild(pDevice)
, m_Options(options)
{
Initialize(options);
}
RenderPass::RenderPass(Device::Ptr pDevice, RenderTargetLayout const & rtl)
: DeviceChild(pDevice)
{
Initialize(rtl);
}
RenderPass::~RenderPass()
{
Destroy();
}
void RenderPass::NextSubpass()
{
m_GfxContext->NextSubpass(VK_SUBPASS_CONTENTS_INLINE);
++mSubpass;
}
void RenderPass::Initialize(RenderpassOptions const & options)
{
if (VK_NULL_HANDLE != m_RenderPass)
{
return;
}
m_Options = options;
K3D_ASSERT(options.m_Attachments.size() > 0);
K3D_ASSERT(options.m_Subpasses.size() > 0);
// Populate attachment descriptors
const size_t numAttachmentDesc = options.m_Attachments.size();
mAttachmentDescriptors.resize(numAttachmentDesc);
mAttachmentClearValues.resize(numAttachmentDesc);
for (size_t i = 0; i < numAttachmentDesc; ++i)
{
mAttachmentDescriptors[i] = options.m_Attachments[i].GetDescription();
mAttachmentClearValues[i] = options.m_Attachments[i].GetClearValue();
}
// Populate attachment references
const size_t numSubPasses = options.m_Subpasses.size();
std::vector<Subpass::AttachReferences> subPassAttachmentRefs(numSubPasses);
for (size_t i = 0; i < numSubPasses; ++i)
{
const auto& subPass = options.m_Subpasses[i];
// Color attachments
{
// Allocate elements for color attachments
const size_t numColorAttachments = subPass.m_ColorAttachments.size();
subPassAttachmentRefs[i].Color.resize(numColorAttachments);
subPassAttachmentRefs[i].Resolve.resize(numColorAttachments);
// Populate color and resolve attachments
for (size_t j = 0; j < numColorAttachments; ++j)
{
// color
uint32_t colorAttachmentIndex = subPass.m_ColorAttachments[j];
VkImageLayout colorImageLayout = mAttachmentDescriptors[colorAttachmentIndex].initialLayout;;
subPassAttachmentRefs[i].Color[j] = {};
subPassAttachmentRefs[i].Color[j].attachment = colorAttachmentIndex;
subPassAttachmentRefs[i].Color[j].layout = colorImageLayout;
// resolve
uint32_t resolveAttachmentIndex = subPass.m_ResolveAttachments[j];
subPassAttachmentRefs[i].Resolve[j] = {};
subPassAttachmentRefs[i].Resolve[j].attachment = resolveAttachmentIndex;
subPassAttachmentRefs[i].Resolve[j].layout = colorImageLayout; // Not a mistake, this is on purpose
}
}
// Depth/stencil attachment
std::vector<VkAttachmentReference> depthStencilAttachmentRef;
if (!subPass.m_DepthStencilAttachment.empty())
{
// Allocate elements for depth/stencil attachments
subPassAttachmentRefs[i].Depth.resize(1);
// Populate depth/stencil attachments
uint32_t attachmentIndex = subPass.m_DepthStencilAttachment[0];
subPassAttachmentRefs[i].Depth[0] = {};
subPassAttachmentRefs[i].Depth[0].attachment = attachmentIndex;
subPassAttachmentRefs[i].Depth[0].layout = mAttachmentDescriptors[attachmentIndex].initialLayout;
}
// Preserve attachments
if (!subPass.m_PreserveAttachments.empty())
{
subPassAttachmentRefs[i].Preserve = subPass.m_PreserveAttachments;
}
}
// Populate sub passes
std::vector<VkSubpassDescription> subPassDescs(numSubPasses);
for (size_t i = 0; i < numSubPasses; ++i)
{
const auto& colorAttachmentRefs = subPassAttachmentRefs[i].Color;
const auto& resolveAttachmentRefs = subPassAttachmentRefs[i].Resolve;
const auto& depthStencilAttachmentRef = subPassAttachmentRefs[i].Depth;
const auto& preserveAttachmentRefs = subPassAttachmentRefs[i].Preserve;
bool noResolves = true;
for (const auto& attachRef : resolveAttachmentRefs)
{
if (VK_ATTACHMENT_UNUSED != attachRef.attachment)
{
noResolves = false;
break;
}
}
subPassDescs[i] = {};
auto& desc = subPassDescs[i];
desc.pipelineBindPoint = options.m_Subpasses[i].m_PipelineBindPoint;
desc.flags = 0;
desc.inputAttachmentCount = 0;
desc.pInputAttachments = nullptr;
desc.colorAttachmentCount = static_cast<uint32_t>(colorAttachmentRefs.size());
desc.pColorAttachments = colorAttachmentRefs.empty() ? nullptr : colorAttachmentRefs.data();
desc.pResolveAttachments = (resolveAttachmentRefs.empty() || noResolves) ? nullptr : resolveAttachmentRefs.data();
desc.pDepthStencilAttachment = depthStencilAttachmentRef.empty() ? nullptr : depthStencilAttachmentRef.data();
desc.preserveAttachmentCount = static_cast<uint32_t>(preserveAttachmentRefs.size());
desc.pPreserveAttachments = preserveAttachmentRefs.empty() ? nullptr : preserveAttachmentRefs.data();
}
// Cache the subpass sample counts
for (auto& subpass : m_Options.m_Subpasses)
{
VkSampleCountFlagBits sampleCount = VK_SAMPLE_COUNT_1_BIT;
// Look at color attachments first..
if (!subpass.m_ColorAttachments.empty())
{
uint32_t attachmentIndex = subpass.m_ColorAttachments[0];
sampleCount = m_Options.m_Attachments[attachmentIndex].m_Description.samples;
}
// ..and then look at depth attachments
if ((VK_SAMPLE_COUNT_1_BIT == sampleCount) && (!subpass.m_DepthStencilAttachment.empty()))
{
uint32_t attachmentIndex = subpass.m_DepthStencilAttachment[0];
sampleCount = m_Options.m_Attachments[attachmentIndex].m_Description.samples;
}
// Cache it
mSubpassSampleCounts.push_back(sampleCount);
}
std::vector<VkSubpassDependency> dependencies;
for (auto& subpassDep : m_Options.m_SubpassDependencies) {
dependencies.push_back(subpassDep.m_Dependency);
}
// Create render pass
VkRenderPassCreateInfo renderPassCreateInfo = {};
renderPassCreateInfo.sType = VK_STRUCTURE_TYPE_RENDER_PASS_CREATE_INFO;
renderPassCreateInfo.pNext = nullptr;
renderPassCreateInfo.attachmentCount = static_cast<uint32_t>(mAttachmentDescriptors.size());
renderPassCreateInfo.pAttachments = mAttachmentDescriptors.data();
renderPassCreateInfo.subpassCount = static_cast<uint32_t>(subPassDescs.size());
renderPassCreateInfo.pSubpasses = subPassDescs.empty() ? nullptr : subPassDescs.data();
renderPassCreateInfo.dependencyCount = static_cast<uint32_t>(dependencies.size());
renderPassCreateInfo.pDependencies = dependencies.empty() ? nullptr : dependencies.data();
K3D_VK_VERIFY(vkCreateRenderPass(GetRawDevice(), &renderPassCreateInfo, nullptr, &m_RenderPass));
}
void RenderPass::Initialize(RenderTargetLayout const & rtl)
{
VkSubpassDescription subpass = {};
subpass.pipelineBindPoint = VK_PIPELINE_BIND_POINT_GRAPHICS;
subpass.flags = 0;
subpass.inputAttachmentCount = 0;
subpass.pInputAttachments = nullptr;
subpass.colorAttachmentCount = rtl.GetNumColorAttachments();
subpass.pColorAttachments = rtl.GetColorAttachmentReferences();
subpass.pResolveAttachments = rtl.GetResolveAttachmentReferences();
subpass.pDepthStencilAttachment = rtl.GetDepthStencilAttachmentReference();
subpass.preserveAttachmentCount = 0;
subpass.pPreserveAttachments = nullptr;
VkRenderPassCreateInfo renderPassCreateInfo = {};
renderPassCreateInfo.sType = VK_STRUCTURE_TYPE_RENDER_PASS_CREATE_INFO;
renderPassCreateInfo.pNext = nullptr;
renderPassCreateInfo.attachmentCount = rtl.GetNumAttachments();
renderPassCreateInfo.pAttachments = rtl.GetAttachmentDescriptions();
renderPassCreateInfo.subpassCount = 1;
renderPassCreateInfo.pSubpasses = &subpass;
renderPassCreateInfo.dependencyCount = 0;
renderPassCreateInfo.pDependencies = nullptr;
K3D_VK_VERIFY(vkCreateRenderPass(GetRawDevice(), &renderPassCreateInfo, nullptr, &m_RenderPass));
}
void RenderPass::Destroy()
{
if (VK_NULL_HANDLE == m_RenderPass)
{
return;
}
VKLOG(Info, "RenderPass destroy... -- %0x.", m_RenderPass);
vkDestroyRenderPass(GetRawDevice(), m_RenderPass, nullptr);
m_RenderPass = VK_NULL_HANDLE;
}
FrameBuffer::FrameBuffer(Device::Ptr pDevice, VkRenderPass renderPass, FrameBuffer::Option const& op)
: DeviceChild(pDevice)
, m_RenderPass(renderPass)
, m_Width(op.Width)
, m_Height(op.Height)
{
VKRHI_METHOD_TRACE
for (auto& elem : op.Attachments)
{
if (elem.ImageAttachment)
{
continue;
}
}
std::vector<VkImageView> attachments;
for (const auto& elem : op.Attachments) {
attachments.push_back(elem.ImageAttachment);
}
VkFramebufferCreateInfo createInfo = {};
createInfo.sType = VK_STRUCTURE_TYPE_FRAMEBUFFER_CREATE_INFO;
createInfo.pNext = nullptr;
createInfo.renderPass = m_RenderPass;
createInfo.attachmentCount = static_cast<uint32_t>(op.Attachments.size());
createInfo.pAttachments = attachments.data();
createInfo.width = m_Width;
createInfo.height = m_Height;
createInfo.layers = 1;
createInfo.flags = 0;
K3D_VK_VERIFY(vkCreateFramebuffer(GetRawDevice(), &createInfo, nullptr, &m_FrameBuffer));
}
FrameBuffer::FrameBuffer(Device::Ptr pDevice, RenderPass * renderPass, RenderTargetLayout const &)
: DeviceChild(pDevice)
{
}
FrameBuffer::~FrameBuffer()
{
if (VK_NULL_HANDLE == m_FrameBuffer)
{
return;
}
VKLOG(Info, "FrameBuffer destroy... -- %0x.", m_FrameBuffer);
vkDestroyFramebuffer(GetRawDevice(), m_FrameBuffer, nullptr);
m_FrameBuffer = VK_NULL_HANDLE;
}
FrameBuffer::Attachment::Attachment(VkFormat format, VkSampleCountFlagBits samples)
{
VkImageAspectFlags aspectMask = DetermineAspectMask(Format);
if (VK_IMAGE_ASPECT_COLOR_BIT == aspectMask)
{
FormatFeatures = VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BIT;
}
else
{
FormatFeatures = VK_FORMAT_FEATURE_DEPTH_STENCIL_ATTACHMENT_BIT;
}
}
K3D_VK_END | [
"dsotsen@gmail.com"
] | dsotsen@gmail.com |
749a1b66b0bc6d276b833f5b62c31136b0b86a24 | d24cef73100a0c5d5c275fd0f92493f86d113c62 | /SRC/common/IO/gridlayers.h | 7a4909ad1afa203b82a36354fa1c19cb7869647d | [
"LicenseRef-scancode-warranty-disclaimer"
] | no_license | rlinder1/oof3d | 813e2a8acfc89e67c3cf8fdb6af6b2b983b8b8ee | 1fb6764d9d61126bd8ad4025a2ce7487225d736e | refs/heads/master | 2021-01-23T00:40:34.642449 | 2016-09-15T20:51:19 | 2016-09-15T20:51:19 | 92,832,740 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,367 | h | // -*- C++ -*-
// $RCSfile: gridlayers.h,v $
// $Revision: 1.1.2.4 $
// $Author: langer $
// $Date: 2014/11/25 19:20:08 $
/* This software was produced by NIST, an agency of the U.S. government,
* and by statute is not subject to copyright in the United States.
* Recipients of this software assume all responsibilities associated
* with its operation, modification and maintenance. However, to
* facilitate maintenance we ask that before distributing modified
* versions of this software, you first contact the authors at
* oof_manager@nist.gov.
*/
#ifndef GRIDLAYERS_H
#define GRIDLAYERS_H
#include <oofconfig.h>
#include "common/IO/canvaslayers.h"
#include "common/IO/oofCellLocator.h"
#include <vtkAbstractCellLocator.h>
#include <vtkBandedPolyDataContourFilter.h>
#include <vtkDataArray.h>
#include <vtkGeometryFilter.h>
#include <vtkPolyDataMapper.h>
#include <vtkScalarBarActor.h>
#include <vtkSmartPointer.h>
class GridSource;
class WireGridCanvasLayer : public OOFCanvasLayer {
protected:
vtkSmartPointer<GridSource> gridsource;
vtkSmartPointer<vtkActor> edgeActor;
vtkSmartPointer<vtkActor> faceActor;
vtkSmartPointer<vtkDataSetMapper> edgeMapper;
vtkSmartPointer<vtkDataSetMapper> faceMapper;
vtkSmartPointer<oofCellLocator> locator;
vtkSmartPointer<vtkExtractEdges> edgeExtractor;
vtkSmartPointer<vtkTableBasedClipDataSet> edgeClipper;
vtkSmartPointer<vtkTableBasedClipDataSet> faceClipper;
// For drawing the cut surface. These aren't instantiated unless
// the layer is clipped.
vtkSmartPointer<vtkActor> cutActor;
vtkSmartPointer<vtkDataSetMapper> cutMapper;
public:
WireGridCanvasLayer(GhostOOFCanvas*, const std::string&,
vtkSmartPointer<GridSource>);
~WireGridCanvasLayer();
virtual const std::string &classname() const;
virtual void setModified();
virtual void start_clipping();
virtual void stop_clipping();
virtual void set_clip_parity(bool);
void set_color(const CColor &lineColor);
void set_lineWidth(int lineWidth);
virtual vtkSmartPointer<vtkProp3D> get_pickable_prop3d();
virtual vtkSmartPointer<vtkDataSet> get_pickable_dataset();
virtual vtkSmartPointer<vtkPoints> get_pickable_points();
virtual vtkSmartPointer<vtkAbstractCellLocator> get_locator();
vtkSmartPointer<GridSource> source() { return gridsource; }
};
//=\\=//=\\=//=\\=//=\\=//=\\=//=\\=//=\\=//=\\=//=\\=//=\\=//=\\=//
class FilledGridCanvasLayer : public OOFCanvasLayer {
protected:
vtkSmartPointer<GridSource> gridsource;
vtkSmartPointer<vtkActor> actor;
vtkSmartPointer<vtkDataSetMapper> mapper;
vtkSmartPointer<vtkCellLocator> locator;
vtkSmartPointer<vtkTableBasedClipDataSet> clipper;
vtkSmartPointer<vtkLookupTable> lut;
double vmin, vmax; // min and max values to be plotted via lut
public:
FilledGridCanvasLayer(GhostOOFCanvas*, const std::string&,
vtkSmartPointer<GridSource>);
~FilledGridCanvasLayer();
virtual const std::string &classname() const;
virtual void setModified();
// Colormap methods are defined to be virtual just in case a
// subclass needs to override them. They're not defined in general
// OOFCanvasLayers, only in FilledGridCanvasLayer and its
// subclasses.
virtual void set_lookupTable(vtkSmartPointer<vtkLookupTable>, double, double);
virtual vtkScalarsToColors *get_lookupTable();
virtual double minval() const { return vmin; }
virtual double maxval() const { return vmax; }
virtual void start_clipping() = 0;
virtual void stop_clipping() = 0;
virtual void set_clip_parity(bool);
virtual vtkSmartPointer<vtkProp3D> get_pickable_prop3d();
virtual vtkSmartPointer<vtkDataSet> get_pickable_dataset();
virtual vtkSmartPointer<vtkPoints> get_pickable_points();
virtual vtkSmartPointer<vtkAbstractCellLocator> get_locator();
};
class SolidFilledGridCanvasLayer : public FilledGridCanvasLayer {
public:
SolidFilledGridCanvasLayer(GhostOOFCanvas*, const std::string&,
vtkSmartPointer<GridSource>);
virtual const std::string &classname() const;
virtual void start_clipping();
virtual void stop_clipping();
void set_CellData(vtkSmartPointer<vtkDataArray>);
};
//=\\=//=\\=//=\\=//=\\=//=\\=//=\\=//=\\=//=\\=//=\\=//=\\=//=\\=//
class ContourGridCanvasLayer : public OOFCanvasLayer {
protected:
vtkSmartPointer<GridSource> gridsource;
vtkSmartPointer<vtkActor> actor;
vtkSmartPointer<vtkPolyDataMapper> mapper;
vtkSmartPointer<vtkTableBasedClipDataSet> clipper;
vtkSmartPointer<vtkGeometryFilter> geometryfilter;
vtkSmartPointer<vtkBandedPolyDataContourFilter> contourfilter;
vtkSmartPointer<vtkCellLocator> locator;
vtkSmartPointer<vtkLookupTable> lut;
public:
ContourGridCanvasLayer(GhostOOFCanvas*, const std::string&,
vtkSmartPointer<GridSource>);
virtual const std::string &classname() const;
virtual void setModified();
virtual void start_clipping();
virtual void stop_clipping();
virtual void set_clip_parity(bool);
void set_pointData(vtkSmartPointer<vtkDoubleArray>);
void set_nContours(int, double vmin, double vmax);
void set_lookupTable(vtkSmartPointer<vtkLookupTable>);
virtual vtkScalarsToColors *get_lookupTable();
virtual void writeVTK(const std::string&);
};
// TODO: SolidFilledGridCanvasLayer and ContourGridCanvasLayer should
// share a base class (FilledGridCanvasLayer?) other than
// OOFCanvasLayer.
#endif // GRIDLAYERS_H
| [
"faical.congo@nist.gov"
] | faical.congo@nist.gov |
d34506d460555f0600cad28e15ac46d04d48c57b | 15dcaffcda41e1f8e4bd1c254384be24950f4327 | /HelloWorldTest/chapter_6_11/6_11.cpp | bad1c0b66ea904a817265b787e9d8cb16b44150e | [
"MIT"
] | permissive | choi2649/C-Study | bbaac6755bfac5ed802c31de648530d28b0e230f | 790f0fd8b8c13f392183d2194348b50ad66aba7c | refs/heads/master | 2020-08-01T14:13:20.448230 | 2020-07-07T00:10:03 | 2020-07-07T00:10:03 | 211,019,012 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 722 | cpp | #include <iostream>
using namespace std;
//정적메모리 할당
int a = 0;
int main()
{
//자동메모리 할당
{
int array[10];
}
int *ptr = new (std::nothrow)int (8);
cout << *ptr << endl;
//ptr이 delete가 되면 ptr2도 메모리가 반납된다.
int *ptr2 = ptr;
//de-reference
*ptr = 7;
cout << *ptr << endl;
delete ptr;
//delete로 메모리를 반납했기에 garvage값이 출력된다.
//cout << *ptr << endl;
//방지하는방법 0,NULL,nullptr을 사용한다.
ptr = nullptr;
if (ptr != nullptr)
cout << *ptr << endl;
while (true) {
//delete를 하면 메모리 누수memory leak이 발생한다.
int *ptr = new int;
cout << ptr << endl;
delete ptr;
}
return 0;
} | [
"choi2649@naver.com"
] | choi2649@naver.com |
c0184b731aca107b5c6b9f15b1f365a5d492fd58 | b22f9ed8e94bc6ef88c3ca104e9d68505288e164 | /WebKitTools/WebKitTestRunner/InjectedBundle/Bindings/JSWrapper.h | 9839cb48aed579a27fd1b5fdc9ec7ad40c28e200 | [] | no_license | SymbianSource/oss.FCL.sf.mw.qtwebkit | 07cebaa233d26702b92f7d6c112c268b68353fcc | 3aae234071c49f50b6cfc6307fb755568c7bbb05 | refs/heads/master | 2021-06-07T15:28:10.414392 | 2010-10-03T22:32:07 | 2010-10-03T22:32:07 | 72,667,965 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,918 | h | /*
* Copyright (C) 2010 Apple Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
*
* THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
* THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
* BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
* THE POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef JSWrapper_h
#define JSWrapper_h
#include "JSWrappable.h"
namespace WTR {
// FIXME: If necessary, we can do wrapper caching here.
class JSWrapper {
public:
static JSValueRef wrap(JSContextRef context, JSWrappable* object);
static JSWrappable* unwrap(JSContextRef context, JSValueRef value);
static void initialize(JSContextRef, JSObjectRef);
static void finalize(JSObjectRef);
};
inline JSValueRef toJS(JSContextRef context, JSWrappable* impl)
{
return JSWrapper::wrap(context, impl);
}
} // namespace WTR
#endif // JSWrapper_h
| [
"kirill.dremov@nokia.com"
] | kirill.dremov@nokia.com |
ea29a00421f2bea4d844acb382b097e5372e623e | e8282e3ae8aafa07b7f7261c639f206c4e97e0fc | /02 - SMA/Camp 1 OSN Kelas 11/Hari-9/10800.cpp | 9e1ba90be3d502061128d5f4131338b8dfcaa915 | [] | no_license | irfansofyana/cp-codes | 7cad844da49b901ccf678b75c31ed41e2fa9d645 | 9fa723129088f0e4832ecb7e012fe586b6d59e41 | refs/heads/master | 2023-04-04T00:48:36.334817 | 2021-04-12T03:07:06 | 2021-04-12T03:07:06 | 218,084,148 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 578 | cpp | #include <bits/stdc++.h>
using namespace std;
int n,i,j,naik;
int tc,mulai,it,z;
char A[100][100];
string s;
int main(){
cin.tie(0);
cin >> tc;
for (z = 0 ; z < tc ; z++) {
cin >> s;
mulai = 1; it = 1;
for (i = 1 ; i < s.size() ; i++) {
if (s[i]=='C') {
if (s[i-1]=='R') it++;
}
else if (s[i]=='R') {
if (s[i]=='R') it++;
}
else if (s[i]=='F') {
if (s[i-1]=='F') {
it--;
if (it<=0) mulai++;
}
else if (s[i-1]=='C') {
it--;
if (it<=0) mulai++;
}
}
}
}
return 0;
} | [
"irfansofyana0305@gmail.com"
] | irfansofyana0305@gmail.com |
f0a5bfc9f5c44a132d000d82d617646edb4167ab | 18c8ff97c4472cdcb623dced0e69237132abf7cf | /loom/script/compiler/lsAST.h | 744a2c47e160d45b0285651472c4de0bf4e518a3 | [] | no_license | bagobor/TinyLS | 4623364db15bede156f54df901076dc799d6b5ea | bfdc888888deb6ecabed4bacbddafde114a9af8f | refs/heads/master | 2021-01-18T11:09:07.905134 | 2013-11-02T23:48:03 | 2013-11-02T23:48:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 39,070 | h | /*
* ===========================================================================
* Loom SDK
* Copyright 2011, 2012, 2013
* The Game Engine Company, LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* ===========================================================================
*/
#ifndef _ls_ast_h
#define _ls_ast_h
extern "C" {
#ifdef LOOM_ENABLE_JIT
#include "lj_obj.h"
#else
#include "lua.h"
#include "lfunc.h"
#endif
}
#include "jansson.h"
#include "loom/common/utils/utTypes.h"
#include "loom/common/utils/utString.h"
#include "loom/script/compiler/lsToken.h"
#include "loom/script/compiler/lsVisitor.h"
#include "loom/script/reflection/lsReflection.h"
namespace LS {
/*
** Expression descriptor
*/
#ifndef LOOM_ENABLE_JIT
enum ExpKind
{
VVOID, /* no value */
VNIL, VTRUE, VFALSE, VK, /* info = index of constant in `k' */
VKNUM, /* nval = numerical value */
VLOCAL, /* info = local register */
VUPVAL, /* info = index of upvalue in `upvalues' */
VGLOBAL, /* info = index of table; aux = index of global name in `k' */
VINDEXED, /* info = table register; aux = index register (or `k') */
VJMP, /* info = instruction pc */
VRELOCABLE, /* info = instruction pc */
VNONRELOC, /* info = result register */
VCALL, /* info = instruction pc */
VVARARG
};
struct ExpDesc
{
ExpKind k;
union
{
struct
{
int info, aux;
}
s;
lua_Number nval;
}
u;
int t; /* patch list of `exit when true' */
int f; /* patch list of `exit when false' */
ExpDesc()
{
k = VVOID;
u.s.info = 0;
u.nval = 0.0;
t = 0;
f = 0;
}
};
#else
/* Expression kinds. */
typedef enum
{
/* Constant expressions must be first and in this order: */
VKNIL,
VKFALSE,
VKTRUE,
VKSTR, /* sval = string value */
VKNUM, /* nval = number value */
VKLAST = VKNUM,
VKCDATA, /* nval = cdata value, not treated as a constant expression */
/* Non-constant expressions follow: */
VLOCAL, /* info = local register */
VUPVAL, /* info = upvalue index */
VGLOBAL, /* sval = string value */
VINDEXED, /* info = table register, aux = index reg/byte/string const */
VJMP, /* info = instruction PC */
VRELOCABLE, /* info = instruction PC */
VNONRELOC, /* info = result register */
VCALL, /* info = instruction PC, aux = base */
VVOID
} ExpKind;
/* Expression descriptor. */
typedef struct ExpDesc
{
union
{
struct
{
uint32_t info; /* Primary info. */
uint32_t aux; /* Secondary info. */
} s;
TValue nval; /* Number value. */
GCstr *sval; /* String value. */
} u;
ExpKind k;
BCPos t; /* True condition jump list. */
BCPos f; /* False condition jump list. */
} ExpDesc;
#endif
typedef enum ASTType
{
AST_UNDEFINED,
AST_COMPILEUNIT,
/* statements*/
AST_STATEMENT, /*abstract*/
AST_FUNCTIONDECL,
AST_PROPERTYDECL,
AST_EMPTYSTATEMENT,
AST_BLOCKSTATEMENT,
AST_BREAKSTATEMENT,
AST_CONTINUESTATEMENT,
AST_DOSTATEMENT,
AST_FORSTATEMENT,
AST_FORINSTATEMENT,
AST_IFSTATEMENT,
AST_RETURNSTATEMENT,
AST_THROWSTATEMENT,
AST_TRYSTATEMENT,
AST_CASESTATEMENT,
AST_SWITCHSTATEMENT,
AST_VARSTATEMENT,
AST_WHILESTATEMENT,
AST_WITHSTATEMENT,
AST_LABELSTATEMENT,
AST_EXPRESSIONSTATEMENT,
AST_IMPORTSTATEMENT,
/* expressions */
AST_IDENTIFIER,
AST_BINARYEXPRESSION,
AST_ASSIGNMENTEXPRESSION,
AST_MULTIPLEASSIGNMENTEXPRESSION,
AST_ASSIGNMENTOPERATOREXPRESSION,
AST_LOGICALOREXPRESSION,
AST_LOGICALANDEXPRESSION,
AST_NEWEXPRESSION,
AST_BINARYOPERATOREXPRESSION,
AST_CONDITIONALEXPRESSION,
AST_UNARYEXPRESSION,
AST_UNARYOPERATOREXPRESSION,
AST_INCREMENTEXPRESSION,
AST_DELETEEXPRESSION,
AST_CALLEXPRESSION,
AST_YIELDEXPRESSION,
AST_PROPERTYEXPRESSION,
AST_VARDECL,
AST_VAREXPRESSION,
AST_CONCATOPERATOREXPRESSION,
AST_SUPEREXPRESSION,
/* literals (also expressions)*/
AST_THISLITERAL,
AST_NULLLITERAL,
AST_BOOLEANLITERAL,
AST_STRINGLITERAL,
AST_NUMBERLITERAL,
AST_ARRAYLITERAL,
AST_OBJECTLITERAL,
AST_OBJECTLITERALPROPERTY,
AST_FUNCTIONLITERAL,
AST_SUPERLITERAL,
AST_MODIFIERLITERAL,
AST_PROPERTYLITERAL,
AST_VECTORLITERAL,
AST_DICTIONARYLITERAL,
AST_DICTIONARYLITERALPAIR,
AST_INTERFACEDECL,
AST_PACKAGEDECL,
AST_CLASSDECL,
} ASTType;
class ASTNode;
class Scope;
class TemplateInfo;
class MetaTag {
public:
utString name;
utHashTable<utHashedString, utString> keys;
};
class ASTTemplateTypeInfo {
public:
utString typeString;
utArray<ASTTemplateTypeInfo *> templateTypes;
ASTTemplateTypeInfo *parent;
ASTTemplateTypeInfo() : parent(NULL)
{
}
static ASTTemplateTypeInfo* createDictionaryInfo(const utString& typeKey, const utString& typeValue)
{
ASTTemplateTypeInfo *templateInfo = new ASTTemplateTypeInfo;
templateInfo->typeString = "Dictionary";
templateInfo->templateTypes.push_back(new ASTTemplateTypeInfo);
templateInfo->templateTypes[0]->typeString = typeKey;
templateInfo->templateTypes.push_back(new ASTTemplateTypeInfo);
templateInfo->templateTypes[1]->typeString = typeValue;
return templateInfo;
}
static ASTTemplateTypeInfo* createVectorInfo(const utString& type)
{
ASTTemplateTypeInfo *templateInfo = new ASTTemplateTypeInfo;
templateInfo->typeString = "Vector";
templateInfo->templateTypes.push_back(new ASTTemplateTypeInfo);
templateInfo->templateTypes[0]->typeString = type;
return templateInfo;
}
};
class ASTNode {
public:
ASTType astType;
int lineNumber;
ExpDesc e;
bool assignment;
MemberInfo *memberInfo;
TemplateInfo *templateInfo;
ASTTemplateTypeInfo *astTemplateInfo;
utArray<MetaTag *> metaTags;
utString docString;
ASTNode()
{
memset(&e, 0, sizeof(ExpDesc));
lineNumber = 0;
astType = AST_UNDEFINED;
assignment = false;
memberInfo = NULL;
templateInfo = NULL;
astTemplateInfo = NULL;
}
virtual ~ASTNode()
{
}
MetaTag *findMetaTag(const utString& name)
{
for (UTsize i = 0; i < metaTags.size(); i++)
{
MetaTag *tag = metaTags.at(i);
if (!strcasecmp(tag->name.c_str(), name.c_str()))
{
return tag;
}
}
return NULL;
}
bool hasMetaKey(const utString& name, const utString& key)
{
MetaTag *tag = findMetaTag(name);
if (tag)
{
if (tag->keys.find(key) != UT_NPOS)
{
return true;
}
}
return false;
}
};
class Statement : public ASTNode {
public:
virtual Statement *visitStatement(Visitor *visitor) = 0;
};
class EmptyStatement : public Statement {
public:
EmptyStatement()
{
astType = AST_EMPTYSTATEMENT;
}
Statement *visitStatement(Visitor *visitor)
{
return visitor->visit(this);
}
};
class BlockStatement : public Statement {
public:
utArray<Statement *> *statements;
BlockStatement() :
statements(NULL)
{
astType = AST_BLOCKSTATEMENT;
}
BlockStatement(utArray<Statement *> *_statements)
{
statements = _statements;
}
Statement *visitStatement(Visitor *visitor)
{
return visitor->visit(this);
}
};
class Expression : public ASTNode {
public:
virtual Expression *visitExpression(Visitor *visitor) = 0;
Type *type;
// Whether or not this is a primary expression (instead of a subexpression)
bool primaryExpression;
Expression() :
type(NULL), primaryExpression(false)
{
}
};
class UnaryExpression : public Expression {
public:
Expression *subExpression;
UnaryExpression(Expression *expression)
{
astType = AST_UNARYEXPRESSION;
this->subExpression = expression;
}
};
class DeleteExpression : public UnaryExpression {
public:
DeleteExpression(Expression *expression) :
UnaryExpression(expression)
{
astType = AST_DELETEEXPRESSION;
}
Expression *visitExpression(Visitor *visitor)
{
return visitor->visit(this);
}
};
class UnaryOperatorExpression : public UnaryExpression {
public:
Token *op;
UnaryOperatorExpression(Expression *expression, Token *op) :
UnaryExpression(expression)
{
this->op = op;
astType = AST_UNARYOPERATOREXPRESSION;
}
Expression *visitExpression(Visitor *visitor)
{
return visitor->visit(this);
}
};
class IncrementExpression : public UnaryExpression {
public:
int value;
bool post;
IncrementExpression(Expression *expression, int value, bool post) :
UnaryExpression(expression)
{
astType = AST_INCREMENTEXPRESSION;
this->value = value;
this->post = post;
}
Expression *visitExpression(Visitor *visitor)
{
return visitor->visit(this);
}
};
class BinaryExpression : public Expression {
public:
Expression *leftExpression;
Expression *rightExpression;
BinaryExpression(Expression *left, Expression *right)
{
assert(left);
assert(right);
this->leftExpression = left;
this->rightExpression = right;
}
};
class MultipleAssignmentExpression : public Expression {
public:
utArray<Expression *> left;
utArray<Expression *> right;
MultipleAssignmentExpression()
{
astType = AST_MULTIPLEASSIGNMENTEXPRESSION;
}
Expression *visitExpression(Visitor *visitor)
{
return visitor->visit(this);
}
};
class AssignmentExpression : public BinaryExpression {
public:
AssignmentExpression(Expression *left, Expression *right) :
BinaryExpression(left, right)
{
left->assignment = true;
astType = AST_ASSIGNMENTEXPRESSION;
}
Expression *visitExpression(Visitor *visitor)
{
return visitor->visit(this);
}
};
class BinaryOperatorExpression : public BinaryExpression {
public:
Token *op;
BinaryOperatorExpression(Expression *left, Expression *right, Token *op) :
BinaryExpression(left, right)
{
astType = AST_BINARYOPERATOREXPRESSION;
this->op = op;
}
Expression *visitExpression(Visitor *visitor)
{
return visitor->visit(this);
}
};
class LogicalOrExpression : public BinaryOperatorExpression {
public:
LogicalOrExpression(Expression *left, Expression *right, Token *op) :
BinaryOperatorExpression(left, right, op)
{
astType = AST_LOGICALOREXPRESSION;
}
Expression *visitExpression(Visitor *visitor)
{
return visitor->visit(this);
}
};
class LogicalAndExpression : public BinaryOperatorExpression {
public:
LogicalAndExpression(Expression *left, Expression *right, Token *op) :
BinaryOperatorExpression(left, right, op)
{
astType = AST_LOGICALANDEXPRESSION;
}
Expression *visitExpression(Visitor *visitor)
{
return visitor->visit(this);
}
};
class PropertyExpression : public BinaryExpression {
public:
bool arrayAccess;
// in the case of a static access of a member this will be true
// for example: MyClass.myMemberVariable
bool staticAccess;
VariableDeclaration *varDecl;
PropertyExpression(Expression *left, Expression *right, bool arrayAccess = false) :
BinaryExpression(left, right)
{
astType = AST_PROPERTYEXPRESSION;
// if we're accessing a member, make
// sure binary op children aren't marked
// primary
if (!arrayAccess)
{
left->primaryExpression = false;
right->primaryExpression = false;
}
varDecl = NULL;
this->arrayAccess = arrayAccess;
this->staticAccess = false;
}
Expression *visitExpression(Visitor *visitor)
{
return visitor->visit(this);
}
};
class AssignmentOperatorExpression : public BinaryExpression {
public:
Token *type;
AssignmentOperatorExpression(Expression *left, Expression *right,
Token *type) :
BinaryExpression(left, right)
{
left->assignment = true;
astType = AST_ASSIGNMENTOPERATOREXPRESSION;
this->type = type;
}
Expression *visitExpression(Visitor *visitor)
{
return visitor->visit(this);
}
};
class NewExpression : public Expression {
public:
Expression *function;
utArray<Expression *> *arguments;
NewExpression()
{
function = NULL;
arguments = NULL;
astType = AST_NEWEXPRESSION;
}
Expression *visitExpression(Visitor *visitor)
{
return visitor->visit(this);
}
};
class CallExpression : public Expression {
public:
Expression *function;
utArray<Expression *> *arguments;
MethodBase *methodBase;
CallExpression()
{
function = NULL;
arguments = NULL;
methodBase = NULL;
astType = AST_CALLEXPRESSION;
}
Expression *visitExpression(Visitor *visitor)
{
return visitor->visit(this);
}
};
class YieldExpression : public Expression {
public:
utArray<Expression *> *arguments;
YieldExpression()
{
arguments = NULL;
astType = AST_YIELDEXPRESSION;
}
Expression *visitExpression(Visitor *visitor)
{
return visitor->visit(this);
}
};
class ConditionalExpression : public Expression {
public:
Expression *expression;
Expression *trueExpression;
Expression *falseExpression;
ConditionalExpression(Expression *expression, Expression *trueExpression,
Expression *falseExpression)
{
astType = AST_CONDITIONALEXPRESSION;
this->expression = expression;
this->trueExpression = trueExpression;
this->falseExpression = falseExpression;
}
Expression *visitExpression(Visitor *visitor)
{
return visitor->visit(this);
}
};
class Identifier : public Expression {
public:
utString string;
// in the case of a aliased identifier, we may want to
// know what the identifier was pre-aliasing, for instance
// we want to treat int as Number in most cases, however
// if we are casting we need to know that we are casting specifically
// to int
utString preAliasString;
VariableDeclaration *localVarDecl;
// whether this is a super access in the form of
// super.identifier, will only be true for
// property accessors as function calls
// are handled by SuperExpression AST Node
bool superAccess;
// true if this is an inferred type expression
// such as var t:Type = String;
// the String identifier on the right hand
// of the assignment is a type expression
// which gets transformed to a system.reflection.Type instance
// representing the type
bool typeExpression;
Identifier(const utString& value)
{
astType = AST_IDENTIFIER;
this->string = value;
localVarDecl = NULL;
typeExpression = false;
superAccess = false;
}
UT_INLINE bool operator==(const Identifier& v) const
{
return this->string == v.string;
}
Expression *visitExpression(Visitor *visitor)
{
return visitor->visit(this);
}
};
class SuperExpression : public Expression {
public:
utArray<Expression *> arguments;
Identifier *method;
utString resolvedTypeName;
SuperExpression() :
Expression(), method(NULL)
{
astType = AST_SUPEREXPRESSION;
}
Expression *visitExpression(Visitor *visitor)
{
return visitor->visit(this);
}
};
class StringLiteral : public Expression {
public:
utString string;
StringLiteral(utString value)
{
astType = AST_STRINGLITERAL;
this->string = value;
}
UT_INLINE bool operator==(const Identifier& v) const
{
return this->string == v.string;
}
Expression *visitExpression(Visitor *visitor)
{
return visitor->visit(this);
}
};
class ThisLiteral : public Expression {
public:
ThisLiteral()
{
astType = AST_THISLITERAL;
}
Expression *visitExpression(Visitor *visitor)
{
return visitor->visit(this);
}
};
class NullLiteral : public Expression {
public:
NullLiteral()
{
astType = AST_NULLLITERAL;
}
Expression *visitExpression(Visitor *visitor)
{
return visitor->visit(this);
}
};
class BooleanLiteral : public Expression {
public:
bool value;
BooleanLiteral(bool value)
{
astType = AST_BOOLEANLITERAL;
this->value = value;
}
Expression *visitExpression(Visitor *visitor)
{
return visitor->visit(this);
}
};
class NumberLiteral : public Expression {
public:
double value;
// the source string value, which can be decimal, oct, hex, etc
utString svalue;
NumberLiteral(double value)
{
astType = AST_NUMBERLITERAL;
this->value = value;
}
Expression *visitExpression(Visitor *visitor)
{
return visitor->visit(this);
}
};
class ArrayLiteral : public Expression {
public:
utArray<Expression *> *elements;
ArrayLiteral() :
elements(NULL)
{
astType = AST_ARRAYLITERAL;
}
Expression *visitExpression(Visitor *visitor)
{
return visitor->visit(this);
}
};
class ObjectLiteralProperty : public Expression {
public:
Expression *name;
Expression *value;
ObjectLiteralProperty()
{
astType = AST_OBJECTLITERALPROPERTY;
}
Expression *visitExpression(Visitor *visitor)
{
return visitor->visit(this);
}
};
class VectorLiteral : public Expression {
public:
utString typeString;
utArray<Expression *> elements;
VectorLiteral()
{
astType = AST_VECTORLITERAL;
}
Expression *visitExpression(Visitor *visitor)
{
return visitor->visit(this);
}
};
class DictionaryLiteralPair : public Expression {
public:
Expression *key;
Expression *value;
DictionaryLiteralPair()
{
astType = AST_DICTIONARYLITERALPAIR;
key = NULL;
value = NULL;
}
Expression *visitExpression(Visitor *visitor)
{
return visitor->visit(this);
}
};
class DictionaryLiteral : public Expression {
public:
utString typeKeyString;
utString typeValueString;
utArray<DictionaryLiteralPair *> pairs;
DictionaryLiteral()
{
astType = AST_DICTIONARYLITERAL;
}
Expression *visitExpression(Visitor *visitor)
{
return visitor->visit(this);
}
};
class ObjectLiteral : public Expression {
public:
utArray<ObjectLiteralProperty *> *properties;
ObjectLiteral()
{
astType = AST_OBJECTLITERAL;
properties = NULL;
}
Expression *visitExpression(Visitor *visitor)
{
return visitor->visit(this);
}
};
class VariableDeclaration : public Expression {
public:
Identifier *identifier;
Expression *initializer;
bool defaultInitializer;
FunctionLiteral *function;
ClassDeclaration *classDecl;
utString typeString;
bool isPublic;
bool isProtected;
bool isStatic;
bool isNative;
bool isVarArg;
bool isParameter;
bool isTemplate;
bool isConst;
// this variable will be implicitly typed based on assignment
bool assignType;
// when implicitly typing in a for..in or for..each we
// must delay type assignment until the expression being iterated
// has been visited (as we need to know whether we are assigning type
// to key type or value type)
bool assignForIn;
// if the type is rewritten by the compiler, for instance to NativeDelegate
// this will contain the original type before the rewrite
Type *originalType;
VariableDeclaration(Identifier *identifier, Expression *initializer,
bool _isPublic, bool _isProtected, bool _isStatic, bool _isNative) :
defaultInitializer(false), function(NULL), classDecl(NULL),
isPublic(_isPublic), isProtected(_isProtected), isStatic(_isStatic), isNative(_isNative),
isVarArg(false), isParameter(false), isTemplate(false), isConst(false)
{
astType = AST_VARDECL;
this->identifier = identifier;
this->initializer = initializer;
assignType = false;
assignForIn = false;
originalType = NULL;
}
Expression *visitExpression(Visitor *visitor)
{
return visitor->visit(this);
}
};
class VariableExpression : public Expression {
public:
utArray<VariableDeclaration *> *declarations;
VariableExpression()
{
astType = AST_VAREXPRESSION;
declarations = NULL;
}
Expression *visitExpression(Visitor *visitor)
{
return visitor->visit(this);
}
};
class BreakStatement : public Statement {
public:
Identifier *identifier;
BreakStatement(Identifier *ident)
{
astType = AST_BREAKSTATEMENT;
identifier = ident;
}
Statement *visitStatement(Visitor *visitor)
{
return visitor->visit(this);
}
};
class ContinueStatement : public Statement {
public:
Identifier *identifier;
ContinueStatement(Identifier *ident)
{
astType = AST_CONTINUESTATEMENT;
identifier = ident;
}
Statement *visitStatement(Visitor *visitor)
{
return visitor->visit(this);
}
};
class DoStatement : public Statement {
public:
Statement *statement;
Expression *expression;
DoStatement(Statement *statement, Expression *expression)
{
astType = AST_DOSTATEMENT;
this->statement = statement;
this->expression = expression;
}
Statement *visitStatement(Visitor *visitor)
{
return visitor->visit(this);
}
};
class ForInStatement : public Statement {
public:
Expression *variable;
Expression *expression;
Statement *statement;
bool foreach;
ForInStatement(Expression *variable, Expression *expression,
Statement *statement, bool foreach)
{
astType = AST_FORINSTATEMENT;
this->variable = variable;
this->expression = expression;
this->statement = statement;
this->foreach = foreach;
}
Statement *visitStatement(Visitor *visitor)
{
return visitor->visit(this);
}
};
class ForStatement : public Statement {
public:
Expression *initial;
Expression *condition;
Expression *increment;
Statement *statement;
ForStatement(Expression *initial, Expression *condition,
Expression *increment, Statement *statement)
{
astType = AST_FORSTATEMENT;
if (!initial)
{
initial = new BooleanLiteral(true);
}
if (!condition)
{
condition = new BooleanLiteral(true);
}
if (!increment)
{
increment = new BooleanLiteral(true);
}
this->initial = initial;
this->condition = condition;
this->increment = increment;
this->statement = statement;
}
Statement *visitStatement(Visitor *visitor)
{
return visitor->visit(this);
}
};
class IfStatement : public Statement {
public:
Expression *expression;
Statement *trueStatement;
Statement *falseStatement;
IfStatement(Expression *expression, Statement *trueStatement,
Statement *falseStatement)
{
astType = AST_IFSTATEMENT;
this->expression = expression;
this->trueStatement = trueStatement;
this->falseStatement = falseStatement;
}
Statement *visitStatement(Visitor *visitor)
{
return visitor->visit(this);
}
};
class ReturnStatement : public Statement {
public:
utArray<Expression *> *result;
ReturnStatement(utArray<Expression *> *result)
{
astType = AST_RETURNSTATEMENT;
this->result = result;
}
Statement *visitStatement(Visitor *visitor)
{
return visitor->visit(this);
}
};
class ThrowStatement : public Statement {
public:
Expression *expression;
ThrowStatement(Expression *expression)
{
astType = AST_THROWSTATEMENT;
this->expression = expression;
}
Statement *visitStatement(Visitor *visitor)
{
return visitor->visit(this);
}
};
class WhileStatement : public Statement {
public:
Expression *expression;
Statement *statement;
WhileStatement(Expression *expression, Statement *statement)
{
astType = AST_WHILESTATEMENT;
this->expression = expression;
this->statement = statement;
}
Statement *visitStatement(Visitor *visitor)
{
return visitor->visit(this);
}
};
class WithStatement : public Statement {
public:
Expression *expression;
Statement *statement;
WithStatement(Expression *expression, Statement *statement)
{
astType = AST_WITHSTATEMENT;
this->expression = expression;
this->statement = statement;
}
Statement *visitStatement(Visitor *visitor)
{
return visitor->visit(this);
}
};
class TryStatement : public Statement {
public:
Statement *tryBlock;
Expression *catchIdentifier;
Statement *catchBlock;
Statement *finallyBlock;
TryStatement(Statement *tryBlock, Expression *catchIdentifier,
Statement *catchBlock, Statement *finallyBlock)
{
astType = AST_TRYSTATEMENT;
this->tryBlock = tryBlock;
this->catchIdentifier = catchIdentifier;
this->catchBlock = catchBlock;
this->finallyBlock = finallyBlock;
}
Statement *visitStatement(Visitor *visitor)
{
return visitor->visit(this);
}
};
class CaseStatement : public Statement {
public:
Expression *expression;
utArray<Statement *> *statements;
CaseStatement()
{
astType = AST_CASESTATEMENT;
statements = NULL;
}
Statement *visitStatement(Visitor *visitor)
{
return visitor->visit(this);
}
};
class VariableStatement : public Statement {
public:
utArray<VariableDeclaration *> *declarations;
VariableStatement(utArray<VariableDeclaration *> *declarations)
{
astType = AST_VARSTATEMENT;
this->declarations = declarations;
}
Statement *visitStatement(Visitor *visitor)
{
return visitor->visit(this);
}
};
class ExpressionStatement : public Statement {
public:
Expression *expression;
ExpressionStatement(Expression *expression)
{
astType = AST_EXPRESSIONSTATEMENT;
this->expression = expression;
}
Statement *visitStatement(Visitor *visitor)
{
return visitor->visit(this);
}
};
class LabelledStatement : public Statement {
public:
Identifier *identifier;
Statement *statement;
LabelledStatement(Identifier *identifier, Statement *statement)
{
astType = AST_LABELSTATEMENT;
this->identifier = identifier;
this->statement = statement;
}
Statement *visitStatement(Visitor *visitor)
{
return visitor->visit(this);
}
};
class SwitchStatement : public Statement {
public:
Expression *expression;
utArray<CaseStatement *> *clauses;
SwitchStatement()
{
astType = AST_SWITCHSTATEMENT;
clauses = NULL;
}
Statement *visitStatement(Visitor *visitor)
{
return visitor->visit(this);
}
};
class PropertyLiteral;
class FunctionLiteral : public Expression {
public:
bool isPublic;
bool isProtected;
bool isStatic;
bool isConstructor;
bool isNative;
bool isOperator;
bool isCoroutine;
bool isGetter;
bool isSetter;
bool hasSuperCall;
bool isDefaultConstructor;
// While generating bytecode, variable args
// locals must be unique for scope.
// This is due to the fact that they may be nested
// in functions calls
// we track the current var arg being generated here
int curVarArgCalls;
// The total number of calls in the function
// which contain variable args
int numVarArgCalls;
Identifier *retType;
utArray<VariableDeclaration *> *parameters;
// for local functions
utArray<Type *> templateTypes;
Identifier *name;
ClassDeclaration *classDecl;
// including parameters
utArray<VariableDeclaration *> localVariables;
utArray<Expression *> defaultArguments;
utArray<Statement *> *functions;
utArray<Statement *> *statements;
MethodBase *methodBase;
// operator token
Token *toperator;
PropertyLiteral *property;
// parent (enclosing) function if any
FunctionLiteral *parentFunction;
// array of child functions
utArray<FunctionLiteral *> childFunctions;
// the index we're at in the child functions of parent
int childIndex;
FunctionLiteral() :
isPublic(false), isProtected(false), isStatic(false),
isConstructor(false), isNative(false),
isOperator(false), isCoroutine(false), isGetter(false), isSetter(false),
hasSuperCall(false), isDefaultConstructor(false), curVarArgCalls(0), numVarArgCalls(0),
retType(NULL), parameters(NULL), name(NULL), classDecl(NULL),
functions(NULL), statements(NULL), methodBase(NULL),
toperator(NULL), property(NULL), parentFunction(NULL), childIndex(-1)
{
astType = AST_FUNCTIONLITERAL;
}
Expression *visitExpression(Visitor *visitor)
{
return visitor->visit(this);
}
UTsize getFirstDefaultArg()
{
for (UTsize i = 0; i < defaultArguments.size(); i++)
{
if (defaultArguments[i])
{
return i;
}
}
return UT_NPOS;
}
};
class PropertyLiteral : public Expression {
public:
utString name;
ClassDeclaration *classDecl;
FunctionLiteral *getter;
FunctionLiteral *setter;
bool isStatic;
bool isTemplate;
utString typeString;
PropertyLiteral() :
classDecl(NULL), getter(NULL), setter(NULL), isStatic(false), isTemplate(false)
{
astType = AST_PROPERTYLITERAL;
}
Expression *visitExpression(Visitor *visitor)
{
return visitor->visit(this);
}
};
class FunctionDeclaration : public Statement {
public:
FunctionLiteral *literal;
FunctionDeclaration(FunctionLiteral *literal)
{
astType = AST_FUNCTIONDECL;
this->literal = literal;
}
Statement *visitStatement(Visitor *visitor)
{
return visitor->visit(this);
}
};
class PropertyLiteral;
class PropertyDeclaration : public Statement {
public:
PropertyLiteral *literal;
PropertyDeclaration(PropertyLiteral *literal)
{
astType = AST_PROPERTYDECL;
this->literal = literal;
}
Statement *visitStatement(Visitor *visitor)
{
return visitor->visit(this);
}
};
class InterfaceDeclaration : public Statement {
public:
Identifier *name;
InterfaceDeclaration()
{
astType = AST_INTERFACEDECL;
name = NULL;
}
Statement *visitStatement(Visitor *visitor)
{
return visitor->visit(this);
}
};
class ClassDeclaration : public Statement {
public:
Scope *scope;
PackageDeclaration *pkgDecl;
ClassDeclaration *extendsDecl;
FunctionLiteral *constructor;
utArray<VariableDeclaration *> varDecls;
utArray<FunctionLiteral *> functionDecls;
utArray<Statement *> *statements;
utHashTable<utHashedString, PropertyLiteral *> properties;
utArray<VariableDeclaration *> delegateParameters;
Identifier *delegateReturnType;
bool isPublic;
bool isInterface;
bool isStruct;
bool isDelegate;
bool isEnum;
bool isStatic;
bool isFinal;
Identifier *name;
utString fullPath;
Identifier *extends;
Type *type;
Type *baseType;
utArray<Identifier *> implements;
ClassDeclaration() :
scope(NULL), pkgDecl(NULL), extendsDecl(NULL)
{
constructor = NULL;
astType = AST_CLASSDECL;
type = NULL;
baseType = NULL;
isPublic = false;
isInterface = false;
isStruct = false;
isDelegate = false;
isEnum = false;
isStatic = false;
isFinal = false;
statements = NULL;
name = extends = NULL;
}
FunctionLiteral *getConstructor()
{
for (unsigned int i = 0; i < functionDecls.size(); i++)
{
if (functionDecls[i]->isConstructor)
{
return functionDecls[i];
}
}
return NULL;
}
// checks whether a property getter/setter exists
// for this declation and returns true if one does
bool checkPropertyExists(FunctionLiteral *f)
{
PropertyLiteral **p = properties.get(utHashedString(f->name->string));
if (!p)
{
return false;
}
if (f->isGetter)
{
return (*p)->getter != NULL && (*p)->getter->isStatic == f->isStatic;
}
return (*p)->setter != NULL && (*p)->setter->isStatic == f->isStatic;
}
PropertyLiteral *addProperty(FunctionLiteral *f, bool& newProperty)
{
// this the best place for renaming?
utString name = f->name->string;
utString ps = f->isGetter ? "__pget_" : "__pset_";
f->name->string = ps + f->name->string;
newProperty = false;
utHashedString hs = name;
PropertyLiteral *prop;
PropertyLiteral **p = properties.get(hs);
if (!p)
{
newProperty = true;
prop = new PropertyLiteral();
prop->name = name; // use original name
prop->classDecl = this;
prop->isStatic = f->isStatic;
if (f->isGetter)
{
prop->typeString = f->retType->string;
}
else
{
assert(f->parameters && f->parameters->size());
prop->typeString = f->parameters->at(0)->typeString;
}
hs = prop->name;
properties.insert(hs, prop);
}
else
{
//TODO: ensure that get/set are same type
prop = *p;
}
if (f->isGetter)
{
prop->getter = f;
}
else
{
prop->setter = f;
}
f->property = prop;
return prop;
}
bool isSuperClass(ClassDeclaration *cls2)
{
ClassDeclaration *_extends = cls2->extendsDecl;
while (_extends)
{
if (_extends == this)
{
return true;
}
_extends = _extends->extendsDecl;
}
return false;
}
Statement *visitStatement(Visitor *visitor)
{
return visitor->visit(this);
}
bool isNative()
{
return findMetaTag("native") != NULL;
}
bool isManagedNative()
{
return hasMetaKey("native", "managed");
}
};
class PackageDeclaration : public Statement {
public:
utArray<utString> path;
utArray<Statement *> *statements;
utString spath;
// multiple classes per file, version 2
utArray<ClassDeclaration *> clsDecls;
utArray<ImportStatement *> imports;
CompilationUnit *compilationUnit;
PackageDeclaration()
{
astType = AST_PACKAGEDECL;
compilationUnit = NULL;
statements = NULL;
}
Statement *visitStatement(Visitor *visitor)
{
return visitor->visit(this);
}
};
class ImportStatement : public Statement {
public:
utArray<utString> path;
utString spath;
utString classname;
utString fullPath;
// allow to bring the import in as a simple identifier to solve conflicts
// and/or to save typing
Identifier *asIdentifier;
Type *type;
ImportStatement()
{
astType = AST_IMPORTSTATEMENT;
asIdentifier = NULL;
type = NULL;
}
Statement *visitStatement(Visitor *visitor)
{
return visitor->visit(this);
}
};
class BuildInfo;
class CompilationUnit : public ASTNode {
public:
BuildInfo *buildInfo;
utString filename;
utArray<Statement *> *statements;
utArray<Statement *> *functions;
utArray<CompilationUnit *> imports;
utArray<utString> dependencies;
// one class per file (version 1)
ClassDeclaration *classDecl;
PackageDeclaration *pkgDecl;
utArray<ClassDeclaration *> classDecls;
json_t *reflectionJSON;
#ifdef LOOM_ENABLE_JIT
GCproto *proto;
#else
Proto *proto;
#endif
CompilationUnit()
{
astType = AST_COMPILEUNIT;
statements = NULL;
functions = NULL;
proto = NULL;
classDecl = NULL;
pkgDecl = NULL;
reflectionJSON = NULL;
buildInfo = NULL;
}
CompilationUnit *visitCompilationUnit(Visitor *visitor)
{
return visitor->visit(this);
}
};
}
#endif
| [
"josh@theengine.co"
] | josh@theengine.co |
caa54942c55c3f977e52585897407a2bf1535b59 | 441801672f62ec4513c600e09f63305572b1b11d | /src/boost/mpl/aux_/msvc_dtw.hpp | 8ab278ac36c42b34e892af5ab84830d1cc935dec | [] | no_license | sneumann/mzR-playground | d2379e6790cebf32ba3887bbb9ffad35af07d6ad | 134104c7af6d979e41c62ea75f84cb45aa84b05d | refs/heads/master | 2021-01-19T13:46:21.843142 | 2014-04-03T08:49:07 | 2014-04-03T08:49:07 | 1,159,529 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,849 | hpp |
// Copyright Aleksey Gurtovoy 2000-2004
//
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//
// See http://www.boost.org/libs/mpl for documentation.
// $Id: msvc_dtw.hpp 49267 2008-10-11 06:19:02Z agurtovoy $
// $Date: 2008-10-11 08:19:02 +0200 (Sat, 11 Oct 2008) $
// $Revision: 49267 $
// NO INCLUDE GUARDS, THE HEADER IS INTENDED FOR MULTIPLE INCLUSION!
#include <boost/mpl/aux_/preprocessor/params.hpp>
// local macros, #undef-ined at the end of the header
#define AUX778076_DTW_PARAMS(param) \
BOOST_MPL_PP_PARAMS(AUX778076_MSVC_DTW_ARITY, param) \
/**/
#define AUX778076_DTW_ORIGINAL_NAME \
AUX778076_MSVC_DTW_ORIGINAL_NAME \
/**/
// warning: not a well-formed C++
// workaround for MSVC 6.5's "dependent template typedef bug"
template< typename F>
struct AUX778076_MSVC_DTW_NAME
{
template< bool > struct f_ : F {};
template<> struct f_<true>
{
#if AUX778076_MSVC_DTW_ARITY > 0
template< AUX778076_DTW_PARAMS(typename P) > struct AUX778076_DTW_ORIGINAL_NAME
{
typedef int type;
};
};
template< AUX778076_DTW_PARAMS(typename T) > struct result_
: f_< aux::msvc_never_true<F>::value >
::template AUX778076_DTW_ORIGINAL_NAME< AUX778076_DTW_PARAMS(T) >
{
};
#else
template< typename P = int > struct AUX778076_DTW_ORIGINAL_NAME
{
typedef int type;
};
};
template< typename T = int > struct result_
: f_< aux::msvc_never_true<F>::value >
::template AUX778076_DTW_ORIGINAL_NAME<>
{
};
#endif
};
#undef AUX778076_DTW_ORIGINAL_NAME
#undef AUX778076_DTW_PARAMS
#undef AUX778076_MSVC_DTW_NAME
#undef AUX778076_MSVC_DTW_ORIGINAL_NAME
#undef AUX778076_MSVC_DTW_ARITY
| [
"c.wong@bc3139a8-67e5-0310-9ffc-ced21a209358"
] | c.wong@bc3139a8-67e5-0310-9ffc-ced21a209358 |
120a97f433153482a142c21bb0fe2c0d837fffa0 | c257ab275b1dfba804384757a491825eed652166 | /libraries/MATH/projects/Algebra/header/idealadicrepresentation.h | 3c82d52f5c55d8839a942755a93ced5ce1e7630d | [] | no_license | elesd/GeneralNumberSystems | 2ae90d9222b6a77cb7cb9a84f6dcaf825c331d42 | ff861eb84b41e9d8784a3afe5c58be0c2430e4c9 | refs/heads/master | 2021-01-22T08:48:47.910010 | 2013-05-30T15:50:15 | 2013-05-30T15:50:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,177 | h | #ifndef MATH__ALGEBRA__IDEALADICREPRESENTATION_H
#define MATH__ALGEBRA__IDEALADICREPRESENTATION_H
#include <vector>
#include <stdarg.h>
#include "number_traits.h"
#include "numbercalculator.h"
#include "karatsuba.h"
/**
* @file idealadicrepresentation.h
* @brief This file contains the class what implements the Ideal-adic representation.
* @see IdealAdicRepresentation
*/
#define TEMP_PAR template<class BType,\
class IType,\
class Cont,\
class num_traits>
#define IDEAL_REP IdealAdicRepresentation<BType, IType, Cont, num_traits>
namespace MATH
{
namespace Algebra
{
/**
* @brief Polimorf class for idealadic representation.
* @details This is a generalization of the p-adic reprezentation. Which is based
* on ideal: \f$ I \f$
* Where
* \f[
* <a_1,a_2,...,a_n> = {a_1r_1 + a_2r_2 + ... + a_nr_n | r_i \in BaseType }
* \f]
* These case the representation is:
* \f[
* u = u_1 + \Delta u_1 + \Delta u_2 + ...
* \f]
* and \f$ \Delta u_1 I^k\f$.
*
* This class try to implements this generalization. IdealType is the I, it could
* be a simple variable, and in that case we could get an polynom. If The IdealType
* is a multi variable type, then we get an multivariable polynom. But if the
* IdealType is a symbol for example i it means \f$I = <x^2 - 1>\f$, and the base
* type is double, or float, we get the complex field, or above integer field we
* got the field of Gausian integers.
* @tparam BaseType the base type of the representation
* @tparam IdealType the ideal type, if could be "symbol", or variable(s).
* Ideal type has to contain 2 static functions.
* bool isCongruentElement(const BaseType&); and
* void division(const BaseType& a,
* BaseType& divisior, BaseType rem)
* static values: strShape the string shape of ideal
* @tparam Container Container type. It Needs operator[] and insert function.
* @tparam number_traits traits class for the number, it necessary dou to conversation
* @see Polynom
* @see Number_traits
*/
template<class BaseType,
class IdealType,
class Container = std::vector<BaseType>,
class number_traits = Number_traits<BaseType> >
class IdealAdicRepresentation
{
public:
/**
* @brief Index type for the constructor clarity.
*/
struct IndexType
{
/**
* @brief the value of the index
*/
unsigned value;
/**
* @brief Copy constructor from double to index type
* @param idx the index value
*/
IndexType(const unsigned idx):value(idx)
{ }
};
private:
/**
* @brief Algorithm support function
* @details This function compare element with the NumberCalculator
*/
struct FindEquals
{
/**
* @brief The element which is looled for.
*/
const BaseType sElement;
/**
* @brief Number calculator class
*/
typedef NumberCalculator<BaseType> NumCalc;
/**
* @brief Simple constructor
* @param searchElement The element which is looked for.
*/
FindEquals(const BaseType& searchElement):sElement(searchElement)
{}
/**
* @brief Do We find the element?
* @param act The actual element
*/
bool operator()(const BaseType& act)
{
return NumCalc::equals(act, sElement);
}
};
private:
/**
* @brief Number calculator class
*/
typedef NumberCalculator<BaseType> NumCalc;
public:
/**
* @brief Pseudo Remainder division.
* @details We not assume, that the BaseType is a Field,
* so we don't have devision above BaseType. Therefore
* the representation don't have to be an UFD, so there
* are not exists remainder devision, but exists pseudo
* remainder division, which has a next shape:
* \f[
* \alpha^\delta a = q \cdot b + rem
* \f],
* where \f$ \delta = deg a - deg b + 1\f$, and
* \f$ alpha \f$ is the leading coeff of b.
* If BaseType is Field, use the remainderDivision function.
* @param a The appropriate variable in the previous form.
* @param b The appropriate variable in the previous form.
* @param rem The pseudo remainder
* @return The pseudo devisior (\f$q\f$)
*/
static IdealAdicRepresentation
pseudoRemainderDivision(const IdealAdicRepresentation& a,
const IdealAdicRepresentation& b,
IdealAdicRepresentation& rem);
/**
* @brief Remainder division.
* @details We assume the ring is an UFD. I special case
* You can redfiend this function to speudo remainder
* calculation to non UFD rings.
* \f[
* a = q \cdot b + rem
* \f]
* There are a funny thing in this function, because
* we calculate over BaseType, so the result not always
* the expected. For example the 18 = 5 * 4 - 2, it's
* correct but we not excpect that. It is an modulo calculation
* over the representation, it means it not equals the
* modulo over BaseType.
* @param a The appropriate variable in the previous form.
* @param b The appropriate variable in the previous form.
* @param rem The appropriate variable in the previous form.
* @return the integer part of the representation (\f$q\f$)
*/
static IdealAdicRepresentation
remainderDivision(const IdealAdicRepresentation& a,
const IdealAdicRepresentation& b,
IdealAdicRepresentation& rem);
protected:
/**
* @brief the coefficients
*/
Container _coeffs;
public:
/**
* @brief Copy constructor for baseType
* @param value The value
* @param shiftValue The shifting value of the representation
* @throw Exceptions::ParameterException If the representation length is infinity.
*/
IdealAdicRepresentation(const BaseType& value = number_traits::additiveUnit,
unsigned shiftValue = 0);
/**
* @brief Upload constructor
* @param numOfCoeffs the number of the coefficients
* @param first The first coefficient
* @see IndexType
* @throw Exceptions::ParameterException if one of the arguments not a
* congruent element
* @note The first is usedfull, for the correct parameter transformation due to the va_arg
* @warning The ... parameter only could be primitive type
*/
template<class T>
explicit IdealAdicRepresentation(const IndexType numOfCoeffs, const T& first, ...);
/*
* @brief other copy constructor between representations
* @param other the other number
*/
//IdealAdicRepresentation(const IdealAdicRepresentation& other);
/*
* @brief simple assignement operator
* @param other the other type
*/
//IdealAdicRepresentation& operator=(IdealAdicRepresentation& other);
/*
* @brief Copy constructor for base type conversion
* @param other The other representation
* @tparam T The base type of the other representation
*/
/* template<class T>
IdealAdicRepresentation(
const IdealAdicRepresentation<T, IdealType, Container, number_traits>& other);*/
/**
* @brief Empty virtual destructor for polymorphic properties
*/
virtual ~IdealAdicRepresentation()
{}
/*
* @brief Assigne operator for another base type conversion
* @param other The other representation
* @tparam T The base type of the other representation
*/
/* template<class T>
IdealAdicRepresentation&
operator=(const IdealAdicRepresentation<T, IdealType, Container, number_traits>& other);*/
/**
* @brief Prefix increase operator
* @details The operation works with the 0 coefficient.
* @return a reference to this object.
* @warning Non transactive
*/
IdealAdicRepresentation& operator++();
/**
* @brief Postfix increase operator
* @details The operation works with the 0 coefficient.
* @return A copy of the this object
* @warning could be slow, prefer the prefix operator
* @warning Non transactive
*/
IdealAdicRepresentation operator++(int);
/**
* @brief Prefix decrease operator
* @details The operation works with the 0 coefficient.
* @return a reference to this object.
* @warning Non transactive
*/
IdealAdicRepresentation& operator--();
/**
* @brief Postfix decrease operator
* @details The operation works with the 0 coefficient.
* @return A copy of the this object
* @warning could be slow, prefer the prefix operator
* @warning Non transactive
*/
IdealAdicRepresentation operator--(int);
/**
* @brief Minus operator.
* @return reference to this.
*/
IdealAdicRepresentation operator-() const;
/**
* @brief Short format operator for addition.
* @param a the given number
* @return a reference to this object.
* @warning Non transactive
*/
IdealAdicRepresentation& operator+=(const IdealAdicRepresentation& a);
/**
* @brief Short format operator for substraction.
* @param a the given number
* @return a reference to this object.
* @warning Be carefull with the remainder system.
* @warning Non transactive
*/
IdealAdicRepresentation& operator-=(const IdealAdicRepresentation& a);
/**
* @brief Short format operator for division.
* @details The resoult will be the integer part of the division.
* It uses the remaindDivision function
* @param a the given number
* @return a reference to this object.
*/
IdealAdicRepresentation& operator/=(const IdealAdicRepresentation& a);
/**
* @brief Short format operator for multiplication.
* @param a the given number
* @return a reference to this object.
*/
IdealAdicRepresentation& operator*=(const IdealAdicRepresentation& a);
/**
* @brief Short format operator for division.
* @details The resoult will be the remainder part of the division.
* It uses the remaindDivision function
* @param a the given number
* @return a reference to this object.
*/
IdealAdicRepresentation& operator%=(const IdealAdicRepresentation& a);
/**
* @brief Exactly it is a toString function
*/
operator std::string() const;
/**
* @brief return the coefficient
* @details if coeff bigger than the degree return 0
* @return the coefficient
*/
BaseType getCoeff(const unsigned coeff) const;
/**
* @brief Create a sub idealadic representation.
* @param startCoeff The first coeff, which is contained by the new
* reprezentation
* @param lastCoeff The last coeff, which is contained by the new
* reprezentation.
* @return A new IdealAdicRepresentation from a subset of this
* reprezentation's coefficient.
*/
IdealAdicRepresentation operator()(const unsigned startCoeff,
const unsigned lastCoeff) const;
/**
* @brief Gettter for the leader coefficient
* @return The leader coefficient
*/
const BaseType& lcoeff() const;
/**
* @brief getter for the order of the representation
* @return the order of the representation
*/
unsigned getOrder() const;
/**
* @brief eqauls logical operator
* @details Two representation is equals if the coefficients are eqauls
* @param a the left operand
* @param b the right operand
* @return true if the coefficients are equals, false otherwise.
*/
TEMP_PAR
friend bool operator==(const IDEAL_REP& a,
const IDEAL_REP& b);
/**
* @brief Negation of the eqauls logical operator
* @details Two representation is equals if the coefficients are eqauls
* @param a the left operand
* @param b the right operand
* @return true if the coefficients are not equals, false othervise
*/
TEMP_PAR
friend bool operator!=(const IDEAL_REP& a,
const IDEAL_REP& b);
/**
* @brief Addition aritmethic operator
* @param a the left operand
* @param b the right operand
* @return \f$a + b\f$
*/
TEMP_PAR
friend IDEAL_REP operator+(const IDEAL_REP& a,
const IDEAL_REP& b);
/**
* @brief Substraction aritmethic operator
* @param a the left operand
* @param b the right operand
* @return \f$a - b\f$
*/
TEMP_PAR
friend IDEAL_REP operator-(const IDEAL_REP& a,
const IDEAL_REP& b);
/**
* @brief Multiplication aritmethic operator
* @param a the left operand
* @param b the right operand
* @todo Do some speed up, with base type operation
* @return \f$a * b\f$
*/
TEMP_PAR
friend IDEAL_REP operator*(const IDEAL_REP& a,
const IDEAL_REP& b);
/**
* @brief Division aritmethic operator
* @details Operation is use the RemainderDivision function.
* @param a the left operand
* @param b the right operand
* @return \f$a / b\f$
*/
TEMP_PAR
friend IDEAL_REP operator/(const IDEAL_REP& a,
const IDEAL_REP& b);
/**
* @brief Remainder aritmethic operator
* @param a the left operand
* @param b the right operand
* @return \f$a - b\f$
*/
TEMP_PAR
friend IDEAL_REP operator%(const IDEAL_REP& a,
const IDEAL_REP& b);
/**
* @brief Shift operator.
* @details Exactly this opertion division with shiftValue-th power of
* the idealadic element
* @param a the representation
* @param shiftValue the value of the shifting.
*/
TEMP_PAR
friend IDEAL_REP operator>>(const IDEAL_REP& a,
const unsigned shiftValue);
/**
* @brief Shift operator.
* @details Exactly this opertion multiply with shiftValue-th power of
* the idealadic element
* @param a the representation
* @param shiftValue the value of the shifting.
*/
TEMP_PAR
friend IDEAL_REP operator<<(const IDEAL_REP& a,
const unsigned shiftValue);
/**
* @brief Easily printer function
* @param os the output string
* @param a the given polynomial
* @return the input os parameter
*/
TEMP_PAR
friend std::ostream& operator<<(std::ostream& os,
const IDEAL_REP& a);
/**
* @brief Used for multiplication
*/
friend class MATH::Algebra::Karatsuba<BaseType>;
template<class BType,
class Cont,
class num_traits>
friend class Polynomial;
protected:
/**
* @brief Constructor for derived classes
* @param numOfElement the number of elements
* @param vlist the list of arguments
* @param first The zero coefficients of reprezentation
*/
template<class T>
void constructRepresentation(const unsigned numOfElement,
const T& first,
va_list vlist);
/**
* @brief getter for coefficients
* @details If coeff bigger than degree,
* a new element is created, and return the
* reference of the new element.
* @return a reference to the specific coefficient
*/
BaseType& operator[](const unsigned coeff);
/**
* @brief getter for coefficients const form
* @details If coeff bigger than degree,
* a new element is created, and return the
* reference of the new element.
* @return a reference to the specific coefficient
* @see getCoeff
*/
BaseType operator[](const unsigned coeff) const;
/**
* @brief Do the carry lifting.
*/
void carrying();
/**
* @brief This function corrects the sape of the reprezentation.
* @details Removes the unnecessery zeros
* from the reprezentation
*/
virtual void correctShape();
};
}
}
#undef TEMP_PAR
#undef IDEAL_REP
#include "idealadicrepresentation.hpp"
#include "number_traits_idealadic.h"
#include "numbercalculator_idealadicrep.h"
#endif
| [
"eles.david.88@gmail.com"
] | eles.david.88@gmail.com |
f5e90d6efb6299313bc5ca6ebdc02bfe3a37d8d6 | c51e8aaf1a71ccd827616c2d8022dd1dc19c9bec | /BoxSideWindowFilter.cpp | f3742bbd966d3e263d2aba9f5e2c33c335d57a78 | [] | no_license | evelineshi/Image-processing-algorithm | 482e1d8a4483364e0cdb78f8e775160bad93891f | f486884c6c8895f3386744e9508fc33d8c0464b2 | refs/heads/master | 2023-07-24T07:49:39.949718 | 2021-09-04T08:34:18 | 2021-09-04T08:34:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,004 | cpp | #include <stdio.h>
#include <iostream>
#include <immintrin.h>
#include <opencv2/opencv.hpp>
using namespace cv;
using namespace std;
//针对灰度图的均值滤波+CVPR 2019的SideWindowFilter
//其他种类的滤波直接换核即可
int cnt[8] = { 0, 0, 0, 0, 0, 0, 0, 0 };
vector <int> filter[8];
void InitFilter(int radius) {
int n = radius * 2 + 1;
for (int i = 0; i < 8; i++) {
cnt[i] = 0;
filter[i].clear();
}
for (int i = 0; i < 8; i++) {
for (int x = 0; x < n; x++) {
for (int y = 0; y < n; y++) {
if (i == 0 && x <= radius && y <= radius) {
filter[i].push_back(1);
}
else if (i == 1 && x <= radius && y >= radius) {
filter[i].push_back(1);
}
else if (i == 2 && x >= radius && y <= radius) {
filter[i].push_back(1);
}
else if (i == 3 && x >= radius && y >= radius) {
filter[i].push_back(1);
}
else if (i == 4 && x <= radius) {
filter[i].push_back(1);
}
else if (i == 5 && x >= radius) {
filter[i].push_back(1);
}
else if (i == 6 && y >= radius) {
filter[i].push_back(1);
}
else if (i == 7 && y <= radius) {
filter[i].push_back(1);
}
else {
filter[i].push_back(0);
}
}
}
}
for (int i = 0; i < 8; i++) {
int sum = 0;
for (int j = 0; j < filter[i].size(); j++) sum += filter[i][j] == 1;
cnt[i] = sum;
}
}
Mat SideWindowFilter(Mat src, int radius = 1) {
int row = src.rows;
int col = src.cols;
int channels = src.channels();
InitFilter(radius);
for (int i = 0; i < 8; i++) {
printf("%d ", cnt[i]);
}
printf("\n");
if (channels == 1) {
Mat dst(row, col, CV_8UC1);
for (int i = 0; i < row; i++) {
for (int j = 0; j < col; j++) {
if (i < radius || i + radius >= row || j < radius || j + radius >= col) {
dst.at<uchar>(i, j) = src.at<uchar>(i, j);
continue;
}
int minn = 256;
int pos = 0;
for (int k = 0; k < 8; k++) {
int val = 0;
int id = 0;
for (int x = -radius; x <= radius; x++) {
for (int y = -radius; y <= radius; y++) {
//if (x == 0 && y == 0) continue;
val += src.at<uchar>(i + x, j + y) * filter[k][id++];
}
}
val /= cnt[k];
if (abs(val - src.at<uchar>(i, j)) < minn) {
minn = abs(val - src.at<uchar>(i, j));
pos = k;
}
}
int val = 0;
int id = 0;
for (int x = -radius; x <= radius; x++) {
for (int y = -radius; y <= radius; y++) {
//if (x == 0 && y == 0) continue;
val += src.at<uchar>(i + x, j + y) * filter[pos][id++];
}
}
dst.at<uchar>(i, j) = val / cnt[pos];
}
}
return dst;
}
Mat dst(row, col, CV_8UC3);
for (int c = 0; c < 3; c++) {
for (int i = 0; i < row; i++) {
for (int j = 0; j < col; j++) {
if (i < radius || i + radius >= row || j < radius || j + radius >= col) {
dst.at<Vec3b>(i, j)[c] = src.at<Vec3b>(i, j)[c];
continue;
}
int minn = 256;
int pos = 0;
for (int k = 0; k < 8; k++) {
int val = 0;
int id = 0;
for (int x = -radius; x <= radius; x++) {
for (int y = -radius; y <= radius; y++) {
//if (x == 0 && y == 0) continue;
val += src.at<Vec3b>(i + x, j + y)[c] * filter[k][id++];
}
}
val /= cnt[k];
if (abs(val - src.at<Vec3b>(i, j)[c]) < minn) {
minn = abs(val - src.at<Vec3b>(i, j)[c]);
pos = k;
}
}
int val = 0;
int id = 0;
for (int x = -radius; x <= radius; x++) {
for (int y = -radius; y <= radius; y++) {
//if (x == 0 && y == 0) continue;
val += src.at<Vec3b>(i + x, j + y)[c] * filter[pos][id++];
}
}
dst.at<Vec3b>(i, j)[c] = val / cnt[pos];
}
}
}
return dst;
}
int main() {
Mat src = imread("F:\\panda.jpg");
cv::imshow("origin", src);
for (int i = 0; i < 9; i++) {
src = SideWindowFilter(src, 3);
//medianBlur(src, src, 3);
}
//Mat dst;
//medianBlur(src, dst, 3);
Mat dst = SideWindowFilter(src, 3);
imshow("result", dst);
imwrite("F:\\res.jpg", dst);
waitKey(0);
} | [
"1182563586@qq.com"
] | 1182563586@qq.com |
366228db9cf31ccee8a24c25535338b1151c7015 | 91cb8459aa7464ee6c9c9450661a0616af84d50c | /examples/cells/src/texturemap.hpp | 8fc6e1a84411d4db1edfc7182a9059be87ea6c4c | [] | no_license | therocode/genes | b35a87f42be6952626845af8f135b061696d3f56 | e4fb729f92fb84f8b7938d96bf904a496bb3d8b6 | refs/heads/master | 2016-08-05T04:12:33.726582 | 2016-02-06T22:29:02 | 2016-02-06T22:29:02 | 33,068,724 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 133 | hpp | #pragma once
#include <unordered_map>
#include <fea/render2d.hpp>
using TextureMap = std::unordered_map<std::string, fea::Texture>;
| [
"widlundtobias@gmail.com"
] | widlundtobias@gmail.com |
ae93736d326e69c66ce1de020e3975f2644075b7 | cd9d5422bfab6f6e7c573af09a16626d0a738916 | /spring16/208.ImplementTrie.cpp | 0567f92d6957a0e334a56902578eac3b2d861170 | [] | no_license | Lingfei-Li/leetcode | dd4bd8365a25ca279b51fc8cc546f44c02c5d7ef | 36bd3b2a9e679c61962e946901f995142b85efaa | refs/heads/master | 2021-01-19T06:58:57.783787 | 2016-06-21T04:37:58 | 2016-06-21T04:37:58 | 59,934,535 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,511 | cpp | // 44.56% 3rd group
#include"mytest.h"
struct TrieNode {
TrieNode* n[30];
TrieNode() {
for(int i = 0; i < 30; i ++) {
n[i] = 0;
}
}
};
TrieNode* root;
unordered_set<string> st;
void Trie() {
root = new TrieNode();
}
void insert(string s) {
TrieNode* u = root;
for(int i = 0; i < s.length(); i ++) {
char c = s[i];
TrieNode* v = u->n[c-'a'];
if(!v) {
v = new TrieNode();
u->n[c-'a'] = v;
}
u = v;
}
st.insert(s);
}
bool search(string s) {
if(st.count(s)) return true;
return false;
}
bool startsWith(string s) {
if(s.length() == 0) {
for(int i = 0; i < 30; i ++) {
if(root->n[i]) return true;
}
return false;
}
TrieNode* u = root;
for(int i = 0; i < s.length(); i ++) {
char c = s[i];
if(u->n[c-'a']) {
u = u->n[c-'a'];
}
else {
return false;
}
}
return true;
}
int main() {
srand(time(NULL));
string s, t;
vector<string> v;
Trie();
while(cin>>s>>t) {
if(s=="i") {
insert(t);
v.push_back(t);
printVector(v);
}
else if(s=="s") {
cout<<search(t)<<endl;
}
else if(s=="p") {
cout<<startsWith(t)<<endl;
}
}
return 0;
}
| [
"lingfei@macaroni-01.cs.wisc.edu"
] | lingfei@macaroni-01.cs.wisc.edu |
4d05bec1c4410d0cfa67678f2cb766aed596939c | 350b7e83aa93de936aa5ab6b34b7681416947ab6 | /include/ChordQuality.h | 04d94e78abb16d64f094aa572e1469586cbed78c | [] | no_license | rstrobl/libjazz | c5dea9ad55e9d415b38704ba7b0a942c28b1fc0f | 1d34d8d8651df82add0375e28aa0773611457aff | refs/heads/master | 2021-01-15T23:50:12.987014 | 2010-12-30T14:59:02 | 2010-12-30T14:59:02 | 1,188,850 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,521 | h | /*
* This file is part of the libjazz project.
*
* Copyright (C) 2010, Free Software Foundation, Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
#ifndef CHORDQUALITY_H__
#define CHORDQUALITY_H__
#include <string>
#include <vector>
#include <map>
#include "Interval.h"
#include "Key.h"
using namespace std;
class ChordQuality
{
string _name;
vector<Interval *> _intervals;
public:
// constructors
ChordQuality(string name, vector<Interval *> &intervals);
// accessors
vector<Interval *> getIntervals() const { return _intervals; }
vector<Key *> getKeysFor(const Key *rootKey);
// operators
friend ostream& operator <<(ostream &stream, const ChordQuality &quality);
friend ostream& operator <<(ostream &stream, const ChordQuality *quality);
};
namespace Jazz { extern map<string, ChordQuality *> chordQuality; };
#endif | [
"robert.strobl@student.hpi.uni-potsdam.de"
] | robert.strobl@student.hpi.uni-potsdam.de |
12b24ccd457e644beb161c0f9627bda37c530206 | a06a9ae73af6690fabb1f7ec99298018dd549bb7 | /GameServer/Eventos/BonusEvent/BonusEvent.cpp | d66379ae8602e788ae8358ddf41976c80ef46cdf | [] | no_license | longstl/mus12 | f76de65cca55e675392eac162dcc961531980f9f | 9e1be111f505ac23695f7675fb9cefbd6fa876e9 | refs/heads/master | 2021-05-18T08:20:40.821655 | 2020-03-29T17:38:13 | 2020-03-29T17:38:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,019 | cpp | #include "stdafx.h"
#include "./Eventos/BonusEvent/BonusEvent.h"
#include "TLog.h"
#include "TNotice.h"
CBonusEvent g_BonusEvent;
CBonusEvent::CBonusEvent()
{
InitializeCriticalSection(&this->m_criti);
this->m_vtEventData.clear();
this->hThread = NULL;
}
CBonusEvent::~CBonusEvent()
{
if (this->hThread != NULL)
{
TerminateThread(this->hThread, 0);
}
DeleteCriticalSection(&this->m_criti);
}
void CBonusEvent::LoadFile(char *szFile)
{
EnterCriticalSection(&this->m_criti);
pugi::xml_document file;
pugi::xml_parse_result res = file.load_file(szFile);
if (res.status != pugi::status_ok)
{
g_Log.MsgBox("Error loading %s file (%s)", szFile, res.description());
LeaveCriticalSection(&this->m_criti);
return;
}
this->m_vtEventData.clear();
pugi::xml_node main = file.child("BonusEvent");
this->m_bEventEnable = main.attribute("Enable").as_bool();
this->m_bEventNotice = main.attribute("DisplayNotice").as_bool();
for (pugi::xml_node Event = main.child("Event"); Event; Event = Event.next_sibling())
{
std::shared_ptr<BONUS_EVENT_DATA> bonus_event_ptr_(new BONUS_EVENT_DATA);
bonus_event_ptr_->wDayOfWeek = Event.attribute("DayOfWeek").as_int();
bonus_event_ptr_->wStartHour = Event.attribute("StartHour").as_int();
bonus_event_ptr_->wEndHour = Event.attribute("EndHour").as_int();
bonus_event_ptr_->AddExp = Event.attribute("ExpMultiplier").as_float();
bonus_event_ptr_->AddMLExp = Event.attribute("MasterExpMultiplier").as_float();
bonus_event_ptr_->AddDrop = Event.attribute("ItemDropBonus").as_int();
bonus_event_ptr_->AddExcDrop = Event.attribute("ExcDropBonus").as_int();
this->m_vtEventData.push_back(bonus_event_ptr_);
}
if (this->hThread == NULL)
{
this->hThread = CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)CBonusEvent::Run, this, NULL, NULL);
}
LeaveCriticalSection(&this->m_criti);
}
void CBonusEvent::Run(void *lpParam)
{
while (true)
{
CBonusEvent *lpThis = (CBonusEvent *)lpParam;
if (lpThis->m_bEventEnable == false)
{
Sleep(1000);
continue;
}
SYSTEMTIME time;
GetLocalTime(&time);
std::shared_ptr<BONUS_EVENT_DATA> active_event_ptr = NULL;
for (std::vector<std::shared_ptr<BONUS_EVENT_DATA>>::iterator It = lpThis->m_vtEventData.begin(); It != lpThis->m_vtEventData.end(); It++)
{
std::shared_ptr<BONUS_EVENT_DATA> event_ptr = *It;
if (time.wDayOfWeek != event_ptr->wDayOfWeek && event_ptr->wDayOfWeek != (WORD)-1)
{
continue;
}
if (time.wHour >= event_ptr->wStartHour && time.wHour < event_ptr->wEndHour)
{
active_event_ptr = event_ptr;
break;
}
}
if (active_event_ptr != NULL)
{
EnterCriticalSection(&lpThis->m_criti);
BOOL bChange = lpThis->m_curEvent_ptr != active_event_ptr ? TRUE : FALSE;
LeaveCriticalSection(&lpThis->m_criti);
if (bChange == TRUE)
{
if (lpThis->m_bEventNotice == true)
{
int nRemainMin = (active_event_ptr->wEndHour * 60) - (time.wHour * 60 + time.wMinute);
PMSG_NOTICE pNotice;
TNotice::MakeNoticeMsgEx(&pNotice, 0, Lang.GetText(0,600), active_event_ptr->wEndHour - active_event_ptr->wStartHour, nRemainMin);
TNotice::SendNoticeToAllUser(&pNotice);
g_Log.Add("[Bonus Event] Started Event (AddExp:%f) (AddMLExp:%f) (AddDrop:%f) (AddExcDrop:%f)",
active_event_ptr->AddExp, active_event_ptr->AddMLExp, active_event_ptr->AddDrop, active_event_ptr->AddExcDrop);
}
EnterCriticalSection(&lpThis->m_criti);
lpThis->m_curEvent_ptr = active_event_ptr;
LeaveCriticalSection(&lpThis->m_criti);
}
}
else
{
EnterCriticalSection(&lpThis->m_criti);
BOOL bChange = lpThis->m_curEvent_ptr != NULL ? TRUE : FALSE;
LeaveCriticalSection(&lpThis->m_criti);
if (bChange == TRUE)
{
EnterCriticalSection(&lpThis->m_criti);
lpThis->m_curEvent_ptr = NULL;
LeaveCriticalSection(&lpThis->m_criti);
}
}
Sleep(1000);
}
}
float CBonusEvent::GetAddExp()
{
EnterCriticalSection(&this->m_criti);
if (this->m_curEvent_ptr == NULL)
{
LeaveCriticalSection(&this->m_criti);
return 0.0;
}
float fAddExp = this->m_curEvent_ptr->AddExp;
LeaveCriticalSection(&this->m_criti);
return fAddExp;
}
float CBonusEvent::GetAddMLExp()
{
EnterCriticalSection(&this->m_criti);
if (this->m_curEvent_ptr == NULL)
{
LeaveCriticalSection(&this->m_criti);
return 0.0;
}
float fAddMLExp = this->m_curEvent_ptr->AddMLExp;
LeaveCriticalSection(&this->m_criti);
return fAddMLExp;
}
WORD CBonusEvent::GetAddDrop()
{
EnterCriticalSection(&this->m_criti);
if (this->m_curEvent_ptr == NULL)
{
LeaveCriticalSection(&this->m_criti);
return 0;
}
WORD wAddDrop = this->m_curEvent_ptr->AddDrop;
LeaveCriticalSection(&this->m_criti);
return wAddDrop;
}
WORD CBonusEvent::GetAddExcDrop()
{
EnterCriticalSection(&this->m_criti);
if (this->m_curEvent_ptr == NULL)
{
LeaveCriticalSection(&this->m_criti);
return 0;
}
WORD wAddExcDrop = this->m_curEvent_ptr->AddExcDrop;
LeaveCriticalSection(&this->m_criti);
return wAddExcDrop;
} | [
"adm.fael.hs@gmail.com"
] | adm.fael.hs@gmail.com |
f4112d80d6fc0d55aa3862d4967bb2de8a375d94 | 4a7cb9dabeb7aaf04a12ca7998d87fb15bdb45b7 | /C++/Different-Ways-to-Add-Parentheses.cpp | e83a996f172f7b74bf8fdb366f240a7b4b04c111 | [] | no_license | giorking/Leetcode-1 | 8d39b8b9b4d5835a6e121fb184cd0b221c48cd5a | 405c7c3dda76c26ed166f0d8717131331adb9fce | refs/heads/master | 2020-05-29T08:48:45.732012 | 2015-10-15T02:41:09 | 2015-10-15T02:41:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 830 | cpp | class Solution {
public:
vector<int> diffWaysToCompute(string input) {
vector<int> res;
int size = input.size();
for (int i = 0; i < size; i ++) {
if (input[i] == '+' || input[i] == '-' || input[i] == '*') {
vector<int> left = diffWaysToCompute(input.substr(0, i));
vector<int> right = diffWaysToCompute(input.substr(i + 1));
for (auto n1 : left) {
for (auto n2 : right) {
if (input[i] == '+') {
res.push_back(n1 + n2);
} else if (input[i] == '-') {
res.push_back(n1 - n2);
} else {
res.push_back(n1 * n2);
}
}
}
}
}
if (res.empty()) {
res.push_back(atoi(input.c_str()));
}
return res;
}
}; | [
"jiangyi0425@gmail.com"
] | jiangyi0425@gmail.com |
6c61c047f71940425c2a63e94c757207a8d2f77b | 8cd00577f9b82cbfb9c5a49db66932e533963a4a | /src/engine/integermutator.h | c98d7cabd5f519a8ad1b8035a0d633e46721d91e | [] | no_license | magnusl/fuzzengine | 416a9dc691bc5cddaed08b70b8cc5d45440fca19 | b92f43a3c7929c073d6490a121c70e6859b614af | refs/heads/master | 2020-03-07T10:09:55.168083 | 2018-03-30T12:23:20 | 2018-03-30T12:23:20 | 127,424,862 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,395 | h | #ifndef _INTEGERMUTATOR_H_
#define _INTEGERMUTATOR_H_
#include "mutator.h"
#include "buffer.h"
namespace fuzzer {
namespace runtime {
///
/// \class UnsignedMutator
/// \brief Mutator for unsigned integers
///
template<class T>
class UnsignedMutator : public Mutator
{
public:
UnsignedMutator(
T InitialValue,
T Low = std::numeric_limits<T>::min(),
T Upper = std::numeric_limits<T>::max()) :
_current(InitialValue), _initial(InitialValue), _lower(Low), _upper(Upper)
{
}
virtual bool mutate()
{
_current += 1;
return true;
}
virtual bool finished()
{
return false;
}
virtual void evaluate(Buffer & buf)
{
switch(sizeof(T)) {
case 1: buf.writeU8(static_cast<uint8_t>(_current)); break;
case 2: buf.writeU16(static_cast<uint16_t>(_current)); break;
case 4: buf.writeU32(static_cast<uint32_t>(_current)); break;
case 8: buf.writeU64(static_cast<uint64_t>(_current)); break;
default:
throw std::runtime_error("Incorrect type.");
}
}
virtual void reset()
{
}
T current() const { return _current; }
private:
T _initial;
T _lower;
T _upper;
T _current;
};
} // namespace runtime
} // namespace fuzzy
#endif | [
"magnus586@hotmail.com"
] | magnus586@hotmail.com |
62a267a23f20f787a7cffb30ed691a3f5ff753b9 | d7d3683f85abe602476766c543d327410914422a | /practice/baxter/paixu.cpp | 9aa2b4580c05822cb43e9bf61fdb702baa6d1123 | [] | no_license | Tianyu-Zhou/Projects | 636c580e9294404708155786c995b25c082818b0 | 4733af27744dca2c489591d17b24bdeee28442dc | refs/heads/master | 2020-06-10T08:13:10.418834 | 2019-07-03T14:11:40 | 2019-07-03T14:11:40 | 193,622,480 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 349 | cpp | // shi yong setw() han shu
#include <iostream>
using namespace std;
#include <iomanip>
using std::setw;
int main()
{
int n[10];
for (int i = 0; i<10; i++)
{
n[i] = i+100;
}
cout<<"Element"<<setw(13)<<"Value"<<endl;
for (int j = 0; j<10; j++)
{
cout<<setw(7)<<j<<setw(13)<<n[j]<<endl;
}
return 0;
}
| [
"zhoutianyu@ufl.edu"
] | zhoutianyu@ufl.edu |
b16816439d13b19ef902c547977a9d9f2a2862b5 | 8baa6eabcadfb32eb10c8342c57b9e7b54581927 | /Mjukvara/ListView/CListTest.h | c0be08e0c0cebf7e0a90b2986a70f527f7165c0a | [] | no_license | stfrha/telestation | ecd1bdf6da736cf260ade0669b78e4216a1062a2 | cba7af1cde66c4140e3b98860affec4b465b7fb2 | refs/heads/master | 2023-07-14T01:59:53.274728 | 2021-08-23T20:49:25 | 2021-08-23T20:49:25 | 399,243,551 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,312 | h | // CListTest.h : main header file for the CLISTTEST application
//
#if !defined(AFX_CLISTTEST_H__67BE4BF1_21C2_4B58_A1CE_6016C520839B__INCLUDED_)
#define AFX_CLISTTEST_H__67BE4BF1_21C2_4B58_A1CE_6016C520839B__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#ifndef __AFXWIN_H__
#error include 'stdafx.h' before including this file for PCH
#endif
#include "resource.h" // main symbols
#include "CListTestDoc.h"
/////////////////////////////////////////////////////////////////////////////
// CCListTestApp:
// See CListTest.cpp for the implementation of this class
//
class CCListTestApp : public CWinApp
{
public:
CCListTestApp();
CMultiDocTemplate* m_catListTemplate;
//void ActivateCatView(CCListTestDoc* doc);
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CCListTestApp)
public:
virtual BOOL InitInstance();
//}}AFX_VIRTUAL
// Implementation
//{{AFX_MSG(CCListTestApp)
afx_msg void OnAppAbout();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_CLISTTEST_H__67BE4BF1_21C2_4B58_A1CE_6016C520839B__INCLUDED_)
| [
"mail@fredrikhoffman.se"
] | mail@fredrikhoffman.se |
01a230f94efd815775887123e576d280c26c4e46 | 2b6144aeefe48a5a9244c3560ffc91ed202f2fb6 | /volna_init/external/boost/fusion/algorithm/transformation/clear.hpp | 992a76ee5efa54b2dfc49397db3fb5dd0d43e223 | [
"BSL-1.0",
"BSD-2-Clause"
] | permissive | reguly/volna | b867a63c3bd09fa234264cb2d01b8d8dd353ae27 | 6656d994c75f93d0f29673a8fc0da10926fa8d4a | refs/heads/master | 2023-08-19T07:19:35.315350 | 2022-11-05T19:46:49 | 2022-11-05T19:46:49 | 40,645,334 | 4 | 8 | BSD-2-Clause | 2021-11-15T13:16:52 | 2015-08-13T07:36:57 | C++ | UTF-8 | C++ | false | false | 861 | hpp | /*=============================================================================
Copyright (c) 2001-2006 Joel de Guzman
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
==============================================================================*/
#if !defined(FUSION_CLEAR_09172005_1127)
#define FUSION_CLEAR_09172005_1127
#include <boost/fusion/container/vector/vector10.hpp>
namespace boost { namespace fusion
{
namespace result_of
{
template <typename Sequence>
struct clear
{
typedef vector0<> type;
};
}
template <typename Sequence>
inline typename result_of::clear<Sequence const>::type
clear(Sequence const& /*seq*/)
{
return vector0<>();
}
}}
#endif
| [
"regulyistvan@gmail.com"
] | regulyistvan@gmail.com |
ad558a994a7ee2353a21adf497ebe278f5275b98 | eae6a1d9cc207e2da5ca55f329e21bfefe6a16f3 | /pat/a1069.cpp | 3afb61db9859cb9a6cfffe76d6e3481e73611f19 | [] | no_license | EvergreenHZ/codes | 5acb29f493744700b1d240223bfb52e868c9213a | 9c4b6e6872b7ec894541173f04363587048efaae | refs/heads/master | 2020-04-18T11:44:04.880247 | 2019-03-29T08:00:40 | 2019-03-29T08:00:40 | 167,511,349 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,037 | cpp | #include <iostream>
#include <cstdio>
#include <algorithm>
using namespace std;
int to_int(int *digit) {
int sum = 0;
for (int i = 0; i < 4; i++) {
sum *= 10;
sum += digit[i];
}
return sum;
}
void to_array(int *digit, int x) {
fill(digit, digit + 4, 0);
int i = 0;
do {
digit[i++] = x % 10;
x /= 10;
} while (x);
reverse(digit, digit + i);
}
int main() {
int N;
scanf("%d", &N);
while (true) {
int digit[4];
to_array(digit, N);
sort(digit, digit + 4);
int min = to_int(digit);
reverse(digit, digit + 4);
int max = to_int(digit);
int result = max - min;
printf("%04d - %04d = %04d\n", max, min, result);
if (result == 0 || result == 6174)
break;
N = result;
}
return 0;
}
| [
"huaizhixtp@168.com"
] | huaizhixtp@168.com |
12dc0c29d5690511c09214ea4b8a1fafbb40f6bc | 34fea597d7327536987b2b8342e4ff26f294e9ed | /Testing/Source/MediaStorageAndFileFormat/Cxx/TestImageChangeTransferSyntax2.cxx | 764417ad7c75d359c06a6bcefa3524f9ed60b7c7 | [
"BSD-3-Clause",
"BSD-2-Clause"
] | permissive | hsorby/gdcm | bce8bcf436682bb8a5f1ff2b549a07d10943cf62 | cd1b5fc2872893d17eb3fe7abc17850e1fdff120 | refs/heads/master | 2021-01-20T22:35:25.037034 | 2011-12-15T22:31:03 | 2011-12-15T22:31:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,486 | cxx | /*=========================================================================
Program: GDCM (Grassroots DICOM). A DICOM library
Module: $URL$
Copyright (c) 2006-2009 Mathieu Malaterre
All rights reserved.
See Copyright.txt or http://gdcm.sourceforge.net/Copyright.html for details.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the above copyright notice for more information.
=========================================================================*/
#include "gdcmImageChangeTransferSyntax.h"
#include "gdcmImageReader.h"
#include "gdcmImageWriter.h"
#include "gdcmFilename.h"
#include "gdcmSystem.h"
#include "gdcmFileMetaInformation.h"
#include "gdcmTesting.h"
namespace gdcm
{
int TestImageChangeTransferSyntaxJ2K(const char *filename)
{
ImageReader reader;
reader.SetFileName( filename );
if ( !reader.Read() )
{
const FileMetaInformation &header = reader.GetFile().GetHeader();
MediaStorage ms = header.GetMediaStorage();
bool isImage = MediaStorage::IsImage( ms );
bool pixeldata = reader.GetFile().GetDataSet().FindDataElement( Tag(0x7fe0,0x0010) );
if( isImage && pixeldata )
{
std::cerr << "Failed to read: " << filename << std::endl;
return 1;
}
else
{
// not an image give up...
std::cerr << "Problem with: " << filename << " but that's ok" << std::endl;
return 0;
}
}
const gdcm::Image &image = reader.GetImage();
gdcm::ImageChangeTransferSyntax change;
change.SetTransferSyntax( gdcm::TransferSyntax::JPEG2000Lossless );
change.SetInput( image );
bool b = change.Change();
if( !b )
{
unsigned short ba = reader.GetImage().GetPixelFormat().GetBitsAllocated();
if( ba == 12 )
{
std::cerr << "fail to change, but that's ok" << std::endl;
return 0;
}
std::cerr << "Could not change the Transfer Syntax: " << filename << std::endl;
return 1;
}
// Create directory first:
const char subdir[] = "TestImageChangeTransferSyntax2";
std::string tmpdir = Testing::GetTempDirectory( subdir );
if( !System::FileIsDirectory( tmpdir.c_str() ) )
{
System::MakeDirectory( tmpdir.c_str() );
//return 1;
}
std::string outfilename = Testing::GetTempFilename( filename, subdir );
ImageWriter writer;
writer.SetFileName( outfilename.c_str() );
//writer.SetFile( reader.GetFile() ); // increase test goal
writer.SetImage( change.GetOutput() );
if( !writer.Write() )
{
std::cerr << "Failed to write: " << outfilename << std::endl;
return 1;
}
std::cout << "success: " << outfilename << std::endl;
// Let's read that file back in !
ImageReader reader2;
reader2.SetFileName( outfilename.c_str() );
if ( !reader2.Read() )
{
return 1;
}
// TODO: need to check decompression equal initial buffer !
return 0;
}
} // end namespace gdcm
int TestImageChangeTransferSyntax2(int argc, char *argv[])
{
if( argc == 2 )
{
const char *filename = argv[1];
return gdcm::TestImageChangeTransferSyntaxJ2K(filename);
}
// else
gdcm::Trace::DebugOff();
gdcm::Trace::WarningOff();
int r = 0, i = 0;
const char *filename;
const char * const *filenames = gdcm::Testing::GetFileNames();
while( (filename = filenames[i]) )
{
r += gdcm::TestImageChangeTransferSyntaxJ2K( filename );
++i;
}
return r;
}
| [
"h.sorby@auckland.ac.nz"
] | h.sorby@auckland.ac.nz |
18f3bde38d003b60087d19eab522af62eaed9c6a | 7228375e99bf2be6812112f25328cbc21fec00fd | /TheCornelian/PlayerHealthText.h | e87db362e51eb3201273dd93cf4e7cda35ae1522 | [] | no_license | Pierreemmanuelgrimm/2017-TheCornelian | 1458fa4c84d86367d613aef2568e0886191c746e | faab7faf143e6d8cafdec752479141f0b5a805d5 | refs/heads/master | 2023-08-17T23:34:13.509634 | 2018-02-11T13:38:56 | 2018-02-11T13:38:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 363 | h | #pragma once
#include "TextTexture.h"
#include "Mob.h"
class PlayerHealthText : public TextTexture
{
public:
//Constructor
PlayerHealthText();
PlayerHealthText(int, int, int, int, Mob*, SDL_Color, TTF_Font*, std::string nstat);
//Destructor
~PlayerHealthText();
//Accessor functions
std::string getString();
private:
Mob* player;
std::string stat;
};
| [
"pierreemmanuel.grimm@gmail.com"
] | pierreemmanuel.grimm@gmail.com |
9466d5b623a476418c9b4e722765d9691ccfdeea | 9ebff645946e5a74c1f17e070ec5fda0d539715b | /app/src/main/cpp/AndroidDef/vm/Thread.cpp | 270f76808e6445bad72671482efe6212c8787d85 | [] | no_license | sevico/jk_not_file | 8133c0e300f651659f690374555c3509dbf3fabc | 358d00dfabc088daccd3536bc15241d4518ac4b4 | refs/heads/main | 2023-01-08T09:39:58.921594 | 2020-11-02T05:04:55 | 2020-11-02T05:04:55 | 309,262,769 | 3 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 1,544 | cpp | //
// Created by F8LEFT on 2017/3/31.
//
#include "Thread.h"
void dvmLockMutex(pthread_mutex_t *pMutex) {
int cc __attribute__ ((__unused__)) = pthread_mutex_lock(pMutex);
assert(cc == 0);
}
int dvmTryLockMutex(pthread_mutex_t *pMutex) {
int cc = pthread_mutex_trylock(pMutex);
assert(cc == 0 || cc == EBUSY);
return cc;
}
void dvmUnlockMutex(pthread_mutex_t *pMutex) {
int cc __attribute__ ((__unused__)) = pthread_mutex_unlock(pMutex);
assert(cc == 0);
}
void dvmDestroyMutex(pthread_mutex_t *pMutex) {
int cc __attribute__ ((__unused__)) = pthread_mutex_destroy(pMutex);
assert(cc == 0);
}
void dvmBroadcastCond(pthread_cond_t *pCond) {
int cc __attribute__ ((__unused__)) = pthread_cond_broadcast(pCond);
assert(cc == 0);
}
void dvmSignalCond(pthread_cond_t *pCond) {
int cc __attribute__ ((__unused__)) = pthread_cond_signal(pCond);
assert(cc == 0);
}
void dvmWaitCond(pthread_cond_t *pCond, pthread_mutex_t *pMutex) {
int cc __attribute__ ((__unused__)) = pthread_cond_wait(pCond, pMutex);
assert(cc == 0);
}
void dvmInitMutex(pthread_mutex_t *pMutex) {
#ifdef CHECK_MUTEX
pthread_mutexattr_t attr;
int cc;
pthread_mutexattr_init(&attr);
cc = pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_ERRORCHECK_NP);
assert(cc == 0);
pthread_mutex_init(pMutex, &attr);
pthread_mutexattr_destroy(&attr);
#else
pthread_mutex_init(pMutex, NULL); // default=PTHREAD_MUTEX_FAST_NP
#endif
}
| [
"swkhack@gmail.com"
] | swkhack@gmail.com |
188f9644a27f1d5a6d0c235ea7f37d7f0cb252cd | 73b329e4becd3045989e17fbc0c6aed3d46b5854 | /Likelihood/13736_AttachFullEFTLikelihoodWithPDF/HybridCalculator.cpp | e3a8df9e9f1ff7b310945c3ae407511e87d5f3d6 | [] | no_license | FHead/PhysicsHiggsProperties | 36ee6edd9b4a744c41ae8eda58d3b0979e02868d | 25e2cf36b633403a7661488167279a917b76882c | refs/heads/master | 2023-06-01T12:58:09.411729 | 2020-05-05T20:47:51 | 2020-05-05T20:47:51 | 377,256,404 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 109,937 | cpp | //----------------------------------------------------------------------------
// Calculation of the hybrid method. Result is proportional to pdf value.
// Author: Yi Chen (12173)
//----------------------------------------------------------------------------
#include "HybridCalculator.h"
//----------------------------------------------------------------------------
#include <iostream>
#include <iomanip>
//----------------------------------------------------------------------------
HybridCalculator::HybridCalculator()
{
Verbosity = VerboseLevel_Quiet;
Efficiency12 = NULL;
Efficiency34 = NULL;
Smear12 = NULL;
Smear34 = NULL;
PTYDensity = NULL;
ToleranceF = 1e-6;
MaxDepthF = 20;
IgnorePhi = true;
SimpleMassIntegralWindowPlus = 0.5;
SimpleMassIntegralWindowMinus = 0.5;
SimpleMassIntegralStepPlus = 40;
SimpleMassIntegralStepMinus = 40;
SimpleMassIntegralAttractorStrengthPlus = 0;
SimpleMassIntegralAttractorStrengthMinus = 0;
ExpansionOrder = 2;
LeptonReversal = false;
RotatingLeptonReversal = false;
DoDeltaMH = false;
DeltaMH = 125;
DoGaussMH = false;
SigmaMH = 1;
DoDiagonal = true;
IntegralCMin = 0.75;
IntegralCMax = 1.25;
IntegralCStep = 20;
IncludeSwapping = false;
FlatApproximation = true;
DebugPrintIntegrand = false;
IgnoreTip = false;
TipRangeFactor = 1;
DoPTZero = false;
ToleranceM1.clear();
ToleranceM2.clear();
MaxDepthM1 = 30;
MaxDepthM2 = 30;
RecursiveMassIntegralM1Step = 20;
RecursiveMassIntegralM1Window = 40;
RecursiveMassIntegralM2Step = 20;
RecursiveMassIntegralM2Window = 40;
UseSmartCenter = false;
}
//----------------------------------------------------------------------------
HybridCalculator::~HybridCalculator()
{
}
//----------------------------------------------------------------------------
HybridCalculator &HybridCalculator::operator =(const HybridCalculator &other)
{
Verbosity = other.Verbosity;
ToleranceF = other.ToleranceF;
MaxDepthF = other.MaxDepthF;
IgnorePhi = other.IgnorePhi;
SimpleMassIntegralWindowPlus = other.SimpleMassIntegralWindowPlus;
SimpleMassIntegralWindowMinus = other.SimpleMassIntegralWindowMinus;
SimpleMassIntegralStepPlus = other.SimpleMassIntegralStepPlus;
SimpleMassIntegralStepMinus = other.SimpleMassIntegralStepMinus;
SimpleMassIntegralAttractorStrengthPlus = other.SimpleMassIntegralAttractorStrengthPlus;
SimpleMassIntegralAttractorStrengthMinus = other.SimpleMassIntegralAttractorStrengthMinus;
ExpansionOrder = other.ExpansionOrder;
LeptonReversal = other.LeptonReversal;
RotatingLeptonReversal = other.RotatingLeptonReversal;
DoDeltaMH = other.DoDeltaMH;
DeltaMH = other.DeltaMH;
DoGaussMH = other.DoGaussMH;
SigmaMH = other.SigmaMH;
IntegralCMin = other.IntegralCMin;
IntegralCMax = other.IntegralCMax;
IntegralCStep = other.IntegralCStep;
DoDiagonal = other.DoDiagonal;
Efficiency12 = other.Efficiency12;
Efficiency34 = other.Efficiency34;
Smear12 = other.Smear12;
Smear34 = other.Smear34;
PTYDensity = other.PTYDensity;
CalculateMEValue = other.CalculateMEValue;
MECount = other.MECount;
IncludeSwapping = other.IncludeSwapping;
FlatApproximation = other.FlatApproximation;
DebugPrintIntegrand = other.DebugPrintIntegrand;
IgnoreTip = other.IgnoreTip;
TipRangeFactor = other.TipRangeFactor;
DoPTZero = other.DoPTZero;
ToleranceM1 = other.ToleranceM1;
ToleranceM2 = other.ToleranceM2;
MaxDepthM1 = other.MaxDepthM1;
MaxDepthM2 = other.MaxDepthM2;
RecursiveMassIntegralM1Step = other.RecursiveMassIntegralM1Step;
RecursiveMassIntegralM1Window = other.RecursiveMassIntegralM1Window;
RecursiveMassIntegralM2Step = other.RecursiveMassIntegralM2Step;
RecursiveMassIntegralM2Window = other.RecursiveMassIntegralM2Window;
UseSmartCenter = other.UseSmartCenter;
return *this;
}
//----------------------------------------------------------------------------
void HybridCalculator::SetVerbosity(VerboseLevel Value)
{
Verbosity = Value;
}
//----------------------------------------------------------------------------
void HybridCalculator::SetEfficiency12(double (*F)(double, double, double))
{
if(Verbosity >= VerboseLevel_Normal)
{
if(F == NULL)
std::cerr << "[HybridCalculator] Efficiency function on first lepton pair set to NULL." << std::endl;
else
std::cerr << "[HybridCalculator] Efficiency function on first lepton pair set." << std::endl;
}
Efficiency12 = F;
}
//----------------------------------------------------------------------------
void HybridCalculator::SetEfficiency34(double (*F)(double, double, double))
{
if(Verbosity >= VerboseLevel_Normal)
{
if(F == NULL)
std::cerr << "[HybridCalculator] Efficiency function on second lepton pair set to NULL." << std::endl;
else
std::cerr << "[HybridCalculator] Efficiency function on second lepton pair set." << std::endl;
}
Efficiency34 = F;
}
//----------------------------------------------------------------------------
void HybridCalculator::SetSmear12(double (*F)(const FourVector &, double))
{
if(Verbosity >= VerboseLevel_Normal)
{
if(F == NULL)
std::cerr << "[HybridCalculator] Smearing function on first lepton pair set to NULL." << std::endl;
else
std::cerr << "[HybridCalculator] Smearing function on first lepton pair set." << std::endl;
}
Smear12 = F;
}
//----------------------------------------------------------------------------
void HybridCalculator::SetSmear34(double (*F)(const FourVector &, double))
{
if(Verbosity >= VerboseLevel_Normal)
{
if(F == NULL)
std::cerr << "[HybridCalculator] Smearing function on second lepton pair set to NULL." << std::endl;
else
std::cerr << "[HybridCalculator] Smearing function on second lepton pair set." << std::endl;
}
Smear34 = F;
}
//----------------------------------------------------------------------------
void HybridCalculator::SetPTYDensity(double (*F)(double, double, double))
{
if(Verbosity >= VerboseLevel_Normal)
{
if(F == NULL)
std::cerr << "[HybridCalculator] (PT,Y) density set to NULL." << std::endl;
else
std::cerr << "[HybridCalculator] (PT,Y) density set." << std::endl;
}
PTYDensity = F;
}
//----------------------------------------------------------------------------
void HybridCalculator::SetMECalculator(double (*F)(LeptonVectors &))
{
if(F == NULL)
{
if(Verbosity >= VerboseLevel_Normal)
std::cerr << "[HybridCalculator] Attempted to add a NULL ME function. Do nothing." << std::endl;
return;
}
CalculateMEValue.push_back(F);
MECount = CalculateMEValue.size();
if(Verbosity >= VerboseLevel_Normal)
std::cerr << "[HybridCalculator] Added a new ME function. Current count: " << MECount << std::endl;
}
//----------------------------------------------------------------------------
void HybridCalculator::SetToleranceF(double Tolerance)
{
if(Verbosity >= VerboseLevel_Normal)
std::cerr << "[HybridCalculator] Tolerance on F functions set to " << Tolerance << "." << std::endl;
ToleranceF = Tolerance;
}
//----------------------------------------------------------------------------
void HybridCalculator::SetMaxDepthF(int Depth)
{
if(Verbosity >= VerboseLevel_Normal)
std::cerr << "[HybridCalculator] Max depth on F functions set to " << Depth << "." << std::endl;
MaxDepthF = Depth;
}
//----------------------------------------------------------------------------
void HybridCalculator::SetIgnorePhi(bool Decision)
{
if(Verbosity >= VerboseLevel_Normal)
{
if(Decision == true)
std::cerr << "[HybridCalculator] Don't use phi in the lepton efficiency." << std::endl;
else
std::cerr << "[HybridCalculator] Use phi in the lepton efficiency." << std::endl;
}
IgnorePhi = Decision;
}
//----------------------------------------------------------------------------
void HybridCalculator::SetApplyEfficiencyAtEnd(bool Decision)
{
std::cerr << "[HybridCalculator] Efficiency is always applied at the end!" << std::endl;
}
//----------------------------------------------------------------------------
void HybridCalculator::SetSimpleMassIntegralWindow(double Window)
{
SetSimpleMassIntegralWindow(true, Window);
SetSimpleMassIntegralWindow(false, Window);
}
//----------------------------------------------------------------------------
void HybridCalculator::SetSimpleMassIntegralWindow(bool SumZ, double Window)
{
if(Verbosity >= VerboseLevel_Normal)
{
if(DoDiagonal == true)
std::cerr << "[HybridCalculator] Mass integration window for mass "
<< ((SumZ == true) ? "sum" : "difference") << " set to " << Window << "." << std::endl;
else
std::cerr << "[HybridCalculator] Mass integration window for mass "
<< ((SumZ == true) ? "M1" : "M2") << " set to " << Window << "." << std::endl;
}
if(SumZ == true)
SimpleMassIntegralWindowPlus = Window;
else
SimpleMassIntegralWindowMinus = Window;
}
//----------------------------------------------------------------------------
void HybridCalculator::SetSimpleMassIntegralStep(int Step)
{
SetSimpleMassIntegralStep(true, Step);
SetSimpleMassIntegralStep(false, Step);
}
//----------------------------------------------------------------------------
void HybridCalculator::SetSimpleMassIntegralStep(bool SumZ, int Step)
{
if(Verbosity >= VerboseLevel_Normal)
{
if(DoDiagonal == true)
std::cerr << "[HybridCalculator] Mass integration step count for mass "
<< ((SumZ == true) ? "sum" : "difference") << " set to " << Step << "." << std::endl;
else
std::cerr << "[HybridCalculator] Mass integration step count for mass "
<< ((SumZ == true) ? "M1" : "M2") << " set to " << Step << "." << std::endl;
}
if(SumZ == true)
SimpleMassIntegralStepPlus = Step;
else
SimpleMassIntegralStepMinus = Step;
}
//----------------------------------------------------------------------------
void HybridCalculator::SetExpansionOrder(int Value)
{
ExpansionOrder = Value;
if(Value < 0)
{
if(Verbosity >= VerboseLevel_Normal)
std::cerr << "[HybridCalculator] Weird order requested." << std::endl;
ExpansionOrder = 0;
}
else if(Value > 2)
{
if(Verbosity >= VerboseLevel_Normal)
std::cerr << "[HybridCalculator] Currently we don't support orders greater than 2." << std::endl;
ExpansionOrder = 2;
}
if(Verbosity >= VerboseLevel_Normal)
std::cerr << "[HybridCalculator] Order set to " << ExpansionOrder << std::endl;
}
//----------------------------------------------------------------------------
void HybridCalculator::SetLeptonReversal(bool Decision)
{
if(Verbosity >= VerboseLevel_Normal)
{
if(Decision == true)
std::cerr << "[HybridCalculator] Set lepton reversal to be true." << std::endl;
else
std::cerr << "[HybridCalculator] Don't use lepton reversal." << std::endl;
}
LeptonReversal = Decision;
}
//----------------------------------------------------------------------------
void HybridCalculator::SetRotatingLeptonReversal(bool Decision)
{
if(Verbosity >= VerboseLevel_Normal)
{
if(Decision == true)
std::cerr << "[HybridCalculator] Set rotating lepton reversal to be true." << std::endl;
else
std::cerr << "[HybridCalculator] Use fixed lepton reversal." << std::endl;
}
RotatingLeptonReversal = Decision;
}
//----------------------------------------------------------------------------
void HybridCalculator::SetDoDeltaMH(bool Decision, double Value)
{
DoDeltaMH = Decision;
DeltaMH = Value;
if(Verbosity >= VerboseLevel_Normal)
{
if(DoDeltaMH == false)
std::cerr << "[HybridCalculator] Don't use narrow-width approximation." << std::endl;
else
std::cerr << "[HybridCalculator] Use narrow-width approximation with MH = " << DeltaMH << std::endl;
}
if(DoGaussMH == true && DoDeltaMH == true)
{
if(Verbosity >= VerboseLevel_Normal)
std::cerr << "[HybridCalculator] Set gauss-width approximation to false." << std::endl;
DoGaussMH = false;
}
}
//----------------------------------------------------------------------------
void HybridCalculator::SetDoGaussMH(bool Decision, double Value, double Width)
{
DoGaussMH = Decision;
DeltaMH = Value;
SigmaMH = Width;
if(Verbosity >= VerboseLevel_Normal)
{
if(DoGaussMH == false)
std::cerr << "[HybridCalculator] Don't use gauss-width approximation." << std::endl;
else
std::cerr << "[HybridCalculator] Use gauss-width approximation with MH = " << DeltaMH
<< " and width = " << SigmaMH << std::endl;
}
if(DoGaussMH == true && DoDeltaMH == true)
{
if(Verbosity >= VerboseLevel_Normal)
std::cerr << "[HybridCalculator] Set narrow-width approximation to false." << std::endl;
DoDeltaMH = false;
}
}
//----------------------------------------------------------------------------
void HybridCalculator::SetIntegralCRange(double Min, double Max)
{
if(Min > Max)
{
std::cerr << "[HybridCalculator] Warning: min > max. Swap the two for now" << std::endl;
std::swap(Min, Max);
}
if(Min <= 0)
{
std::cerr << "[HybridCalculator] Warning: integral min < 0. Do nothing." << std::endl;
return;
}
if(Max <= 0)
{
std::cerr << "[HybridCalculator] Warning: integral max < 0. Do nothing." << std::endl;
return;
}
IntegralCMin = Min;
IntegralCMax = Max;
if(Verbosity >= VerboseLevel_Normal)
std::cerr << "[HybridCalculator] Integration range for C's set to "
<< Min << " - " << Max << std::endl;
}
//----------------------------------------------------------------------------
void HybridCalculator::SetIntegralCStep(int Step)
{
if(Step <= 1)
{
std::cerr << "[HybridCalculator] Unreasonable value of initial step count in C's requested." << std::endl;
Step = 20;
}
IntegralCStep = Step;
if(Verbosity >= VerboseLevel_Normal)
std::cerr << "[HybridCalculator] Step size set to " << IntegralCStep << "." << std::endl;
}
//----------------------------------------------------------------------------
void HybridCalculator::SetAttractorStrength(double Strength)
{
SetAttractorStrength(true, Strength);
SetAttractorStrength(false, Strength);
}
//----------------------------------------------------------------------------
void HybridCalculator::SetAttractorStrength(bool SumZ, double Strength)
{
if(Verbosity >= VerboseLevel_Normal)
{
if(DoDiagonal == true)
std::cerr << "[HybridCalculator] Mass integration attractor strength for mass "
<< ((SumZ == true) ? "sum" : "difference") << " set to " << Strength << "." << std::endl;
else
std::cerr << "[HybridCalculator] Mass integration attractor strength for mass "
<< ((SumZ == true) ? "M1" : "M2") << " set to " << Strength << "." << std::endl;
}
if(SumZ == true)
SimpleMassIntegralAttractorStrengthPlus = Strength;
else
SimpleMassIntegralAttractorStrengthMinus = Strength;
}
//----------------------------------------------------------------------------
void HybridCalculator::SetDoDiagonal(bool Decision)
{
if(Verbosity >= VerboseLevel_Normal)
{
if(Decision == true)
std::cerr << "[HybridCalculator] Integrate along M1+M2 vs. M1-M2 directions." << std::endl;
else
std::cerr << "[HybridCalculator] Integrate along M1 vs. M2 directions." << std::endl;
}
DoDiagonal = Decision;
}
//----------------------------------------------------------------------------
void HybridCalculator::SetIncludeSwapping(bool Decision)
{
if(Verbosity >= VerboseLevel_Normal)
{
if(Decision == true)
std::cerr << "[HybridCalculator] Calculate also swapped ME." << std::endl;
else
std::cerr << "[HybridCalculator] Don't calculate swapped ME." << std::endl;
}
IncludeSwapping = Decision;
}
//----------------------------------------------------------------------------
void HybridCalculator::SetFlatApproximation(bool Decision)
{
if(Verbosity >= VerboseLevel_Normal)
{
if(Decision == true)
std::cerr << "[HybridCalculator] Use c1-c2-c3-c4 flat approxmation." << std::endl;
else
std::cerr << "[HybridCalculator] Include c1-c2-c3-c4 volume element in the calculation." << std::endl;
}
FlatApproximation = Decision;
}
//----------------------------------------------------------------------------
void HybridCalculator::SetUsePPPP(bool Decision)
{
std::cerr << "[HybridCalculator] p1-p2-p3-p4 option is not supported anymore!" << std::endl;
}
//----------------------------------------------------------------------------
void HybridCalculator::SetDebugPrintIntegrand(bool Decision)
{
if(Verbosity >= VerboseLevel_Normal)
{
if(Decision == true)
std::cerr << "[HybridCalculator] DEBUG: print integrand." << std::endl;
else
std::cerr << "[HybridCalculator] DEBUG: don't print integrand." << std::endl;
}
DebugPrintIntegrand = Decision;
}
//----------------------------------------------------------------------------
void HybridCalculator::SetIgnoreTip(bool Decision)
{
if(Verbosity >= VerboseLevel_Normal)
{
if(Decision == true)
std::cerr << "[HybridCalculator] Ignore tip integral" << std::endl;
else
std::cerr << "[HybridCalculator] Include tip integral" << std::endl;
}
IgnoreTip = Decision;
}
//----------------------------------------------------------------------------
void HybridCalculator::SetTipRangeFactor(double Value)
{
if(Verbosity >= VerboseLevel_Normal)
std::cerr << "[HybridCalculator] Tip range factor set to " << Value << std::endl;
TipRangeFactor = Value;
}
//----------------------------------------------------------------------------
void HybridCalculator::SetDoPTZero(bool Decision)
{
if(Verbosity >= VerboseLevel_Normal)
{
if(Decision == true)
std::cerr << "[HybridCalculator] Require Generator level PT to be zero." << std::endl;
else
std::cerr << "[HybridCalculator] Generator level PT is free to float." << std::endl;
}
DoPTZero = Decision;
}
//----------------------------------------------------------------------------
void HybridCalculator::SetRecursiveMassIntegralWindow(double Window)
{
SetRecursiveMassIntegralWindow(true, Window);
SetRecursiveMassIntegralWindow(false, Window);
}
//----------------------------------------------------------------------------
void HybridCalculator::SetRecursiveMassIntegralWindow(bool SumZ, double Window)
{
if(Verbosity >= VerboseLevel_Normal)
{
if(DoDiagonal == true)
std::cerr << "[HybridCalculator] Mass integration window for mass "
<< ((SumZ == true) ? "sum" : "difference") << " set to " << Window << "." << std::endl;
else
std::cerr << "[HybridCalculator] Mass integration window for mass "
<< ((SumZ == true) ? "M1" : "M2") << " set to " << Window << "." << std::endl;
}
if(SumZ == true)
RecursiveMassIntegralM1Window = Window;
else
RecursiveMassIntegralM2Window = Window;
}
//----------------------------------------------------------------------------
void HybridCalculator::SetRecursiveMassIntegralStep(int Step)
{
SetRecursiveMassIntegralStep(true, Step);
SetRecursiveMassIntegralStep(false, Step);
}
//----------------------------------------------------------------------------
void HybridCalculator::SetRecursiveMassIntegralStep(bool SumZ, int Step)
{
if(Verbosity >= VerboseLevel_Normal)
{
if(DoDiagonal == true)
std::cerr << "[HybridCalculator] Initial mass integration step count for mass "
<< ((SumZ == true) ? "sum" : "difference") << " set to " << Step << "." << std::endl;
else
std::cerr << "[HybridCalculator] Initial mass integration step count for mass "
<< ((SumZ == true) ? "M1" : "M2") << " set to " << Step << "." << std::endl;
}
if(SumZ == true)
RecursiveMassIntegralM1Step = Step;
else
RecursiveMassIntegralM2Step = Step;
}
//----------------------------------------------------------------------------
void HybridCalculator::SetRecursiveMaxDepthM1(int Depth)
{
if(Verbosity >= VerboseLevel_Normal)
std::cerr << "[HybridCalculator] Max depth on recursive M1 scan set to " << Depth << "." << std::endl;
MaxDepthM1 = Depth;
}
//----------------------------------------------------------------------------
void HybridCalculator::SetRecursiveMaxDepthM2(int Depth)
{
if(Verbosity >= VerboseLevel_Normal)
std::cerr << "[HybridCalculator] Max depth on recursive M2 scan set to " << Depth << "." << std::endl;
MaxDepthM2 = Depth;
}
//----------------------------------------------------------------------------
void HybridCalculator::SetRecursiveMaxToleranceM1(std::vector<double> Value)
{
if(Verbosity >= VerboseLevel_Normal)
std::cerr << "[HybridCalculator] Tolerance on recursive M1 scan has been set." << std::endl;
ToleranceM1 = Value;
}
//----------------------------------------------------------------------------
void HybridCalculator::SetRecursiveMaxToleranceM2(std::vector<double> Value)
{
if(Verbosity >= VerboseLevel_Normal)
std::cerr << "[HybridCalculator] Tolerance on recursive M2 scan has been set." << std::endl;
ToleranceM2 = Value;
}
//----------------------------------------------------------------------------
void HybridCalculator::SetUseSmartCenter(bool Decision)
{
if(Verbosity >= VerboseLevel_Normal)
std::cerr << "[HybridCalculator] Smart center set to " << TextBool(Decision) << std::endl;
UseSmartCenter = Decision;
}
//----------------------------------------------------------------------------
void HybridCalculator::PrintSettings()
{
PrintSettings(std::cout);
}
//----------------------------------------------------------------------------
void HybridCalculator::PrintSettings(std::ostream &out)
{
out << "Summary of settings:" << std::endl;
out << std::endl;
if(Efficiency12 == NULL) out << "Efficiency12: not set." << std::endl;
else out << "Efficiency12: set." << std::endl;
if(Efficiency34 == NULL) out << "Efficiency34: not set." << std::endl;
else out << "Efficiency34: set." << std::endl;
if(Smear12 == NULL) out << "Smear12: not set." << std::endl;
else out << "Smear12: set." << std::endl;
if(Smear34 == NULL) out << "Smear34: not set." << std::endl;
else out << "Smear34: set." << std::endl;
if(PTYDensity == NULL) out << "PTYDensity: not set." << std::endl;
else out << "PTYDensity: set." << std::endl;
out << "Number of ME: " << CalculateMEValue.size() << std::endl;
out << "Tolerance on F: " << ToleranceF << std::endl;
out << "Max depth on F: " << MaxDepthF << std::endl;
out << "Ignore phi in efficiency: " << TextBool(IgnorePhi) << std::endl;
out << "Scan mass in diagonal direction: " << TextBool(DoDiagonal) << std::endl;
out << "Mass window: " << SimpleMassIntegralWindowPlus
<< ", " << SimpleMassIntegralWindowMinus << std::endl;
out << "Mass steps: " << SimpleMassIntegralStepPlus
<< ", " << SimpleMassIntegralStepMinus << std::endl;
out << "Mass attractor strength: " << SimpleMassIntegralAttractorStrengthPlus
<< ", " << SimpleMassIntegralAttractorStrengthMinus << std::endl;
out << "Expansion order: " << ExpansionOrder << std::endl;
out << "Do lepton reversal: " << TextBool(LeptonReversal) << std::endl;
out << "Rotating lepton reversal: " << TextBool(RotatingLeptonReversal) << std::endl;
out << "DoDeltaMH: " << TextBool(DoDeltaMH) << std::endl;
out << "DoGaussMH: " << TextBool(DoGaussMH) << std::endl;
if(DoDeltaMH == true) out << "MH: set at " << DeltaMH << std::endl;
else if(DoGaussMH == true) out << "MH: set at " << DeltaMH << " with width " << SigmaMH << std::endl;
else out << "MH: no prior distribution." << std::endl;
out << "Integral range on c's limited to: " << IntegralCMin << " - " << IntegralCMax << std::endl;
out << "Number of initial steps on c's: " << IntegralCStep << std::endl;
out << "Include evaluation of swapping M1 and M2: " << TextBool(IncludeSwapping) << std::endl;
if(FlatApproximation == true)
out << "Jacobian treatment: c1-c2-c3-c4 flat" << std::endl;
else
out << "Jacobian treatment: include volume element" << std::endl;
if(IgnoreTip == true)
out << "Tip: ignore" << std::endl;
else
out << "Tip: include" << std::endl;
out << "Tip range factor " << TipRangeFactor << std::endl;
out << "Require GEN-level PT to be zero: " << TextBool(DoPTZero) << std::endl;
out << "Recursive mass 1 tolerance set to [";
for(int i = 0; i < (int)ToleranceM1.size(); i++)
{
if(i != 0)
out << ", ";
out << ToleranceM1[i];
}
out << "]" << std::endl;
out << "Recursive mass 2 tolerance set to [";
for(int i = 0; i < (int)ToleranceM2.size(); i++)
{
if(i != 0)
out << ", ";
out << ToleranceM2[i];
}
out << "]" << std::endl;
out << "Recursive mass max depth set to (" << MaxDepthM1 << ", " << MaxDepthM2 << ")" << std::endl;
out << "Recursive mass step set to (" << RecursiveMassIntegralM1Step
<< ", " << RecursiveMassIntegralM2Step << ")" << std::endl;
out << "Recursive mass window set to (" << RecursiveMassIntegralM1Window
<< ", " << RecursiveMassIntegralM2Window << ")" << std::endl;
out << "Smart center: " << TextBool(UseSmartCenter) << std::endl;
out << std::endl;
}
//----------------------------------------------------------------------------
void HybridCalculator::TestOutput()
{
EventParameters Point;
Point.HMass = 125.0717827;
Point.ZMass = 105.77198368;
Point.Z2Mass = 15.5285557;
Point.Phi0 = 3.014345815;
Point.Theta0 = acos(0.1267741978);
Point.Phi = 3.028885554;
Point.Theta1 = acos(0.8313573548);
Point.Theta2 = acos(-0.0468909004);
Point.PTH = 30;
Point.YH = 0.5;
Point.PhiH = 1;
Point.PhiOffset = -1.020748664;
std::vector<double> Integrals = SimpleMassIntegral(Point);
std::cout << "Integral[1] = [";
for(int i = 0; i < (int)Integrals.size(); i++)
{
if(i != 0)
std::cout << ", ";
std::cout << Integrals[i];
}
std::cout << "]" << std::endl;
LeptonVectors Leptons;
Leptons.Lepton11.SetPtEtaPhi(14.624126, 0.7552305, 0.5874394);
Leptons.Lepton12.SetPtEtaPhi(82.687938, 0.5519971, 3.1338023);
Leptons.Lepton21.SetPtEtaPhi(19.936076, -0.020645, -1.480457);
Leptons.Lepton22.SetPtEtaPhi(49.456566, 0.4155587, 2.7247681);
Point = ConvertVectorsToAnglesRoberto(Leptons);
Integrals = SimpleMassIntegral(Point);
std::cout << "Integral[2] = [";
for(int i = 0; i < (int)Integrals.size(); i++)
{
if(i != 0)
std::cout << ", ";
std::cout << Integrals[i];
}
std::cout << "]" << std::endl;
}
//----------------------------------------------------------------------------
std::vector<double> HybridCalculator::SimpleMassIntegral(const EventParameters &TargetParameters)
{
if(TargetParameters.HMass < TargetParameters.ZMass + TargetParameters.Z2Mass)
return std::vector<double>(MECount);
LeptonVectors TargetLeptons = ConvertAnglesToVectorsRoberto(TargetParameters);
FourVector &L11 = TargetLeptons.Lepton11;
FourVector &L12 = TargetLeptons.Lepton12;
FourVector &L21 = TargetLeptons.Lepton21;
FourVector &L22 = TargetLeptons.Lepton22;
double RecoEfficiency =
Efficiency12(L11.GetPT(), L11[3] / L11.GetP(), (IgnorePhi == false) ? L11.GetPhi() : 0)
* Efficiency12(L12.GetPT(), L12[3] / L12.GetP(), (IgnorePhi == false) ? L12.GetPhi() : 0)
* Efficiency34(L21.GetPT(), L21[3] / L21.GetP(), (IgnorePhi == false) ? L21.GetPhi() : 0)
* Efficiency34(L22.GetPT(), L22[3] / L22.GetP(), (IgnorePhi == false) ? L22.GetPhi() : 0);
if(RecoEfficiency < 1e-7)
return std::vector<double>(MECount);
if(RotatingLeptonReversal == true)
LeptonReversal = !LeptonReversal;
double MassWindowPlus = SimpleMassIntegralWindowPlus;
double MassWindowMinus = SimpleMassIntegralWindowMinus;
int MassStepPlus = SimpleMassIntegralStepPlus;
int MassStepMinus = SimpleMassIntegralStepMinus;
double MassPlus[1001] = {0}, MassMinus[1001] = {0};
double MassCenterPlus, MassCenterMinus;
if(UseSmartCenter == false)
{
if(DoDiagonal == true)
{
MassCenterPlus = TargetParameters.ZMass + TargetParameters.Z2Mass;
MassCenterMinus = TargetParameters.ZMass - TargetParameters.Z2Mass;
}
else
{
MassCenterPlus = TargetParameters.ZMass;
MassCenterMinus = TargetParameters.Z2Mass;
}
if(DoDeltaMH == true)
{
MassCenterPlus = MassCenterPlus / TargetParameters.HMass * DeltaMH;
MassCenterMinus = MassCenterMinus / TargetParameters.HMass * DeltaMH;
}
}
else
{
std::pair<double, double> CenterResult = GuessCenter(TargetParameters);
if(DoDiagonal == false)
{
MassCenterPlus = CenterResult.first;
MassCenterMinus = CenterResult.second;
}
else
{
MassCenterPlus = CenterResult.first + CenterResult.second;
MassCenterMinus = CenterResult.first - CenterResult.second;
}
}
FillMassPosition(MassStepPlus, MassCenterPlus, MassWindowPlus,
SimpleMassIntegralAttractorStrengthPlus, MassPlus);
FillMassPosition(MassStepMinus, MassCenterMinus, MassWindowMinus,
SimpleMassIntegralAttractorStrengthMinus, MassMinus);
double FactorsPlus[1001] = {0}, FactorsMinus[1001] = {0};
FillMassWeights(MassStepPlus, MassPlus, FactorsPlus);
FillMassWeights(MassStepMinus, MassMinus, FactorsMinus);
CentralParameters = TargetParameters,
CentralParametersAlt = TargetParameters,
CentralParametersLeft = TargetParameters,
CentralParametersRight = TargetParameters;
std::vector<double> Integral(MECount);
RecoMM = MassSquare(TargetLeptons);
// MassSquare FlippedRecoMM = RecoMM.FlipZ1Z2();
if(DoDeltaMH == true)
{
if(fabs(cos(TargetParameters.Theta1)) < fabs(cos(TargetParameters.Theta2)))
FFFirstZ = true;
else
FFFirstZ = false;
FFFirstZ = true; // DEBUG
}
for(int iMPlus = 0; iMPlus <= MassStepPlus; iMPlus++)
{
double ZMassPlus = MassPlus[iMPlus];
for(int iMMinus = 0; iMMinus <= MassStepMinus; iMMinus++)
{
double ZMassMinus = MassMinus[iMMinus];
double ZMass, Z2Mass;
if(DoDiagonal == true)
ZMass = (ZMassPlus + ZMassMinus) / 2, Z2Mass = (ZMassPlus - ZMassMinus) / 2;
else
ZMass = ZMassPlus, Z2Mass = ZMassMinus;
if(ZMass <= 0 || Z2Mass <= 0)
continue;
if(DoDeltaMH == true && ZMass + Z2Mass >= DeltaMH) // gen-level config doesn't exist
continue;
// Prepare!
if(PrepareForIntegral(TargetParameters, ZMass, Z2Mass) == false)
continue;
// Do calculation for this mass point
std::vector<double> Contribution(MECount);
CalculateIntegrand(TargetParameters, CentralParameters, CentralParametersAlt,
CentralParametersLeft, CentralParametersRight, Contribution);
if(DebugPrintIntegrand == true)
std::cout << iMPlus << " " << iMMinus << " "
<< ZMass << " " << Z2Mass << " " << Contribution[0] << std::endl;
// Add stuff to integral
for(int i = 0; i < MECount; i++)
{
if(DoDiagonal == true)
Integral[i] = Integral[i] + FactorsPlus[iMPlus] * FactorsMinus[iMMinus] * Contribution[i] / 2;
else
Integral[i] = Integral[i] + FactorsPlus[iMPlus] * FactorsMinus[iMMinus] * Contribution[i];
}
}
}
double RecoJ12 = VolumeElement::EstimateVolumeFull5(TargetParameters);
for(int i = 0; i < MECount; i++)
Integral[i] = Integral[i] / RecoJ12;
if(DebugPrintIntegrand == true)
std::cout << "RecoJ12 = " << RecoJ12 << std::endl;
if(DebugPrintIntegrand == true)
std::cout << "RecoEfficiency = " << RecoEfficiency << std::endl;
for(int i = 0; i < MECount; i++)
Integral[i] = Integral[i] * RecoEfficiency;
return Integral;
}
//----------------------------------------------------------------------------
std::vector<double> HybridCalculator::RecursiveMassIntegral(const EventParameters &TargetParameters)
{
std::vector<double> Integral(MECount);
for(int i = 0; i < MECount; i++)
Integral[i] = 0;
if((int)ToleranceM1.size() < MECount)
ToleranceM1.insert(ToleranceM1.end(), MECount - ToleranceM1.size(), 1);
if((int)ToleranceM2.size() < MECount)
ToleranceM2.insert(ToleranceM2.end(), MECount - ToleranceM2.size(), 1);
LeptonVectors TargetLeptons = ConvertAnglesToVectorsRoberto(TargetParameters);
RecoMM = MassSquare(TargetLeptons);
double RecoJ12 = VolumeElement::EstimateVolumeFull5(TargetParameters);
FourVector &L11 = TargetLeptons.Lepton11; FourVector &L12 = TargetLeptons.Lepton12;
FourVector &L21 = TargetLeptons.Lepton21; FourVector &L22 = TargetLeptons.Lepton22;
double RecoEfficiency =
Efficiency12(L11.GetPT(), L11[3] / L11.GetP(), (IgnorePhi == false) ? L11.GetPhi() : 0)
* Efficiency12(L12.GetPT(), L12[3] / L12.GetP(), (IgnorePhi == false) ? L12.GetPhi() : 0)
* Efficiency34(L21.GetPT(), L21[3] / L21.GetP(), (IgnorePhi == false) ? L21.GetPhi() : 0)
* Efficiency34(L22.GetPT(), L22[3] / L22.GetP(), (IgnorePhi == false) ? L22.GetPhi() : 0);
if(RecoEfficiency < 1e-7)
return Integral;
RecursiveMassIntegralUniversalFactor = RecoEfficiency / RecoJ12;
double M1Center = (DoDiagonal == true) ? (TargetParameters.ZMass + TargetParameters.Z2Mass) : TargetParameters.ZMass;
double M2Center = (DoDiagonal == true) ? (TargetParameters.ZMass - TargetParameters.Z2Mass) : TargetParameters.Z2Mass;
if(DoDeltaMH == true)
{
M1Center = M1Center * DeltaMH / TargetParameters.HMass;
M2Center = M2Center * DeltaMH / TargetParameters.HMass;
}
RecursiveMassIntegralM1Min = M1Center - RecursiveMassIntegralM1Window / 2;
RecursiveMassIntegralM1Max = M1Center + RecursiveMassIntegralM1Window / 2;
RecursiveMassIntegralM2Min = M2Center - RecursiveMassIntegralM2Window / 2;
RecursiveMassIntegralM2Max = M2Center + RecursiveMassIntegralM2Window / 2;
double MMin = RecursiveMassIntegralM1Min;
double MMax = RecursiveMassIntegralM1Max;
std::vector<double> fa(MECount), fc(MECount), fb(MECount), Iab(MECount);
for(int iS = 0; iS < RecursiveMassIntegralM1Step; iS++)
{
double a = (MMax - MMin) / RecursiveMassIntegralM1Step * iS + MMin;
double b = (MMax - MMin) / RecursiveMassIntegralM1Step * (iS + 1) + MMin;
double c = (a + b) / 2;
if(iS == 0)
CalculateMass1Integrand(TargetParameters, a, fa);
CalculateMass1Integrand(TargetParameters, c, fc);
CalculateMass1Integrand(TargetParameters, b, fb);
for(int i = 0; i < MECount; i++)
Iab[i] = (fa[i] + fc[i] * 4 + fb[i]) / 6 * (b - a);
AdaptiveMass1Integral(TargetParameters, Iab, a, b, fa, fc, fb, 1.0 / RecursiveMassIntegralM1Step, 0);
for(int i = 0; i < MECount; i++)
Integral[i] = Integral[i] + Iab[i];
fb = fa;
}
for(int i = 0; i < MECount; i++)
Integral[i] = Integral[i] * RecoEfficiency / RecoJ12;
return Integral;
}
//----------------------------------------------------------------------------
std::vector<double> HybridCalculator::PassThroughMode(const EventParameters &TargetParameters)
{
LeptonVectors Leptons = ConvertAnglesToVectorsRoberto(TargetParameters);
double PTYWeight = 1;
FourVector Total = Leptons.GetTotal();
if(PTYDensity != NULL)
PTYWeight = PTYDensity(Total.GetPT(), Total.GetY(), Total.GetMass2());
std::cout << PTYWeight << std::endl;
LeptonVectors SwappedLeptons = Leptons.FlipZ1Z2();
Leptons = GoToRest(Leptons);
SwappedLeptons = GoToRest(SwappedLeptons);
std::vector<double> Result(CalculateMEValue.size());
for(int i = 0; i < (int)CalculateMEValue.size(); i++)
{
Result[i] = (*CalculateMEValue[i])(Leptons);
if(IncludeSwapping == true)
Result[i] = Result[i] + (*CalculateMEValue[i])(SwappedLeptons);
Result[i] = Result[i] * PTYWeight;
}
return Result;
}
//----------------------------------------------------------------------------
void HybridCalculator::AdaptiveMass1Integral(const EventParameters &TargetParameters, std::vector<double> &Iab,
double MBa, double MBb, std::vector<double> &fa, std::vector<double> &fc, std::vector<double> &fb, double ToleranceFactor, int Depth)
{
if(Depth >= MaxDepthM1)
return;
double MBc = (MBa + MBb) / 2;
std::vector<double> fd(MECount); CalculateMass1Integrand(TargetParameters, (MBa + MBc) / 2, fd);
std::vector<double> fe(MECount); CalculateMass1Integrand(TargetParameters, (MBc + MBb) / 2, fe);
std::vector<double> Iac(MECount); for(int i = 0; i < MECount; i++) Iac[i] = (fa[i] + fd[i] * 4 + fc[i]) / 6 * (MBc - MBa);
std::vector<double> Icb(MECount); for(int i = 0; i < MECount; i++) Icb[i] = (fb[i] + fe[i] * 4 + fb[i]) / 6 * (MBb - MBc);
bool Good = true;
for(int i = 0; i < MECount && Good == true; i++)
if(fabs(Iab[i] - Iac[i] - Icb[i]) * RecursiveMassIntegralUniversalFactor > ToleranceM1[i] * ToleranceFactor * 10)
Good = false;
if(Good == false)
{
AdaptiveMass1Integral(TargetParameters, Iac, MBa, MBc, fa, fd, fc, ToleranceFactor / 2, Depth + 1);
AdaptiveMass1Integral(TargetParameters, Icb, MBc, MBb, fc, fe, fb, ToleranceFactor / 2, Depth + 1);
}
for(int i = 0; i < MECount; i++)
Iab[i] = Iac[i] + Icb[i];
}
//----------------------------------------------------------------------------
void HybridCalculator::CalculateMass1Integrand(const EventParameters &TargetParameters, double MA, std::vector<double> &Result)
{
int ResultSize = Result.size();
for(int i = 0; i < ResultSize; i++)
Result[i] = 0;
double MMin = RecursiveMassIntegralM2Min;
double MMax = RecursiveMassIntegralM2Max;
std::vector<double> fa(MECount), fc(MECount), fb(MECount), Iab(MECount);
for(int iS = 0; iS < RecursiveMassIntegralM2Step; iS++)
{
double a = (MMax - MMin) / RecursiveMassIntegralM2Step * iS + MMin;
double b = (MMax - MMin) / RecursiveMassIntegralM2Step * (iS + 1) + MMin;
double c = (a + b) / 2;
if(iS == 0)
CalculateMass2Integrand(TargetParameters, MA, a, fa);
CalculateMass2Integrand(TargetParameters, MA, c, fc);
CalculateMass2Integrand(TargetParameters, MA, b, fb);
for(int i = 0; i < MECount; i++)
Iab[i] = (fa[i] + fc[i] * 4 + fb[i]) / 6 * (b - a);
AdaptiveMass2Integral(TargetParameters, MA, Iab, a, b, fa, fc, fb, 1.0 / RecursiveMassIntegralM2Step, 0);
for(int i = 0; i < MECount; i++)
Result[i] = Result[i] + Iab[i];
fb = fa;
}
std::cout << "M1 " << MA << " " << Result[0] << std::endl;
}
//----------------------------------------------------------------------------
void HybridCalculator::AdaptiveMass2Integral(const EventParameters &TargetParameters, double MA, std::vector<double> &Iab,
double MBa, double MBb, std::vector<double> &fa, std::vector<double> &fc, std::vector<double> &fb, double ToleranceFactor, int Depth)
{
if(Depth >= MaxDepthM2)
return;
double MBc = (MBa + MBb) / 2;
std::vector<double> fd(MECount); CalculateMass2Integrand(TargetParameters, MA, (MBa + MBc) / 2, fd);
std::vector<double> fe(MECount); CalculateMass2Integrand(TargetParameters, MA, (MBc + MBb) / 2, fe);
std::vector<double> Iac(MECount); for(int i = 0; i < MECount; i++) Iac[i] = (fa[i] + fd[i] * 4 + fc[i]) / 6 * (MBc - MBa);
std::vector<double> Icb(MECount); for(int i = 0; i < MECount; i++) Icb[i] = (fb[i] + fe[i] * 4 + fb[i]) / 6 * (MBb - MBc);
bool Good = true;
for(int i = 0; i < MECount && Good == true; i++)
if(fabs(Iab[i] - Iac[i] - Icb[i]) * RecursiveMassIntegralUniversalFactor > ToleranceM2[i] * ToleranceFactor * 10)
Good = false;
if(Good == false)
{
AdaptiveMass2Integral(TargetParameters, MA, Iac, MBa, MBc, fa, fd, fc, ToleranceFactor / 2, Depth + 1);
AdaptiveMass2Integral(TargetParameters, MA, Icb, MBc, MBb, fc, fe, fb, ToleranceFactor / 2, Depth + 1);
}
for(int i = 0; i < MECount; i++)
Iab[i] = Iac[i] + Icb[i];
}
//----------------------------------------------------------------------------
void HybridCalculator::CalculateMass2Integrand(const EventParameters &TargetParameters, double MA, double MB, std::vector<double> &Result)
{
int ResultSize = Result.size();
for(int i = 0; i < ResultSize; i++)
Result[i] = 0;
double ZMass = (DoDiagonal == true) ? ((MA + MB) / 2) : MA;
double Z2Mass = (DoDiagonal == true) ? ((MA - MB) / 2) : MB;
if(ZMass <= 0 || Z2Mass <= 0)
return;
if(DoDeltaMH == true && ZMass + Z2Mass >= DeltaMH) // gen-level config doesn't exist
return;
// Prepare!
if(PrepareForIntegral(TargetParameters, ZMass, Z2Mass) == false)
return;
// Do calculation for this mass point
CalculateIntegrand(TargetParameters, CentralParameters, CentralParametersAlt,
CentralParametersLeft, CentralParametersRight, Result);
if(DebugPrintIntegrand == true)
std::cout << ZMass << " " << Z2Mass << " " << Result[0] << std::endl;
if(DoDiagonal == true)
for(int i = 0; i < MECount; i++)
Result[i] = Result[i] / 2;
}
//----------------------------------------------------------------------------
void HybridCalculator::CalculateIntegrand(const EventParameters &TargetParameters,
const EventParameters &CentralParameters, const EventParameters &CentralParametersAlt,
const EventParameters &CentralParametersLeft, const EventParameters &CentralParametersRight,
std::vector<double> &Result)
{
if(DoDeltaMH == false && DoPTZero == false)
{
static std::vector<double> ME0(MECount), B1(MECount), B3(MECount), B11(MECount), B13(MECount), B33(MECount);
CalculateMEs(CentralParameters, ME0, B1, B3, B11, B13, B33);
TempLeptons = CentralLeptons;
double CM1 = CentralParameters.ZMass, TM1 = TargetParameters.ZMass;
double CM2 = CentralParameters.Z2Mass, TM2 = TargetParameters.Z2Mass;
double F0Z1 = (ExpansionOrder >= 0) ? CalculateF(CM1, TM1, 0, true) : 0;
double F1Z1 = (ExpansionOrder >= 1) ? CalculateF(CM1, TM1, 1, true) : 0;
double F2Z1 = (ExpansionOrder >= 2) ? CalculateF(CM1, TM1, 2, true) : 0;
double F0Z2 = (ExpansionOrder >= 0) ? CalculateF(CM2, TM2, 0, false) : 0;
double F1Z2 = (ExpansionOrder >= 1) ? CalculateF(CM2, TM2, 1, false) : 0;
double F2Z2 = (ExpansionOrder >= 2) ? CalculateF(CM2, TM2, 2, false) : 0;
for(int i = 0; i < MECount; i++)
{
switch(ExpansionOrder)
{
case 0:
Result[i] = ME0[i] * F0Z1 * F0Z2;
break;
case 1:
Result[i] = (ME0[i] * F0Z1 * F0Z2 + B1[i] * F1Z1 * F0Z2 + B3[i] * F0Z1 * F1Z2);
break;
case 2:
Result[i] = (ME0[i] * F0Z1 * F0Z2 + B1[i] * F1Z1 * F0Z2 + B3[i] * F0Z1 * F1Z2
+ 0.5 * B11[i] * F2Z1 * F0Z2 + 1 * B13[i] * F1Z1 * F1Z2 + 0.5 * B33[i] * F0Z1 * F2Z2);
break;
default:
Result[i] = 0;
break;
}
Result[i] = Result[i] * CM1 * CM2;
}
}
else if(DoDeltaMH == false && DoPTZero == true)
{
double CM1 = CentralParameters.ZMass, TM1 = TargetParameters.ZMass;
double CM2 = CentralParameters.Z2Mass, TM2 = TargetParameters.Z2Mass;
LeptonVectors TargetLeptons = ConvertAnglesToVectorsRoberto(TargetParameters);
double A1 = TargetLeptons.Lepton11[1];
double A2 = TargetLeptons.Lepton12[1] * CM1 * CM1 / TM1 / TM1;
double A3 = TargetLeptons.Lepton21[1];
double A4 = TargetLeptons.Lepton22[1] * CM2 * CM2 / TM2 / TM2;
double B1 = TargetLeptons.Lepton11[2];
double B2 = TargetLeptons.Lepton12[2] * CM1 * CM1 / TM1 / TM1;
double B3 = TargetLeptons.Lepton21[2];
double B4 = TargetLeptons.Lepton22[2] * CM2 * CM2 / TM2 / TM2;
double c1_1 = (-2*A3*A4*B1*B2 + A2*A4*B1*B3 + A1*A4*B2*B3 - std::pow(A4,2)*std::pow(B3,2) +
A2*A3*B1*B4 + A1*A3*B2*B4 - 2*A1*A2*B3*B4 + 2*A3*A4*B3*B4 -
std::pow(A3,2)*std::pow(B4,2) + (-(A4*B3) + A3*B4)*
std::sqrt(std::pow(A2,2)*std::pow(B1,2) + 4*A3*A4*B1*B2 + std::pow(A1*B2 - A4*B3,2) -
2*A3*(A1*B2 + A4*B3)*B4 + std::pow(A3,2)*std::pow(B4,2) -
2*A2*(A1*B1*B2 + A4*B1*B3 + A3*B1*B4 - 2*A1*B3*B4))) /
(2.*(A3*B2 - A2*B3)*(A4*B2 - A2*B4));
double c1_2 = (-2*A3*A4*B1*B2 + A2*A4*B1*B3 + A1*A4*B2*B3 - std::pow(A4,2)*std::pow(B3,2) +
A2*A3*B1*B4 + A1*A3*B2*B4 - 2*A1*A2*B3*B4 + 2*A3*A4*B3*B4 -
std::pow(A3,2)*std::pow(B4,2) + (A4*B3 - A3*B4)*
std::sqrt(std::pow(A2,2)*std::pow(B1,2) + 4*A3*A4*B1*B2 + std::pow(A1*B2 - A4*B3,2) -
2*A3*(A1*B2 + A4*B3)*B4 + std::pow(A3,2)*std::pow(B4,2) -
2*A2*(A1*B1*B2 + A4*B1*B3 + A3*B1*B4 - 2*A1*B3*B4)))/
(2.*(A3*B2 - A2*B3)*(A4*B2 - A2*B4));
if(c1_1 < 0) c1_1 = 0.0001;
if(c1_2 < 0) c1_2 = 0.0001;
c1_1 = sqrt(c1_1);
c1_2 = sqrt(c1_2);
double c3_1 = (A3*B1 - A1*B3 + A3*B2*std::pow(c1_1,2) - A2*B3*std::pow(c1_1,2))/((A4*B3 - A3*B4)*c1_1);
double c3_2 = (A3*B1 - A1*B3 + A3*B2*std::pow(c1_2,2) - A2*B3*std::pow(c1_2,2))/((A4*B3 - A3*B4)*c1_2);
double c2_1 = TM1 * TM1 / CM1 / CM1 / c1_1;
double c2_2 = TM1 * TM1 / CM1 / CM1 / c1_2;
double c4_1 = TM2 * TM2 / CM2 / CM2 / c3_1;
double c4_2 = TM2 * TM2 / CM2 / CM2 / c3_2;
LeptonVectors GenLeptons1, GenLeptons2;
GenLeptons1.Lepton11 = TargetLeptons.Lepton11 / c1_1; GenLeptons2.Lepton11 = TargetLeptons.Lepton11 / c1_2;
GenLeptons1.Lepton12 = TargetLeptons.Lepton12 / c2_1; GenLeptons2.Lepton12 = TargetLeptons.Lepton12 / c2_2;
GenLeptons1.Lepton21 = TargetLeptons.Lepton21 / c3_1; GenLeptons2.Lepton21 = TargetLeptons.Lepton21 / c3_2;
GenLeptons1.Lepton22 = TargetLeptons.Lepton22 / c4_1; GenLeptons2.Lepton22 = TargetLeptons.Lepton22 / c4_2;
LeptonVectors SwappedGenLeptons1 = GenLeptons1.FlipZ1Z2();
LeptonVectors SwappedGenLeptons2 = GenLeptons2.FlipZ1Z2();
LeptonVectors RestGenLeptons1, RestGenLeptons2, SwappedRestGenLeptons1, SwappedRestGenLeptons2;
RestGenLeptons1 = GoToRest(GenLeptons1);
RestGenLeptons2 = GoToRest(GenLeptons2);
SwappedRestGenLeptons1 = GoToRest(SwappedGenLeptons1);
SwappedRestGenLeptons2 = GoToRest(SwappedGenLeptons2);
EventParameters GenEvent1, GenEvent2, SwappedGenEvent1, SwappedGenEvent2;
GenEvent1 = ConvertVectorsToAnglesRoberto(GenLeptons1);
GenEvent2 = ConvertVectorsToAnglesRoberto(GenLeptons2);
SwappedGenEvent1 = ConvertVectorsToAnglesRoberto(SwappedGenLeptons1);
SwappedGenEvent2 = ConvertVectorsToAnglesRoberto(SwappedGenLeptons2);
FourVector Total1 = GenLeptons1.GetTotal(), Total2 = GenLeptons2.GetTotal();
double PTLepton1 = Total1.GetPT(); double YLepton1 = Total1.GetY(); double SLepton1 = Total1.GetMass2();
double PTLepton2 = Total2.GetPT(); double YLepton2 = Total2.GetY(); double SLepton2 = Total2.GetMass2();
double Factor1 = 1, Factor2 = 1;
Factor1 = Factor1 * Smear12(GenLeptons1.Lepton11, c1_1 - 1) * Smear12(GenLeptons1.Lepton12, c2_1 - 1);
Factor1 = Factor1 * Smear34(GenLeptons1.Lepton21, c3_1 - 1) * Smear34(GenLeptons1.Lepton22, c4_1 - 1);
Factor2 = Factor2 * Smear12(GenLeptons2.Lepton11, c1_2 - 1) * Smear12(GenLeptons2.Lepton12, c2_2 - 1);
Factor2 = Factor2 * Smear34(GenLeptons2.Lepton21, c3_2 - 1) * Smear34(GenLeptons2.Lepton22, c4_2 - 1);
double P1x = TargetLeptons.Lepton11[1]; double P1y = TargetLeptons.Lepton11[2];
double P2x = TargetLeptons.Lepton12[1]; double P2y = TargetLeptons.Lepton12[2];
double P3x = TargetLeptons.Lepton21[1]; double P3y = TargetLeptons.Lepton21[2];
double P4x = TargetLeptons.Lepton22[1]; double P4y = TargetLeptons.Lepton22[2];
double Jacobian1 = (c2_1*(c4_1*P1y*P3x - c4_1*P1x*P3y - c3_1*P1y*P4x + \
c3_1*P1x*P4y) + c1_1*\
(-(c4_1*P2y*P3x) + c4_1*P2x*P3y + c3_1*P2y*P4x - \
c3_1*P2x*P4y))*std::pow(c1_1,-3)*std::pow(c2_1,-3)*std::pow(c3_1,-3)*\
std::pow(c4_1,-3)*std::pow(TM1,2)*std::pow(TM2,2);
double Jacobian2 = (c2_2*(c4_2*P1y*P3x - c4_2*P1x*P3y - c3_2*P1y*P4x + \
c3_2*P1x*P4y) + c1_2*\
(-(c4_2*P2y*P3x) + c4_2*P2x*P3y + c3_2*P2y*P4x - \
c3_2*P2x*P4y))*std::pow(c1_2,-3)*std::pow(c2_2,-3)*std::pow(c3_2,-3)*\
std::pow(c4_2,-3)*std::pow(TM1,2)*std::pow(TM2,2);
if(Jacobian1 < 0) Jacobian1 = -Jacobian1;
if(Jacobian2 < 0) Jacobian2 = -Jacobian2;
Factor1 = Factor1 / c1_1 / c1_1 / c2_1 / c2_1 / c3_1 / c3_1 / c4_1 / c4_1;
Factor2 = Factor2 / c1_2 / c1_2 / c2_2 / c2_2 / c3_2 / c3_2 / c4_2 / c4_2;
Factor1 = Factor1 / Jacobian1;
Factor2 = Factor2 / Jacobian2;
Factor1 = Factor1 * TargetLeptons.Lepton11.GetP() / GenLeptons1.Lepton11.GetP();
Factor1 = Factor1 * TargetLeptons.Lepton12.GetP() / GenLeptons1.Lepton12.GetP();
Factor1 = Factor1 * TargetLeptons.Lepton21.GetP() / GenLeptons1.Lepton21.GetP();
Factor1 = Factor1 * TargetLeptons.Lepton22.GetP() / GenLeptons1.Lepton22.GetP();
Factor2 = Factor2 * TargetLeptons.Lepton11.GetP() / GenLeptons2.Lepton11.GetP();
Factor2 = Factor2 * TargetLeptons.Lepton12.GetP() / GenLeptons2.Lepton12.GetP();
Factor2 = Factor2 * TargetLeptons.Lepton21.GetP() / GenLeptons2.Lepton21.GetP();
Factor2 = Factor2 * TargetLeptons.Lepton22.GetP() / GenLeptons2.Lepton22.GetP();
double VolumeElement1 = VolumeElement::EstimateVolumeFull5(GenEvent1);
double VolumeElement2 = VolumeElement::EstimateVolumeFull5(GenEvent2);
double SwappedVolumeElement1 = VolumeElement::EstimateVolumeFull5(SwappedGenEvent1);
double SwappedVolumeElement2 = VolumeElement::EstimateVolumeFull5(SwappedGenEvent2);
bool FirstOneGood = true, SecondOneGood = true;
if(c1_1 < IntegralCMin || c1_1 > IntegralCMax || c1_1 != c1_1) FirstOneGood = false;
if(c2_1 < IntegralCMin || c2_1 > IntegralCMax || c2_1 != c2_1) FirstOneGood = false;
if(c3_1 < IntegralCMin || c3_1 > IntegralCMax || c3_1 != c3_1) FirstOneGood = false;
if(c4_1 < IntegralCMin || c4_1 > IntegralCMax || c4_1 != c4_1) FirstOneGood = false;
if(c1_2 < IntegralCMin || c1_2 > IntegralCMax || c1_2 != c1_2) SecondOneGood = false;
if(c2_2 < IntegralCMin || c2_2 > IntegralCMax || c2_2 != c2_2) SecondOneGood = false;
if(c3_2 < IntegralCMin || c3_2 > IntegralCMax || c3_2 != c3_2) SecondOneGood = false;
if(c4_2 < IntegralCMin || c4_2 > IntegralCMax || c4_2 != c4_2) SecondOneGood = false;
for(int i = 0; i < MECount; i++)
{
Result[i] = 0;
if(FirstOneGood == true)
Result[i] = Result[i] + VolumeElement1 * CalculateMEValue[i](RestGenLeptons1) * PTYDensity(PTLepton1, YLepton1, SLepton1) * Factor1;
if(SecondOneGood == true)
Result[i] = Result[i] + VolumeElement2 * CalculateMEValue[i](RestGenLeptons2) * PTYDensity(PTLepton2, YLepton2, SLepton2) * Factor2;
if(IncludeSwapping == true)
{
if(FirstOneGood == true)
Result[i] = Result[i] + SwappedVolumeElement1 * CalculateMEValue[i](SwappedRestGenLeptons1) * PTYDensity(PTLepton1, YLepton1, SLepton1) * Factor1;
if(SecondOneGood == true)
Result[i] = Result[i] + SwappedVolumeElement2 * CalculateMEValue[i](SwappedRestGenLeptons2) * PTYDensity(PTLepton2, YLepton2, SLepton2) * Factor2;
}
Result[i] = Result[i] * CM1 * CM2;
}
}
else if(DoDeltaMH == true && DoPTZero == false) // With delta(MH = XXX) approximation
{
static std::vector<double> ME0_1(MECount), B1_1(MECount), B11_1(MECount);
static std::vector<double> ME0_2(MECount), B1_2(MECount), B11_2(MECount);
static std::vector<double> ME0_L(MECount), B1_L(MECount), B11_L(MECount);
static std::vector<double> ME0_R(MECount), B1_R(MECount), B11_R(MECount);
CalculateMEsDeltaMH(CentralParameters, ME0_1, B1_1, B11_1, FFFirstZ, true, false);
CalculateMEsDeltaMH(CentralParametersAlt, ME0_2, B1_2, B11_2, FFFirstZ, false, false);
CalculateMEsDeltaMH(CentralParametersRight, ME0_R, B1_R, B11_R, FFFirstZ, true, true);
CalculateMEsDeltaMH(CentralParametersLeft, ME0_L, B1_L, B11_L, FFFirstZ, false, true);
double CM1 = CentralParameters.ZMass, TM1 = TargetParameters.ZMass;
double CM2 = CentralParameters.Z2Mass, TM2 = TargetParameters.Z2Mass;
TempLeptons = CentralLeptons;
double F0Z1F0Z2_1 = (ExpansionOrder >= 0) ? CalculateFF(CM1, TM1, CM2, TM2, 0, 0, FFFirstZ, true, false) : 0;
double F1Z1F0Z2_1 = (ExpansionOrder >= 1) ? CalculateFF(CM1, TM1, CM2, TM2, 1, 0, FFFirstZ, true, false) : 0;
double F2Z1F0Z2_1 = (ExpansionOrder >= 2) ? CalculateFF(CM1, TM1, CM2, TM2, 2, 0, FFFirstZ, true, false) : 0;
TempLeptons = CentralLeptonsAlt;
double F0Z1F0Z2_2 = (ExpansionOrder >= 0) ? CalculateFF(CM1, TM1, CM2, TM2, 0, 0, FFFirstZ, false, false) : 0;
double F1Z1F0Z2_2 = (ExpansionOrder >= 1) ? CalculateFF(CM1, TM1, CM2, TM2, 1, 0, FFFirstZ, false, false) : 0;
double F2Z1F0Z2_2 = (ExpansionOrder >= 2) ? CalculateFF(CM1, TM1, CM2, TM2, 2, 0, FFFirstZ, false, false) : 0;
TempLeptons = CentralLeptonsLeft;
double F0Z1F0Z2_L = (ExpansionOrder >= 0) ? CalculateFF(CM1, TM1, CM2, TM2, 0, 0, FFFirstZ, false, true) : 0;
double F1Z1F0Z2_L = (ExpansionOrder >= 1) ? CalculateFF(CM1, TM1, CM2, TM2, 1, 0, FFFirstZ, false, true) : 0;
double F2Z1F0Z2_L = (ExpansionOrder >= 2) ? CalculateFF(CM1, TM1, CM2, TM2, 2, 0, FFFirstZ, false, true) : 0;
TempLeptons = CentralLeptonsRight;
double F0Z1F0Z2_R = (ExpansionOrder >= 0) ? CalculateFF(CM1, TM1, CM2, TM2, 0, 0, FFFirstZ, true, true) : 0;
double F1Z1F0Z2_R = (ExpansionOrder >= 1) ? CalculateFF(CM1, TM1, CM2, TM2, 1, 0, FFFirstZ, true, true) : 0;
double F2Z1F0Z2_R = (ExpansionOrder >= 2) ? CalculateFF(CM1, TM1, CM2, TM2, 2, 0, FFFirstZ, true, true) : 0;
for(int i = 0; i < MECount; i++)
{
switch(ExpansionOrder)
{
case 0:
Result[i] = ME0_1[i] * F0Z1F0Z2_1 + ME0_2[i] * F0Z1F0Z2_2
+ ME0_L[i] * F0Z1F0Z2_L + ME0_R[i] * F0Z1F0Z2_R;
break;
case 1:
Result[i] = (ME0_1[i] * F0Z1F0Z2_1 + B1_1[i] * F1Z1F0Z2_1)
+ (ME0_2[i] * F0Z1F0Z2_2 + B1_2[i] * F1Z1F0Z2_2)
+ (ME0_L[i] * F0Z1F0Z2_L + B1_L[i] * F1Z1F0Z2_L)
+ (ME0_R[i] * F0Z1F0Z2_R + B1_R[i] * F1Z1F0Z2_R);
break;
case 2:
Result[i] = (ME0_1[i] * F0Z1F0Z2_1 + B1_1[i] * F1Z1F0Z2_1 + 0.5 * B11_1[i] * F2Z1F0Z2_1)
+ (ME0_2[i] * F0Z1F0Z2_2 + B1_2[i] * F1Z1F0Z2_2 + 0.5 * B11_2[i] * F2Z1F0Z2_2)
+ (ME0_L[i] * F0Z1F0Z2_L + B1_L[i] * F1Z1F0Z2_L + 0.5 * B11_L[i] * F2Z1F0Z2_L)
+ (ME0_R[i] * F0Z1F0Z2_R + B1_R[i] * F1Z1F0Z2_R + 0.5 * B11_R[i] * F2Z1F0Z2_R);
break;
default:
Result[i] = 0;
break;
}
Result[i] = Result[i] * CM1 * CM2;
}
}
else
{
std::cerr << "[HybridCalculator] delta(PT = 0) for signal not supported yet!" << std::endl;
std::cerr << "[HybridCalculator] Returning nonsense..." << std::endl;
}
}
//----------------------------------------------------------------------------
void HybridCalculator::CalculateMEs(const EventParameters &CentralParameters,
std::vector<double> &ME0, std::vector<double> &B1, std::vector<double> &B3,
std::vector<double> &B11, std::vector<double> &B13, std::vector<double> &B33)
{
TempParameters = CentralParameters;
TempLeptons = ConvertAnglesToVectorsRoberto(CentralParameters);
LeptonVectors PlusLeptons1 = TempLeptons.ApplySmearing(Cs(1 / 1.01, 1.01, 1, 1));
LeptonVectors PlusLeptons3 = TempLeptons.ApplySmearing(Cs(1, 1, 1 / 1.01, 1.01));
LeptonVectors PlusLeptons13 = TempLeptons.ApplySmearing(Cs(1 / 1.01, 1.01, 1 / 1.01, 1.01));
LeptonVectors MinusLeptons1 = TempLeptons.ApplySmearing(Cs(1.01, 1 / 1.01, 1, 1));
LeptonVectors MinusLeptons3 = TempLeptons.ApplySmearing(Cs(1, 1, 1.01, 1 / 1.01));
FourVector TotalCenter = TempLeptons.GetTotal();
FourVector TotalPlus1 = PlusLeptons1.GetTotal();
FourVector TotalPlus3 = PlusLeptons3.GetTotal();
FourVector TotalPlus13 = PlusLeptons13.GetTotal();
FourVector TotalMinus1 = MinusLeptons1.GetTotal();
FourVector TotalMinus3 = MinusLeptons3.GetTotal();
double PTCenter = TotalCenter.GetPT(); double PTPlus1 = TotalPlus1.GetPT();
double YCenter = TotalCenter.GetY(); double YPlus1 = TotalPlus1.GetY();
double SCenter = TotalCenter.GetMass2(); double SPlus1 = TotalPlus1.GetMass2();
double PTPlus3 = TotalPlus3.GetPT(); double PTPlus13 = TotalPlus13.GetPT();
double YPlus3 = TotalPlus3.GetY(); double YPlus13 = TotalPlus13.GetY();
double SPlus3 = TotalPlus3.GetMass2(); double SPlus13 = TotalPlus13.GetMass2();
double PTMinus1 = TotalMinus1.GetPT(); double PTMinus3 = TotalMinus3.GetPT();
double YMinus1 = TotalMinus1.GetY(); double YMinus3 = TotalMinus3.GetY();
double SMinus1 = TotalMinus1.GetMass2(); double SMinus3 = TotalMinus3.GetMass2();
TempLeptons = GoToRest(TempLeptons);
PlusLeptons1 = GoToRest(PlusLeptons1);
PlusLeptons3 = GoToRest(PlusLeptons3);
PlusLeptons13 = GoToRest(PlusLeptons13);
MinusLeptons1 = GoToRest(MinusLeptons1);
MinusLeptons3 = GoToRest(MinusLeptons3);
LeptonVectors SwappedTempLeptons = TempLeptons.FlipZ1Z2();
LeptonVectors SwappedPlusLeptons1 = PlusLeptons1.FlipZ1Z2();
LeptonVectors SwappedPlusLeptons3 = PlusLeptons3.FlipZ1Z2();
LeptonVectors SwappedPlusLeptons13 = PlusLeptons13.FlipZ1Z2();
LeptonVectors SwappedMinusLeptons1 = MinusLeptons1.FlipZ1Z2();
LeptonVectors SwappedMinusLeptons3 = MinusLeptons3.FlipZ1Z2();
double VolumeElement = 1, SwappedVolumeElement = 1;
if(FlatApproximation == false)
{
LeptonVectors Leptons = ConvertAnglesToVectorsRoberto(CentralParameters);
EventParameters SwappedParameters = ConvertVectorsToAnglesRoberto(Leptons.FlipZ1Z2());
VolumeElement = VolumeElement::EstimateVolumeFull5(CentralParameters);
SwappedVolumeElement = VolumeElement::EstimateVolumeFull5(SwappedParameters);
}
for(int i = 0; i < MECount; i++)
{
double ValueCentral = CalculateMEValue[i](TempLeptons);
double ValuePlus1 = (ExpansionOrder >= 1) ? CalculateMEValue[i](PlusLeptons1) : 0;
double ValuePlus3 = (ExpansionOrder >= 1) ? CalculateMEValue[i](PlusLeptons3) : 0;
double ValuePlus13 = (ExpansionOrder >= 2) ? CalculateMEValue[i](PlusLeptons13) : 0;
double ValueMinus1 = (ExpansionOrder >= 1) ? CalculateMEValue[i](MinusLeptons1) : 0;
double ValueMinus3 = (ExpansionOrder >= 1) ? CalculateMEValue[i](MinusLeptons3) : 0;
ValueCentral = ValueCentral * VolumeElement;
ValuePlus1 = ValuePlus1 * VolumeElement;
ValuePlus3 = ValuePlus3 * VolumeElement;
ValuePlus13 = ValuePlus13 * VolumeElement;
ValueMinus1 = ValueMinus1 * VolumeElement;
ValueMinus3 = ValueMinus3 * VolumeElement;
if(IncludeSwapping == true)
{
double SwappedValueCentral = CalculateMEValue[i](SwappedTempLeptons);
double SwappedValuePlus1 = (ExpansionOrder >= 1) ? CalculateMEValue[i](SwappedPlusLeptons1) : 0;
double SwappedValuePlus3 = (ExpansionOrder >= 1) ? CalculateMEValue[i](SwappedPlusLeptons3) : 0;
double SwappedValuePlus13 = (ExpansionOrder >= 2) ? CalculateMEValue[i](SwappedPlusLeptons13) : 0;
double SwappedValueMinus1 = (ExpansionOrder >= 1) ? CalculateMEValue[i](SwappedMinusLeptons1) : 0;
double SwappedValueMinus3 = (ExpansionOrder >= 1) ? CalculateMEValue[i](SwappedMinusLeptons3) : 0;
SwappedValueCentral = SwappedValueCentral * SwappedVolumeElement;
SwappedValuePlus1 = SwappedValuePlus1 * SwappedVolumeElement;
SwappedValuePlus3 = SwappedValuePlus3 * SwappedVolumeElement;
SwappedValuePlus13 = SwappedValuePlus13 * SwappedVolumeElement;
SwappedValueMinus1 = SwappedValueMinus1 * SwappedVolumeElement;
SwappedValueMinus3 = SwappedValueMinus3 * SwappedVolumeElement;
ValueCentral = ValueCentral + SwappedValueCentral;
ValuePlus1 = ValuePlus1 + SwappedValuePlus1;
ValuePlus3 = ValuePlus3 + SwappedValuePlus3;
ValuePlus13 = ValuePlus13 + SwappedValuePlus13;
ValueMinus1 = ValueMinus1 + SwappedValueMinus1;
ValueMinus3 = ValueMinus3 + SwappedValueMinus3;
}
ValueCentral = ValueCentral * MHExp(TempLeptons);
ValuePlus1 = ValuePlus1 * MHExp(PlusLeptons1);
ValuePlus3 = ValuePlus3 * MHExp(PlusLeptons3);
ValuePlus13 = ValuePlus13 * MHExp(PlusLeptons13);
ValueMinus1 = ValueMinus1 * MHExp(MinusLeptons1);
ValueMinus3 = ValueMinus3 * MHExp(MinusLeptons3);
if(PTYDensity != NULL)
{
ValueCentral = ValueCentral * PTYDensity(PTCenter, YCenter, SCenter);
ValuePlus1 = ValuePlus1 * PTYDensity(PTPlus1, YPlus1, SPlus1);
ValuePlus3 = ValuePlus3 * PTYDensity(PTPlus3, YPlus3, SPlus3);
ValuePlus13 = ValuePlus13 * PTYDensity(PTPlus13, YPlus13, SPlus13);
ValueMinus1 = ValueMinus1 * PTYDensity(PTMinus1, YMinus1, SMinus1);
ValueMinus3 = ValueMinus3 * PTYDensity(PTMinus3, YMinus3, SMinus3);
}
ME0[i] = ValueCentral;
B1[i] = (ValuePlus1 - ValueMinus1) / (1.01 - 0.99);
B3[i] = (ValuePlus3 - ValueMinus3) / (1.01 - 0.99);
B11[i] = (ValuePlus1 + ValueMinus1 - ME0[i] * 2) / (1.01 - 1.00) / (1.01 - 1.00);
B13[i] = (ValuePlus13 - ValuePlus1 - ValuePlus3 + ME0[i]) / (1.01 - 1.00) / (1.01 - 1.00);
B33[i] = (ValuePlus3 + ValueMinus3 - ME0[i] * 2) / (1.01 - 1.00) / (1.01 - 1.00);
}
return;
}
//----------------------------------------------------------------------------
void HybridCalculator::CalculateMEsDeltaMH(const EventParameters &CentralValue, std::vector<double> &ME0,
std::vector<double> &B1, std::vector<double> &B11, bool FirstZ, bool Branch, bool Tip)
{
for(int i = 0; i < (int)ME0.size(); i++)
ME0[i] = 0;
for(int i = 0; i < (int)B1.size(); i++)
B1[i] = 0;
for(int i = 0; i < (int)B11.size(); i++)
B11[i] = 0;
if(IgnoreTip == true && Tip == true)
return;
if(CentralValue.HMass != CentralValue.HMass)
return;
if(CentralValue.HMass < 10)
return;
TempParameters = CentralValue;
TempLeptons = ConvertAnglesToVectorsRoberto(CentralValue);
double Min, Max;
if(Tip == false)
{
Min = std::max(IntegralCMin, CCoordinates.CSReco_LeftLimit);
Max = std::min(IntegralCMax, CCoordinates.CSReco_RightLimit);
}
else
{
Min = std::max(IntegralCMin, (Branch == false) ? CCoordinates.CPReco_LeftDown : CCoordinates.CPReco_RightDown);
Max = std::min(IntegralCMax, (Branch == false) ? CCoordinates.CPReco_LeftUp : CCoordinates.CPReco_RightUp);
}
double CSCenter = CCoordinates.CSReco;
if(Tip == true)
CSCenter = (Branch == true) ? CCoordinates.CPReco_RightCenter : CCoordinates.CPReco_LeftCenter;
if(CSCenter < 0) // nothing to do here!
return;
double CSPlus = (Max + CSCenter) / 2;
double CSMinus = (CSCenter + Min) / 2;
if(CSPlus / CSCenter > 1.01) // We want small steps :3
CSPlus = CSCenter * 1.01;
if(CSMinus / CSCenter < 0.99)
CSMinus = CSCenter * 0.99;
MassSquare MM;
if(Tip == false) MM = (Branch == true) ? CentralMM : CentralAltMM;
else MM = (Branch == true) ? CentralRightMM : CentralLeftMM;
MassSquare FlippedMM = MM.FlipZ1Z2();
double CPPlus, CPMinus;
if(FirstZ == true)
{
if(Tip == false)
{
CPPlus = CalculateCP(MM, DeltaMH * DeltaMH, CSPlus / CSCenter, Branch);
CPMinus = CalculateCP(MM, DeltaMH * DeltaMH, CSMinus / CSCenter, Branch);
}
else
{
CPPlus = CalculateCP(FlippedMM, DeltaMH * DeltaMH, CSPlus / CSCenter, !Branch);
CPMinus = CalculateCP(FlippedMM, DeltaMH * DeltaMH, CSMinus / CSCenter, !Branch);
}
}
else
{
// TODO
}
LeptonVectors PlusLepton1, MinusLepton1;
if(FirstZ == true)
{
if(Tip == false)
{
PlusLepton1 = TempLeptons.ApplySmearing(Cs(CSCenter / CSPlus, CSPlus / CSCenter, 1 / CPPlus, CPPlus));
MinusLepton1 = TempLeptons.ApplySmearing(Cs(CSCenter / CSMinus, CSMinus / CSCenter, 1 / CPMinus, CPMinus));
}
else
{
PlusLepton1 = TempLeptons.ApplySmearing(Cs(1 / CPPlus, CPPlus, CSCenter / CSPlus, CSPlus / CSCenter));
MinusLepton1 = TempLeptons.ApplySmearing(Cs(1 / CPMinus, CPMinus, CSCenter / CSMinus, CSMinus / CSCenter));
}
}
else
{
// TODO
}
TempLeptons = GoToRest(TempLeptons);
PlusLepton1 = GoToRest(PlusLepton1);
MinusLepton1 = GoToRest(MinusLepton1);
LeptonVectors SwappedTempLeptons = TempLeptons.FlipZ1Z2();
LeptonVectors SwappedPlusLeptons1 = PlusLepton1.FlipZ1Z2();
LeptonVectors SwappedMinusLeptons1 = MinusLepton1.FlipZ1Z2();
double VolumeElement = 1, SwappedVolumeElement = 1;
if(FlatApproximation == false)
{
LeptonVectors Leptons = ConvertAnglesToVectorsRoberto(CentralValue);
EventParameters SwappedParameters = ConvertVectorsToAnglesRoberto(Leptons.FlipZ1Z2());
VolumeElement = VolumeElement::EstimateVolumeFull5(CentralValue);
SwappedVolumeElement = VolumeElement::EstimateVolumeFull5(SwappedParameters);
}
for(int i = 0; i < MECount; i++)
{
double ValuePlus1 = 0;
double ValueMinus1 = 0;
ME0[i] = CalculateMEValue[i](TempLeptons) * VolumeElement;
ValuePlus1 = (ExpansionOrder >= 1) ? (CalculateMEValue[i](PlusLepton1) * VolumeElement) : 0;
ValueMinus1 = (ExpansionOrder >= 1) ? (CalculateMEValue[i](MinusLepton1) * VolumeElement) : 0;
if(IncludeSwapping == true)
{
ME0[i] = ME0[i] + CalculateMEValue[i](SwappedTempLeptons) * SwappedVolumeElement;
ValuePlus1 = ValuePlus1 +
((ExpansionOrder >= 1) ? (CalculateMEValue[i](SwappedPlusLeptons1) * SwappedVolumeElement) : 0);
ValueMinus1 = ValueMinus1 +
((ExpansionOrder >= 1) ? (CalculateMEValue[i](SwappedMinusLeptons1) * SwappedVolumeElement) : 0);
}
B1[i] = (ExpansionOrder >= 1) ? ((ValuePlus1 - ValueMinus1) / (CSPlus - CSMinus)) : 0;
B11[i] = (ExpansionOrder >= 2) ?
((((ValuePlus1 - ME0[i]) / (CSPlus - CSCenter) - (ValueMinus1 - ME0[i]) / (CSMinus - CSCenter))
/ (CSPlus - CSMinus)) * 2) : 0;
}
}
//----------------------------------------------------------------------------
double HybridCalculator::CalculateF(double M, double M0, int Order, bool FirstZ)
{
const double TargetC1C2 = (M0 / M) * (M0 / M);
const int InitialStepSize = IntegralCStep;
const double CMin = IntegralCMin;
const double CMax = IntegralCMax;
double Integral = 0;
double fa = 0, fc = 0, fb = 0;
for(int i = 0; i < InitialStepSize; i++)
{
double a = (CMax - CMin) / InitialStepSize * i + CMin;
double b = (CMax - CMin) / InitialStepSize * (i + 1) + CMin;
double c = (a + b) / 2;
if(i == 0)
fa = f(a, TargetC1C2, Order, FirstZ);
fc = f(c, TargetC1C2, Order, FirstZ);
fb = f(b, TargetC1C2, Order, FirstZ);
double sab = (b - a) * (fa + 4 * fc + fb) / 6;
double CurrentToleranceF = ToleranceF / InitialStepSize;
if(Order >= 2)
CurrentToleranceF = CurrentToleranceF / 100;
double Contribution = AdaptCalculateF(sab, fa, fc, fb, a, b, CurrentToleranceF, TargetC1C2, Order, FirstZ, 0);
Integral = Integral + Contribution;
fa = fb;
}
return Integral;
}
//----------------------------------------------------------------------------
double HybridCalculator::CalculateFF(double M, double M0, double AnotherM, double AnotherM0,
int Order, int AnotherOrder, bool FirstZ, bool Branch, bool Tip)
{
if(Tip == true && IgnoreTip == true)
return 0;
const double TargetC1C2 = (M0 / M) * (M0 / M);
const double TargetC3C4 = (AnotherM0 / AnotherM) * (AnotherM0 / AnotherM);
const int InitialStepSize = IntegralCStep;
double CMin, CMax;
if(Tip == false)
{
CMin = std::max(IntegralCMin, CCoordinates.CSReco_LeftLimit);
CMax = std::min(IntegralCMax, CCoordinates.CSReco_RightLimit);
}
else
{
if(Branch == true)
{
CMin = std::max(IntegralCMin, CCoordinates.CPReco_RightDown);
CMax = std::min(IntegralCMax, CCoordinates.CPReco_RightUp);
}
else
{
CMin = std::max(IntegralCMin, CCoordinates.CPReco_LeftDown);
CMax = std::min(IntegralCMax, CCoordinates.CPReco_LeftUp);
}
}
if(CMax <= CMin)
return 0;
double Integral = 0;
double fa = 0, fc = 0, fb = 0;
for(int i = 0; i < InitialStepSize; i++)
{
double a = (CMax - CMin) / InitialStepSize * i + CMin;
double b = (CMax - CMin) / InitialStepSize * (i + 1) + CMin;
double c = (a + b) / 2;
if(i == 0)
fa = ff(a, TargetC1C2, TargetC3C4, Order, AnotherOrder, FirstZ, Branch, Tip);
fc = ff(c, TargetC1C2, TargetC3C4, Order, AnotherOrder, FirstZ, Branch, Tip);
fb = ff(b, TargetC1C2, TargetC3C4, Order, AnotherOrder, FirstZ, Branch, Tip);
// if(M > 76.2937 && M < 76.2939 && AnotherM > 34.3658 && AnotherM < 34.3660)
// {
// std::cout << a << " " << b << " " << c << std::endl;
// std::cout << fa << " " << fb << " " << fc << std::endl;
// std::cout << TargetC1C2 << " " << TargetC3C4 << std::endl;
// std::cout << std::endl;
// }
double sab = (b - a) * (fa + 4 * fc + fb) / 6;
double CurrentToleranceF = ToleranceF / InitialStepSize;
if(Order >= 2)
CurrentToleranceF = CurrentToleranceF / 100;
double Contribution = AdaptCalculateFF(sab, fa, fc, fb, a, b, CurrentToleranceF,
TargetC1C2, Order, TargetC3C4, AnotherOrder, FirstZ, 0, Branch, Tip);
Integral = Integral + Contribution;
fa = fb;
}
return Integral;
}
//----------------------------------------------------------------------------
double HybridCalculator::AdaptCalculateF(double sab, double fa, double fc, double fb, double a, double b,
double Tolerance, double c1c2, int Order, bool FirstZ, int Depth)
{
if(Depth > MaxDepthF)
return sab;
double c = (a + b) / 2;
double fd = f((a + c) / 2, c1c2, Order, FirstZ);
double fe = f((c + b) / 2, c1c2, Order, FirstZ);
double sac = (c - a) * (fa + 4 * fd + fc) / 6;
double scb = (b - c) * (fc + 4 * fe + fb) / 6;
if(fabs(sac + scb - sab) < Tolerance * 10)
return sac + scb;
return AdaptCalculateF(sac, fa, fd, fc, a, c, Tolerance / 2, c1c2, Order, FirstZ, Depth + 1)
+ AdaptCalculateF(scb, fc, fe, fb, c, b, Tolerance / 2, c1c2, Order, FirstZ, Depth + 1);
}
//----------------------------------------------------------------------------
double HybridCalculator::AdaptCalculateFF(double sab, double fa, double fc, double fb, double a, double b,
double Tolerance, double c1c2, int Order1, double c3c4, int Order3, bool FirstZ, int Depth, bool Branch,
bool Tip)
{
if(Depth > MaxDepthF)
return sab;
double c = (a + b) / 2;
double fd = ff((a + c) / 2, c1c2, c3c4, Order1, Order3, FirstZ, Branch, Tip);
double fe = ff((c + b) / 2, c1c2, c3c4, Order1, Order3, FirstZ, Branch, Tip);
double sac = (c - a) * (fa + 4 * fd + fc) / 6;
double scb = (b - c) * (fc + 4 * fe + fb) / 6;
if(fabs(sac + scb - sab) < Tolerance * 10)
return sac + scb;
return AdaptCalculateFF(sac, fa, fd, fc, a, c, Tolerance / 2, c1c2, Order1, c3c4, Order3, FirstZ, Depth + 1, Branch, Tip)
+ AdaptCalculateFF(scb, fc, fe, fb, c, b, Tolerance / 2, c1c2, Order1, c3c4, Order3, FirstZ, Depth + 1, Branch, Tip);
}
//----------------------------------------------------------------------------
double HybridCalculator::f(double x, double c1c2, int Order, bool FirstZ)
{
double Result = 0;
FourVector L11, L12, L21, L22;
double C1, C2;
if(LeptonReversal == false)
{
L11 = TempLeptons.Lepton11 / x;
L12 = TempLeptons.Lepton12 * x;
L21 = TempLeptons.Lepton21 / x;
L22 = TempLeptons.Lepton22 * x;
C1 = x;
C2 = c1c2 / x;
}
else
{
L11 = TempLeptons.Lepton11 * x;
L12 = TempLeptons.Lepton12 / x;
L21 = TempLeptons.Lepton21 * x;
L22 = TempLeptons.Lepton22 / x;
C1 = c1c2 / x;
C2 = x;
}
double RecoPPFactor = C1 * C2; // p^R_i / p^G_i = c_i
double Jacobian = 1;
if(FirstZ == true)
Jacobian = RecoMM.M12_2 / C1 / C2 / C2;
else
Jacobian = RecoMM.M34_2 / C1 / C2 / C2;
if(FirstZ == true)
Result = Smear12(L11, C1 - 1) * Smear12(L12, C2 - 1) / C1 / C1 / C2 / C2 / Jacobian * RecoPPFactor;
else
Result = Smear34(L21, C1 - 1) * Smear34(L22, C2 - 1) / C1 / C1 / C2 / C2 / Jacobian * RecoPPFactor;
if(Order == 0)
return Result;
if(Order == 1)
return Result * (x - 1);
for(int i = 0; i < Order; i++)
Result = Result * (x - 1);
return Result;
}
//----------------------------------------------------------------------------
double HybridCalculator::ff(double x, double c1c2, double c3c4, int Order1, int Order3, bool FirstZ, bool Branch,
bool Tip)
{
if(LeptonReversal == true)
{
std::cerr << "[HybridCalculator][ff] LeptonReversal == true!! Not implemented yet!!! Return 0!!!!!" << std::endl;
return 0;
}
if(FirstZ == false)
{
std::cerr << "[HybridCalculator][ff] Warning!! FirstZ == false not yet supported!!" << std::endl;
return 0;
}
double CPReco;
MassSquare MM, RMM = RecoMM;
if(Tip == false)
{
CPReco = (Branch == true) ? CCoordinates.CPReco_1 : CCoordinates.CPReco_2;
MM = (Branch == true) ? CentralMM : CentralAltMM;
}
else
{
CPReco = (Branch == true) ? CCoordinates.CSReco_RightCenter : CCoordinates.CSReco_LeftCenter;
MM = (Branch == true) ? CentralRightMM : CentralLeftMM;
}
if(LeptonReversal == true)
{
MM = MM.FlipLALB();
RMM = RMM.FlipLALB();
}
MassSquare FlippedMM = MM.FlipZ1Z2();
double Result = 12345;
Cs c;
double Jacobian = 1;
double CS = CCoordinates.CSReco;
if(Tip == true)
CS = (Branch == true) ? CCoordinates.CPReco_RightCenter : CCoordinates.CPReco_LeftCenter;
if(FirstZ == true)
{
if(Tip == false)
{
double TempCP = CalculateCP(MM, DeltaMH * DeltaMH, x / CS, Branch);
c = Cs(x / CS, c1c2 / x * CS, TempCP, c3c4 / TempCP);
}
else
{
double TempCP = CalculateCP(FlippedMM, DeltaMH * DeltaMH, x / CS, !Branch);
c = Cs(TempCP, c1c2 / TempCP, x / CS, c3c4 / x * CS);
}
Cs C;
if(Tip == false)
C = c * Cs(CS, 1 / CS, CPReco, 1 / CPReco);
else
C = c * Cs(CPReco, 1 / CPReco, CS, 1 / CS);
Jacobian = CalculateJS(RecoMM, C, Tip);
/*
double CA12 = C.c[0];
double CB12 = C.c[1];
double CA34 = C.c[2];
double CB34 = C.c[3];
double dMH2dcA34 = -(RecoMM.MAA_2 / CA12 + RecoMM.MBA_2 / CB12 + RecoMM.M34_2 / CB34) / CA34 / CA34;
double dMH2dcB34 = -(RecoMM.MAB_2 / CA12 + RecoMM.MBB_2 / CB12 + RecoMM.M34_2 / CA34) / CB34 / CB34;
double dM12dcB12 = -RecoMM.M12_2 / CA12 / CB12 / CB12;
double dM22dcA34 = -RecoMM.M34_2 / CA34 / CA34 / CB34;
double dM22dcB34 = -RecoMM.M34_2 / CA34 / CB34 / CB34;
if(Tip == true)
{
dMH2dcA34 = -(RecoMM.MAA_2 / CA34 + RecoMM.MAB_2 / CB34 + RecoMM.M12_2 / CB12) / CA12 / CA12;
dMH2dcB34 = -(RecoMM.MBA_2 / CA34 + RecoMM.MBB_2 / CB34 + RecoMM.M12_2 / CA12) / CB12 / CB12;
dM12dcB12 = -RecoMM.M34_2 / CA34 / CB34 / CB34;
dM22dcA34 = -RecoMM.M12_2 / CA12 / CA12 / CB12;
dM22dcB34 = -RecoMM.M12_2 / CA12 / CB12 / CB12;
}
Jacobian = dM12dcB12 * (dM22dcA34 * dMH2dcB34 - dM22dcB34 * dMH2dcA34);
if(fabs(Jacobian) < 1 && CA12 > IntegralCMin && CA12 < IntegralCMax
&& CB12 > IntegralCMin && CB12 < IntegralCMax
&& CA34 > IntegralCMin && CA34 < IntegralCMax
&& CB34 > IntegralCMin && CB34 < IntegralCMax)
{
if(Tip == true) std::cout << "Tip" << std::endl;
else std::cout << "Bulk" << std::endl;
std::cout << "J " << dM12dcB12 << " " << dM22dcA34 << " " << dM22dcB34
<< " " << dMH2dcA34 << " " << dMH2dcB34 << " " << Jacobian << std::endl;
}
*/
}
else
{
// TODO!
}
if(Jacobian < 0)
Jacobian = -Jacobian;
LeptonVectors L;
Cs C;
if(FirstZ == true)
{
if(LeptonReversal == false)
{
L = TempLeptons.ApplySmearing(Cs(1 / c.c[0], c.c[0], 1 / c.c[2], c.c[2]));
if(Tip == false)
C = c * Cs(CS, 1 / CS, CPReco, 1 / CPReco);
else
C = c * Cs(CPReco, 1 / CPReco, CS, 1 / CS);
}
else
{
// TODO!!!!!
}
}
else
{
// TODO!!!!!!
}
// std::cout << "GEN " << L.GetTotal().GetMass()
// << " " << (L[0] + L[1]).GetMass() << " " << (L[2] + L[3]).GetMass() << std::endl;
// std::cout << "CEN " << (TempLeptons.Lepton11 + TempLeptons.Lepton12 + TempLeptons.Lepton21 + TempLeptons.Lepton22).GetMass()
// << " " << (TempLeptons.Lepton11 + TempLeptons.Lepton12).GetMass()
// << " " << (TempLeptons.Lepton21 + TempLeptons.Lepton22).GetMass() << std::endl;
// std::cout << "RECO " << (L.ApplySmearing(C).GetTotal()).GetMass()
// << " " << (L[0] * C.c[0] + L[1] * C.c[1]).GetMass() << " " << (L[2] * C.c[2] + L[3] * C.c[3]).GetMass() << std::endl;
// std::cout << std::endl;
// double GenM1 = (L11 + L12).GetMass();
// double GenM2 = (L21 + L22).GetMass();
// if(GenM1 > 99.2 && GenM1 < 99.3 && GenM2 > 20.5 && GenM2 < 20.6 && Branch == true)
// {
// std::cout << C1 << " " << C2 << " " << C3 << " " << C4 << std::endl;
// std::cout << Smear12(L11, C1 - 1) << " " << Smear12(L12, C2 - 1)
// << " " << Smear34(L21, C3 - 1) << " " << Smear34(L22, C4 - 1) << std::endl;
// // std::cout << L11 << " " << L12 << " " << L21 << " " << L22 << std::endl;
// // std::cout << L11 * C1 << " " << L12 * C2 << " " << L21 * C3 << " " << L22 * C4 << std::endl;
// // std::cout << GenM1 << " " << GenM2 << std::endl;
// // std::cout << " " << (L11 * C1 + L12 * C2).GetMass() << " " << (L21 * C3 + L22 * C4).GetMass() << std::endl;
// // std::cout << std::endl;
// }
double PTYWeight = 1;
if(PTYDensity != NULL)
{
FourVector Gen4l = L.GetTotal();
PTYWeight = PTYDensity(Gen4l.GetPT(), Gen4l.GetY(), Gen4l.GetMass2());
}
if((FirstZ == true && C.c[2] > 1e-5 && Jacobian < 1e10 && Jacobian == Jacobian)
|| (FirstZ == false && C.c[0] > 1e-5 && Jacobian < 1e10 && Jacobian == Jacobian))
Result = Smear12(L[0], C.c[0] - 1) * Smear12(L[1], C.c[1] - 1)
* Smear34(L[2], C.c[2] - 1) * Smear34(L[3], C.c[3] - 1) * Jacobian * PTYWeight
/ C.c[0] / C.c[1] / C.c[2] / C.c[3];
// Result = Smear12(L11, C1 - 1) * Smear12(L12, C2 - 1)
// * Smear34(L21, C3 - 1) * Smear34(L22, C4 - 1) / Jacobian * PTYWeight
// / C1 / C2 / C3 / C4 / C1 / C2 / C3 / C4
// * (L11.GetP() * C1) * (L12.GetP() * C2) * (L21.GetP() * C3) * (L22.GetP() * C4)
// / L11.GetP() / L12.GetP() / L21.GetP() / L22.GetP();
else
Result = 0;
if(FirstZ == true)
{
if(Tip == false)
{
for(int i = 0; i < Order1; i++)
Result = Result * (C.c[0] - CS);
for(int i = 0; i < Order3; i++)
Result = Result * (C.c[2] - CPReco);
}
else
{
for(int i = 0; i < Order3; i++)
Result = Result * (C.c[0] - CPReco);
for(int i = 0; i < Order1; i++)
Result = Result * (C.c[2] - CS);
}
}
else
{
// TODO!!!
}
return Result;
}
//----------------------------------------------------------------------------
double HybridCalculator::GetSinAngle(const EventParameters &Center, const EventParameters &A, const EventParameters &B)
{
double DA[12] = {0}, DB[12] = {0};
DA[0] = A.HMass * A.HMass - Center.HMass * Center.HMass;
DA[1] = A.ZMass * A.ZMass - Center.ZMass * Center.ZMass;
DA[2] = A.Z2Mass * A.Z2Mass - Center.Z2Mass * Center.Z2Mass;
DA[3] = A.Phi0 - Center.Phi0;
DA[4] = cos(A.Theta0) - cos(Center.Theta0);
DA[5] = A.Phi - Center.Phi;
DA[6] = cos(A.Theta1) - cos(Center.Theta1);
DA[7] = cos(A.Theta2) - cos(Center.Theta2);
DA[8] = A.PhiH - Center.PhiH;
DA[9] = A.PhiOffset - Center.PhiOffset;
DA[10] = A.PTH - Center.PTH;
DA[11] = A.YH - Center.YH;
DB[0] = B.HMass * B.HMass - Center.HMass * Center.HMass;
DB[1] = B.ZMass * B.ZMass - Center.ZMass * Center.ZMass;
DB[2] = B.Z2Mass * B.Z2Mass - Center.Z2Mass * Center.Z2Mass;
DB[3] = B.Phi0 - Center.Phi0;
DB[4] = cos(B.Theta0) - cos(Center.Theta0);
DB[5] = B.Phi - Center.Phi;
DB[6] = cos(B.Theta1) - cos(Center.Theta1);
DB[7] = cos(B.Theta2) - cos(Center.Theta2);
DB[8] = B.PhiH - Center.PhiH;
DB[9] = B.PhiOffset - Center.PhiOffset;
DB[10] = B.PTH - Center.PTH;
DB[11] = B.YH - Center.YH;
if(DA[3] < -PI) DA[3] = DA[3] + 2 * PI;
if(DA[3] > PI) DA[3] = DA[3] - 2 * PI;
if(DA[5] < -PI) DA[5] = DA[5] + 2 * PI;
if(DA[5] > PI) DA[5] = DA[5] - 2 * PI;
if(DA[8] < -PI) DA[8] = DA[8] + 2 * PI;
if(DA[8] > PI) DA[8] = DA[8] - 2 * PI;
if(DA[9] < -PI) DA[9] = DA[9] + 2 * PI;
if(DA[9] > PI) DA[9] = DA[9] - 2 * PI;
if(DB[3] < -PI) DB[3] = DB[3] + 2 * PI;
if(DB[3] > PI) DB[3] = DB[3] - 2 * PI;
if(DB[5] < -PI) DB[5] = DB[5] + 2 * PI;
if(DB[5] > PI) DB[5] = DB[5] - 2 * PI;
if(DB[8] < -PI) DB[8] = DB[8] + 2 * PI;
if(DB[8] > PI) DB[8] = DB[8] - 2 * PI;
if(DB[9] < -PI) DB[9] = DB[9] + 2 * PI;
if(DB[9] > PI) DB[9] = DB[9] - 2 * PI;
double DotProduct = 0;
double SumDA2 = 0, SumDB2 = 0;
for(int i = 0; i < 12; i++)
{
DotProduct = DotProduct + DA[i] * DB[i];
SumDA2 = SumDA2 + DA[i] * DA[i];
SumDB2 = SumDB2 + DB[i] * DB[i];
}
return sqrt((SumDA2 * SumDB2 - DotProduct * DotProduct) / (SumDA2 * SumDB2));
}
//----------------------------------------------------------------------------
LeptonVectors HybridCalculator::GoToRest(LeptonVectors Leptons)
{
FourVector Total = Leptons.GetTotal();
Leptons.Lepton11 = Leptons.Lepton11.Boost(-Total, Total.GetP() / Total[0]);
Leptons.Lepton12 = Leptons.Lepton12.Boost(-Total, Total.GetP() / Total[0]);
Leptons.Lepton21 = Leptons.Lepton21.Boost(-Total, Total.GetP() / Total[0]);
Leptons.Lepton22 = Leptons.Lepton22.Boost(-Total, Total.GetP() / Total[0]);
return Leptons;
}
//----------------------------------------------------------------------------
double HybridCalculator::CalculateCP(double MAA_2, double MBB_2, double MBA_2, double MAB_2,
double M12_2, double M34_2, double M4l_2, double C1, bool Branch)
{
double Term1 = 1 / C1 * MAB_2 + C1 * MBB_2;
double TermC = -(M4l_2 - M12_2 - M34_2);
double TermCC = 1 / C1 * MAA_2 + C1 * MBA_2;
if(TermC * TermC - 4 * Term1 * TermCC < 0) // no solution
return -1;
double Result = 0;
if(Branch == true)
Result = (-TermC - sqrt(TermC * TermC - 4 * Term1 * TermCC)) / (2 * Term1);
else
Result = (-TermC + sqrt(TermC * TermC - 4 * Term1 * TermCC)) / (2 * Term1);
if(Result != Result)
Result = -1;
return Result;
}
//----------------------------------------------------------------------------
double HybridCalculator::MHExp(const LeptonVectors &Leptons)
{
if(DoGaussMH == false)
return 1;
double HMass = (Leptons.Lepton11 + Leptons.Lepton12 + Leptons.Lepton21 + Leptons.Lepton22).GetMass();
return exp(-(HMass - DeltaMH) * (HMass - DeltaMH) / (2 * SigmaMH * SigmaMH)) / SigmaMH;
}
//----------------------------------------------------------------------------
double HybridCalculator::CalculateCP(MassSquare &MM, double M4l_2, double C1, bool Branch)
{
double Term1 = 1 / C1 * MM.MAB_2 + C1 * MM.MBB_2;
double TermC = -(M4l_2 - MM.M12_2 - MM.M34_2);
double TermCC = 1 / C1 * MM.MAA_2 + C1 * MM.MBA_2;
if(TermC * TermC - 4 * Term1 * TermCC < 0) // no solution
return -1;
double Result = 0;
if(Branch == true)
Result = (-TermC - sqrt(TermC * TermC - 4 * Term1 * TermCC)) / (2 * Term1);
else
Result = (-TermC + sqrt(TermC * TermC - 4 * Term1 * TermCC)) / (2 * Term1);
if(Result != Result)
Result = -1;
return Result;
}
//----------------------------------------------------------------------------
bool HybridCalculator::HasSolutionForAnyC1(MassSquare &MM, double GM4l_2, double GM12_2, double GM34_2)
{
double R12 = GM12_2 / MM.M12_2;
double R34 = GM34_2 / MM.M34_2;
double A = -4 * R34 * R12 * R12 * MM.MBB_2 * MM.MBA_2;
double B = -4 * R12 * R34 * MM.MAB_2 * MM.MBA_2 - 4 * R12 * R34 * MM.MAA_2 * MM.MBB_2
+ (GM4l_2 - GM12_2 - GM34_2) * (GM4l_2 - GM12_2 - GM34_2);
double C = -4 * R34 * MM.MAB_2 * MM.MAA_2;
if(B * B < 4 * A * C)
return false;
if(B < 0)
return false;
return true;
}
//----------------------------------------------------------------------------
double HybridCalculator::FindLeftEndForC1(MassSquare &MM, double GM4l_2, double GM12_2, double GM34_2)
{
double R12 = GM12_2 / MM.M12_2;
double R34 = GM34_2 / MM.M34_2;
double A = -4 * R34 * R12 * R12 * MM.MBB_2 * MM.MBA_2;
double B = -4 * R12 * R34 * MM.MAB_2 * MM.MBA_2 - 4 * R12 * R34 * MM.MAA_2 * MM.MBB_2 + (GM4l_2 - GM12_2 - GM34_2) * (GM4l_2 - GM12_2 - GM34_2);
double C = -4 * R34 * MM.MAB_2 * MM.MAA_2;
if(B * B < 4 * A * C)
return -999999;
if(B < 0)
return -999999;
double Value = (-B - sqrt(B * B - 4 * A * C)) / (2 * A);
if(Value < 0)
Value = 0;
return sqrt(Value);
}
//----------------------------------------------------------------------------
double HybridCalculator::FindRightEndForC1(MassSquare &MM, double GM4l_2, double GM12_2, double GM34_2)
{
double R12 = GM12_2 / MM.M12_2;
double R34 = GM34_2 / MM.M34_2;
double A = -4 * R34 * R12 * R12 * MM.MBB_2 * MM.MBA_2;
double B = -4 * R12 * R34 * MM.MAB_2 * MM.MBA_2 - 4 * R12 * R34 * MM.MAA_2 * MM.MBB_2 + (GM4l_2 - GM12_2 - GM34_2) * (GM4l_2 - GM12_2 - GM34_2);
double C = -4 * R34 * MM.MAB_2 * MM.MAA_2;
if(B * B < 4 * A * C)
return -999999;
if(B < 0)
return -999999;
double Value = (-B + sqrt(B * B - 4 * A * C)) / (2 * A);
return sqrt(Value);
}
//----------------------------------------------------------------------------
bool HybridCalculator::HasSolutionForAnyC1(double RMAA_2, double RMBB_2, double RMBA_2, double RMAB_2, double RM12_2, double RM34_2,
double GM4l_2, double GM12_2, double GM34_2)
{
double R12 = GM12_2 / RM12_2;
double R34 = GM34_2 / RM34_2;
double A = -4 * R34 * R12 * R12 * RMBB_2 * RMBA_2;
double B = -4 * R12 * R34 * RMAB_2 * RMBA_2 - 4 * R12 * R34 * RMAA_2 * RMBB_2 + (GM4l_2 - GM12_2 - GM34_2) * (GM4l_2 - GM12_2 - GM34_2);
double C = -4 * R34 * RMAB_2 * RMAA_2;
if(B * B < 4 * A * C)
return false;
if(B < 0)
return false;
return true;
}
//----------------------------------------------------------------------------
double HybridCalculator::FindLeftEndForC1(double RMAA_2, double RMBB_2, double RMBA_2, double RMAB_2, double RM12_2, double RM34_2,
double GM4l_2, double GM12_2, double GM34_2)
{
double R12 = GM12_2 / RM12_2;
double R34 = GM34_2 / RM34_2;
double A = -4 * R34 * R12 * R12 * RMBB_2 * RMBA_2;
double B = -4 * R12 * R34 * RMAB_2 * RMBA_2 - 4 * R12 * R34 * RMAA_2 * RMBB_2 + (GM4l_2 - GM12_2 - GM34_2) * (GM4l_2 - GM12_2 - GM34_2);
double C = -4 * R34 * RMAB_2 * RMAA_2;
if(B * B < 4 * A * C)
return -999999;
if(B < 0)
return -999999;
double Value = (-B - sqrt(B * B - 4 * A * C)) / (2 * A);
if(Value < 0)
Value = 0;
return sqrt(Value);
}
//----------------------------------------------------------------------------
double HybridCalculator::FindRightEndForC1(double RMAA_2, double RMBB_2, double RMBA_2, double RMAB_2, double RM12_2, double RM34_2,
double GM4l_2, double GM12_2, double GM34_2)
{
double R12 = GM12_2 / RM12_2;
double R34 = GM34_2 / RM34_2;
double A = -4 * R34 * R12 * R12 * RMBB_2 * RMBA_2;
double B = -4 * R12 * R34 * RMAB_2 * RMBA_2 - 4 * R12 * R34 * RMAA_2 * RMBB_2 + (GM4l_2 - GM12_2 - GM34_2) * (GM4l_2 - GM12_2 - GM34_2);
double C = -4 * R34 * RMAB_2 * RMAA_2;
if(B * B < 4 * A * C)
return -999999;
if(B < 0)
return -999999;
double Value = (-B + sqrt(B * B - 4 * A * C)) / (2 * A);
return sqrt(Value);
}
//----------------------------------------------------------------------------
std::string HybridCalculator::TextBool(bool Meow)
{
return (Meow == true) ? "true" : "false";
}
//----------------------------------------------------------------------------
void HybridCalculator::FillMassPosition(int Step, double Center, double Window,
double AttractorStrength, double Masses[])
{
for(int iM = 0; iM <= Step; iM++)
{
double K = 1 / (Window / 2 * AttractorStrength + 1);
double Delta = Window * (iM - Step / 2) / Step;
double FDelta = K * Delta * (fabs(Delta * AttractorStrength) + 1);
Masses[iM] = Center + FDelta;
}
}
//----------------------------------------------------------------------------
void HybridCalculator::FillMassWeights(int Step, double Masses[], double Weights[])
{
for(int iM = 0; iM < Step; iM = iM + 2)
{
double X1 = Masses[iM+0];
double X2 = Masses[iM+1]; double Delta12 = X2 - X1;
double X3 = Masses[iM+2]; double Delta23 = X3 - X2;
double A1 = Delta23 / (Delta12 * Delta23 * (Delta12 + Delta23));
double A2 = (-Delta23 - Delta12) / (Delta12 * Delta23 * (Delta12 + Delta23));
double A3 = Delta12 / (Delta12 * Delta23 * (Delta12 + Delta23));
double B1 = -Delta23 * Delta23 / (Delta12 * Delta23 * (Delta12 + Delta23));
double B2 = (Delta23 * Delta23 - Delta12 * Delta12) / (Delta12 * Delta23 * (Delta12 + Delta23));
double B3 = Delta12 * Delta12 / (Delta12 * Delta23 * (Delta12 + Delta23));
double C1 = 0;
double C2 = 1;
double C3 = 0;
double W1 = (Delta12 + Delta23) * (A1 / 3 * (Delta23 * Delta23 - Delta23 * Delta12 + Delta12 * Delta12)
+ B1 / 2 * (Delta23 - Delta12) + C1);
double W2 = (Delta12 + Delta23) * (A2 / 3 * (Delta23 * Delta23 - Delta23 * Delta12 + Delta12 * Delta12)
+ B2 / 2 * (Delta23 - Delta12) + C2);
double W3 = (Delta12 + Delta23) * (A3 / 3 * (Delta23 * Delta23 - Delta23 * Delta12 + Delta12 * Delta12)
+ B3 / 2 * (Delta23 - Delta12) + C3);
Weights[iM+0] = Weights[iM+0] + W1;
Weights[iM+1] = Weights[iM+1] + W2;
Weights[iM+2] = Weights[iM+2] + W3;
}
}
//----------------------------------------------------------------------------
bool HybridCalculator::PrepareForIntegral(const EventParameters &RecoParameter, double Z1, double Z2)
{
// Get central gen-level leptons
if(DoDeltaMH == false)
{
bool Good = PrepareForBackgroundIntegral(RecoParameter, Z1, Z2);
if(Good == false)
return false;
}
else
{
bool Good = PrepareForSignalIntegral(RecoParameter, Z1, Z2);
if(Good == false)
return false;
}
CentralParameters = ConvertVectorsToAnglesRoberto(CentralLeptons);
CentralParametersAlt = ConvertVectorsToAnglesRoberto(CentralLeptonsAlt);
CentralParametersLeft = ConvertVectorsToAnglesRoberto(CentralLeptonsLeft);
CentralParametersRight = ConvertVectorsToAnglesRoberto(CentralLeptonsRight);
// Store mass squares for later use
CentralMM = MassSquare(CentralLeptons);
CentralAltMM = MassSquare(CentralLeptonsAlt);
CentralLeftMM = MassSquare(CentralLeptonsLeft);
CentralRightMM = MassSquare(CentralLeptonsRight);
return true;
}
//----------------------------------------------------------------------------
bool HybridCalculator::PrepareForSignalIntegral(const EventParameters &RecoParameter, double Z1, double Z2)
{
LeptonVectors TargetLeptons = ConvertAnglesToVectorsRoberto(RecoParameter);
double Z1Ratio = Z1 / RecoParameter.ZMass;
double Z2Ratio = Z2 / RecoParameter.Z2Mass;
CentralLeptons = TargetLeptons;
CentralLeptonsAlt = TargetLeptons;
CentralLeptonsLeft = TargetLeptons;
CentralLeptonsRight = TargetLeptons;
CCoordinates.CPReco_1 = 0, CCoordinates.CPReco_2 = 0, CCoordinates.CSReco = 1;
CentralLeptons.Lepton12 = CentralLeptons.Lepton12 * Z1Ratio * Z1Ratio;
CentralLeptons.Lepton22 = CentralLeptons.Lepton22 * Z2Ratio * Z2Ratio;
CentralLeptonsAlt.Lepton12 = CentralLeptonsAlt.Lepton12 * Z1Ratio * Z1Ratio;
CentralLeptonsAlt.Lepton22 = CentralLeptonsAlt.Lepton22 * Z2Ratio * Z2Ratio;
CentralLeptonsLeft.Lepton12 = CentralLeptonsLeft.Lepton12 * Z1Ratio * Z1Ratio;
CentralLeptonsLeft.Lepton22 = CentralLeptonsLeft.Lepton22 * Z2Ratio * Z2Ratio;
CentralLeptonsRight.Lepton12 = CentralLeptonsRight.Lepton12 * Z1Ratio * Z1Ratio;
CentralLeptonsRight.Lepton22 = CentralLeptonsRight.Lepton22 * Z2Ratio * Z2Ratio;
MassSquare MM = MassSquare(CentralLeptons);
MassSquare FlippedMM = MM.FlipZ1Z2();
MassSquare FlippedRecoMM = RecoMM.FlipZ1Z2();
bool HasSolution = true;
if(FFFirstZ == true)
HasSolution = HasSolutionForAnyC1(RecoMM, DeltaMH * DeltaMH, MM.M12_2, MM.M34_2);
else
HasSolution = HasSolutionForAnyC1(FlippedRecoMM, DeltaMH * DeltaMH, MM.M34_2, MM.M12_2);
if(HasSolution == false)
return false;
if(DeltaMH * DeltaMH < MM.M12_2 + MM.M34_2) // No positive c_p solution no matter what
return false;
if(FFFirstZ == true)
{
CCoordinates.CSReco_Left = FindLeftEndForC1(RecoMM, DeltaMH * DeltaMH, MM.M12_2, MM.M34_2);
CCoordinates.CSReco_Right = FindRightEndForC1(RecoMM, DeltaMH * DeltaMH, MM.M12_2, MM.M34_2);
if(CCoordinates.CSReco_Left > CCoordinates.CSReco_Right)
std::swap(CCoordinates.CSReco_Left, CCoordinates.CSReco_Right);
double CPReco_FlatLeft = FindLeftEndForC1(FlippedRecoMM, DeltaMH * DeltaMH, MM.M34_2, MM.M12_2);
double CPReco_FlatRight = FindRightEndForC1(FlippedRecoMM, DeltaMH * DeltaMH, MM.M34_2, MM.M12_2);
if(CPReco_FlatLeft > CPReco_FlatRight)
std::swap(CPReco_FlatLeft, CPReco_FlatRight);
CCoordinates.CSReco_FlatLeft =
(CalculateCP(FlippedMM, DeltaMH * DeltaMH, CPReco_FlatLeft + 0.00001, true)
+ CalculateCP(FlippedMM, DeltaMH * DeltaMH, CPReco_FlatLeft + 0.00001, false)) / 2;
CCoordinates.CSReco_FlatRight =
(CalculateCP(FlippedMM, DeltaMH * DeltaMH, CPReco_FlatRight - 0.00001, true)
+ CalculateCP(FlippedMM, DeltaMH * DeltaMH, CPReco_FlatRight - 0.00001, false)) / 2;
if(CCoordinates.CSReco_FlatLeft > CCoordinates.CSReco_FlatRight)
std::swap(CCoordinates.CSReco_FlatLeft, CCoordinates.CSReco_FlatRight);
CCoordinates.CSReco_LeftLimit = (CCoordinates.CSReco_Left + CCoordinates.CSReco_FlatLeft * TipRangeFactor) / (1 + TipRangeFactor);
CCoordinates.CSReco_RightLimit = (CCoordinates.CSReco_Right + CCoordinates.CSReco_FlatRight * TipRangeFactor) / (1 + TipRangeFactor);
CCoordinates.CPReco_LeftUp = CalculateCP(MM, DeltaMH * DeltaMH, CCoordinates.CSReco_LeftLimit, true);
CCoordinates.CPReco_LeftDown = CalculateCP(MM, DeltaMH * DeltaMH, CCoordinates.CSReco_LeftLimit, false);
CCoordinates.CPReco_RightUp = CalculateCP(MM, DeltaMH * DeltaMH, CCoordinates.CSReco_RightLimit, true);
CCoordinates.CPReco_RightDown = CalculateCP(MM, DeltaMH * DeltaMH, CCoordinates.CSReco_RightLimit, false);
if(CCoordinates.CPReco_LeftUp < CCoordinates.CPReco_LeftDown)
std::swap(CCoordinates.CPReco_LeftUp, CCoordinates.CPReco_LeftDown);
if(CCoordinates.CPReco_RightUp < CCoordinates.CPReco_RightDown)
std::swap(CCoordinates.CPReco_RightUp, CCoordinates.CPReco_RightDown);
CCoordinates.CPReco_LeftUp = std::min(CCoordinates.CPReco_LeftUp, IntegralCMax);
CCoordinates.CPReco_LeftDown = std::max(CCoordinates.CPReco_LeftDown, IntegralCMin);
CCoordinates.CPReco_RightUp = std::min(CCoordinates.CPReco_RightUp, IntegralCMax);
CCoordinates.CPReco_RightDown = std::max(CCoordinates.CPReco_RightDown, IntegralCMin);
if(CCoordinates.CPReco_LeftUp > CCoordinates.CPReco_LeftDown)
CCoordinates.CPReco_LeftCenter = (CCoordinates.CPReco_LeftUp + CCoordinates.CPReco_LeftDown) / 2;
else
CCoordinates.CPReco_LeftCenter = -1;
if(CCoordinates.CPReco_RightUp > CCoordinates.CPReco_RightDown)
CCoordinates.CPReco_RightCenter = (CCoordinates.CPReco_RightUp + CCoordinates.CPReco_RightDown) / 2;
else
CCoordinates.CPReco_RightCenter = -1;
if(CCoordinates.CPReco_LeftCenter > 0)
{
CCoordinates.CSReco_LeftCenter =
std::min(CalculateCP(FlippedMM, DeltaMH * DeltaMH, CCoordinates.CPReco_LeftCenter, true),
CalculateCP(FlippedMM, DeltaMH * DeltaMH, CCoordinates.CPReco_LeftCenter, false));
}
if(CCoordinates.CPReco_RightCenter > 0)
{
CCoordinates.CSReco_RightCenter =
std::max(CalculateCP(FlippedMM, DeltaMH * DeltaMH, CCoordinates.CPReco_RightCenter, true),
CalculateCP(FlippedMM, DeltaMH * DeltaMH, CCoordinates.CPReco_RightCenter, false));
}
}
else
{
// TODO
}
if(CCoordinates.CSReco_Right < 0) // WTF
return false;
double Min = std::max(IntegralCMin, CCoordinates.CSReco_Left);
double Max = std::min(IntegralCMax, CCoordinates.CSReco_Right);
if(Min > Max) // Allowed C1 range has no overlap with integration range
return false;
Min = std::max(IntegralCMin, CCoordinates.CSReco_LeftLimit);
Max = std::min(IntegralCMax, CCoordinates.CSReco_RightLimit);
if(Min > Max) // Bulk region has no overlap with integration range
CCoordinates.CSReco = -1;
else
CCoordinates.CSReco = (Min + Max) / 2;
if(CCoordinates.CSReco > 0)
{
if(FFFirstZ == true)
{
CCoordinates.CPReco_1 = CalculateCP(MM, DeltaMH * DeltaMH, CCoordinates.CSReco, true);
CCoordinates.CPReco_2 = CalculateCP(MM, DeltaMH * DeltaMH, CCoordinates.CSReco, false);
}
else
{
CCoordinates.CPReco_1 = CalculateCP(FlippedMM, DeltaMH * DeltaMH, CCoordinates.CSReco, true);
CCoordinates.CPReco_2 = CalculateCP(FlippedMM, DeltaMH * DeltaMH, CCoordinates.CSReco, false);
}
}
if(CCoordinates.CSReco > 0)
{
if(CCoordinates.CPReco_1 < 1e-5 || CCoordinates.CPReco_1 != CCoordinates.CPReco_1)
{
std::cerr << CCoordinates.CSReco << " " << CCoordinates.CPReco_1 << " " << CCoordinates.CPReco_2 << std::endl;
std::cerr << "[HybridCalculator][SimpleMassIntegral] ERROR! C3(1) is weird!"
<< " This should never happen!! Contact Yi to debug!!!" << std::endl;
std::cerr << "LeftCenter " << CCoordinates.CSReco_LeftCenter << std::endl;
std::cerr << "FlatLeft " << CCoordinates.CSReco_FlatLeft << std::endl;
std::cerr << "LeftLimit " << CCoordinates.CSReco_LeftLimit << std::endl;
std::cerr << "RightCenter " << CCoordinates.CSReco_RightCenter << std::endl;
std::cerr << "FlatRight " << CCoordinates.CSReco_FlatRight << std::endl;
std::cerr << "RightLimit " << CCoordinates.CSReco_RightLimit << std::endl;
std::cerr << "Middle " << CCoordinates.CSReco << std::endl;
std::cerr << "Left " << CCoordinates.CSReco_Left << std::endl;
std::cerr << "Right " << CCoordinates.CSReco_Right << std::endl;
}
if(CCoordinates.CPReco_2 < 1e-5 || CCoordinates.CPReco_2 != CCoordinates.CPReco_2)
std::cerr << "[HybridCalculator][SimpleMassIntegral] ERROR! C3(2) is weird!"
<< " This should never happen!! Contact Yi to debug!!!" << std::endl;
}
if(FFFirstZ == true)
{
CentralLeptons.Lepton11 = CentralLeptons.Lepton11 / CCoordinates.CSReco;
CentralLeptons.Lepton12 = CentralLeptons.Lepton12 * CCoordinates.CSReco;
CentralLeptonsAlt.Lepton11 = CentralLeptonsAlt.Lepton11 / CCoordinates.CSReco;
CentralLeptonsAlt.Lepton12 = CentralLeptonsAlt.Lepton12 * CCoordinates.CSReco;
CentralLeptonsLeft.Lepton11 = CentralLeptonsLeft.Lepton11 / CCoordinates.CSReco_LeftCenter;
CentralLeptonsLeft.Lepton12 = CentralLeptonsLeft.Lepton12 * CCoordinates.CSReco_LeftCenter;
CentralLeptonsRight.Lepton11 = CentralLeptonsRight.Lepton11 / CCoordinates.CSReco_RightCenter;
CentralLeptonsRight.Lepton12 = CentralLeptonsRight.Lepton12 * CCoordinates.CSReco_RightCenter;
CentralLeptons.Lepton21 = CentralLeptons.Lepton21 / CCoordinates.CPReco_1;
CentralLeptons.Lepton22 = CentralLeptons.Lepton22 * CCoordinates.CPReco_1;
CentralLeptonsAlt.Lepton21 = CentralLeptonsAlt.Lepton21 / CCoordinates.CPReco_2;
CentralLeptonsAlt.Lepton22 = CentralLeptonsAlt.Lepton22 * CCoordinates.CPReco_2;
CentralLeptonsLeft.Lepton21 = CentralLeptonsLeft.Lepton21 / CCoordinates.CPReco_LeftCenter;
CentralLeptonsLeft.Lepton22 = CentralLeptonsLeft.Lepton22 * CCoordinates.CPReco_LeftCenter;
CentralLeptonsRight.Lepton21 = CentralLeptonsRight.Lepton21 / CCoordinates.CPReco_RightCenter;
CentralLeptonsRight.Lepton22 = CentralLeptonsRight.Lepton22 * CCoordinates.CPReco_RightCenter;
}
else
{
// TODO
}
// std::cout << CentralLeptons << " " << CentralLeptonsAlt << std::endl;
// std::cout << CentralLeptonsLeft << " " << CentralLeptonsRight << std::endl;
// std::cout << "---" << std::endl;
return true;
}
//----------------------------------------------------------------------------
bool HybridCalculator::PrepareForBackgroundIntegral(const EventParameters &RecoParameter, double Z1, double Z2)
{
LeptonVectors TargetLeptons = ConvertAnglesToVectorsRoberto(RecoParameter);
double Z1Ratio = Z1 / RecoParameter.ZMass;
double Z2Ratio = Z2 / RecoParameter.Z2Mass;
CentralLeptons = TargetLeptons;
CentralLeptonsAlt = TargetLeptons;
CentralLeptonsLeft = TargetLeptons;
CentralLeptonsRight = TargetLeptons;
if(LeptonReversal == false)
{
CentralLeptons.Lepton12 = CentralLeptons.Lepton12 * Z1Ratio * Z1Ratio;
CentralLeptons.Lepton22 = CentralLeptons.Lepton22 * Z2Ratio * Z2Ratio;
}
else
{
CentralLeptons.Lepton11 = CentralLeptons.Lepton11 * Z1Ratio * Z1Ratio;
CentralLeptons.Lepton21 = CentralLeptons.Lepton21 * Z2Ratio * Z2Ratio;
}
return true;
}
//----------------------------------------------------------------------------
double HybridCalculator::CalculateJS(MassSquare &RMM, Cs &C, bool IsTip)
{
double &CA12 = C.c[0];
double &CB12 = C.c[1];
double &CA34 = C.c[2];
double &CB34 = C.c[3];
double dMH2dcA34 = -(RMM.MAA_2 / CA12 + RMM.MBA_2 / CB12 + RMM.M34_2 / CB34) / CA34 / CA34;
double dMH2dcB34 = -(RMM.MAB_2 / CA12 + RMM.MBB_2 / CB12 + RMM.M34_2 / CA34) / CB34 / CB34;
double dM12dcB12 = -RMM.M12_2 / CA12 / CB12 / CB12;
double dM22dcA34 = -RMM.M34_2 / CA34 / CA34 / CB34;
double dM22dcB34 = -RMM.M34_2 / CA34 / CB34 / CB34;
if(IsTip == true)
{
dMH2dcA34 = -(RMM.MAA_2 / CA34 + RMM.MAB_2 / CB34 + RMM.M12_2 / CB12) / CA12 / CA12;
dMH2dcB34 = -(RMM.MBA_2 / CA34 + RMM.MBB_2 / CB34 + RMM.M12_2 / CA12) / CB12 / CB12;
dM12dcB12 = -RMM.M34_2 / CA34 / CB34 / CB34;
dM22dcA34 = -RMM.M12_2 / CA12 / CA12 / CB12;
dM22dcB34 = -RMM.M12_2 / CA12 / CB12 / CB12;
}
double Jacobian = dM12dcB12 * (dM22dcA34 * dMH2dcB34 - dM22dcB34 * dMH2dcA34);
if(fabs(Jacobian) < 1 && CA12 > IntegralCMin && CA12 < IntegralCMax
&& CB12 > IntegralCMin && CB12 < IntegralCMax
&& CA34 > IntegralCMin && CA34 < IntegralCMax
&& CB34 > IntegralCMin && CB34 < IntegralCMax)
{
if(IsTip == true) std::cout << "Tip" << std::endl;
else std::cout << "Bulk" << std::endl;
std::cout << "J " << dM12dcB12 << " " << dM22dcA34 << " " << dM22dcB34
<< " " << dMH2dcA34 << " " << dMH2dcB34 << " " << Jacobian << std::endl;
}
return 1 / Jacobian;
}
//----------------------------------------------------------------------------
std::pair<double, double> HybridCalculator::GuessCenter(const EventParameters &RecoParameter)
{
return GuessCenter(RecoParameter, RecoParameter.ZMass, RecoParameter.Z2Mass);
}
//----------------------------------------------------------------------------
std::pair<double, double> HybridCalculator::GuessCenter(const EventParameters &RecoParameter, double Z1, double Z2)
{
RecoMM = MassSquare(ConvertAnglesToVectorsRoberto(RecoParameter));
double CurrentCenterZ1 = Z1;
double CurrentCenterZ2 = Z2;
double CurrentWindowSize = (SimpleMassIntegralWindowPlus + SimpleMassIntegralWindowMinus) / 2;
double ScanStep = 8;
double BestZ1 = Z1;
double BestZ2 = Z2;
double BestValue = 0;
std::vector<double> Result(MECount);
int PassCount = 8;
for(int iPass = 0; iPass < PassCount; iPass++)
{
for(int i1 = 0; i1 < ScanStep; i1++)
{
double M1 = CurrentCenterZ1 + CurrentWindowSize / (ScanStep - 1) * (i1 - ScanStep / 2);
for(int i2 = 0; i2 < ScanStep; i2++)
{
Result[0] = 0;
double M2 = CurrentCenterZ2 + CurrentWindowSize / (ScanStep - 1) * (i2 - ScanStep / 2);
bool Good = PrepareForIntegral(RecoParameter, M1, M2);
if(Good == true)
CalculateIntegrand(RecoParameter, CentralParameters, CentralParametersAlt,
CentralParametersLeft, CentralParametersRight, Result);
if(BestValue < 0 || fabs(Result[0]) > BestValue)
{
BestZ1 = M1;
BestZ2 = M2;
BestValue = fabs(Result[0]);
}
}
}
CurrentCenterZ1 = BestZ1;
CurrentCenterZ2 = BestZ2;
CurrentWindowSize = CurrentWindowSize * 0.66;
}
return std::pair<double, double>(BestZ1, BestZ2);
}
//----------------------------------------------------------------------------
MassSquare::MassSquare()
{
M12_2 = 0, M34_2 = 0, MAA_2 = 0, MBB_2 = 0, MAB_2 = 0, MBA_2 = 0;
}
//----------------------------------------------------------------------------
MassSquare::MassSquare(const EventParameters &Event)
{
LeptonVectors Vectors = ConvertAnglesToVectorsRoberto(Event);
M12_2 = (Vectors.Lepton11 + Vectors.Lepton12).GetMass2();
M34_2 = (Vectors.Lepton21 + Vectors.Lepton22).GetMass2();
MAA_2 = (Vectors.Lepton11 + Vectors.Lepton21).GetMass2();
MAB_2 = (Vectors.Lepton11 + Vectors.Lepton22).GetMass2();
MBA_2 = (Vectors.Lepton12 + Vectors.Lepton21).GetMass2();
MBB_2 = (Vectors.Lepton12 + Vectors.Lepton22).GetMass2();
}
//----------------------------------------------------------------------------
MassSquare::MassSquare(const LeptonVectors &Vectors)
{
M12_2 = (Vectors.Lepton11 + Vectors.Lepton12).GetMass2();
M34_2 = (Vectors.Lepton21 + Vectors.Lepton22).GetMass2();
MAA_2 = (Vectors.Lepton11 + Vectors.Lepton21).GetMass2();
MAB_2 = (Vectors.Lepton11 + Vectors.Lepton22).GetMass2();
MBA_2 = (Vectors.Lepton12 + Vectors.Lepton21).GetMass2();
MBB_2 = (Vectors.Lepton12 + Vectors.Lepton22).GetMass2();
}
//----------------------------------------------------------------------------
MassSquare MassSquare::FlipZ1Z2()
{
MassSquare NewOne;
NewOne.M12_2 = M34_2; NewOne.M34_2 = M12_2;
NewOne.MAA_2 = MAA_2; NewOne.MBB_2 = MBB_2;
NewOne.MAB_2 = MBA_2; NewOne.MBA_2 = MAB_2;
return NewOne;
}
//----------------------------------------------------------------------------
MassSquare MassSquare::FlipLALB()
{
MassSquare NewOne;
NewOne.M12_2 = M12_2; NewOne.M34_2 = M34_2;
NewOne.MAA_2 = MBB_2; NewOne.MBB_2 = MAA_2;
NewOne.MAB_2 = MBA_2; NewOne.MBA_2 = MAB_2;
return NewOne;
}
//----------------------------------------------------------------------------
| [
"yichen@positron01.hep.caltech.edu"
] | yichen@positron01.hep.caltech.edu |
133aa3f53b914b091c82bcdca7748562f09cf257 | 04fd8c592808305205a245682affda37d7ba5cc8 | /src/Font.cpp | 0f17a65b906ad1a7c7220851000daa139d44d939 | [] | no_license | juananpe/xiq | b5042ac8fad741b5c9e1e796e13f562e665d8bff | 832c2ebae8f1fc39bff98ef4e03cd0c09a7ea89e | refs/heads/master | 2021-01-10T09:29:07.178741 | 2009-02-06T06:18:34 | 2009-02-06T06:18:34 | 48,246,924 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,130 | cpp | // (C) 2009 christian.schladetsch.net
#include "Precompiled.h"
#include "Font.h"
#include "Draw.h"
#include <fstream>
#include <sstream>
#include <iterator>
using namespace std;
void Font::Glyph::Draw(SDL_Surface *surface, Matrix const &matrix, Color color) const
{
foreach (LineSegment const &line, lines)
{
// DrawLineSegment(surface, Transform(line, matrix), color);
DrawLineSegmentAntiAliased(surface, Transform(line, matrix), color);
}
}
bool Font::FromFile(const char *filename)
{
std::fstream file(filename);
if (!file)
{
std::cerr << "couldn't find font file: " << filename << std::endl;
return false;
}
// dimensions of the glyph representation in the file
size_t y_dim = 8;
size_t glyph_num_lines = y_dim + 2;
size_t num_glyphs = 255;
// read the glyphs
for (size_t glyph_num = 0; glyph_num < num_glyphs; ++glyph_num)
{
// read the lines
std::vector<std::string> glyh_desc(glyph_num_lines);
for (size_t n = 0; n < glyph_num_lines; ++n)
{
char buffer[2000];
if (!file.getline(buffer, sizeof(buffer)))
{
goto end;
}
glyh_desc[n] = buffer;
}
// construct glyph from string input
Glyph glyph;
std::vector<Point> points;
glyph.letter = glyh_desc[0][0];
//cout << "glyph: " << glyph.letter << endl;
for (size_t y = 0; y < y_dim; ++y)
{
std::string const &line = glyh_desc[1 + y];
for (size_t x = 0; x < line.size(); ++x)
{
if (line[x] == '.')
continue;
points.push_back(Point(x, y));
}
}
// read the point indices
stringstream str(glyh_desc[9]);
vector<int> indices;
copy(istream_iterator<int>(str), istream_iterator<int>(), back_inserter(indices));
if ((indices.size() % 2) != 0)
{
std::cerr << "error in font file " << filename << ": num indices must be even" << endl;
goto end;
}
// create the line-segments for the glyph
vector<int>::const_iterator index = indices.begin(), end = indices.end();
while (index != end)
{
int n0 = *index++;
int n1 = *index++;
glyph.lines.push_back(LineSegment(points[n0], points[n1]));
}
// store result
glyphs[glyph.letter] = glyph;
}
end:
file.close();
return false;
}
void Font::DrawShadowedText(SDL_Surface *surface, Matrix const &transform, Box const &box, Color color, const char *text) const
{
// translate shadow before or after??
// Matrix shadow = Matrix::Translate(1,1)*transform;
Matrix shadow = transform*Matrix::Translate(3,3);
DrawText(surface, shadow, box, SDL_MapRGB(surface->format, 0,0,0), text);
DrawText(surface, transform, box, color, text);
}
void Font::DrawText(SDL_Surface *surface, Matrix const &transform, Box const &box, Color color, const char *text) const
{
(void)box;
Matrix matrix = transform;
// for each character in the string to draw
for (; text && *text; ++text)
{
// find the glyph that represents the next character in the string
char letter = *text;
Glyphs::const_iterator iter = glyphs.find(letter);
if (iter == glyphs.end())
continue;
// draw it
iter->second.Draw(surface, matrix, color);
// move to next location.
matrix = Matrix::Translate(9,0)*matrix;
}
}
//EOF
| [
"christian.schladetsch@d54a3f0e-f248-11dd-b556-9305e745af9e"
] | christian.schladetsch@d54a3f0e-f248-11dd-b556-9305e745af9e |
402aa333933bba9bcf4796bc373292f4f09748d4 | 38310b5ebc116f524f440c10c457860d883e8ae7 | /CS150/154A-master/virtual_memory.cpp | fc86091669375cca61c41ffd0d440f5f2342014e | [] | no_license | jeffnwarner/Computer-Architectures | 631767269a19997bb15bcf00c0a3e0618451c5ef | f6c6cf5ce4d11fa1059d2d09fdab84ad9f7fd282 | refs/heads/master | 2021-03-16T09:41:47.855877 | 2017-08-24T04:15:51 | 2017-08-24T04:15:51 | 101,253,387 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,053 | cpp | #include <iostream>
#include <fstream>
#include <iomanip>
using namespace std;
class Clock
{
public:
int leftOff;
int useBit[4];
Clock()
{
leftOff = 0;
for (int i = 0; i < 4; i++)
{
useBit[i] = 0;
}
} //constructor
int getUseBit(int bit)
{
int rBit;
int j = bit;
if (j > 3)
j = 0;
while (useBit[j] == 1)
{
useBit[j] = 0;
j++;
if (j > 3)
j = 0;
}
rBit = j;
useBit[j] = 1;
return rBit;
}
int getLeftOff()
{
return leftOff;
}
void setLeftOff(int bit)
{
leftOff = bit + 1;
}
void setBit(int bit)
{
useBit[bit] = 1;
}
};
int main(int argc, char** argv)
{
//initial variables
Clock clock;
unsigned int pageTable[32];
unsigned int pages[6];
for (int i = 0; i < 4; i++)
pages[i] = 0;
unsigned int address;
char addressString[] = "";
int a = 0;
int j = 0;
ifstream ifs(argv[1]);
ifstream i2fs(argv[1]);
ofstream ofs("vm-out.txt");
while (ifs >> addressString)
{
if (a < 32)
{
address = strtoul(addressString, 0, 16);
pageTable[a] = address;
a++;
}
}
for (int i = 2; i < 6; i++)
{
pages[i] = 0;
}
a = 0;
bool reached = false;
while (i2fs >> addressString)
{
address = strtoul(addressString, 0, 16);
if (a > 31)
{
bool inRAM = false;
for (int i = 2; i < 6; i++)
{
if ((address >> 12) == (pages[i] >> 12))
{
inRAM = true;
clock.setBit(i - 2);
}
}
if (inRAM == false)
{
for (int i = 0; i < 32; i++)
{
if ((address >> 12) == (pageTable[i] >> 12))
{
j = clock.getUseBit(clock.getLeftOff());
pages[j + 2] = pageTable[i];
break;
}
}
}
for (int i = 2; i < 5; i++)
{
if (pages[i] > 0)
{
//cout << hex << pages[i];
ofs << hex << pages[i];
}
if (pages[i + 1] > 0)
{
//cout << " ";
ofs << " ";
}
}
if (pages[5] > 0)
{
//cout << hex << pages[5] << " " << j << reached<< endl;
ofs << hex << pages[5] << endl;
}
else
{
ofs << endl;
}
}
else
{
a++;
}
}
ifs.close();
ofs.close();
return 0;
}//main
| [
"jnwarner@ucdavis.edu"
] | jnwarner@ucdavis.edu |
e79b4a391a65df33d372fd8feb42d0c288ed8ecc | acc2f5336d768a7d86dbd2eec441283cfd11d52d | /src/server/gameserver/skill/HellFire.cpp | 15e56196a76a0e903942a5ca05db36dea923aeb8 | [] | no_license | stevexk/server | 86df9e8c2448ad97db9c3ab86820beec507ef092 | 4ddb6e7cfa510bb13ccd87f56db008aa1be1baad | refs/heads/master | 2020-01-23T22:00:57.359964 | 2015-09-18T14:58:27 | 2015-09-18T14:58:27 | null | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 11,316 | cpp | //////////////////////////////////////////////////////////////////////////////
// Filename : HellFire.cpp
// Written by :
// Description :
//////////////////////////////////////////////////////////////////////////////
#include "HellFire.h"
#include "EffectHellFire.h"
#include "Creature.h"
#include "RankBonus.h"
#include "GCSkillToTileOK1.h"
#include "GCSkillToTileOK2.h"
#include "GCSkillToTileOK3.h"
#include "GCSkillToTileOK4.h"
#include "GCSkillToTileOK5.h"
#include "GCSkillToTileOK6.h"
#include "GCAddEffect.h"
#include "GCSkillFailed1.h"
#include <list>
HellFire::HellFire()
throw()
{
m_HellFireMask[0][0].set(0, 0);
m_MaskNum[0] = 1;
m_HellFireMask[1][0].set(-1, 0);
m_HellFireMask[1][1].set(0, 0);
m_HellFireMask[1][2].set(1, 0);
m_MaskNum[1] = 3;
m_HellFireMask[2][0].set(-1, 0);
m_HellFireMask[2][1].set(1, 0);
m_HellFireMask[2][2].set(0, 0);
m_HellFireMask[2][3].set(0, 1);
m_HellFireMask[2][4].set(0, -1);
m_MaskNum[2] = 5;
m_HellFireMask[3][0].set(-1, -1);
m_HellFireMask[3][1].set(-1, 0);
m_HellFireMask[3][2].set(-1, 1);
m_HellFireMask[3][3].set(0, -1);
m_HellFireMask[3][4].set(0, 0);
m_HellFireMask[3][5].set(0, 1);
m_HellFireMask[3][6].set(1, -1);
m_HellFireMask[3][7].set(1, 0);
m_HellFireMask[3][8].set(1, 1);
m_MaskNum[3] = 9;
};
//////////////////////////////////////////////////////////////////////////////
// 아우스터즈 오브젝트 핸들러
//////////////////////////////////////////////////////////////////////////////
void HellFire::execute(Ousters* pOusters, ObjectID_t TargetObjectID, OustersSkillSlot* pOustersSkillSlot, CEffectID_t CEffectID)
throw(Error)
{
__BEGIN_TRY
//cout << "TID[" << Thread::self() << "]" << getSkillHandlerName() << " Begin" << endl;
Assert(pOusters != NULL);
Assert(pOustersSkillSlot != NULL);
try
{
Zone* pZone = pOusters->getZone();
Assert(pZone != NULL);
Creature* pTargetCreature = pZone->getCreature(TargetObjectID);
//Assert(pTargetCreature != NULL);
// NoSuch제거. by sigi. 2002.5.2
if (pTargetCreature==NULL
|| !canAttack(pOusters, pTargetCreature )
)
{
executeSkillFailException(pOusters, getSkillType());
return;
}
execute(pOusters, pTargetCreature->getX(), pTargetCreature->getY(), pOustersSkillSlot, CEffectID);
}
catch (Throwable & t)
{
executeSkillFailException(pOusters, getSkillType());
}
//cout << "TID[" << Thread::self() << "]" << getSkillHandlerName() << " End" << endl;
__END_CATCH
}
//////////////////////////////////////////////////////////////////////////////
// 아우스터즈 타일 핸들러
//////////////////////////////////////////////////////////////////////////////
void HellFire::execute(Ousters* pOusters, ZoneCoord_t X, ZoneCoord_t Y, OustersSkillSlot* pOustersSkillSlot, CEffectID_t CEffectID)
throw(Error)
{
__BEGIN_TRY
//cout << "TID[" << Thread::self() << "]" << getSkillHandlerName() << " Begin" << endl;
Assert(pOusters != NULL);
Assert(pOustersSkillSlot != NULL);
try
{
Player* pPlayer = pOusters->getPlayer();
Zone* pZone = pOusters->getZone();
Assert(pPlayer != NULL);
Assert(pZone != NULL);
Item* pWeapon = pOusters->getWearItem(Ousters::WEAR_RIGHTHAND);
if (pWeapon == NULL || pWeapon->getItemClass() != Item::ITEM_CLASS_OUSTERS_WRISTLET || !pOusters->isRealWearingEx(Ousters::WEAR_RIGHTHAND))
{
executeSkillFailException(pOusters, pOustersSkillSlot->getSkillType());
return;
}
GCSkillToTileOK1 _GCSkillToTileOK1;
GCSkillToTileOK2 _GCSkillToTileOK2;
GCSkillToTileOK3 _GCSkillToTileOK3;
GCSkillToTileOK4 _GCSkillToTileOK4;
GCSkillToTileOK5 _GCSkillToTileOK5;
GCSkillToTileOK6 _GCSkillToTileOK6;
SkillType_t SkillType = pOustersSkillSlot->getSkillType();
SkillInfo* pSkillInfo = g_pSkillInfoManager->getSkillInfo(SkillType);
ZoneCoord_t myX = pOusters->getX();
ZoneCoord_t myY = pOusters->getY();
// 이펙트의 지속시간을 계산한다.
SkillInput input(pOusters, pOustersSkillSlot);
SkillOutput output;
computeOutput(input, output);
int RequiredMP = (int)pSkillInfo->getConsumeMP() + pOustersSkillSlot->getExpLevel();
bool bManaCheck = hasEnoughMana(pOusters, RequiredMP);
bool bTimeCheck = verifyRunTime(pOustersSkillSlot);
bool bRangeCheck = verifyDistance(pOusters, X, Y, pSkillInfo->getRange());
bool bHitRoll = HitRoll::isSuccessMagic(pOusters, pSkillInfo, pOustersSkillSlot);
bool bSatisfyRequire = pOusters->satisfySkillRequire(pSkillInfo);
bool bTileCheck = false;
VSRect rect(0, 0, pZone->getWidth()-1, pZone->getHeight()-1);
if (rect.ptInRect(X, Y)) bTileCheck = true;
if (bManaCheck && bTimeCheck && bRangeCheck && bHitRoll && bTileCheck && bSatisfyRequire)
{
decreaseMana(pOusters, RequiredMP, _GCSkillToTileOK1);
int grade = 0;
if (input.SkillLevel <= 10 ) grade = 0;
else if (input.SkillLevel <= 20 ) grade = 1;
else if (input.SkillLevel < 30 ) grade = 2;
else grade = 3;
list<Creature*> cList; // denier list
for (int i=0; i<m_MaskNum[grade]; i++)
{
POINT& pt = m_HellFireMask[grade][i];
int tileX = X+pt.x;
int tileY = Y+pt.y;
if (rect.ptInRect(tileX, tileY))
{
Tile& tile = pZone->getTile(tileX, tileY);
if (tile.getEffect(Effect::EFFECT_CLASS_TRYING_POSITION) ) continue;
// 현재 타일에다 이펙트를 추가할 수 있다면...
if (tile.canAddEffect())
{
// 같은 effect가 있으면 지운다.
Effect* pOldEffect = tile.getEffect(Effect::EFFECT_CLASS_HELLFIRE);
if (pOldEffect != NULL)
{
ObjectID_t effectID = pOldEffect->getObjectID();
pZone->deleteEffect(effectID);// fix me
}
// 이펙트 클래스를 생성한다.
EffectHellFire* pEffect = new EffectHellFire(pZone , tileX, tileY);
pEffect->setCasterName(pOusters->getName());
pEffect->setCasterID(pOusters->getObjectID());
pEffect->setDeadline(output.Duration);
pEffect->setDuration(output.Range);
pEffect->setDamage(output.ToHit);
pEffect->setNextTime(0);
pEffect->setTick(output.Tick);
// Tile에 붙이는 Effect는 ObjectID를 등록받아야 한다.
ObjectRegistry & objectregister = pZone->getObjectRegistry();
objectregister.registerObject(pEffect);
pZone->addEffect(pEffect);
tile.addEffect(pEffect);
const list<Object*>& oList = tile.getObjectList();
for(list<Object*>::const_iterator itr = oList.begin(); itr != oList.end(); itr++)
{
Object* pTarget = *itr;
Creature* pTargetCreature = NULL;
if (pTarget->getObjectClass() == Object::OBJECT_CLASS_CREATURE
&& ((pTargetCreature = dynamic_cast<Creature*>(pTarget))->isSlayer() || pTargetCreature->isVampire() )
&& checkZoneLevelToHitTarget(pTargetCreature ) && canAttack(pOusters, pTargetCreature )
)
{
GCModifyInformation gcMI;
setDamage(pTargetCreature, output.Damage, pOusters, pOustersSkillSlot->getSkillType(), &gcMI, NULL, true, false);
if (pTargetCreature->isDead())
{
int exp = computeCreatureExp(pTargetCreature, 70, pOusters);
shareOustersExp(pOusters, exp, _GCSkillToTileOK1);
}
Player* pTargetPlayer = pTargetCreature->getPlayer();
pTargetPlayer->sendPacket(&gcMI);
cList.push_back(pTargetCreature);
_GCSkillToTileOK2.addCListElement(pTargetCreature->getObjectID());
_GCSkillToTileOK4.addCListElement(pTargetCreature->getObjectID());
_GCSkillToTileOK5.addCListElement(pTargetCreature->getObjectID());
pEffect->affect(pTargetCreature);
}
// pEffect->affect(pTarget);
}
}
}
}
_GCSkillToTileOK1.setSkillType(SkillType);
_GCSkillToTileOK1.setCEffectID(CEffectID);
_GCSkillToTileOK1.setX(X);
_GCSkillToTileOK1.setY(Y);
_GCSkillToTileOK1.setDuration(output.Duration);
_GCSkillToTileOK1.setRange(grade);
_GCSkillToTileOK2.setObjectID(pOusters->getObjectID());
_GCSkillToTileOK2.setSkillType(SkillType);
_GCSkillToTileOK2.setX(X);
_GCSkillToTileOK2.setY(Y);
_GCSkillToTileOK2.setDuration(output.Duration);
_GCSkillToTileOK2.setRange(grade);
//_GCSkillToTileOK2.addShortData(MODIFY_VISION, HELLFIRE_SIGHT);
_GCSkillToTileOK3.setObjectID(pOusters->getObjectID());
_GCSkillToTileOK3.setSkillType(SkillType);
_GCSkillToTileOK3.setX(X);
_GCSkillToTileOK3.setY(Y);
_GCSkillToTileOK4.setSkillType(SkillType);
_GCSkillToTileOK4.setX(X);
_GCSkillToTileOK4.setY(Y);
_GCSkillToTileOK4.setRange(grade);
_GCSkillToTileOK4.setDuration(output.Duration);
_GCSkillToTileOK5.setObjectID(pOusters->getObjectID());
_GCSkillToTileOK5.setSkillType(SkillType);
_GCSkillToTileOK5.setX(X);
_GCSkillToTileOK5.setY(Y);
_GCSkillToTileOK5.setRange(grade);
_GCSkillToTileOK5.setDuration(output.Duration);
_GCSkillToTileOK6.setOrgXY(myX, myY);
_GCSkillToTileOK6.setSkillType(SkillType);
_GCSkillToTileOK6.setX(X);
_GCSkillToTileOK6.setY(Y);
_GCSkillToTileOK6.setDuration(output.Duration);
_GCSkillToTileOK6.setRange(grade);
//_GCSkillToTileOK6.addShortData(MODIFY_VISION, HELLFIRE_SIGHT);
for(list<Creature*>::const_iterator itr = cList.begin(); itr != cList.end(); itr++)
{
Creature* pTargetCreature = *itr;
if (canSee(pTargetCreature, pOusters)) pTargetCreature->getPlayer()->sendPacket(&_GCSkillToTileOK2);
else pTargetCreature->getPlayer()->sendPacket(&_GCSkillToTileOK6);
}
pPlayer->sendPacket(&_GCSkillToTileOK1);
cList.push_back(pOusters);
list<Creature*> watcherList = pZone->getWatcherList(myX, myY, pOusters);
// watcherList에서 cList에 속하지 않고, caster(pOusters)를 볼 수 없는 경우는
// OK4를 보내고.. cList에 추가한다.
for(list<Creature*>::const_iterator itr = watcherList.begin(); itr != watcherList.end(); itr++)
{
bool bBelong = false;
for(list<Creature*>::const_iterator tItr = cList.begin(); tItr != cList.end(); tItr++)
if (*itr == *tItr)
bBelong = true;
Creature* pWatcher = (*itr);
if (bBelong == false && canSee(pWatcher, pOusters) == false)
{
//Assert(pWatcher->isPC()); // 당연 PC다.. Zone::getWatcherList는 PC만 return한다
if (!pWatcher->isPC())
{
//cout << "HellFire : 왓처 리스트가 PC가 아닙니다." << endl;
// GCSkillFailed1 _GCSkillFailed1;
// _GCSkillFailed1.setSkillType(getSkillType());
// pOusters->getPlayer()->sendPacket(&_GCSkillFailed1);
//cout << "TID[" << Thread::self() << "]" << getSkillHandlerName() << " End" << endl;
// return;
continue;
}
pWatcher->getPlayer()->sendPacket(&_GCSkillToTileOK4);
cList.push_back(*itr);
}
}
cList = pZone->broadcastSkillPacket(myX, myY, X, Y, &_GCSkillToTileOK5, cList, false);
pZone->broadcastPacket(myX, myY, &_GCSkillToTileOK3 , cList);
pZone->broadcastPacket(X, Y, &_GCSkillToTileOK4 , cList);
pOustersSkillSlot->setRunTime(output.Delay);
}
else
{
executeSkillFailNormal(pOusters, getSkillType(), NULL);
}
}
catch (Throwable & t)
{
executeSkillFailException(pOusters, getSkillType());
}
//cout << "TID[" << Thread::self() << "]" << getSkillHandlerName() << " End" << endl;
__END_CATCH
}
HellFire g_HellFire;
| [
"tiancaiamao@gmail.com"
] | tiancaiamao@gmail.com |
644101490e029a3ca60eecb78bd78c171a590a05 | 31ac07ecd9225639bee0d08d00f037bd511e9552 | /externals/OCCTLib/inc/Handle_StepData_SelectMember.hxx | 7195e8581f815cae64a6bd1cf466aef2ba3a8bf1 | [] | no_license | litao1009/SimpleRoom | 4520e0034e4f90b81b922657b27f201842e68e8e | 287de738c10b86ff8f61b15e3b8afdfedbcb2211 | refs/heads/master | 2021-01-20T19:56:39.507899 | 2016-07-29T08:01:57 | 2016-07-29T08:01:57 | 64,462,604 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 778 | hxx | // This file is generated by WOK (CPPExt).
// Please do not edit this file; modify original file instead.
// The copyright and license terms as defined for the original file apply to
// this header file considered to be the "object code" form of the original source.
#ifndef _Handle_StepData_SelectMember_HeaderFile
#define _Handle_StepData_SelectMember_HeaderFile
#ifndef _Standard_HeaderFile
#include <Standard.hxx>
#endif
#ifndef _Standard_DefineHandle_HeaderFile
#include <Standard_DefineHandle.hxx>
#endif
#ifndef _Handle_MMgt_TShared_HeaderFile
#include <Handle_MMgt_TShared.hxx>
#endif
class Standard_Transient;
class Handle(Standard_Type);
class Handle(MMgt_TShared);
class StepData_SelectMember;
DEFINE_STANDARD_HANDLE(StepData_SelectMember,MMgt_TShared)
#endif
| [
"litao1009@gmail.com"
] | litao1009@gmail.com |
a0232b85225aa6c2306efc85853feb8545e35e19 | bdbbc611761582b173c08a2cae6a9a355feaee9a | /xxcig/checked_delete.hpp | 80c989182f5c6901fd5a53887dd0ed9e4d1035a1 | [] | no_license | lssxfy123/C-study | a79f043fab25d597c3bc19748600857e3ee3f9de | e88632838251dfb3947d2dd95423c66f409ee80e | refs/heads/master | 2022-02-05T02:30:46.475740 | 2022-01-23T14:00:59 | 2022-01-23T14:00:59 | 41,584,370 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,642 | hpp | // Copyright 2013 xxcig group
//
// checked_delete.hpp
// 摘抄自 boost 1.49.0
// 带完整性类型检查的删除操作避免前向声明造成的内存泄漏
//
#ifndef CHECKED_DELETE_HPP
#define CHECKED_DELETE_HPP
//
// boost/checked_delete.hpp
//
// Copyright (c) 2002, 2003 Peter Dimov
// Copyright (c) 2003 Daniel Frey
// Copyright (c) 2003 Howard Hinnant
//
// Distributed under the Boost Software License, Version 1.0. (See
// accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//
// See http://www.boost.org/libs/utility/checked_delete.html for documentation.
//
namespace xxcig {
// verify that types are complete for increased safety
template<class T>
inline void checked_delete(T * x)
{
// intentionally complex - simplification causes regressions
typedef char type_must_be_complete[ sizeof(T)? 1: -1 ];
(void) sizeof(type_must_be_complete);
delete x;
}
template<class T>
inline void checked_ptr_array_delete(T * x)
{
typedef char type_must_be_complete[ sizeof(T)? 1: -1 ];
(void) sizeof(type_must_be_complete);
delete [] x;
}
template<class T>
struct checked_deleter {
typedef void result_type;
typedef T * argument_type;
void operator()(T * x) const
{
checked_delete(x);
}
};
template<class T>
struct checked_ptr_array_deleter {
typedef void result_type;
typedef T * argument_type;
void operator()(T * x) const
{
checked_ptr_array_delete(x);
}
};
template<class T>
inline void destroy(T*& p)
{
delete p;
p = 0;
}
} // namespace xxcig
#endif // #ifndef CHECKED_DELETE_HPP
| [
"liushenshenxfy@126.com"
] | liushenshenxfy@126.com |
1ef8da9e5287b5c6198bb2e13526ef757a556740 | 2a5b5c3afce0b91cc12569b31b2f6aeabd1d03a5 | /include/minapp/buffer.hpp | 7e74ff44f81eefffeeed99c96340c9cde76c1356 | [
"BSL-1.0"
] | permissive | huangqinjin/minapp | bfbd604bba4fb4cb62ea08041dd60f42adf1bc73 | 7422e46d3e204d134102fdb7e5309653d1a96283 | refs/heads/master | 2021-09-23T12:22:44.141822 | 2021-09-13T11:54:35 | 2021-09-13T11:54:35 | 186,041,493 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 5,289 | hpp | #ifndef MINAPP_BUFFER_HPP
#define MINAPP_BUFFER_HPP
#include <boost/asio/buffer.hpp>
namespace minapp
{
class buffer : public boost::asio::mutable_buffer
{
protected:
buffer() = default;
buffer(const buffer&) = default;
buffer& operator=(const buffer&) = default;
~buffer() = default;
public:
inline boost::asio::mutable_buffer whole();
inline buffer& consume(std::size_t n);
};
class triple_buffer : public buffer
{
/**
* +----------------+----------------+--------+----------+
* | external input | internal input | output | reserved |
* +----------------+----------------+--------+----------+
*
* external input: access from handler::read()
* internal input: commit from output in asio::[async_]read_until() for DynamicBuffer_v1
* output: fill by asio::[async_]read[_until](), should not contain any valid data since
* it will be overwritten and callbacks of read should commit all valid data into
* the internal input buffer.
*
* @note internal input and output are used as a single buffer to support DynamicBuffer_v2.
*/
std::vector<char> storage;
std::size_t external_input_size = 0;
std::size_t internal_input_size = 0;
public:
using const_buffers_type = boost::asio::const_buffer;
using mutable_buffers_type = boost::asio::mutable_buffer;
std::size_t size() const
{
return storage.size();
}
std::size_t max_size() const
{
return storage.max_size();
}
std::size_t capacity() const
{
return storage.capacity();
}
mutable_buffers_type output_buffer()
{
std::size_t sz = external_input_size + internal_input_size;
return boost::asio::buffer(storage.data() + sz, storage.size() - sz);
}
mutable_buffers_type prepare_output_buffer(std::size_t n)
{
std::size_t sz = external_input_size + internal_input_size;
storage.resize(sz + n);
return boost::asio::buffer(storage.data() + sz, n);
}
void grow_output_buffer(std::size_t n)
{
storage.resize(storage.size() + n);
}
void shrink_output_buffer(std::size_t n)
{
n = (std::min)(n, output_buffer().size());
storage.resize(storage.size() - n);
}
mutable_buffers_type internal_input_buffer()
{
return boost::asio::buffer(storage.data() + external_input_size, internal_input_size);
}
void commit_to_internal_input(std::size_t n)
{
internal_input_size += (std::min)(n, output_buffer().size());
}
void consume_from_internal_input(std::size_t n)
{
if(n > internal_input_size) n = internal_input_size;
internal_input_size -= n;
}
void commit_whole_internal_input()
{
external_input_size += internal_input_size;
internal_input_size = 0;
}
mutable_buffers_type external_input_buffer()
{
return boost::asio::buffer(storage.data(), external_input_size);
}
void commit_to_external_input(std::size_t n)
{
if(n > internal_input_size) n = internal_input_size;
external_input_size += n;
internal_input_size -= n;
}
void consume_from_external_input(std::size_t n)
{
if(n > external_input_size) n = external_input_size;
storage.erase(storage.begin(), storage.begin() + n);
external_input_size -= n;
}
void consume_whole_external_input()
{
storage.erase(storage.begin(), storage.begin() + external_input_size);
external_input_size = 0;
}
void mark_current_external_input()
{
mutable_buffer::operator=(external_input_buffer());
}
void move_to_new_external_input_segment()
{
mutable_buffer::operator=(external_input_buffer() + mutable_buffer::size());
}
};
boost::asio::mutable_buffer buffer::whole()
{
auto& impl = static_cast<triple_buffer&>(*this);
return impl.external_input_buffer();
}
buffer& buffer::consume(std::size_t n)
{
auto& impl = static_cast<triple_buffer&>(*this);
auto whole = impl.external_input_buffer();
auto origin = static_cast<unsigned char*>(whole.data());
impl.consume_from_external_input(n);
if(data() >= origin || data() < origin + whole.size())
{
std::size_t begin = static_cast<unsigned char*>(data()) - origin;
std::size_t end = begin + size();
if(n < begin) { begin -= n; }
else if(n < end) { begin = 0; end -= n; }
else { begin = end = 0; }
origin = static_cast<unsigned char*>(impl.external_input_buffer().data());
mutable_buffer::operator=({origin + begin, end - begin});
}
return *this;
}
}
#endif
| [
"huangqinjin@gmail.com"
] | huangqinjin@gmail.com |
30bc95fda09134ae3d285383a2a6335704253d98 | 97d1bfba6adafc0fbdd68bdfbeb314d33aa364be | /hdu/4512/4512.cpp | ed73d7d4d9dc8a8476d63feaec102aa82470377a | [] | no_license | github188/MyCode-1 | 26069f08222b154c08308a72a61f8e9f879a447e | 2227b9dd9a13114a1b2b294c3e70253b16f88538 | refs/heads/master | 2020-12-24T11:24:54.215740 | 2014-04-21T04:15:54 | 2014-04-21T04:15:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,426 | cpp | #include <iostream>
#include <cstring>
#include <cstdio>
using namespace std;
int dp[201][201][202];
int a[205];
int n, T;
int main()
{
//freopen("in.txt", "r", stdin);
scanf("%d", &T);
while (T--)
{
int m = 0,_n = 0;
scanf("%d", &n);
for (int k = 1; k <= n; k++)
scanf("%d", a + k);
for (int k = 1; k <= n; k++)
a[k] -= 50, m = max(m, a[k]);
for (int i=0;i<=n;i++) for (int j=0;j<=n;j++) for (int k=0;k<=m;k++) dp[i][j][k]=0;
for (int l = n + 1; l >= 1; l--)
for (int r = l - 1; r <= n; r++)
for (int h = m; h >= 0; h--)
{
if (l == r + 1) { dp[l][r][h] = 0; continue;};
if (l == r)
{
if (h <= a[l]) dp[l][r][h] = 1;
else dp[l][r][h] = 0;
continue;
}
dp[l][r][h] = max(dp[l][r][h], dp[l][r][h + 1]);
dp[l][r][h] = max(dp[l][r][h], dp[l + 1][r][h]);
dp[l][r][h] = max(dp[l][r][h], dp[l][r - 1][h]);
if (a[l] >= h && a[l] == a[r])
dp[l][r][h] = max(dp[l][r][h], dp[l + 1][r - 1][h + 1] + 2);
if (a[l]==a[r]) dp[l][r][h]=max(2,dp[l][r][h]);
}
printf("%d\n", dp[1][n][0]);
}
return 0;
}
| [
"wcwswswws@gmail.com"
] | wcwswswws@gmail.com |
545336bd5caee8b6274a0fa820df16aaff9f0c0e | 63426c77a6657d94aedd427ab7c88f5de244e4d9 | /lang/src/front_end/parser/statement_series/statement_series.hpp | 65b2bbad8eab4fde6f11a2227f7c1a7f4ae68fa7 | [] | no_license | frenebo/new_interpreted_language | ceca908dab65d9fcd913656292f09a4493a1c0a0 | ff0a5e9f63f0c0f212b8368d6ca1b692ba5a6fad | refs/heads/master | 2022-12-19T09:10:48.070471 | 2020-01-04T00:36:23 | 2020-01-04T00:36:23 | 171,048,963 | 0 | 0 | null | 2022-12-06T21:43:21 | 2019-02-16T20:32:14 | C++ | UTF-8 | C++ | false | false | 540 | hpp | #ifndef PARSER_STATEMENT_SERIES_HPP
#define PARSER_STATEMENT_SERIES_HPP
#include <variant>
#include <vector>
#include "../../../syntax_tree/statement_series/statement_series.hpp"
#include "../../tokens/tokens.hpp"
#include "../parse_result.hpp"
#include "../parse_error.hpp"
namespace parser::statement_series
{
std::variant<ParseResult<syntax_tree::statement_series::StatementSeries>, ParseError>
parse_statement_series(const std::vector<tokens::Token> & tokens, unsigned long start_idx, tokens::TokenType stop_token);
}
#endif
| [
"paulkreymborg@Pauls-MacBook-Pro.local"
] | paulkreymborg@Pauls-MacBook-Pro.local |
7b7bd2439e00536d08a29e1464e49297164c0e14 | ad2817a2c1842c7e45301863f054524fa3c17679 | /db-4.8.30/test/scr015/TestConstruct01.cpp | 09998c629a73e0fa46f5f9ed0d96a643149733af | [
"MIT",
"BSD-3-Clause",
"Sleepycat"
] | permissive | kobake/bitcoin-msvc | 37235582d0ac1a60999b03307cdf80b41b1500af | a2cb2cf6814e0f3274add1b76bf6342ee013ac22 | refs/heads/master | 2021-01-22T05:49:08.309061 | 2020-05-28T19:49:58 | 2020-05-28T19:49:58 | 81,691,930 | 28 | 26 | MIT | 2020-04-26T16:14:58 | 2017-02-12T00:14:41 | C++ | UTF-8 | C++ | false | false | 7,933 | cpp | /*-
* See the file LICENSE for redistribution information.
*
* Copyright (c) 2000-2009 Oracle. All rights reserved.
*
* $Id$
*/
/*
* Do some regression tests for constructors.
* Run normally (without arguments) it is a simple regression test.
* Run with a numeric argument, it repeats the regression a number
* of times, to try to determine if there are memory leaks.
*/
#include <sys/types.h>
#include <iostream.h>
#include <errno.h>
#include <stdlib.h>
#include <string.h>
#ifndef _MSC_VER
#include <unistd.h>
#endif
#include <iomanip.h>
#include <db_cxx.h>
#define ERR(a) \
do { \
cout << "FAIL: " << (a) << "\n"; sysexit(1); \
} while (0)
#define ERR2(a1,a2) \
do { \
cout << "FAIL: " << (a1) << ": " << (a2) << "\n"; sysexit(1); \
} while (0)
#define ERR3(a1,a2,a3) \
do { \
cout << "FAIL: " << (a1) << ": " << (a2) << ": " << (a3) << "\n"; sysexit(1); \
} while (0)
#define CHK(a) \
do { \
int _ret; \
if ((_ret = (a)) != 0) { \
ERR3("DB function " #a " has bad return", _ret, DbEnv::strerror(_ret)); \
} \
} while (0)
#ifdef VERBOSE
#define DEBUGOUT(a) cout << a << "\n"
#else
#define DEBUGOUT(a)
#endif
#define CONSTRUCT01_DBNAME "construct01.db"
#define CONSTRUCT01_DBDIR "."
#define CONSTRUCT01_DBFULLPATH (CONSTRUCT01_DBDIR "/" CONSTRUCT01_DBNAME)
int itemcount; // count the number of items in the database
// A good place to put a breakpoint...
//
void sysexit(int status)
{
exit(status);
}
void check_file_removed(const char *name, int fatal)
{
unlink(name);
#if 0
if (access(name, 0) == 0) {
if (fatal)
cout << "FAIL: ";
cout << "File \"" << name << "\" still exists after run\n";
if (fatal)
sysexit(1);
}
#endif
}
// Check that key/data for 0 - count-1 are already present,
// and write a key/data for count. The key and data are
// both "0123...N" where N == count-1.
//
// For some reason on Windows, we need to open using the full pathname
// of the file when there is no environment, thus the 'has_env'
// variable.
//
void rundb(Db *db, int count, int has_env)
{
const char *name;
if (has_env)
name = CONSTRUCT01_DBNAME;
else
name = CONSTRUCT01_DBFULLPATH;
db->set_error_stream(&cerr);
// We don't really care about the pagesize, but we do want
// to make sure adjusting Db specific variables works before
// opening the db.
//
CHK(db->set_pagesize(1024));
CHK(db->open(NULL, name, NULL, DB_BTREE, count ? 0 : DB_CREATE, 0664));
// The bit map of keys we've seen
long bitmap = 0;
// The bit map of keys we expect to see
long expected = (1 << (count+1)) - 1;
char outbuf[10];
int i;
for (i=0; i<count; i++) {
outbuf[i] = '0' + i;
}
outbuf[i++] = '\0';
Dbt key(outbuf, i);
Dbt data(outbuf, i);
DEBUGOUT("Put: " << outbuf);
CHK(db->put(0, &key, &data, DB_NOOVERWRITE));
// Acquire a cursor for the table.
Dbc *dbcp;
CHK(db->cursor(NULL, &dbcp, 0));
// Walk through the table, checking
Dbt readkey;
Dbt readdata;
while (dbcp->get(&readkey, &readdata, DB_NEXT) == 0) {
char *key_string = (char *)readkey.get_data();
char *data_string = (char *)readdata.get_data();
DEBUGOUT("Got: " << key_string << ": " << data_string);
int len = strlen(key_string);
long bit = (1 << len);
if (len > count) {
ERR("reread length is bad");
}
else if (strcmp(data_string, key_string) != 0) {
ERR("key/data don't match");
}
else if ((bitmap & bit) != 0) {
ERR("key already seen");
}
else if ((expected & bit) == 0) {
ERR("key was not expected");
}
else {
bitmap |= bit;
expected &= ~(bit);
for (i=0; i<len; i++) {
if (key_string[i] != ('0' + i)) {
cout << " got " << key_string
<< " (" << (int)key_string[i] << ")"
<< ", wanted " << i
<< " (" << (int)('0' + i) << ")"
<< " at position " << i << "\n";
ERR("key is corrupt");
}
}
}
}
if (expected != 0) {
cout << " expected more keys, bitmap is: " << expected << "\n";
ERR("missing keys in database");
}
CHK(dbcp->close());
CHK(db->close(0));
}
void t1(int except_flag)
{
cout << " Running test 1:\n";
Db db(0, except_flag);
rundb(&db, itemcount++, 0);
cout << " finished.\n";
}
void t2(int except_flag)
{
cout << " Running test 2:\n";
Db db(0, except_flag);
rundb(&db, itemcount++, 0);
cout << " finished.\n";
}
void t3(int except_flag)
{
cout << " Running test 3:\n";
Db db(0, except_flag);
rundb(&db, itemcount++, 0);
cout << " finished.\n";
}
void t4(int except_flag)
{
cout << " Running test 4:\n";
DbEnv env(except_flag);
CHK(env.open(CONSTRUCT01_DBDIR, DB_CREATE | DB_INIT_MPOOL, 0));
Db db(&env, 0);
CHK(db.close(0));
CHK(env.close(0));
cout << " finished.\n";
}
void t5(int except_flag)
{
cout << " Running test 5:\n";
DbEnv env(except_flag);
CHK(env.open(CONSTRUCT01_DBDIR, DB_CREATE | DB_INIT_MPOOL, 0));
Db db(&env, 0);
rundb(&db, itemcount++, 1);
// Note we cannot reuse the old Db!
Db anotherdb(&env, 0);
anotherdb.set_errpfx("test5");
rundb(&anotherdb, itemcount++, 1);
CHK(env.close(0));
cout << " finished.\n";
}
void t6(int except_flag)
{
cout << " Running test 6:\n";
/* From user [#2939] */
int err;
DbEnv* penv = new DbEnv(DB_CXX_NO_EXCEPTIONS);
penv->set_cachesize(0, 32 * 1024, 0);
penv->open(CONSTRUCT01_DBDIR, DB_CREATE | DB_PRIVATE | DB_INIT_MPOOL, 0);
//LEAK: remove this block and leak disappears
Db* pdb = new Db(penv,0);
if ((err = pdb->close(0)) != 0) {
fprintf(stderr, "Error closing Db: %s\n", db_strerror(err));
}
delete pdb;
//LEAK: remove this block and leak disappears
if ((err = penv->close(0)) != 0) {
fprintf(stderr, "Error closing DbEnv: %s\n", db_strerror(err));
}
delete penv;
cout << " finished.\n";
}
// remove any existing environment or database
void removeall()
{
{
DbEnv tmpenv(DB_CXX_NO_EXCEPTIONS);
(void)tmpenv.remove(CONSTRUCT01_DBDIR, DB_FORCE);
}
check_file_removed(CONSTRUCT01_DBFULLPATH, 1);
for (int i=0; i<8; i++) {
char buf[20];
sprintf(buf, "__db.00%d", i);
check_file_removed(buf, 1);
}
}
int doall(int except_flag)
{
itemcount = 0;
try {
// before and after the run, removing any
// old environment/database.
//
removeall();
t1(except_flag);
t2(except_flag);
t3(except_flag);
t4(except_flag);
t5(except_flag);
t6(except_flag);
removeall();
return 0;
}
catch (DbException &dbe) {
ERR2("EXCEPTION RECEIVED", dbe.what());
}
return 1;
}
int main(int argc, char *argv[])
{
int iterations = 1;
if (argc > 1) {
iterations = atoi(argv[1]);
if (iterations < 0) {
ERR("Usage: construct01 count");
}
}
for (int i=0; i<iterations; i++) {
if (iterations != 0) {
cout << "(" << i << "/" << iterations << ") ";
}
cout << "construct01 running:\n";
if (doall(DB_CXX_NO_EXCEPTIONS) != 0) {
ERR("SOME TEST FAILED FOR NO-EXCEPTION TEST");
}
else if (doall(0) != 0) {
ERR("SOME TEST FAILED FOR EXCEPTION TEST");
}
else {
cout << "\nALL TESTS SUCCESSFUL\n";
}
}
return 0;
}
| [
"kobake@users.sourceforge.net"
] | kobake@users.sourceforge.net |
95236a2a36cc3825c47fdc580700bb214da800f7 | a70e7051c21197b69ebbd6264c8f40dad8b4d4ad | /example/src-SimpleLoad/main.cpp | cae3dfd75f5b9e8cd3f96c430be6ac5bbe6b844e | [] | no_license | gameoverhack/goThreadedVideo | 3a669e9497b8040c77a9f29ff7b8dbc8014df3fe | dcd4b2fca62c17a483ff9f4a24be4a2563030906 | refs/heads/master | 2021-01-13T02:12:07.181172 | 2012-01-17T23:58:05 | 2012-01-17T23:58:05 | 1,373,014 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 413 | cpp | #include "ofMain.h"
#include "testApp.h"
#include "ofAppGlutWindow.h"
//========================================================================
int main( ){
ofAppGlutWindow window;
ofSetupOpenGL(&window, 720,540, OF_WINDOW); // <-------- setup the GL context
// this kicks off the running of my app
// can be OF_WINDOW or OF_FULLSCREEN
// pass in width and height too:
ofRunApp( new testApp());
}
| [
"m@gingold.com"
] | m@gingold.com |
3c3fd09c764d611f1cfa81c769d222a21a16735d | 9da899bf6541c6a0514219377fea97df9907f0ae | /Runtime/RenderCore/Private/RenderGraphPrivate.h | 03e44c825d843b8f5a26a04bf602f77b1292271c | [] | no_license | peichangliang123/UE4 | 1aa4df3418c077dd8f82439ecc808cd2e6de4551 | 20e38f42edc251ee96905ed8e96e1be667bc14a5 | refs/heads/master | 2023-08-17T11:31:53.304431 | 2021-09-15T00:31:03 | 2021-09-15T00:31:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,695 | h | // Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "RenderGraphDefinitions.h"
#include "RenderGraphResources.h"
#include "RenderTargetPool.h"
DEFINE_LOG_CATEGORY_STATIC(LogRDG, Log, All);
#define RDG_DUMP_GRAPH_PRODUCERS 1
#define RDG_DUMP_GRAPH_RESOURCES 2
#define RDG_DUMP_GRAPH_TRACKS 3
#define RDG_ASYNC_COMPUTE_DISABLED 0
#define RDG_ASYNC_COMPUTE_ENABLED 1
#define RDG_ASYNC_COMPUTE_FORCE_ENABLED 2
#define RDG_BREAKPOINT_WARNINGS 1
#define RDG_BREAKPOINT_PASS_COMPILE 2
#define RDG_BREAKPOINT_PASS_EXECUTE 3
#if RDG_ENABLE_DEBUG
extern int32 GRDGAsyncCompute;
extern int32 GRDGClobberResources;
extern int32 GRDGDebug;
extern int32 GRDGDebugFlushGPU;
extern int32 GRDGDebugExtendResourceLifetimes;
extern int32 GRDGDebugDisableTransientResources;
extern int32 GRDGDumpGraph;
extern int32 GRDGDumpGraphUnknownCount;
extern int32 GRDGBreakpoint;
extern int32 GRDGTransitionLog;
extern int32 GRDGImmediateMode;
extern int32 GRDGOverlapUAVs;
extern bool GRDGAllowRHIAccess;
class FRDGAllowRHIAccessScope
{
public:
FRDGAllowRHIAccessScope()
{
check(!GRDGAllowRHIAccess);
GRDGAllowRHIAccess = true;
}
~FRDGAllowRHIAccessScope()
{
check(GRDGAllowRHIAccess);
GRDGAllowRHIAccess = false;
}
};
#define RDG_ALLOW_RHI_ACCESS_SCOPE() FRDGAllowRHIAccessScope RDGAllowRHIAccessScopeRAII;
// Colors for texture / buffer clobbering.
FLinearColor GetClobberColor();
uint32 GetClobberBufferValue();
float GetClobberDepth();
uint8 GetClobberStencil();
bool IsDebugAllowedForGraph(const TCHAR* GraphName);
bool IsDebugAllowedForPass(const TCHAR* PassName);
bool IsDebugAllowedForResource(const TCHAR* ResourceName);
inline void ConditionalDebugBreak(int32 BreakpointCVarValue, const TCHAR* GraphName, const TCHAR* PassName)
{
if (GRDGBreakpoint == BreakpointCVarValue && IsDebugAllowedForGraph(GraphName) && IsDebugAllowedForPass(PassName))
{
UE_DEBUG_BREAK();
}
}
inline void ConditionalDebugBreak(int32 BreakpointCVarValue, const TCHAR* GraphName, const TCHAR* PassName, const TCHAR* ResourceName)
{
if (GRDGBreakpoint == BreakpointCVarValue && IsDebugAllowedForGraph(GraphName) && IsDebugAllowedForPass(PassName) && IsDebugAllowedForResource(ResourceName))
{
UE_DEBUG_BREAK();
}
}
void EmitRDGWarning(const FString& WarningMessage);
#define EmitRDGWarningf(WarningMessageFormat, ...) \
EmitRDGWarning(FString::Printf(WarningMessageFormat, ##__VA_ARGS__));
#else // !RDG_ENABLE_DEBUG
const int32 GRDGClobberResources = 0;
const int32 GRDGDebug = 0;
const int32 GRDGDebugFlushGPU = 0;
const int32 GRDGDebugExtendResourceLifetimes = 0;
const int32 GRDGDebugDisableTransientResources = 0;
const int32 GRDGDumpGraph = 0;
const int32 GRDGBreakpoint = 0;
const int32 GRDGTransitionLog = 0;
const int32 GRDGImmediateMode = 0;
const int32 GRDGOverlapUAVs = 1;
#define RDG_ALLOW_RHI_ACCESS_SCOPE()
#define EmitRDGWarningf(WarningMessageFormat, ...)
#endif
extern int32 GRDGAsyncCompute;
extern int32 GRDGCullPasses;
extern int32 GRDGMergeRenderPasses;
extern int32 GRDGTransientAllocator;
extern int32 GRDGTransientIndirectArgBuffers;
extern int32 GRDGTransientMinimumBufferSize;
#if CSV_PROFILER
extern int32 GRDGVerboseCSVStats;
#else
const int32 GRDGVerboseCSVStats = 0;
#endif
#if STATS
extern int32 GRDGStatPassWithParameterCount;
extern int32 GRDGStatPassCount;
extern int32 GRDGStatPassCullCount;
extern int32 GRDGStatRenderPassMergeCount;
extern int32 GRDGStatPassDependencyCount;
extern int32 GRDGStatTextureCount;
extern int32 GRDGStatBufferCount;
extern int32 GRDGStatTransientTextureCount;
extern int32 GRDGStatTransientBufferCount;
extern int32 GRDGStatTransitionCount;
extern int32 GRDGStatAliasingCount;
extern int32 GRDGStatTransitionBatchCount;
extern int32 GRDGStatMemoryWatermark;
DECLARE_DWORD_COUNTER_STAT_EXTERN(TEXT("Passes"), STAT_RDG_PassCount, STATGROUP_RDG, RENDERCORE_API);
DECLARE_DWORD_COUNTER_STAT_EXTERN(TEXT("Passes With Parameters"), STAT_RDG_PassWithParameterCount, STATGROUP_RDG, RENDERCORE_API);
DECLARE_DWORD_COUNTER_STAT_EXTERN(TEXT("Passes Culled"), STAT_RDG_PassCullCount, STATGROUP_RDG, RENDERCORE_API);
DECLARE_DWORD_COUNTER_STAT_EXTERN(TEXT("Render Passes Merged"), STAT_RDG_RenderPassMergeCount, STATGROUP_RDG, RENDERCORE_API);
DECLARE_DWORD_COUNTER_STAT_EXTERN(TEXT("Pass Dependencies"), STAT_RDG_PassDependencyCount, STATGROUP_RDG, RENDERCORE_API);
DECLARE_DWORD_COUNTER_STAT_EXTERN(TEXT("Textures"), STAT_RDG_TextureCount, STATGROUP_RDG, RENDERCORE_API);
DECLARE_DWORD_COUNTER_STAT_EXTERN(TEXT("Buffers"), STAT_RDG_BufferCount, STATGROUP_RDG, RENDERCORE_API);
DECLARE_DWORD_COUNTER_STAT_EXTERN(TEXT("Transient Textures"), STAT_RDG_TransientTextureCount, STATGROUP_RDG, RENDERCORE_API);
DECLARE_DWORD_COUNTER_STAT_EXTERN(TEXT("Transient Buffers"), STAT_RDG_TransientBufferCount, STATGROUP_RDG, RENDERCORE_API);
DECLARE_DWORD_COUNTER_STAT_EXTERN(TEXT("Resource Transitions"), STAT_RDG_TransitionCount, STATGROUP_RDG, RENDERCORE_API);
DECLARE_DWORD_COUNTER_STAT_EXTERN(TEXT("Resource Acquires and Discards"), STAT_RDG_AliasingCount, STATGROUP_RDG, RENDERCORE_API);
DECLARE_DWORD_COUNTER_STAT_EXTERN(TEXT("Resource Transition Batches"), STAT_RDG_TransitionBatchCount, STATGROUP_RDG, RENDERCORE_API);
DECLARE_CYCLE_STAT_EXTERN(TEXT("Compile"), STAT_RDG_CompileTime, STATGROUP_RDG, RENDERCORE_API);
DECLARE_CYCLE_STAT_EXTERN(TEXT("Collect Resources"), STAT_RDG_CollectResourcesTime, STATGROUP_RDG, RENDERCORE_API);
DECLARE_CYCLE_STAT_EXTERN(TEXT("Collect Barriers"), STAT_RDG_CollectBarriersTime, STATGROUP_RDG, RENDERCORE_API);
DECLARE_CYCLE_STAT_EXTERN(TEXT("Clear"), STAT_RDG_ClearTime, STATGROUP_RDG, RENDERCORE_API);
DECLARE_MEMORY_STAT_EXTERN(TEXT("Builder Watermark"), STAT_RDG_MemoryWatermark, STATGROUP_RDG, RENDERCORE_API);
#endif
#if RDG_EVENTS != RDG_EVENTS_NONE
extern int32 GRDGEmitEvents;
#endif
inline const TCHAR* GetEpilogueBarriersToBeginDebugName(ERHIPipeline Pipelines)
{
#if RDG_ENABLE_DEBUG
switch (Pipelines)
{
case ERHIPipeline::Graphics:
return TEXT("Epilogue (For Graphics)");
case ERHIPipeline::AsyncCompute:
return TEXT("Epilogue (For AsyncCompute)");
case ERHIPipeline::All:
return TEXT("Epilogue (For All)");
}
#endif
return TEXT("");
}
inline bool IsImmediateMode()
{
return GRDGImmediateMode != 0;
}
template <typename ResourceRegistryType, typename FunctionType>
inline void EnumerateExtendedLifetimeResources(ResourceRegistryType& Registry, FunctionType Function)
{
#if RDG_ENABLE_DEBUG
if (GRDGDebugExtendResourceLifetimes)
{
for (auto Handle = Registry.Begin(); Handle != Registry.End(); ++Handle)
{
auto* Resource = Registry[Handle];
if (IsDebugAllowedForResource(Resource->Name))
{
Function(Resource);
}
}
}
#endif
} | [
"ouczbs@qq.com"
] | ouczbs@qq.com |
251f06bb841bd5150d6edbd7c482284970835ab4 | 7ebec5b9b10bf56ecf0f219ef7f66d35aec00dd0 | /src/python-bindings/_classad_module.cpp | c38e88160dbca6795a5b8b5087ac88fc17a63f21 | [
"DOC",
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | zzxuanyuan/htcondor | d93c1e1da72803f8532fb9bc2d74a05f2f85c129 | b6b150095d2984970d9440a26ae714da337a1224 | refs/heads/master | 2020-12-06T19:28:06.262876 | 2018-09-17T14:55:13 | 2018-09-17T14:55:13 | 63,744,497 | 0 | 2 | Apache-2.0 | 2018-11-24T18:10:08 | 2016-07-20T02:44:17 | C++ | UTF-8 | C++ | false | false | 123 | cpp |
#include "python_bindings_common.h"
#include "export_headers.h"
BOOST_PYTHON_MODULE(_classad)
{
export_classad();
}
| [
"jpatton@cs.wisc.edu"
] | jpatton@cs.wisc.edu |
3f64d938c256aee40fb4f1102165510d7005d501 | 36fc285e302ac0b7eb6f8a0242ac169875986627 | /src/crypto/sha256_sse4.cpp | 698ac057ee4927af38325b9e18b11922b07216f4 | [
"MIT"
] | permissive | ggq585488/bitsilver | e976ef55402b2be6540524a082a6d1ecf40feddf | 609c6baf9dba88d27623e00240da90d91bf3d1a7 | refs/heads/master | 2022-04-16T14:49:35.760695 | 2020-04-13T10:32:59 | 2020-04-13T10:32:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 42,901 | cpp | // Copyright (c) 2017 The BitSilver Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
//
// This is a translation to GCC extended asm syntax from YASM code by Intel
// (available at the bottom of this file).
#include <stdint.h>
#include <stdlib.h>
#if defined(__x86_64__) || defined(__amd64__)
namespace sha256_sse4
{
void Transform(uint32_t* s, const unsigned char* chunk, size_t blocks)
{
static const uint32_t K256 alignas(16) [] = {
0x428a2f98, 0x71374491, 0xb5c0fbcf, 0xe9b5dba5,
0x3956c25b, 0x59f111f1, 0x923f82a4, 0xab1c5ed5,
0xd807aa98, 0x12835b01, 0x243185be, 0x550c7dc3,
0x72be5d74, 0x80deb1fe, 0x9bdc06a7, 0xc19bf174,
0xe49b69c1, 0xefbe4786, 0x0fc19dc6, 0x240ca1cc,
0x2de92c6f, 0x4a7484aa, 0x5cb0a9dc, 0x76f988da,
0x983e5152, 0xa831c66d, 0xb00327c8, 0xbf597fc7,
0xc6e00bf3, 0xd5a79147, 0x06ca6351, 0x14292967,
0x27b70a85, 0x2e1b2138, 0x4d2c6dfc, 0x53380d13,
0x650a7354, 0x766a0abb, 0x81c2c92e, 0x92722c85,
0xa2bfe8a1, 0xa81a664b, 0xc24b8b70, 0xc76c51a3,
0xd192e819, 0xd6990624, 0xf40e3585, 0x106aa070,
0x19a4c116, 0x1e376c08, 0x2748774c, 0x34b0bcb5,
0x391c0cb3, 0x4ed8aa4a, 0x5b9cca4f, 0x682e6ff3,
0x748f82ee, 0x78a5636f, 0x84c87814, 0x8cc70208,
0x90befffa, 0xa4506ceb, 0xbef9a3f7, 0xc67178f2,
};
static const uint32_t FLIP_MASK alignas(16) [] = {0x00010203, 0x04050607, 0x08090a0b, 0x0c0d0e0f};
static const uint32_t SHUF_00BA alignas(16) [] = {0x03020100, 0x0b0a0908, 0xffffffff, 0xffffffff};
static const uint32_t SHUF_DC00 alignas(16) [] = {0xffffffff, 0xffffffff, 0x03020100, 0x0b0a0908};
uint32_t a, b, c, d, f, g, h, y0, y1, y2;
uint64_t tbl;
uint64_t inp_end, inp;
uint32_t xfer alignas(16) [4];
__asm__ __volatile__(
"shl $0x6,%2;"
"je Ldone_hash_%=;"
"add %1,%2;"
"mov %2,%14;"
"mov (%0),%3;"
"mov 0x4(%0),%4;"
"mov 0x8(%0),%5;"
"mov 0xc(%0),%6;"
"mov 0x10(%0),%k2;"
"mov 0x14(%0),%7;"
"mov 0x18(%0),%8;"
"mov 0x1c(%0),%9;"
"movdqa %18,%%xmm12;"
"movdqa %19,%%xmm10;"
"movdqa %20,%%xmm11;"
"Lloop0_%=:"
"lea %17,%13;"
"movdqu (%1),%%xmm4;"
"pshufb %%xmm12,%%xmm4;"
"movdqu 0x10(%1),%%xmm5;"
"pshufb %%xmm12,%%xmm5;"
"movdqu 0x20(%1),%%xmm6;"
"pshufb %%xmm12,%%xmm6;"
"movdqu 0x30(%1),%%xmm7;"
"pshufb %%xmm12,%%xmm7;"
"mov %1,%15;"
"mov $3,%1;"
"Lloop1_%=:"
"movdqa 0x0(%13),%%xmm9;"
"paddd %%xmm4,%%xmm9;"
"movdqa %%xmm9,%16;"
"movdqa %%xmm7,%%xmm0;"
"mov %k2,%10;"
"ror $0xe,%10;"
"mov %3,%11;"
"palignr $0x4,%%xmm6,%%xmm0;"
"ror $0x9,%11;"
"xor %k2,%10;"
"mov %7,%12;"
"ror $0x5,%10;"
"movdqa %%xmm5,%%xmm1;"
"xor %3,%11;"
"xor %8,%12;"
"paddd %%xmm4,%%xmm0;"
"xor %k2,%10;"
"and %k2,%12;"
"ror $0xb,%11;"
"palignr $0x4,%%xmm4,%%xmm1;"
"xor %3,%11;"
"ror $0x6,%10;"
"xor %8,%12;"
"movdqa %%xmm1,%%xmm2;"
"ror $0x2,%11;"
"add %10,%12;"
"add %16,%12;"
"movdqa %%xmm1,%%xmm3;"
"mov %3,%10;"
"add %12,%9;"
"mov %3,%12;"
"pslld $0x19,%%xmm1;"
"or %5,%10;"
"add %9,%6;"
"and %5,%12;"
"psrld $0x7,%%xmm2;"
"and %4,%10;"
"add %11,%9;"
"por %%xmm2,%%xmm1;"
"or %12,%10;"
"add %10,%9;"
"movdqa %%xmm3,%%xmm2;"
"mov %6,%10;"
"mov %9,%11;"
"movdqa %%xmm3,%%xmm8;"
"ror $0xe,%10;"
"xor %6,%10;"
"mov %k2,%12;"
"ror $0x9,%11;"
"pslld $0xe,%%xmm3;"
"xor %9,%11;"
"ror $0x5,%10;"
"xor %7,%12;"
"psrld $0x12,%%xmm2;"
"ror $0xb,%11;"
"xor %6,%10;"
"and %6,%12;"
"ror $0x6,%10;"
"pxor %%xmm3,%%xmm1;"
"xor %9,%11;"
"xor %7,%12;"
"psrld $0x3,%%xmm8;"
"add %10,%12;"
"add 4+%16,%12;"
"ror $0x2,%11;"
"pxor %%xmm2,%%xmm1;"
"mov %9,%10;"
"add %12,%8;"
"mov %9,%12;"
"pxor %%xmm8,%%xmm1;"
"or %4,%10;"
"add %8,%5;"
"and %4,%12;"
"pshufd $0xfa,%%xmm7,%%xmm2;"
"and %3,%10;"
"add %11,%8;"
"paddd %%xmm1,%%xmm0;"
"or %12,%10;"
"add %10,%8;"
"movdqa %%xmm2,%%xmm3;"
"mov %5,%10;"
"mov %8,%11;"
"ror $0xe,%10;"
"movdqa %%xmm2,%%xmm8;"
"xor %5,%10;"
"ror $0x9,%11;"
"mov %6,%12;"
"xor %8,%11;"
"ror $0x5,%10;"
"psrlq $0x11,%%xmm2;"
"xor %k2,%12;"
"psrlq $0x13,%%xmm3;"
"xor %5,%10;"
"and %5,%12;"
"psrld $0xa,%%xmm8;"
"ror $0xb,%11;"
"xor %8,%11;"
"xor %k2,%12;"
"ror $0x6,%10;"
"pxor %%xmm3,%%xmm2;"
"add %10,%12;"
"ror $0x2,%11;"
"add 8+%16,%12;"
"pxor %%xmm2,%%xmm8;"
"mov %8,%10;"
"add %12,%7;"
"mov %8,%12;"
"pshufb %%xmm10,%%xmm8;"
"or %3,%10;"
"add %7,%4;"
"and %3,%12;"
"paddd %%xmm8,%%xmm0;"
"and %9,%10;"
"add %11,%7;"
"pshufd $0x50,%%xmm0,%%xmm2;"
"or %12,%10;"
"add %10,%7;"
"movdqa %%xmm2,%%xmm3;"
"mov %4,%10;"
"ror $0xe,%10;"
"mov %7,%11;"
"movdqa %%xmm2,%%xmm4;"
"ror $0x9,%11;"
"xor %4,%10;"
"mov %5,%12;"
"ror $0x5,%10;"
"psrlq $0x11,%%xmm2;"
"xor %7,%11;"
"xor %6,%12;"
"psrlq $0x13,%%xmm3;"
"xor %4,%10;"
"and %4,%12;"
"ror $0xb,%11;"
"psrld $0xa,%%xmm4;"
"xor %7,%11;"
"ror $0x6,%10;"
"xor %6,%12;"
"pxor %%xmm3,%%xmm2;"
"ror $0x2,%11;"
"add %10,%12;"
"add 12+%16,%12;"
"pxor %%xmm2,%%xmm4;"
"mov %7,%10;"
"add %12,%k2;"
"mov %7,%12;"
"pshufb %%xmm11,%%xmm4;"
"or %9,%10;"
"add %k2,%3;"
"and %9,%12;"
"paddd %%xmm0,%%xmm4;"
"and %8,%10;"
"add %11,%k2;"
"or %12,%10;"
"add %10,%k2;"
"movdqa 0x10(%13),%%xmm9;"
"paddd %%xmm5,%%xmm9;"
"movdqa %%xmm9,%16;"
"movdqa %%xmm4,%%xmm0;"
"mov %3,%10;"
"ror $0xe,%10;"
"mov %k2,%11;"
"palignr $0x4,%%xmm7,%%xmm0;"
"ror $0x9,%11;"
"xor %3,%10;"
"mov %4,%12;"
"ror $0x5,%10;"
"movdqa %%xmm6,%%xmm1;"
"xor %k2,%11;"
"xor %5,%12;"
"paddd %%xmm5,%%xmm0;"
"xor %3,%10;"
"and %3,%12;"
"ror $0xb,%11;"
"palignr $0x4,%%xmm5,%%xmm1;"
"xor %k2,%11;"
"ror $0x6,%10;"
"xor %5,%12;"
"movdqa %%xmm1,%%xmm2;"
"ror $0x2,%11;"
"add %10,%12;"
"add %16,%12;"
"movdqa %%xmm1,%%xmm3;"
"mov %k2,%10;"
"add %12,%6;"
"mov %k2,%12;"
"pslld $0x19,%%xmm1;"
"or %8,%10;"
"add %6,%9;"
"and %8,%12;"
"psrld $0x7,%%xmm2;"
"and %7,%10;"
"add %11,%6;"
"por %%xmm2,%%xmm1;"
"or %12,%10;"
"add %10,%6;"
"movdqa %%xmm3,%%xmm2;"
"mov %9,%10;"
"mov %6,%11;"
"movdqa %%xmm3,%%xmm8;"
"ror $0xe,%10;"
"xor %9,%10;"
"mov %3,%12;"
"ror $0x9,%11;"
"pslld $0xe,%%xmm3;"
"xor %6,%11;"
"ror $0x5,%10;"
"xor %4,%12;"
"psrld $0x12,%%xmm2;"
"ror $0xb,%11;"
"xor %9,%10;"
"and %9,%12;"
"ror $0x6,%10;"
"pxor %%xmm3,%%xmm1;"
"xor %6,%11;"
"xor %4,%12;"
"psrld $0x3,%%xmm8;"
"add %10,%12;"
"add 4+%16,%12;"
"ror $0x2,%11;"
"pxor %%xmm2,%%xmm1;"
"mov %6,%10;"
"add %12,%5;"
"mov %6,%12;"
"pxor %%xmm8,%%xmm1;"
"or %7,%10;"
"add %5,%8;"
"and %7,%12;"
"pshufd $0xfa,%%xmm4,%%xmm2;"
"and %k2,%10;"
"add %11,%5;"
"paddd %%xmm1,%%xmm0;"
"or %12,%10;"
"add %10,%5;"
"movdqa %%xmm2,%%xmm3;"
"mov %8,%10;"
"mov %5,%11;"
"ror $0xe,%10;"
"movdqa %%xmm2,%%xmm8;"
"xor %8,%10;"
"ror $0x9,%11;"
"mov %9,%12;"
"xor %5,%11;"
"ror $0x5,%10;"
"psrlq $0x11,%%xmm2;"
"xor %3,%12;"
"psrlq $0x13,%%xmm3;"
"xor %8,%10;"
"and %8,%12;"
"psrld $0xa,%%xmm8;"
"ror $0xb,%11;"
"xor %5,%11;"
"xor %3,%12;"
"ror $0x6,%10;"
"pxor %%xmm3,%%xmm2;"
"add %10,%12;"
"ror $0x2,%11;"
"add 8+%16,%12;"
"pxor %%xmm2,%%xmm8;"
"mov %5,%10;"
"add %12,%4;"
"mov %5,%12;"
"pshufb %%xmm10,%%xmm8;"
"or %k2,%10;"
"add %4,%7;"
"and %k2,%12;"
"paddd %%xmm8,%%xmm0;"
"and %6,%10;"
"add %11,%4;"
"pshufd $0x50,%%xmm0,%%xmm2;"
"or %12,%10;"
"add %10,%4;"
"movdqa %%xmm2,%%xmm3;"
"mov %7,%10;"
"ror $0xe,%10;"
"mov %4,%11;"
"movdqa %%xmm2,%%xmm5;"
"ror $0x9,%11;"
"xor %7,%10;"
"mov %8,%12;"
"ror $0x5,%10;"
"psrlq $0x11,%%xmm2;"
"xor %4,%11;"
"xor %9,%12;"
"psrlq $0x13,%%xmm3;"
"xor %7,%10;"
"and %7,%12;"
"ror $0xb,%11;"
"psrld $0xa,%%xmm5;"
"xor %4,%11;"
"ror $0x6,%10;"
"xor %9,%12;"
"pxor %%xmm3,%%xmm2;"
"ror $0x2,%11;"
"add %10,%12;"
"add 12+%16,%12;"
"pxor %%xmm2,%%xmm5;"
"mov %4,%10;"
"add %12,%3;"
"mov %4,%12;"
"pshufb %%xmm11,%%xmm5;"
"or %6,%10;"
"add %3,%k2;"
"and %6,%12;"
"paddd %%xmm0,%%xmm5;"
"and %5,%10;"
"add %11,%3;"
"or %12,%10;"
"add %10,%3;"
"movdqa 0x20(%13),%%xmm9;"
"paddd %%xmm6,%%xmm9;"
"movdqa %%xmm9,%16;"
"movdqa %%xmm5,%%xmm0;"
"mov %k2,%10;"
"ror $0xe,%10;"
"mov %3,%11;"
"palignr $0x4,%%xmm4,%%xmm0;"
"ror $0x9,%11;"
"xor %k2,%10;"
"mov %7,%12;"
"ror $0x5,%10;"
"movdqa %%xmm7,%%xmm1;"
"xor %3,%11;"
"xor %8,%12;"
"paddd %%xmm6,%%xmm0;"
"xor %k2,%10;"
"and %k2,%12;"
"ror $0xb,%11;"
"palignr $0x4,%%xmm6,%%xmm1;"
"xor %3,%11;"
"ror $0x6,%10;"
"xor %8,%12;"
"movdqa %%xmm1,%%xmm2;"
"ror $0x2,%11;"
"add %10,%12;"
"add %16,%12;"
"movdqa %%xmm1,%%xmm3;"
"mov %3,%10;"
"add %12,%9;"
"mov %3,%12;"
"pslld $0x19,%%xmm1;"
"or %5,%10;"
"add %9,%6;"
"and %5,%12;"
"psrld $0x7,%%xmm2;"
"and %4,%10;"
"add %11,%9;"
"por %%xmm2,%%xmm1;"
"or %12,%10;"
"add %10,%9;"
"movdqa %%xmm3,%%xmm2;"
"mov %6,%10;"
"mov %9,%11;"
"movdqa %%xmm3,%%xmm8;"
"ror $0xe,%10;"
"xor %6,%10;"
"mov %k2,%12;"
"ror $0x9,%11;"
"pslld $0xe,%%xmm3;"
"xor %9,%11;"
"ror $0x5,%10;"
"xor %7,%12;"
"psrld $0x12,%%xmm2;"
"ror $0xb,%11;"
"xor %6,%10;"
"and %6,%12;"
"ror $0x6,%10;"
"pxor %%xmm3,%%xmm1;"
"xor %9,%11;"
"xor %7,%12;"
"psrld $0x3,%%xmm8;"
"add %10,%12;"
"add 4+%16,%12;"
"ror $0x2,%11;"
"pxor %%xmm2,%%xmm1;"
"mov %9,%10;"
"add %12,%8;"
"mov %9,%12;"
"pxor %%xmm8,%%xmm1;"
"or %4,%10;"
"add %8,%5;"
"and %4,%12;"
"pshufd $0xfa,%%xmm5,%%xmm2;"
"and %3,%10;"
"add %11,%8;"
"paddd %%xmm1,%%xmm0;"
"or %12,%10;"
"add %10,%8;"
"movdqa %%xmm2,%%xmm3;"
"mov %5,%10;"
"mov %8,%11;"
"ror $0xe,%10;"
"movdqa %%xmm2,%%xmm8;"
"xor %5,%10;"
"ror $0x9,%11;"
"mov %6,%12;"
"xor %8,%11;"
"ror $0x5,%10;"
"psrlq $0x11,%%xmm2;"
"xor %k2,%12;"
"psrlq $0x13,%%xmm3;"
"xor %5,%10;"
"and %5,%12;"
"psrld $0xa,%%xmm8;"
"ror $0xb,%11;"
"xor %8,%11;"
"xor %k2,%12;"
"ror $0x6,%10;"
"pxor %%xmm3,%%xmm2;"
"add %10,%12;"
"ror $0x2,%11;"
"add 8+%16,%12;"
"pxor %%xmm2,%%xmm8;"
"mov %8,%10;"
"add %12,%7;"
"mov %8,%12;"
"pshufb %%xmm10,%%xmm8;"
"or %3,%10;"
"add %7,%4;"
"and %3,%12;"
"paddd %%xmm8,%%xmm0;"
"and %9,%10;"
"add %11,%7;"
"pshufd $0x50,%%xmm0,%%xmm2;"
"or %12,%10;"
"add %10,%7;"
"movdqa %%xmm2,%%xmm3;"
"mov %4,%10;"
"ror $0xe,%10;"
"mov %7,%11;"
"movdqa %%xmm2,%%xmm6;"
"ror $0x9,%11;"
"xor %4,%10;"
"mov %5,%12;"
"ror $0x5,%10;"
"psrlq $0x11,%%xmm2;"
"xor %7,%11;"
"xor %6,%12;"
"psrlq $0x13,%%xmm3;"
"xor %4,%10;"
"and %4,%12;"
"ror $0xb,%11;"
"psrld $0xa,%%xmm6;"
"xor %7,%11;"
"ror $0x6,%10;"
"xor %6,%12;"
"pxor %%xmm3,%%xmm2;"
"ror $0x2,%11;"
"add %10,%12;"
"add 12+%16,%12;"
"pxor %%xmm2,%%xmm6;"
"mov %7,%10;"
"add %12,%k2;"
"mov %7,%12;"
"pshufb %%xmm11,%%xmm6;"
"or %9,%10;"
"add %k2,%3;"
"and %9,%12;"
"paddd %%xmm0,%%xmm6;"
"and %8,%10;"
"add %11,%k2;"
"or %12,%10;"
"add %10,%k2;"
"movdqa 0x30(%13),%%xmm9;"
"paddd %%xmm7,%%xmm9;"
"movdqa %%xmm9,%16;"
"add $0x40,%13;"
"movdqa %%xmm6,%%xmm0;"
"mov %3,%10;"
"ror $0xe,%10;"
"mov %k2,%11;"
"palignr $0x4,%%xmm5,%%xmm0;"
"ror $0x9,%11;"
"xor %3,%10;"
"mov %4,%12;"
"ror $0x5,%10;"
"movdqa %%xmm4,%%xmm1;"
"xor %k2,%11;"
"xor %5,%12;"
"paddd %%xmm7,%%xmm0;"
"xor %3,%10;"
"and %3,%12;"
"ror $0xb,%11;"
"palignr $0x4,%%xmm7,%%xmm1;"
"xor %k2,%11;"
"ror $0x6,%10;"
"xor %5,%12;"
"movdqa %%xmm1,%%xmm2;"
"ror $0x2,%11;"
"add %10,%12;"
"add %16,%12;"
"movdqa %%xmm1,%%xmm3;"
"mov %k2,%10;"
"add %12,%6;"
"mov %k2,%12;"
"pslld $0x19,%%xmm1;"
"or %8,%10;"
"add %6,%9;"
"and %8,%12;"
"psrld $0x7,%%xmm2;"
"and %7,%10;"
"add %11,%6;"
"por %%xmm2,%%xmm1;"
"or %12,%10;"
"add %10,%6;"
"movdqa %%xmm3,%%xmm2;"
"mov %9,%10;"
"mov %6,%11;"
"movdqa %%xmm3,%%xmm8;"
"ror $0xe,%10;"
"xor %9,%10;"
"mov %3,%12;"
"ror $0x9,%11;"
"pslld $0xe,%%xmm3;"
"xor %6,%11;"
"ror $0x5,%10;"
"xor %4,%12;"
"psrld $0x12,%%xmm2;"
"ror $0xb,%11;"
"xor %9,%10;"
"and %9,%12;"
"ror $0x6,%10;"
"pxor %%xmm3,%%xmm1;"
"xor %6,%11;"
"xor %4,%12;"
"psrld $0x3,%%xmm8;"
"add %10,%12;"
"add 4+%16,%12;"
"ror $0x2,%11;"
"pxor %%xmm2,%%xmm1;"
"mov %6,%10;"
"add %12,%5;"
"mov %6,%12;"
"pxor %%xmm8,%%xmm1;"
"or %7,%10;"
"add %5,%8;"
"and %7,%12;"
"pshufd $0xfa,%%xmm6,%%xmm2;"
"and %k2,%10;"
"add %11,%5;"
"paddd %%xmm1,%%xmm0;"
"or %12,%10;"
"add %10,%5;"
"movdqa %%xmm2,%%xmm3;"
"mov %8,%10;"
"mov %5,%11;"
"ror $0xe,%10;"
"movdqa %%xmm2,%%xmm8;"
"xor %8,%10;"
"ror $0x9,%11;"
"mov %9,%12;"
"xor %5,%11;"
"ror $0x5,%10;"
"psrlq $0x11,%%xmm2;"
"xor %3,%12;"
"psrlq $0x13,%%xmm3;"
"xor %8,%10;"
"and %8,%12;"
"psrld $0xa,%%xmm8;"
"ror $0xb,%11;"
"xor %5,%11;"
"xor %3,%12;"
"ror $0x6,%10;"
"pxor %%xmm3,%%xmm2;"
"add %10,%12;"
"ror $0x2,%11;"
"add 8+%16,%12;"
"pxor %%xmm2,%%xmm8;"
"mov %5,%10;"
"add %12,%4;"
"mov %5,%12;"
"pshufb %%xmm10,%%xmm8;"
"or %k2,%10;"
"add %4,%7;"
"and %k2,%12;"
"paddd %%xmm8,%%xmm0;"
"and %6,%10;"
"add %11,%4;"
"pshufd $0x50,%%xmm0,%%xmm2;"
"or %12,%10;"
"add %10,%4;"
"movdqa %%xmm2,%%xmm3;"
"mov %7,%10;"
"ror $0xe,%10;"
"mov %4,%11;"
"movdqa %%xmm2,%%xmm7;"
"ror $0x9,%11;"
"xor %7,%10;"
"mov %8,%12;"
"ror $0x5,%10;"
"psrlq $0x11,%%xmm2;"
"xor %4,%11;"
"xor %9,%12;"
"psrlq $0x13,%%xmm3;"
"xor %7,%10;"
"and %7,%12;"
"ror $0xb,%11;"
"psrld $0xa,%%xmm7;"
"xor %4,%11;"
"ror $0x6,%10;"
"xor %9,%12;"
"pxor %%xmm3,%%xmm2;"
"ror $0x2,%11;"
"add %10,%12;"
"add 12+%16,%12;"
"pxor %%xmm2,%%xmm7;"
"mov %4,%10;"
"add %12,%3;"
"mov %4,%12;"
"pshufb %%xmm11,%%xmm7;"
"or %6,%10;"
"add %3,%k2;"
"and %6,%12;"
"paddd %%xmm0,%%xmm7;"
"and %5,%10;"
"add %11,%3;"
"or %12,%10;"
"add %10,%3;"
"sub $0x1,%1;"
"jne Lloop1_%=;"
"mov $0x2,%1;"
"Lloop2_%=:"
"paddd 0x0(%13),%%xmm4;"
"movdqa %%xmm4,%16;"
"mov %k2,%10;"
"ror $0xe,%10;"
"mov %3,%11;"
"xor %k2,%10;"
"ror $0x9,%11;"
"mov %7,%12;"
"xor %3,%11;"
"ror $0x5,%10;"
"xor %8,%12;"
"xor %k2,%10;"
"ror $0xb,%11;"
"and %k2,%12;"
"xor %3,%11;"
"ror $0x6,%10;"
"xor %8,%12;"
"add %10,%12;"
"ror $0x2,%11;"
"add %16,%12;"
"mov %3,%10;"
"add %12,%9;"
"mov %3,%12;"
"or %5,%10;"
"add %9,%6;"
"and %5,%12;"
"and %4,%10;"
"add %11,%9;"
"or %12,%10;"
"add %10,%9;"
"mov %6,%10;"
"ror $0xe,%10;"
"mov %9,%11;"
"xor %6,%10;"
"ror $0x9,%11;"
"mov %k2,%12;"
"xor %9,%11;"
"ror $0x5,%10;"
"xor %7,%12;"
"xor %6,%10;"
"ror $0xb,%11;"
"and %6,%12;"
"xor %9,%11;"
"ror $0x6,%10;"
"xor %7,%12;"
"add %10,%12;"
"ror $0x2,%11;"
"add 4+%16,%12;"
"mov %9,%10;"
"add %12,%8;"
"mov %9,%12;"
"or %4,%10;"
"add %8,%5;"
"and %4,%12;"
"and %3,%10;"
"add %11,%8;"
"or %12,%10;"
"add %10,%8;"
"mov %5,%10;"
"ror $0xe,%10;"
"mov %8,%11;"
"xor %5,%10;"
"ror $0x9,%11;"
"mov %6,%12;"
"xor %8,%11;"
"ror $0x5,%10;"
"xor %k2,%12;"
"xor %5,%10;"
"ror $0xb,%11;"
"and %5,%12;"
"xor %8,%11;"
"ror $0x6,%10;"
"xor %k2,%12;"
"add %10,%12;"
"ror $0x2,%11;"
"add 8+%16,%12;"
"mov %8,%10;"
"add %12,%7;"
"mov %8,%12;"
"or %3,%10;"
"add %7,%4;"
"and %3,%12;"
"and %9,%10;"
"add %11,%7;"
"or %12,%10;"
"add %10,%7;"
"mov %4,%10;"
"ror $0xe,%10;"
"mov %7,%11;"
"xor %4,%10;"
"ror $0x9,%11;"
"mov %5,%12;"
"xor %7,%11;"
"ror $0x5,%10;"
"xor %6,%12;"
"xor %4,%10;"
"ror $0xb,%11;"
"and %4,%12;"
"xor %7,%11;"
"ror $0x6,%10;"
"xor %6,%12;"
"add %10,%12;"
"ror $0x2,%11;"
"add 12+%16,%12;"
"mov %7,%10;"
"add %12,%k2;"
"mov %7,%12;"
"or %9,%10;"
"add %k2,%3;"
"and %9,%12;"
"and %8,%10;"
"add %11,%k2;"
"or %12,%10;"
"add %10,%k2;"
"paddd 0x10(%13),%%xmm5;"
"movdqa %%xmm5,%16;"
"add $0x20,%13;"
"mov %3,%10;"
"ror $0xe,%10;"
"mov %k2,%11;"
"xor %3,%10;"
"ror $0x9,%11;"
"mov %4,%12;"
"xor %k2,%11;"
"ror $0x5,%10;"
"xor %5,%12;"
"xor %3,%10;"
"ror $0xb,%11;"
"and %3,%12;"
"xor %k2,%11;"
"ror $0x6,%10;"
"xor %5,%12;"
"add %10,%12;"
"ror $0x2,%11;"
"add %16,%12;"
"mov %k2,%10;"
"add %12,%6;"
"mov %k2,%12;"
"or %8,%10;"
"add %6,%9;"
"and %8,%12;"
"and %7,%10;"
"add %11,%6;"
"or %12,%10;"
"add %10,%6;"
"mov %9,%10;"
"ror $0xe,%10;"
"mov %6,%11;"
"xor %9,%10;"
"ror $0x9,%11;"
"mov %3,%12;"
"xor %6,%11;"
"ror $0x5,%10;"
"xor %4,%12;"
"xor %9,%10;"
"ror $0xb,%11;"
"and %9,%12;"
"xor %6,%11;"
"ror $0x6,%10;"
"xor %4,%12;"
"add %10,%12;"
"ror $0x2,%11;"
"add 4+%16,%12;"
"mov %6,%10;"
"add %12,%5;"
"mov %6,%12;"
"or %7,%10;"
"add %5,%8;"
"and %7,%12;"
"and %k2,%10;"
"add %11,%5;"
"or %12,%10;"
"add %10,%5;"
"mov %8,%10;"
"ror $0xe,%10;"
"mov %5,%11;"
"xor %8,%10;"
"ror $0x9,%11;"
"mov %9,%12;"
"xor %5,%11;"
"ror $0x5,%10;"
"xor %3,%12;"
"xor %8,%10;"
"ror $0xb,%11;"
"and %8,%12;"
"xor %5,%11;"
"ror $0x6,%10;"
"xor %3,%12;"
"add %10,%12;"
"ror $0x2,%11;"
"add 8+%16,%12;"
"mov %5,%10;"
"add %12,%4;"
"mov %5,%12;"
"or %k2,%10;"
"add %4,%7;"
"and %k2,%12;"
"and %6,%10;"
"add %11,%4;"
"or %12,%10;"
"add %10,%4;"
"mov %7,%10;"
"ror $0xe,%10;"
"mov %4,%11;"
"xor %7,%10;"
"ror $0x9,%11;"
"mov %8,%12;"
"xor %4,%11;"
"ror $0x5,%10;"
"xor %9,%12;"
"xor %7,%10;"
"ror $0xb,%11;"
"and %7,%12;"
"xor %4,%11;"
"ror $0x6,%10;"
"xor %9,%12;"
"add %10,%12;"
"ror $0x2,%11;"
"add 12+%16,%12;"
"mov %4,%10;"
"add %12,%3;"
"mov %4,%12;"
"or %6,%10;"
"add %3,%k2;"
"and %6,%12;"
"and %5,%10;"
"add %11,%3;"
"or %12,%10;"
"add %10,%3;"
"movdqa %%xmm6,%%xmm4;"
"movdqa %%xmm7,%%xmm5;"
"sub $0x1,%1;"
"jne Lloop2_%=;"
"add (%0),%3;"
"mov %3,(%0);"
"add 0x4(%0),%4;"
"mov %4,0x4(%0);"
"add 0x8(%0),%5;"
"mov %5,0x8(%0);"
"add 0xc(%0),%6;"
"mov %6,0xc(%0);"
"add 0x10(%0),%k2;"
"mov %k2,0x10(%0);"
"add 0x14(%0),%7;"
"mov %7,0x14(%0);"
"add 0x18(%0),%8;"
"mov %8,0x18(%0);"
"add 0x1c(%0),%9;"
"mov %9,0x1c(%0);"
"mov %15,%1;"
"add $0x40,%1;"
"cmp %14,%1;"
"jne Lloop0_%=;"
"Ldone_hash_%=:"
: "+r"(s), "+r"(chunk), "+r"(blocks), "=r"(a), "=r"(b), "=r"(c), "=r"(d), /* e = chunk */ "=r"(f), "=r"(g), "=r"(h), "=r"(y0), "=r"(y1), "=r"(y2), "=r"(tbl), "+m"(inp_end), "+m"(inp), "+m"(xfer)
: "m"(K256), "m"(FLIP_MASK), "m"(SHUF_00BA), "m"(SHUF_DC00)
: "cc", "memory", "xmm0", "xmm1", "xmm2", "xmm3", "xmm4", "xmm5", "xmm6", "xmm7", "xmm8", "xmm9", "xmm10", "xmm11", "xmm12"
);
}
}
/*
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Copyright (c) 2012, Intel Corporation
;
; All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions are
; met:
;
; * Redistributions of source code must retain the above copyright
; notice, this list of conditions and the following disclaimer.
;
; * Redistributions in binary form must reproduce the above copyright
; notice, this list of conditions and the following disclaimer in the
; documentation and/or other materials provided with the
; distribution.
;
; * Neither the name of the Intel Corporation nor the names of its
; contributors may be used to endorse or promote products derived from
; this software without specific prior written permission.
;
;
; THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" AND ANY
; EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
; IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
; PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION OR
; CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
; EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
; PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
; PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
; LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
; NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
; SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
; Example YASM command lines:
; Windows: yasm -Xvc -f x64 -rnasm -pnasm -o sha256_sse4.obj -g cv8 sha256_sse4.asm
; Linux: yasm -f x64 -f elf64 -X gnu -g dwarf2 -D LINUX -o sha256_sse4.o sha256_sse4.asm
;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
; This code is described in an Intel White-Paper:
; "Fast SHA-256 Implementations on Intel Architecture Processors"
;
; To find it, surf to http://www.intel.com/p/en_US/embedded
; and search for that title.
; The paper is expected to be released roughly at the end of April, 2012
;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; This code schedules 1 blocks at a time, with 4 lanes per block
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
%define MOVDQ movdqu ;; assume buffers not aligned
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; Define Macros
; addm [mem], reg
; Add reg to mem using reg-mem add and store
%macro addm 2
add %2, %1
mov %1, %2
%endm
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; COPY_XMM_AND_BSWAP xmm, [mem], byte_flip_mask
; Load xmm with mem and byte swap each dword
%macro COPY_XMM_AND_BSWAP 3
MOVDQ %1, %2
pshufb %1, %3
%endmacro
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
%define X0 xmm4
%define X1 xmm5
%define X2 xmm6
%define X3 xmm7
%define XTMP0 xmm0
%define XTMP1 xmm1
%define XTMP2 xmm2
%define XTMP3 xmm3
%define XTMP4 xmm8
%define XFER xmm9
%define SHUF_00BA xmm10 ; shuffle xBxA -> 00BA
%define SHUF_DC00 xmm11 ; shuffle xDxC -> DC00
%define BYTE_FLIP_MASK xmm12
%ifdef LINUX
%define NUM_BLKS rdx ; 3rd arg
%define CTX rsi ; 2nd arg
%define INP rdi ; 1st arg
%define SRND rdi ; clobbers INP
%define c ecx
%define d r8d
%define e edx
%else
%define NUM_BLKS r8 ; 3rd arg
%define CTX rdx ; 2nd arg
%define INP rcx ; 1st arg
%define SRND rcx ; clobbers INP
%define c edi
%define d esi
%define e r8d
%endif
%define TBL rbp
%define a eax
%define b ebx
%define f r9d
%define g r10d
%define h r11d
%define y0 r13d
%define y1 r14d
%define y2 r15d
_INP_END_SIZE equ 8
_INP_SIZE equ 8
_XFER_SIZE equ 8
%ifdef LINUX
_XMM_SAVE_SIZE equ 0
%else
_XMM_SAVE_SIZE equ 7*16
%endif
; STACK_SIZE plus pushes must be an odd multiple of 8
_ALIGN_SIZE equ 8
_INP_END equ 0
_INP equ _INP_END + _INP_END_SIZE
_XFER equ _INP + _INP_SIZE
_XMM_SAVE equ _XFER + _XFER_SIZE + _ALIGN_SIZE
STACK_SIZE equ _XMM_SAVE + _XMM_SAVE_SIZE
; rotate_Xs
; Rotate values of symbols X0...X3
%macro rotate_Xs 0
%xdefine X_ X0
%xdefine X0 X1
%xdefine X1 X2
%xdefine X2 X3
%xdefine X3 X_
%endm
; ROTATE_ARGS
; Rotate values of symbols a...h
%macro ROTATE_ARGS 0
%xdefine TMP_ h
%xdefine h g
%xdefine g f
%xdefine f e
%xdefine e d
%xdefine d c
%xdefine c b
%xdefine b a
%xdefine a TMP_
%endm
%macro FOUR_ROUNDS_AND_SCHED 0
;; compute s0 four at a time and s1 two at a time
;; compute W[-16] + W[-7] 4 at a time
movdqa XTMP0, X3
mov y0, e ; y0 = e
ror y0, (25-11) ; y0 = e >> (25-11)
mov y1, a ; y1 = a
palignr XTMP0, X2, 4 ; XTMP0 = W[-7]
ror y1, (22-13) ; y1 = a >> (22-13)
xor y0, e ; y0 = e ^ (e >> (25-11))
mov y2, f ; y2 = f
ror y0, (11-6) ; y0 = (e >> (11-6)) ^ (e >> (25-6))
movdqa XTMP1, X1
xor y1, a ; y1 = a ^ (a >> (22-13)
xor y2, g ; y2 = f^g
paddd XTMP0, X0 ; XTMP0 = W[-7] + W[-16]
xor y0, e ; y0 = e ^ (e >> (11-6)) ^ (e >> (25-6))
and y2, e ; y2 = (f^g)&e
ror y1, (13-2) ; y1 = (a >> (13-2)) ^ (a >> (22-2))
;; compute s0
palignr XTMP1, X0, 4 ; XTMP1 = W[-15]
xor y1, a ; y1 = a ^ (a >> (13-2)) ^ (a >> (22-2))
ror y0, 6 ; y0 = S1 = (e>>6) & (e>>11) ^ (e>>25)
xor y2, g ; y2 = CH = ((f^g)&e)^g
movdqa XTMP2, XTMP1 ; XTMP2 = W[-15]
ror y1, 2 ; y1 = S0 = (a>>2) ^ (a>>13) ^ (a>>22)
add y2, y0 ; y2 = S1 + CH
add y2, [rsp + _XFER + 0*4] ; y2 = k + w + S1 + CH
movdqa XTMP3, XTMP1 ; XTMP3 = W[-15]
mov y0, a ; y0 = a
add h, y2 ; h = h + S1 + CH + k + w
mov y2, a ; y2 = a
pslld XTMP1, (32-7)
or y0, c ; y0 = a|c
add d, h ; d = d + h + S1 + CH + k + w
and y2, c ; y2 = a&c
psrld XTMP2, 7
and y0, b ; y0 = (a|c)&b
add h, y1 ; h = h + S1 + CH + k + w + S0
por XTMP1, XTMP2 ; XTMP1 = W[-15] ror 7
or y0, y2 ; y0 = MAJ = (a|c)&b)|(a&c)
add h, y0 ; h = h + S1 + CH + k + w + S0 + MAJ
ROTATE_ARGS
movdqa XTMP2, XTMP3 ; XTMP2 = W[-15]
mov y0, e ; y0 = e
mov y1, a ; y1 = a
movdqa XTMP4, XTMP3 ; XTMP4 = W[-15]
ror y0, (25-11) ; y0 = e >> (25-11)
xor y0, e ; y0 = e ^ (e >> (25-11))
mov y2, f ; y2 = f
ror y1, (22-13) ; y1 = a >> (22-13)
pslld XTMP3, (32-18)
xor y1, a ; y1 = a ^ (a >> (22-13)
ror y0, (11-6) ; y0 = (e >> (11-6)) ^ (e >> (25-6))
xor y2, g ; y2 = f^g
psrld XTMP2, 18
ror y1, (13-2) ; y1 = (a >> (13-2)) ^ (a >> (22-2))
xor y0, e ; y0 = e ^ (e >> (11-6)) ^ (e >> (25-6))
and y2, e ; y2 = (f^g)&e
ror y0, 6 ; y0 = S1 = (e>>6) & (e>>11) ^ (e>>25)
pxor XTMP1, XTMP3
xor y1, a ; y1 = a ^ (a >> (13-2)) ^ (a >> (22-2))
xor y2, g ; y2 = CH = ((f^g)&e)^g
psrld XTMP4, 3 ; XTMP4 = W[-15] >> 3
add y2, y0 ; y2 = S1 + CH
add y2, [rsp + _XFER + 1*4] ; y2 = k + w + S1 + CH
ror y1, 2 ; y1 = S0 = (a>>2) ^ (a>>13) ^ (a>>22)
pxor XTMP1, XTMP2 ; XTMP1 = W[-15] ror 7 ^ W[-15] ror 18
mov y0, a ; y0 = a
add h, y2 ; h = h + S1 + CH + k + w
mov y2, a ; y2 = a
pxor XTMP1, XTMP4 ; XTMP1 = s0
or y0, c ; y0 = a|c
add d, h ; d = d + h + S1 + CH + k + w
and y2, c ; y2 = a&c
;; compute low s1
pshufd XTMP2, X3, 11111010b ; XTMP2 = W[-2] {BBAA}
and y0, b ; y0 = (a|c)&b
add h, y1 ; h = h + S1 + CH + k + w + S0
paddd XTMP0, XTMP1 ; XTMP0 = W[-16] + W[-7] + s0
or y0, y2 ; y0 = MAJ = (a|c)&b)|(a&c)
add h, y0 ; h = h + S1 + CH + k + w + S0 + MAJ
ROTATE_ARGS
movdqa XTMP3, XTMP2 ; XTMP3 = W[-2] {BBAA}
mov y0, e ; y0 = e
mov y1, a ; y1 = a
ror y0, (25-11) ; y0 = e >> (25-11)
movdqa XTMP4, XTMP2 ; XTMP4 = W[-2] {BBAA}
xor y0, e ; y0 = e ^ (e >> (25-11))
ror y1, (22-13) ; y1 = a >> (22-13)
mov y2, f ; y2 = f
xor y1, a ; y1 = a ^ (a >> (22-13)
ror y0, (11-6) ; y0 = (e >> (11-6)) ^ (e >> (25-6))
psrlq XTMP2, 17 ; XTMP2 = W[-2] ror 17 {xBxA}
xor y2, g ; y2 = f^g
psrlq XTMP3, 19 ; XTMP3 = W[-2] ror 19 {xBxA}
xor y0, e ; y0 = e ^ (e >> (11-6)) ^ (e >> (25-6))
and y2, e ; y2 = (f^g)&e
psrld XTMP4, 10 ; XTMP4 = W[-2] >> 10 {BBAA}
ror y1, (13-2) ; y1 = (a >> (13-2)) ^ (a >> (22-2))
xor y1, a ; y1 = a ^ (a >> (13-2)) ^ (a >> (22-2))
xor y2, g ; y2 = CH = ((f^g)&e)^g
ror y0, 6 ; y0 = S1 = (e>>6) & (e>>11) ^ (e>>25)
pxor XTMP2, XTMP3
add y2, y0 ; y2 = S1 + CH
ror y1, 2 ; y1 = S0 = (a>>2) ^ (a>>13) ^ (a>>22)
add y2, [rsp + _XFER + 2*4] ; y2 = k + w + S1 + CH
pxor XTMP4, XTMP2 ; XTMP4 = s1 {xBxA}
mov y0, a ; y0 = a
add h, y2 ; h = h + S1 + CH + k + w
mov y2, a ; y2 = a
pshufb XTMP4, SHUF_00BA ; XTMP4 = s1 {00BA}
or y0, c ; y0 = a|c
add d, h ; d = d + h + S1 + CH + k + w
and y2, c ; y2 = a&c
paddd XTMP0, XTMP4 ; XTMP0 = {..., ..., W[1], W[0]}
and y0, b ; y0 = (a|c)&b
add h, y1 ; h = h + S1 + CH + k + w + S0
;; compute high s1
pshufd XTMP2, XTMP0, 01010000b ; XTMP2 = W[-2] {DDCC}
or y0, y2 ; y0 = MAJ = (a|c)&b)|(a&c)
add h, y0 ; h = h + S1 + CH + k + w + S0 + MAJ
ROTATE_ARGS
movdqa XTMP3, XTMP2 ; XTMP3 = W[-2] {DDCC}
mov y0, e ; y0 = e
ror y0, (25-11) ; y0 = e >> (25-11)
mov y1, a ; y1 = a
movdqa X0, XTMP2 ; X0 = W[-2] {DDCC}
ror y1, (22-13) ; y1 = a >> (22-13)
xor y0, e ; y0 = e ^ (e >> (25-11))
mov y2, f ; y2 = f
ror y0, (11-6) ; y0 = (e >> (11-6)) ^ (e >> (25-6))
psrlq XTMP2, 17 ; XTMP2 = W[-2] ror 17 {xDxC}
xor y1, a ; y1 = a ^ (a >> (22-13)
xor y2, g ; y2 = f^g
psrlq XTMP3, 19 ; XTMP3 = W[-2] ror 19 {xDxC}
xor y0, e ; y0 = e ^ (e >> (11-6)) ^ (e >> (25-6))
and y2, e ; y2 = (f^g)&e
ror y1, (13-2) ; y1 = (a >> (13-2)) ^ (a >> (22-2))
psrld X0, 10 ; X0 = W[-2] >> 10 {DDCC}
xor y1, a ; y1 = a ^ (a >> (13-2)) ^ (a >> (22-2))
ror y0, 6 ; y0 = S1 = (e>>6) & (e>>11) ^ (e>>25)
xor y2, g ; y2 = CH = ((f^g)&e)^g
pxor XTMP2, XTMP3
ror y1, 2 ; y1 = S0 = (a>>2) ^ (a>>13) ^ (a>>22)
add y2, y0 ; y2 = S1 + CH
add y2, [rsp + _XFER + 3*4] ; y2 = k + w + S1 + CH
pxor X0, XTMP2 ; X0 = s1 {xDxC}
mov y0, a ; y0 = a
add h, y2 ; h = h + S1 + CH + k + w
mov y2, a ; y2 = a
pshufb X0, SHUF_DC00 ; X0 = s1 {DC00}
or y0, c ; y0 = a|c
add d, h ; d = d + h + S1 + CH + k + w
and y2, c ; y2 = a&c
paddd X0, XTMP0 ; X0 = {W[3], W[2], W[1], W[0]}
and y0, b ; y0 = (a|c)&b
add h, y1 ; h = h + S1 + CH + k + w + S0
or y0, y2 ; y0 = MAJ = (a|c)&b)|(a&c)
add h, y0 ; h = h + S1 + CH + k + w + S0 + MAJ
ROTATE_ARGS
rotate_Xs
%endm
;; input is [rsp + _XFER + %1 * 4]
%macro DO_ROUND 1
mov y0, e ; y0 = e
ror y0, (25-11) ; y0 = e >> (25-11)
mov y1, a ; y1 = a
xor y0, e ; y0 = e ^ (e >> (25-11))
ror y1, (22-13) ; y1 = a >> (22-13)
mov y2, f ; y2 = f
xor y1, a ; y1 = a ^ (a >> (22-13)
ror y0, (11-6) ; y0 = (e >> (11-6)) ^ (e >> (25-6))
xor y2, g ; y2 = f^g
xor y0, e ; y0 = e ^ (e >> (11-6)) ^ (e >> (25-6))
ror y1, (13-2) ; y1 = (a >> (13-2)) ^ (a >> (22-2))
and y2, e ; y2 = (f^g)&e
xor y1, a ; y1 = a ^ (a >> (13-2)) ^ (a >> (22-2))
ror y0, 6 ; y0 = S1 = (e>>6) & (e>>11) ^ (e>>25)
xor y2, g ; y2 = CH = ((f^g)&e)^g
add y2, y0 ; y2 = S1 + CH
ror y1, 2 ; y1 = S0 = (a>>2) ^ (a>>13) ^ (a>>22)
add y2, [rsp + _XFER + %1 * 4] ; y2 = k + w + S1 + CH
mov y0, a ; y0 = a
add h, y2 ; h = h + S1 + CH + k + w
mov y2, a ; y2 = a
or y0, c ; y0 = a|c
add d, h ; d = d + h + S1 + CH + k + w
and y2, c ; y2 = a&c
and y0, b ; y0 = (a|c)&b
add h, y1 ; h = h + S1 + CH + k + w + S0
or y0, y2 ; y0 = MAJ = (a|c)&b)|(a&c)
add h, y0 ; h = h + S1 + CH + k + w + S0 + MAJ
ROTATE_ARGS
%endm
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; void sha256_sse4(void *input_data, UINT32 digest[8], UINT64 num_blks)
;; arg 1 : pointer to input data
;; arg 2 : pointer to digest
;; arg 3 : Num blocks
section .text
global sha256_sse4
align 32
sha256_sse4:
push rbx
%ifndef LINUX
push rsi
push rdi
%endif
push rbp
push r13
push r14
push r15
sub rsp,STACK_SIZE
%ifndef LINUX
movdqa [rsp + _XMM_SAVE + 0*16],xmm6
movdqa [rsp + _XMM_SAVE + 1*16],xmm7
movdqa [rsp + _XMM_SAVE + 2*16],xmm8
movdqa [rsp + _XMM_SAVE + 3*16],xmm9
movdqa [rsp + _XMM_SAVE + 4*16],xmm10
movdqa [rsp + _XMM_SAVE + 5*16],xmm11
movdqa [rsp + _XMM_SAVE + 6*16],xmm12
%endif
shl NUM_BLKS, 6 ; convert to bytes
jz done_hash
add NUM_BLKS, INP ; pointer to end of data
mov [rsp + _INP_END], NUM_BLKS
;; load initial digest
mov a,[4*0 + CTX]
mov b,[4*1 + CTX]
mov c,[4*2 + CTX]
mov d,[4*3 + CTX]
mov e,[4*4 + CTX]
mov f,[4*5 + CTX]
mov g,[4*6 + CTX]
mov h,[4*7 + CTX]
movdqa BYTE_FLIP_MASK, [PSHUFFLE_BYTE_FLIP_MASK wrt rip]
movdqa SHUF_00BA, [_SHUF_00BA wrt rip]
movdqa SHUF_DC00, [_SHUF_DC00 wrt rip]
loop0:
lea TBL,[K256 wrt rip]
;; byte swap first 16 dwords
COPY_XMM_AND_BSWAP X0, [INP + 0*16], BYTE_FLIP_MASK
COPY_XMM_AND_BSWAP X1, [INP + 1*16], BYTE_FLIP_MASK
COPY_XMM_AND_BSWAP X2, [INP + 2*16], BYTE_FLIP_MASK
COPY_XMM_AND_BSWAP X3, [INP + 3*16], BYTE_FLIP_MASK
mov [rsp + _INP], INP
;; schedule 48 input dwords, by doing 3 rounds of 16 each
mov SRND, 3
align 16
loop1:
movdqa XFER, [TBL + 0*16]
paddd XFER, X0
movdqa [rsp + _XFER], XFER
FOUR_ROUNDS_AND_SCHED
movdqa XFER, [TBL + 1*16]
paddd XFER, X0
movdqa [rsp + _XFER], XFER
FOUR_ROUNDS_AND_SCHED
movdqa XFER, [TBL + 2*16]
paddd XFER, X0
movdqa [rsp + _XFER], XFER
FOUR_ROUNDS_AND_SCHED
movdqa XFER, [TBL + 3*16]
paddd XFER, X0
movdqa [rsp + _XFER], XFER
add TBL, 4*16
FOUR_ROUNDS_AND_SCHED
sub SRND, 1
jne loop1
mov SRND, 2
loop2:
paddd X0, [TBL + 0*16]
movdqa [rsp + _XFER], X0
DO_ROUND 0
DO_ROUND 1
DO_ROUND 2
DO_ROUND 3
paddd X1, [TBL + 1*16]
movdqa [rsp + _XFER], X1
add TBL, 2*16
DO_ROUND 0
DO_ROUND 1
DO_ROUND 2
DO_ROUND 3
movdqa X0, X2
movdqa X1, X3
sub SRND, 1
jne loop2
addm [4*0 + CTX],a
addm [4*1 + CTX],b
addm [4*2 + CTX],c
addm [4*3 + CTX],d
addm [4*4 + CTX],e
addm [4*5 + CTX],f
addm [4*6 + CTX],g
addm [4*7 + CTX],h
mov INP, [rsp + _INP]
add INP, 64
cmp INP, [rsp + _INP_END]
jne loop0
done_hash:
%ifndef LINUX
movdqa xmm6,[rsp + _XMM_SAVE + 0*16]
movdqa xmm7,[rsp + _XMM_SAVE + 1*16]
movdqa xmm8,[rsp + _XMM_SAVE + 2*16]
movdqa xmm9,[rsp + _XMM_SAVE + 3*16]
movdqa xmm10,[rsp + _XMM_SAVE + 4*16]
movdqa xmm11,[rsp + _XMM_SAVE + 5*16]
movdqa xmm12,[rsp + _XMM_SAVE + 6*16]
%endif
add rsp, STACK_SIZE
pop r15
pop r14
pop r13
pop rbp
%ifndef LINUX
pop rdi
pop rsi
%endif
pop rbx
ret
section .data
align 64
K256:
dd 0x428a2f98,0x71374491,0xb5c0fbcf,0xe9b5dba5
dd 0x3956c25b,0x59f111f1,0x923f82a4,0xab1c5ed5
dd 0xd807aa98,0x12835b01,0x243185be,0x550c7dc3
dd 0x72be5d74,0x80deb1fe,0x9bdc06a7,0xc19bf174
dd 0xe49b69c1,0xefbe4786,0x0fc19dc6,0x240ca1cc
dd 0x2de92c6f,0x4a7484aa,0x5cb0a9dc,0x76f988da
dd 0x983e5152,0xa831c66d,0xb00327c8,0xbf597fc7
dd 0xc6e00bf3,0xd5a79147,0x06ca6351,0x14292967
dd 0x27b70a85,0x2e1b2138,0x4d2c6dfc,0x53380d13
dd 0x650a7354,0x766a0abb,0x81c2c92e,0x92722c85
dd 0xa2bfe8a1,0xa81a664b,0xc24b8b70,0xc76c51a3
dd 0xd192e819,0xd6990624,0xf40e3585,0x106aa070
dd 0x19a4c116,0x1e376c08,0x2748774c,0x34b0bcb5
dd 0x391c0cb3,0x4ed8aa4a,0x5b9cca4f,0x682e6ff3
dd 0x748f82ee,0x78a5636f,0x84c87814,0x8cc70208
dd 0x90befffa,0xa4506ceb,0xbef9a3f7,0xc67178f2
PSHUFFLE_BYTE_FLIP_MASK: ddq 0x0c0d0e0f08090a0b0405060700010203
; shuffle xBxA -> 00BA
_SHUF_00BA: ddq 0xFFFFFFFFFFFFFFFF0b0a090803020100
; shuffle xDxC -> DC00
_SHUF_DC00: ddq 0x0b0a090803020100FFFFFFFFFFFFFFFF
*/
#endif
| [
"61309386+bitsilverok@users.noreply.github.com"
] | 61309386+bitsilverok@users.noreply.github.com |
2bc7924d67e141f4018cd742e27f90e77bf6b4e3 | a9aca5fbf458c2799022fad925aaf5066fcad19e | /sources/model/Document.cpp | 2ff2fe62e876cb265c37f716db50b40a565d8a01 | [
"MIT"
] | permissive | btolfa/aspose-words-cloud-cpp | ce68bce98392220038b3878eb6a1b3cf67a22b11 | 570980f5d1b02725ed792277a1c9923c50f8f8ff | refs/heads/master | 2020-04-07T16:19:28.054962 | 2018-11-21T09:21:54 | 2018-11-21T09:21:54 | 158,524,516 | 0 | 0 | null | 2018-11-21T09:37:52 | 2018-11-21T09:37:51 | null | UTF-8 | C++ | false | false | 9,777 | cpp | /** --------------------------------------------------------------------------------------------------------------------
* <copyright company="Aspose" file="Document.cpp">
* Copyright (c) 2018 Aspose.Words for Cloud
* </copyright>
* <summary>
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
* </summary>
-------------------------------------------------------------------------------------------------------------------- **/
#include "Document.h"
namespace io {
namespace swagger {
namespace client {
namespace model {
Document::Document()
{
m_LinksIsSet = false;
m_FileName = utility::conversions::to_string_t("");
m_FileNameIsSet = false;
m_SourceFormat = utility::conversions::to_string_t("");
m_IsEncrypted = false;
m_IsSigned = false;
m_DocumentPropertiesIsSet = false;
}
Document::~Document()
{
}
void Document::validate()
{
// TODO: implement validation
}
web::json::value Document::toJson() const
{
web::json::value val = web::json::value::object();
{
std::vector<web::json::value> jsonArray;
for( auto& item : m_Links )
{
jsonArray.push_back(ModelBase::toJson(item));
}
if(jsonArray.size() > 0)
{
val[utility::conversions::to_string_t("Links")] = web::json::value::array(jsonArray);
}
}
if(m_FileNameIsSet)
{
val[utility::conversions::to_string_t("FileName")] = ModelBase::toJson(m_FileName);
}
val[utility::conversions::to_string_t("SourceFormat")] = ModelBase::toJson(m_SourceFormat);
val[utility::conversions::to_string_t("IsEncrypted")] = ModelBase::toJson(m_IsEncrypted);
val[utility::conversions::to_string_t("IsSigned")] = ModelBase::toJson(m_IsSigned);
if(m_DocumentPropertiesIsSet)
{
val[utility::conversions::to_string_t("DocumentProperties")] = ModelBase::toJson(m_DocumentProperties);
}
return val;
}
void Document::fromJson(web::json::value& val)
{
{
m_Links.clear();
std::vector<web::json::value> jsonArray;
if(val.has_field(utility::conversions::to_string_t("Links")))
{
for( auto& item : val[utility::conversions::to_string_t("Links")].as_array() )
{
if(item.is_null())
{
m_Links.push_back( std::shared_ptr<Link>(nullptr) );
}
else
{
std::shared_ptr<Link> newItem(new Link());
newItem->fromJson(item);
m_Links.push_back( newItem );
}
}
}
}
if(val.has_field(utility::conversions::to_string_t("FileName")))
{
web::json::value& fieldValue = val[utility::conversions::to_string_t("FileName")];
if(!fieldValue.is_null())
{
setFileName(ModelBase::stringFromJson(fieldValue));
}
}
setSourceFormat(ModelBase::stringFromJson(val[utility::conversions::to_string_t("SourceFormat")]));
setIsEncrypted(ModelBase::boolFromJson(val[utility::conversions::to_string_t("IsEncrypted")]));
setIsSigned(ModelBase::boolFromJson(val[utility::conversions::to_string_t("IsSigned")]));
if(val.has_field(utility::conversions::to_string_t("DocumentProperties")))
{
web::json::value& fieldValue = val[utility::conversions::to_string_t("DocumentProperties")];
if(!fieldValue.is_null())
{
std::shared_ptr<DocumentProperties> newItem(new DocumentProperties());
newItem->fromJson(fieldValue);
setDocumentProperties( newItem );
}
}
}
void Document::toMultipart(std::shared_ptr<MultipartFormData> multipart, const utility::string_t& prefix) const
{
utility::string_t namePrefix = prefix;
if(namePrefix.size() > 0 && namePrefix.substr(namePrefix.size() - 1) != utility::conversions::to_string_t("."))
{
namePrefix += utility::conversions::to_string_t(".");
}
{
std::vector<web::json::value> jsonArray;
for( auto& item : m_Links )
{
jsonArray.push_back(ModelBase::toJson(item));
}
if(jsonArray.size() > 0)
{
multipart->add(ModelBase::toHttpContent(namePrefix + utility::conversions::to_string_t("Links"), web::json::value::array(jsonArray), utility::conversions::to_string_t("application/json")));
}
}
if(m_FileNameIsSet)
{
multipart->add(ModelBase::toHttpContent(namePrefix + utility::conversions::to_string_t("FileName"), m_FileName));
}
multipart->add(ModelBase::toHttpContent(namePrefix + utility::conversions::to_string_t("SourceFormat"), m_SourceFormat));
multipart->add(ModelBase::toHttpContent(namePrefix + utility::conversions::to_string_t("IsEncrypted"), m_IsEncrypted));
multipart->add(ModelBase::toHttpContent(namePrefix + utility::conversions::to_string_t("IsSigned"), m_IsSigned));
if(m_DocumentPropertiesIsSet)
{
if (m_DocumentProperties.get())
{
m_DocumentProperties->toMultipart(multipart, utility::conversions::to_string_t("DocumentProperties."));
}
}
}
void Document::fromMultiPart(std::shared_ptr<MultipartFormData> multipart, const utility::string_t& prefix)
{
utility::string_t namePrefix = prefix;
if(namePrefix.size() > 0 && namePrefix.substr(namePrefix.size() - 1) != utility::conversions::to_string_t("."))
{
namePrefix += utility::conversions::to_string_t(".");
}
{
m_Links.clear();
if(multipart->hasContent(utility::conversions::to_string_t("Links")))
{
web::json::value jsonArray = web::json::value::parse(ModelBase::stringFromHttpContent(multipart->getContent(utility::conversions::to_string_t("Links"))));
for( auto& item : jsonArray.as_array() )
{
if(item.is_null())
{
m_Links.push_back( std::shared_ptr<Link>(nullptr) );
}
else
{
std::shared_ptr<Link> newItem(new Link());
newItem->fromJson(item);
m_Links.push_back( newItem );
}
}
}
}
if(multipart->hasContent(utility::conversions::to_string_t("FileName")))
{
setFileName(ModelBase::stringFromHttpContent(multipart->getContent(utility::conversions::to_string_t("FileName"))));
}
setSourceFormat(ModelBase::stringFromHttpContent(multipart->getContent(utility::conversions::to_string_t("SourceFormat"))));
setIsEncrypted(ModelBase::boolFromHttpContent(multipart->getContent(utility::conversions::to_string_t("IsEncrypted"))));
setIsSigned(ModelBase::boolFromHttpContent(multipart->getContent(utility::conversions::to_string_t("IsSigned"))));
if(multipart->hasContent(utility::conversions::to_string_t("DocumentProperties")))
{
if(multipart->hasContent(utility::conversions::to_string_t("DocumentProperties")))
{
std::shared_ptr<DocumentProperties> newItem(new DocumentProperties());
newItem->fromMultiPart(multipart, utility::conversions::to_string_t("DocumentProperties."));
setDocumentProperties( newItem );
}
}
}
std::vector<std::shared_ptr<Link>>& Document::getLinks()
{
return m_Links;
}
void Document::setLinks(std::vector<std::shared_ptr<Link>> value)
{
m_Links = value;
m_LinksIsSet = true;
}
bool Document::linksIsSet() const
{
return m_LinksIsSet;
}
void Document::unsetLinks()
{
m_LinksIsSet = false;
}
utility::string_t Document::getFileName() const
{
return m_FileName;
}
void Document::setFileName(utility::string_t value)
{
m_FileName = value;
m_FileNameIsSet = true;
}
bool Document::fileNameIsSet() const
{
return m_FileNameIsSet;
}
void Document::unsetFileName()
{
m_FileNameIsSet = false;
}
utility::string_t Document::getSourceFormat() const
{
return m_SourceFormat;
}
void Document::setSourceFormat(utility::string_t value)
{
m_SourceFormat = value;
}
bool Document::isIsEncrypted() const
{
return m_IsEncrypted;
}
void Document::setIsEncrypted(bool value)
{
m_IsEncrypted = value;
}
bool Document::isIsSigned() const
{
return m_IsSigned;
}
void Document::setIsSigned(bool value)
{
m_IsSigned = value;
}
std::shared_ptr<DocumentProperties> Document::getDocumentProperties() const
{
return m_DocumentProperties;
}
void Document::setDocumentProperties(std::shared_ptr<DocumentProperties> value)
{
m_DocumentProperties = value;
m_DocumentPropertiesIsSet = true;
}
bool Document::documentPropertiesIsSet() const
{
return m_DocumentPropertiesIsSet;
}
void Document::unsetDocumentProperties()
{
m_DocumentPropertiesIsSet = false;
}
}
}
}
}
| [
"evgeny.kuleshov@aspose.com"
] | evgeny.kuleshov@aspose.com |
70503377e32ac0eef46978ee96f880295e3c41ec | f928cecc500ba2d77f2b9b44b515f959d56494a7 | /structure/structure/Header.h | c4f4a63240ed877e3e9b9633a01fdd53ade618c1 | [] | no_license | Roman-max/DZ | 5d149fafb161c2d84ab5b7eb4bda7bb7a948c9ac | 9dc7d8d72dfe77fd2d4457510ce173af156af535 | refs/heads/master | 2020-07-07T03:01:59.197942 | 2019-11-30T09:18:14 | 2019-11-30T09:18:14 | 194,737,149 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 601 | h | #pragma once
#include <iostream>
#include <fstream>
#include <string>
#include <ctime>
using namespace std;
struct car
{
string model;
string color;
int num;
int strong;
int vaga;
int data;
};
struct data1
{
int chislo;
int mis;
int rik;
};
void Print(car toyota, data1 data2);
void Replace(car toyota);
void evro(data1 data2);
void stron(car toyota);
void cate(car toyota);
//
//struct MyPerson
//{
// int age;
// string name;
// float height;
// float weidht;
//};
//
//
//void Print(MyPerson roma);
//
//void File(MyPerson roma);
//void Repalcer(char* str, char symbout, char symbin); | [
"rpavlushko@gmail.com"
] | rpavlushko@gmail.com |
2a577ab84da9efc85f89cb1b1e1f0d1ab4e186c1 | 2aee3c10852a29e78776e0cc1a874d1d7a6c81bb | /room.h | f1482ed5b1b1f3ebd867c86a5f5e7b45e16f26ce | [] | no_license | yang49/CC3K | a9f126fcdd53e2115a05b90e16314fe5702a9c94 | 5eb42a17f543ea4692463184594500e4f0a0a31b | refs/heads/master | 2021-01-10T01:22:33.709571 | 2016-01-05T05:55:54 | 2016-01-05T05:55:54 | 47,202,988 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 295 | h | #ifndef __ROOM_H__
#define __ROOM_H__
#include "cell.h"
#include <vector>
#include <cstdlib>
class Room {
std::vector<Cell*> rm;
public:
int giveCoords(int &r, int &c);
bool isFilled();
void addFloor(Cell*);
void changePos(const int &pos, Cell *c);
void cleanRoom();
};
#endif
| [
"y655li@uwaterloo.ca"
] | y655li@uwaterloo.ca |
da1d4c7ca74ba69fbdaf9ac658d2aff3ec9475ac | 1afd4baf4716b493a64abd6cb0975001c3309c5f | /WasmVM/cmake-build-debug/test/unittests/lib/dataTypes/FuncType_unittest.cpp | cf72666416c414f5a883015f3636d5e1cc2b11b3 | [
"BSD-3-Clause"
] | permissive | bigdot123456/wasmLearning | 30010ea88dded62053afe9d33d9486b40dd1f515 | 640a6e7d56976122f3c7332d16b803e674616f12 | refs/heads/master | 2022-12-26T01:07:13.987869 | 2019-09-30T08:54:38 | 2019-09-30T08:54:38 | 211,255,662 | 0 | 0 | null | 2022-12-10T03:51:46 | 2019-09-27T06:56:14 | Makefile | UTF-8 | C++ | false | false | 310 | cpp | #include </Users/liqinghua/git/wasmLearning/WasmVM/test/unittests/lib/dataTypes/FuncType_unittest.hpp>
int main(int argc, char *argv[]){
skypat::Test::Initialize(argc, argv);
skypat::Test::RunAll();
return (skypat::testing::UnitTest::self()->getNumOfFails() == 0) ? EXIT_SUCCESS : EXIT_FAILURE;
}
| [
"billli@matrix.space"
] | billli@matrix.space |
c2bf40e2b739de94f9c6a93859fa314604248201 | 158744e689dbc0e2ecb8cbd48b3156af229fe2c1 | /test-suite/generated-src/cpp/record_with_derivings.hpp | 5f3e4f93d56412ece77baff754f1a17f60619dbf | [
"Apache-2.0"
] | permissive | abduld/djinni | 02963398dc61f8e0763d476287b50e73e66be779 | c9cebff9ceb1a89ded31ac022c277d30fe54fdf5 | refs/heads/master | 2023-04-07T17:58:25.255945 | 2014-12-15T23:14:34 | 2014-12-15T23:14:37 | 28,728,178 | 0 | 0 | Apache-2.0 | 2023-04-04T00:42:38 | 2015-01-02T22:24:22 | Scala | UTF-8 | C++ | false | false | 786 | hpp | // AUTOGENERATED FILE - DO NOT MODIFY!
// This file generated by Djinni from derivings.djinni
#pragma once
#include <cstdint>
#include <string>
#include <utility>
struct RecordWithDerivings final {
int32_t key1;
std::string key2;
bool operator==(const RecordWithDerivings & other) const;
bool operator!=(const RecordWithDerivings & other) const;
bool operator<(const RecordWithDerivings & other) const;
bool operator>(const RecordWithDerivings & other) const;
bool operator<=(const RecordWithDerivings & other) const;
bool operator>=(const RecordWithDerivings & other) const;
RecordWithDerivings(
int32_t key1,
std::string key2) :
key1(std::move(key1)),
key2(std::move(key2)) {
}
};
| [
"j4cbo@dropbox.com"
] | j4cbo@dropbox.com |
8b795cbafa606a2a2ce324484d63baebf51bb5af | 004e499a6dbbd363555b3134ac015c7374ad33a5 | /AcWing/4.5.18. 重建二叉树.cpp | 4e20956318bc3d2e7b29307c7c8c230049386ada | [] | no_license | wwwkkkp/Algorithm | c8721eae64d15d60beb9ef6ce37c70b9e78e8f6d | fc4d103700212264d3d84cb374353b0476f371af | refs/heads/master | 2022-11-24T13:45:29.845925 | 2020-07-14T03:24:39 | 2020-07-14T03:24:39 | 279,460,886 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,299 | cpp | //23.18. 重建二叉树
输入一棵二叉树前序遍历和中序遍历的结果,请重建该二叉树。
注意:
二叉树中每个节点的值都互不相同;
输入的前序遍历和中序遍历一定合法;
样例
给定:
前序遍历是:[3, 9, 20, 15, 7]
中序遍历是:[9, 3, 15, 20, 7]
返回:[3, 9, 20, null, null, 15, 7, null, null, null, null]
返回的二叉树如下所示:
3
/ \
9 20
/ \
15 7
/**
* Definition for a binary tree node.
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode(int x) : val(x), left(NULL), right(NULL) {}
* };
*/
//前序中序还原
class Solution {
public:
vector<int> pe,in;
unordered_map<int,int>up;
TreeNode* buildTree(vector<int>& preorder, vector<int>& inorder) {
pe=preorder;
in=inorder;
for(int i=0;i<pe.size();i++)
up[in[i]]=i;
return dfs(0,pe.size()-1,0,in.size()-1);
}
TreeNode* dfs(int pl,int pr,int il,int ir){ //前序起点终点,中序起点终点的构成的树的头结点
if(pl>pr) return NULL;
TreeNode* a=new TreeNode(pe[pl]);
int n=up[pe[pl]];
TreeNode* left=dfs(pl+1,n-il+pl,il,n-1);
TreeNode* right=dfs(n-il+pl+1,pr,n+1,ir);
a->left=left;
a->right=right;
return a;
}
}; | [
"1774074544@qq.com"
] | 1774074544@qq.com |
db2ade085efdcd2f645ac21600a662b32e4e2472 | 17f37b79643b9c6acd181c55c43a3ab4c889433e | /cavity/2.3/phi | 6e399becc69d53240d0a5994259981b63d4109c3 | [] | no_license | aashay201297/OpenFOAM-simulations | 5208b766ab1e715178e42c73d028cc43d17ec4c9 | 273f60ef66e6f5b0c99a53ac52de406be0e876a2 | refs/heads/master | 2021-01-23T06:34:17.044650 | 2017-06-04T19:02:27 | 2017-06-04T19:02:27 | 86,373,858 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,794 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class surfaceScalarField;
location "2.3";
object phi;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 3 -1 0 0 0 0];
internalField nonuniform List<scalar>
760
(
1.42423e-08
-1.42596e-08
-2.22073e-08
3.64495e-08
-1.14275e-07
9.20677e-08
-2.4551e-07
1.31235e-07
-3.96125e-07
1.50616e-07
-5.47404e-07
1.51279e-07
-6.83238e-07
1.35834e-07
-7.90717e-07
1.07479e-07
-8.60265e-07
6.95478e-08
-8.857e-07
2.54345e-08
-8.64376e-07
-2.13238e-08
-7.97439e-07
-6.69363e-08
-6.90128e-07
-1.07311e-07
-5.52006e-07
-1.38122e-07
-3.96966e-07
-1.5504e-07
-2.42762e-07
-1.54204e-07
-1.09739e-07
-1.33024e-07
-1.84166e-08
-9.13223e-08
1.56907e-08
-3.41074e-08
1.56908e-08
-3.42132e-08
1.99538e-08
-1.80384e-07
1.8262e-07
-4.34021e-07
3.45704e-07
-7.64494e-07
4.61708e-07
-1.1323e-06
5.18426e-07
-1.49737e-06
5.16343e-07
-1.82349e-06
4.61955e-07
-2.08071e-06
3.64698e-07
-2.24646e-06
2.35299e-07
-2.30623e-06
8.52017e-08
-2.25408e-06
-7.34703e-08
-2.09321e-06
-2.27804e-07
-1.8364e-06
-3.64122e-07
-1.50615e-06
-4.68369e-07
-1.13416e-06
-5.27029e-07
-7.59574e-07
-5.28793e-07
-4.25428e-07
-4.67169e-07
-1.72703e-07
-3.44048e-07
-3.08037e-08
-1.76007e-07
-1.51131e-08
-9.22336e-08
1.12188e-07
-3.57022e-07
4.47409e-07
-7.64616e-07
7.53298e-07
-1.26858e-06
9.65677e-07
-1.81484e-06
1.06468e-06
-2.34923e-06
1.05073e-06
-2.82265e-06
9.3538e-07
-3.19419e-06
7.36234e-07
-3.43287e-06
4.73982e-07
-3.51878e-06
1.71108e-07
-3.44383e-06
-1.4842e-07
-3.21249e-06
-4.59141e-07
-2.84231e-06
-7.34305e-07
-2.36397e-06
-9.4671e-07
-1.82044e-06
-1.07056e-06
-1.26457e-06
-1.08466e-06
-7.54571e-07
-9.77169e-07
-3.46992e-07
-7.51626e-07
-8.73413e-08
-4.35658e-07
-1.02455e-07
-1.45221e-07
2.57408e-07
-5.25497e-07
8.27686e-07
-1.08171e-06
1.30951e-06
-1.74763e-06
1.6316e-06
-2.4545e-06
1.77155e-06
-3.13659e-06
1.73282e-06
-3.73554e-06
1.53434e-06
-4.20319e-06
1.20388e-06
-4.50322e-06
7.74013e-07
-4.61223e-06
2.80121e-07
-4.52055e-06
-2.401e-07
-4.23301e-06
-7.46689e-07
-3.7696e-06
-1.19771e-06
-3.16583e-06
-1.55048e-06
-2.47203e-06
-1.76437e-06
-1.75117e-06
-1.80551e-06
-1.07457e-06
-1.65377e-06
-5.15168e-07
-1.31103e-06
-1.39323e-07
-8.11502e-07
-2.41778e-07
-1.93622e-07
4.5103e-07
-6.85041e-07
1.31911e-06
-1.3857e-06
2.01017e-06
-2.20737e-06
2.45327e-06
-3.06564e-06
2.62982e-06
-3.884e-06
2.55118e-06
-4.59677e-06
2.2471e-06
-5.15088e-06
1.75799e-06
-5.50676e-06
1.12989e-06
-5.63884e-06
4.12201e-07
-5.53606e-06
-3.42879e-07
-5.20265e-06
-1.08009e-06
-4.65912e-06
-1.74124e-06
-3.94316e-06
-2.26645e-06
-3.10986e-06
-2.59766e-06
-2.23061e-06
-2.68476e-06
-1.38971e-06
-2.49467e-06
-6.78531e-07
-2.0222e-06
-1.87777e-07
-1.30226e-06
-4.29555e-07
-2.39953e-07
6.90983e-07
-8.40391e-07
1.91954e-06
-1.68337e-06
2.85315e-06
-2.65718e-06
3.42708e-06
-3.66101e-06
3.63365e-06
-4.60799e-06
3.49816e-06
-5.42661e-06
3.06572e-06
-6.06086e-06
2.39224e-06
-6.46966e-06
1.5387e-06
-6.62636e-06
5.68901e-07
-6.51862e-06
-4.5062e-07
-6.14907e-06
-1.44964e-06
-5.53678e-06
-2.35353e-06
-4.71912e-06
-3.08411e-06
-3.75362e-06
-3.56317e-06
-2.71859e-06
-3.71979e-06
-1.71161e-06
-3.50165e-06
-8.44696e-07
-2.88911e-06
-2.36189e-07
-1.91076e-06
-6.65744e-07
-2.86757e-07
9.77739e-07
-9.97125e-07
2.62991e-06
-1.98216e-06
3.83818e-06
-3.10506e-06
4.54999e-06
-4.24811e-06
4.7767e-06
-5.31502e-06
4.56506e-06
-6.23035e-06
3.98106e-06
-6.93743e-06
3.09932e-06
-7.39577e-06
1.99703e-06
-7.5789e-06
7.5204e-07
-7.47343e-06
-5.5609e-07
-7.07937e-06
-1.8437e-06
-6.41211e-06
-3.02079e-06
-5.50577e-06
-3.99044e-06
-4.41721e-06
-4.65174e-06
-3.22948e-06
-4.90752e-06
-2.05302e-06
-4.67811e-06
-1.02257e-06
-3.91956e-06
-2.88291e-07
-2.64504e-06
-9.54035e-07
-3.3634e-07
1.31408e-06
-1.1604e-06
3.45397e-06
-2.28808e-06
4.96586e-06
-3.55509e-06
5.817e-06
-4.82675e-06
6.04836e-06
-5.99923e-06
5.73754e-06
-6.99622e-06
4.97805e-06
-7.76373e-06
3.86683e-06
-8.26471e-06
2.498e-06
-8.47484e-06
9.62172e-07
-8.38018e-06
-6.50747e-07
-7.9771e-06
-2.24678e-06
-7.27476e-06
-3.72313e-06
-6.30011e-06
-4.96509e-06
-5.1048e-06
-5.84705e-06
-3.77262e-06
-6.2397e-06
-2.42494e-06
-6.02579e-06
-1.22078e-06
-5.12373e-06
-3.47716e-07
-3.5181e-06
-1.30175e-06
-3.90963e-07
1.70504e-06
-1.33491e-06
4.39792e-06
-2.60502e-06
6.23597e-06
-4.00601e-06
7.21799e-06
-5.3869e-06
7.42926e-06
-6.63986e-06
6.9905e-06
-7.69256e-06
6.03075e-06
-8.4986e-06
4.67287e-06
-9.02856e-06
3.02796e-06
-9.26307e-06
1.19668e-06
-9.1888e-06
-7.25023e-07
-8.79762e-06
-2.63796e-06
-8.08949e-06
-4.43126e-06
-7.07913e-06
-5.97546e-06
-5.80641e-06
-7.11976e-06
-4.34911e-06
-7.697e-06
-2.83485e-06
-7.54004e-06
-1.44711e-06
-6.51147e-06
-4.18105e-07
-4.54711e-06
-1.71986e-06
-4.53455e-07
2.1585e-06
-1.52569e-06
5.47015e-06
-2.9349e-06
7.64517e-06
-4.45014e-06
8.73323e-06
-5.90636e-06
8.88548e-06
-7.19786e-06
8.282e-06
-8.26372e-06
7.09661e-06
-9.07213e-06
5.48129e-06
-9.60695e-06
3.56277e-06
-9.85767e-06
1.44741e-06
-9.8135e-06
-7.69194e-07
-9.46146e-06
-2.99001e-06
-8.78918e-06
-5.10353e-06
-7.79306e-06
-6.97157e-06
-6.49226e-06
-8.42057e-06
-4.94801e-06
-9.24126e-06
-3.28514e-06
-9.20291e-06
-1.70869e-06
-8.08792e-06
-5.03591e-07
-5.75221e-06
-2.22345e-06
-5.28332e-07
2.68683e-06
-1.73965e-06
6.68147e-06
-3.27795e-06
9.18348e-06
-4.8716e-06
1.03269e-05
-6.34698e-06
1.03609e-05
-7.61078e-06
9.5458e-06
-8.62431e-06
8.11014e-06
-9.37964e-06
6.23662e-06
-9.88094e-06
4.06408e-06
-1.01315e-05
1.69795e-06
-1.01257e-05
-7.74939e-07
-9.8463e-06
-3.26945e-06
-9.26596e-06
-5.68387e-06
-8.35631e-06
-7.88122e-06
-7.10468e-06
-9.6722e-06
-5.54069e-06
-1.08052e-05
-3.7707e-06
-1.09729e-05
-2.01217e-06
-9.84645e-06
-6.09688e-07
-7.15469e-06
-2.83313e-06
-6.23657e-07
3.31049e-06
-1.98735e-06
8.04516e-06
-3.63186e-06
1.0828e-05
-5.24185e-06
1.19369e-05
-6.64747e-06
1.17665e-05
-7.78436e-06
1.06827e-05
-8.65089e-06
8.97666e-06
-9.27417e-06
6.8599e-06
-9.68639e-06
4.47631e-06
-9.90968e-06
1.92124e-06
-9.9471e-06
-7.37514e-07
-9.77847e-06
-3.43808e-06
-9.36079e-06
-6.10155e-06
-8.63553e-06
-8.60647e-06
-7.54632e-06
-1.07614e-05
-6.07154e-06
-1.228e-05
-4.27424e-06
-1.27702e-05
-2.36364e-06
-1.17571e-05
-7.44773e-07
-8.77355e-06
-3.57791e-06
-7.54064e-07
4.06455e-06
-2.28431e-06
9.57541e-06
-3.98693e-06
1.25306e-05
-5.50898e-06
1.34589e-05
-6.70946e-06
1.2967e-05
-7.57839e-06
1.15516e-05
-8.16986e-06
9.56814e-06
-8.55742e-06
7.24746e-06
-8.80751e-06
4.7264e-06
-8.96484e-06
2.07856e-06
-9.04416e-06
-6.58185e-07
-9.02556e-06
-3.45668e-06
-8.85244e-06
-6.27468e-06
-8.43469e-06
-9.02422e-06
-7.66281e-06
-1.15333e-05
-6.44193e-06
-1.35009e-05
-4.75621e-06
-1.44559e-05
-2.76673e-06
-1.37465e-05
-9.22429e-07
-1.06178e-05
-4.50034e-06
-9.45191e-07
5.00974e-06
-2.64844e-06
1.12787e-05
-4.3109e-06
1.41931e-05
-5.57315e-06
1.47212e-05
-6.37049e-06
1.37643e-05
-6.78304e-06
1.19642e-05
-6.94022e-06
9.72531e-06
-6.96942e-06
7.27666e-06
-6.97245e-06
4.72943e-06
-7.01616e-06
2.12228e-06
-7.12828e-06
-5.46073e-07
-7.29346e-06
-3.2915e-06
-7.44837e-06
-6.11976e-06
-7.47767e-06
-8.99492e-06
-7.21777e-06
-1.17932e-05
-6.48263e-06
-1.4236e-05
-5.13336e-06
-1.58052e-05
-3.21495e-06
-1.5665e-05
-1.16438e-06
-1.26684e-05
-5.66471e-06
-1.2373e-06
6.24704e-06
-3.08324e-06
1.31246e-05
-4.5076e-06
1.56174e-05
-5.23432e-06
1.54479e-05
-5.355e-06
1.3885e-05
-5.08156e-06
1.16907e-05
-4.63057e-06
9.27433e-06
-4.1789e-06
6.82499e-06
-3.85397e-06
4.4045e-06
-3.73663e-06
2.00493e-06
-3.86474e-06
-4.17956e-07
-4.23228e-06
-2.92396e-06
-4.78177e-06
-5.57028e-06
-5.39081e-06
-8.38588e-06
-5.85829e-06
-1.13257e-05
-5.90643e-06
-1.41879e-05
-5.23273e-06
-1.64789e-05
-3.66623e-06
-1.72315e-05
-1.50007e-06
-1.48346e-05
-7.16478e-06
-1.67379e-06
7.92083e-06
-3.51332e-06
1.49641e-05
-4.3152e-06
1.64193e-05
-4.08872e-06
1.52214e-05
-3.19283e-06
1.29891e-05
-1.99846e-06
1.04964e-05
-7.94817e-07
8.07068e-06
2.19703e-07
5.81047e-06
9.18623e-07
3.70558e-06
1.226e-06
1.69755e-06
1.10245e-06
-2.94405e-07
5.41422e-07
-2.36293e-06
-4.22609e-07
-4.60625e-06
-1.6923e-06
-7.11619e-06
-3.0722e-06
-9.94581e-06
-4.23067e-06
-1.30294e-05
-4.69556e-06
-1.6014e-05
-3.96714e-06
-1.79599e-05
-1.94491e-06
-1.68568e-05
-9.10969e-06
-2.23068e-06
1.01515e-05
-3.59026e-06
1.63237e-05
-3.0777e-06
1.59068e-05
-1.34375e-06
1.34875e-05
8.97221e-07
1.07481e-05
3.15521e-06
8.23836e-06
5.13841e-06
6.08749e-06
6.68902e-06
4.25985e-06
7.72619e-06
2.66842e-06
8.20691e-06
1.21683e-06
8.10424e-06
-1.91733e-07
7.39936e-06
-1.65806e-06
6.08715e-06
-3.29404e-06
4.19943e-06
-5.22847e-06
1.85434e-06
-7.60072e-06
-6.61578e-07
-1.05135e-05
-2.79209e-06
-1.38835e-05
-3.66205e-06
-1.70899e-05
-2.41153e-06
-1.81073e-05
-1.15212e-05
-2.57381e-06
1.27253e-05
-2.18344e-06
1.59333e-05
7.18122e-07
1.30052e-05
4.46966e-06
9.73592e-06
8.13342e-06
7.08435e-06
1.13018e-05
5.07003e-06
1.38293e-05
3.55992e-06
1.56884e-05
2.40082e-06
1.68919e-05
1.46482e-06
1.74552e-05
6.5361e-07
1.73766e-05
-1.13208e-07
1.66308e-05
-9.12173e-07
1.51674e-05
-1.83069e-06
1.29237e-05
-2.98477e-06
9.8619e-06
-4.53892e-06
6.06207e-06
-6.71367e-06
1.91241e-06
-9.73383e-06
-1.55959e-06
-1.36179e-05
-2.45833e-06
-1.72086e-05
-1.39795e-05
-7.85013e-07
1.35103e-05
4.0808e-06
1.10675e-05
1.02976e-05
6.78843e-06
1.57937e-05
4.2398e-06
2.01581e-05
2.71992e-06
2.34582e-05
1.76996e-06
2.5861e-05
1.15715e-06
2.75217e-05
7.40063e-07
2.85542e-05
4.32299e-07
2.90266e-05
1.81223e-07
2.89624e-05
-4.89842e-08
2.83389e-05
-2.88705e-07
2.7082e-05
-5.73749e-07
2.50552e-05
-9.57966e-07
2.20518e-05
-1.53553e-06
1.78156e-05
-2.47743e-06
1.21724e-05
-4.09069e-06
5.47774e-06
-6.92325e-06
-1.29165e-07
-1.16017e-05
-1.41087e-05
1.35103e-05
2.45778e-05
3.13663e-05
3.56061e-05
3.8326e-05
4.0096e-05
4.12531e-05
4.19932e-05
4.24255e-05
4.26067e-05
4.25577e-05
4.2269e-05
4.16953e-05
4.07373e-05
3.92018e-05
3.67243e-05
3.26336e-05
2.57104e-05
1.41087e-05
)
;
boundaryField
{
movingWall
{
type calculated;
value uniform 0;
}
fixedWalls
{
type calculated;
value uniform 0;
}
frontAndBack
{
type empty;
value nonuniform 0();
}
}
// ************************************************************************* //
| [
"aashay225@gmail.com"
] | aashay225@gmail.com | |
3e8381d73a23ddf66a999cd0ffe6aab569877ad7 | e8282e3ae8aafa07b7f7261c639f206c4e97e0fc | /03 - Online Judges/tlc/kelipatan47.cpp | 5086d84bf71a85fb7dbde3edbdc922abeb354220 | [] | no_license | irfansofyana/cp-codes | 7cad844da49b901ccf678b75c31ed41e2fa9d645 | 9fa723129088f0e4832ecb7e012fe586b6d59e41 | refs/heads/master | 2023-04-04T00:48:36.334817 | 2021-04-12T03:07:06 | 2021-04-12T03:07:06 | 218,084,148 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 306 | cpp | #include <bits/stdc++.h>
using namespace std;
int main()
{
int n,i;
long long x,jumlah=0,a,b,c;
cin>>n;
for (i=1;i<=n;i++)
{
jumlah=0;
cin>>x;
a=2*(x/4)*((x/4)+1);
b=7*((x/7)*(((x/7)+1))/2);
c=14*(x/28)*((x/28)+1);
jumlah=a+b-c;
printf("%lld\n",jumlah);
}
} | [
"irfansofyana0305@gmail.com"
] | irfansofyana0305@gmail.com |
35161cebfb70fee2c4d2426ae05dae66447c3a0f | 4a54dd5a93bbb3f603a2875d5e6dcb3020fb52f2 | /official/account-2013-03-06-thai/src/ConnectLogDB.cpp | b24ff070ab9009be541f2e291da68f5559d83a61 | [] | no_license | Torashi1069/xenophase | 400ebed356cff6bfb735f9c03f10994aaad79f5e | c7bf89281c95a3c5cf909a14d0568eb940ad7449 | refs/heads/master | 2023-02-02T19:15:08.013577 | 2020-08-17T00:41:43 | 2020-08-17T00:41:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 558 | cpp | #include "ConnectLogDB.h"
#include "Common/DatabaseStatement.h"
/// singleton instance
static CConnectLogDB g_ConnectLogDB;
CConnectLogDB* CSingleton<CConnectLogDB>::ms_Singleton;
CConnectLogDB::CConnectLogDB()
{
}
CConnectLogDB::~CConnectLogDB()
{
}
// guessed
void CConnectLogDB::AddConnectLog(char* pszID, char* pszIP, DWORD dwAID)
{
m_csConnectLog.Enter();
CDatabaseStatement stmt(this);
stmt.CDatabaseStatement::Query("{call AddConnectLog(%s, %s, %d)}", pszIP, pszID, dwAID);
stmt.CDatabaseStatement::Release();
m_csConnectLog.Leave();
}
| [
"50342848+Kokotewa@users.noreply.github.com"
] | 50342848+Kokotewa@users.noreply.github.com |
9558d9680cda4fa8f2f44c2a7b890944a1642b94 | 71ad20ec653ad8ddea0bbfe14b577c837a27a523 | /include/Deque.h | 372145c1434bb02e7a33a0372273c19c251ddd3c | [] | no_license | Dobiichi-Origami/STL_container_implementation | 2270a49a49d01b2cb2cb3b3b1966193308951b59 | 6adac0ea2d21c3168c27d95498b1d0ce5b43f830 | refs/heads/master | 2023-05-28T10:26:59.572956 | 2021-06-01T10:54:24 | 2021-06-01T10:54:24 | 372,442,541 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,359 | h | //
// Created by 鸢一折纸 on 2021/5/24.
//
#pragma once
#include "Vector.h"
#include <exception>
#include <typeinfo>
template<typename T>
class Deque {
private:
class Block {
private:
T* head;
T* tail;
T* nowTail;
T* nowHead;
bool isLeft = false, isRight = false;
static const size_t BLOCKSIZE = 64;
public:
Block() {
head = new T[BLOCKSIZE];
tail = head + BLOCKSIZE;
nowTail = head + 31;
nowHead = nowTail + 1;
bzero(head, sizeof(T) * BLOCKSIZE);
}
void setDirection() {
if (isLeft == isRight)
return;
if (isLeft) {
nowHead = tail;
nowTail = nowHead - 1;
} else {
nowTail = head - 1;
nowHead = head;
}
}
~Block() {
head = tail = nowTail = nowHead = nullptr;
}
void deleteAll() {
delete []head;
}
bool isTailPtrAtTail() { return nowTail == tail - 1; }
bool isHeadPtrAtHead() { return nowHead == head; }
bool isEmpty() { return nowHead > nowTail; }
bool pushBack(T data_) {
if (isTailPtrAtTail())
return false;
nowTail++;
*nowTail = data_;
return true;
}
bool pushFront(T data_) {
if (isHeadPtrAtHead())
return false;
nowHead--;
*nowHead = data_;
return true;
}
bool popBack() {
if (isEmpty())
return false;
nowTail--;
return true;
}
bool popFront() {
if (isEmpty())
return false;
nowHead++;
return true;
}
T* getTail() { return nowTail; }
T* getHead() { return nowHead; }
void setLeft() { isLeft = true; }
void setRight() { isRight = true; }
bool getLeft() { return isLeft; }
bool getRight() { return isRight; }
int getSize() { return nowTail - nowHead + 1; }
};
static void deleter(Block *element) { delete []element; }
size_t size_ = 0;
size_t blockSize = 1;
size_t leftCapacityFactor = 1;
size_t rightCapacityFactor = 1;
std::shared_ptr<Block> memoMap;
Block *head, *tail;
void addSpaceAtRight() {
size_t distanceL = head - memoMap.get(), distanceR = tail - memoMap.get();
std::shared_ptr<Block> tempPtr(new Block[blockSize + rightCapacityFactor], deleter);
memcpy(tempPtr.get(), memoMap.get(), sizeof(Block) * blockSize);
memoMap.swap(tempPtr);
head = memoMap.get() + distanceL, tail = memoMap.get() + distanceR;
blockSize += rightCapacityFactor;
rightCapacityFactor *= 2;
}
void addSpaceAtLeft() {
size_t distanceL = head - memoMap.get() + leftCapacityFactor, distanceR = tail - memoMap.get() + leftCapacityFactor;
std::shared_ptr<Block> tempPtr(new Block[blockSize + leftCapacityFactor], deleter);
memcpy(tempPtr.get() + leftCapacityFactor, memoMap.get(), sizeof(Block) * blockSize);
memoMap.swap(tempPtr);
head = memoMap.get() + distanceL, tail = memoMap.get() + distanceR;
blockSize += leftCapacityFactor;
leftCapacityFactor *= 2;
}
bool isGetHead() { return memoMap.get() == head; }
bool isGetTail() { return memoMap.get() + blockSize - 1 == tail; }
public:
class iterator {
private:
T* element;
int pos = 0;
Deque<T> *deque = nullptr;
public:
iterator() = default;
iterator &operator=(iterator &);
explicit iterator(T *, int, Deque<T> *);
T &operator*();
iterator &operator++();
iterator operator++(int);
iterator &operator--();
iterator operator--(int);
iterator operator+(int);
iterator operator-(int);
int operator-(iterator);
bool operator==(iterator);
bool operator!=(iterator);
};
Deque();
~Deque();
void push_front(T);
void push_back(T);
void pop_front();
void pop_back();
iterator begin();
iterator end();
size_t size();
void insert(iterator, T);
void erase(iterator);
T &operator[](int);
bool isEmpty() { return size_ == 0; }
};
/// ----------- Deque implementation -----------
template<typename T>
Deque<T>::Deque(): memoMap(new Block[1], deleter), head(memoMap.get()), tail(memoMap.get()) {}
template<typename T>
void Deque<T>::push_front(T data_) {
size_++;
if (!head->pushFront(data_)) {
if (isGetHead())
addSpaceAtLeft();
head--;
head->setLeft();
head->setDirection();
head->pushFront(data_);
}
}
template<typename T>
void Deque<T>::push_back(T data_) {
size_++;
if (!tail->pushBack(data_)) {
if (isGetTail())
addSpaceAtRight();
tail++;
tail->setRight();
tail->setDirection();
tail->pushBack(data_);
}
}
template<typename T>
void Deque<T>::pop_front() {
if (size_ == 0)
return;
size_--;
while (!head->popFront())
head++;
if (head->isEmpty())
head++;
}
template<typename T>
void Deque<T>::pop_back() {
if (size_ == 0)
return;
size_--;
while (!tail->popBack())
tail--;
if (tail->isEmpty())
tail--;
}
template<typename T>
typename Deque<T>::iterator Deque<T>::begin() {
return iterator(head->getHead(), 0, this);
}
template<typename T>
typename Deque<T>::iterator Deque<T>::end() {
return Deque::iterator(tail->getTail() + 1, size_, this);
}
template<typename T>
T &Deque<T>::operator[](int i) {
if (size_ <= i || i < 0)
throw std::out_of_range("index out-of-range");
Block *ptr = head; // 取整个容器中第一块存放元素的内存块的首地址赋给ptr
while (ptr->getSize() <= i) { // 如果当前内存块的大小小于等于索引值
i -= ptr->getSize(); // 说明这个元素不在这个索引块内
ptr++; // 循环查找,直到到达含有元素的内存块
}
return *(ptr->getHead() + i); // 返回对应值的引用
}
template<typename T>
size_t Deque<T>::size() {
return size_;
}
template<typename T>
Deque<T>::~Deque() {
Block *ptr = memoMap.get();
for (int i = 0; i < blockSize; ++i)
(ptr+i)->deleteAll();
}
template<typename T>
void Deque<T>::insert(Deque::iterator ite, T data_) {
int posB = ite - begin(), posE = (end() - 1) - ite;
if (posB <= posE) {
push_front(data_);
iterator itex = begin();
while (itex != ite) {
std::swap(*itex, *(itex+1));
++itex;
}
} else {
push_back(data_);
iterator itex = end() - 1;
while (itex != ite) {
std::swap(*itex, *(itex-1));
--itex;
}
}
}
template<typename T>
void Deque<T>::erase(Deque::iterator ite) {
Block* ptr = head;
int pos = ite - begin();
while (ptr->getSize() <= pos) {
pos -= ptr->getSize();
ptr++;
}
T* e = ptr->getHead() + pos;
if (ptr->getLeft()) {
while (e != ptr->getHead()) {
*e = *(e - 1);
e--;
}
ptr->popFront();
} else {
while (e != ptr->getTail() - 1) {
*e = *(e + 1);
e++;
}
ptr->popBack();
}
}
/// ----------- Iterator implementation -----------
template<typename T>
Deque<T>::iterator::iterator(T* element, int pos, Deque<T> *dq) {
this->element = element;
this->pos = pos;
deque = dq;
}
template<typename T>
typename Deque<T>::iterator &Deque<T>::iterator::operator=(Deque::iterator &ite) {
element = ite.element;
pos = ite.pos;
this->deque = ite.deque;
}
template<typename T>
T &Deque<T>::iterator::operator*() {
return *element;
}
template<typename T>
typename Deque<T>::iterator &Deque<T>::iterator::operator++() {
pos++;
element = &(*deque)[pos];
return *this;
}
template<typename T>
typename Deque<T>::iterator Deque<T>::iterator::operator++(int) {
iterator tempIte = *this;
++(*this);
return tempIte;
}
template<typename T>
int Deque<T>::iterator::operator-(Deque::iterator ite) {
return pos - ite.pos;
}
template<typename T>
typename Deque<T>::iterator &Deque<T>::iterator::operator--() {
pos--;
element = &(*deque)[pos];
return *this;
}
template<typename T>
typename Deque<T>::iterator Deque<T>::iterator::operator--(int) {
iterator ite = *this;
--(*this);
return ite;
}
template<typename T>
typename Deque<T>::iterator Deque<T>::iterator::operator+(int i) {
iterator ite = *this;
ite.pos += i;
ite.element = &(*deque)[ite.pos];
return ite;
}
template<typename T>
typename Deque<T>::iterator Deque<T>::iterator::operator-(int i) {
return this->operator+(-i);
}
template<typename T>
bool Deque<T>::iterator::operator==(Deque::iterator ite) {
return element == ite.element;
}
template<typename T>
bool Deque<T>::iterator::operator!=(Deque::iterator ite) {
return element != ite.element;
}
| [
"56953648+Dobiichi-Origami@users.noreply.github.com"
] | 56953648+Dobiichi-Origami@users.noreply.github.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.