Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use interfaces instead of separate functions #1

Closed
blonkm opened this issue Mar 23, 2015 · 0 comments
Closed

Use interfaces instead of separate functions #1

blonkm opened this issue Mar 23, 2015 · 0 comments
Assignees
Milestone

Comments

@blonkm
Copy link
Owner

blonkm commented Mar 23, 2015

VBA supports the use of interfaces by making abstract classes (stub functions) and using the Implements feature.

Currently the program uses IF to select the correct function. This can become a class of type IOfficeDocument, which can then either implement GetFont for Excel, Word or PowerPoint.

@blonkm blonkm self-assigned this Mar 23, 2015
@blonkm blonkm added this to the v1.1 milestone Mar 23, 2015
@blonkm blonkm closed this as completed Mar 23, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant