Copy link to clipboard
Copied
At our PLug-In we want to use a namespace parsing_results to share the parsed values with other classes.
We've declared that namespace within namespacs.h with
namespace parsing_results {
extern int aktOrder;
etc.
}
We've included the namespaces.h into LocaleIndex.h, but the parsing_results is not accessible atb the class, which shall use the parsing_results, even when implementing 'using namespace parsing_results' at that class.
It seems that the parsing_results will have to be registered.
The only trace of IMetaDataAccess::RegisterNamespace was at a text file, wher that function was called with two parameters.
The class IMetaDataAccess is declaring that function with a different set of parameters.
Could please anybody let me know, how to call that function?
Regards
Jochen Seliger
Copy link to clipboard
Copied
From my reading IMetaDataAccess is part of the Indesign SDK, which you cannot use in Acrobat plug-ins.
Copy link to clipboard
Copied
I'm really building a Plug_in for InDesingn.
I want to know a sample for CS2 to call the RegisterNamespace-Function.
Regards
Jochen Seliger
Copy link to clipboard
Copied
IMetaDataAccess.h is setting kDefaultIID = IID_IMETADATAACCESS.
But IID_IMETADATAACCESS I can't find on my system.
What is wrong here?
Regards
Jochen Seliger
Copy link to clipboard
Copied
Try a forum for InDesign programming.
Copy link to clipboard
Copied
Please post here InDesign SDK
But don't expect much interest in CS2 problems!
Copy link to clipboard
Copied
I was intended to post to InDesign Forum.
But first I'd like to know if a namespace is the right solution to share variables with their values across all my classes.
That is what I require.
If anbody has a better idea, I'm interested to know.
Regards
Jochen Seliger
Copy link to clipboard
Copied
I've moved your question to the InDesign SDK forum.